I am using Microsoft.SqlServer.Management.SqlParser.Parser classes in.NET to do some parsing in SQL statements. The
Scanner.GetNext() function returns an integer values, and the documentations told that it is a Token. When I get the returned integer value I found that I don't know what it means, and I cannot find any documentation mapping this integer value into meaningful Microsoft.SqlServer.Management.SqlParser.Parser.Tokens value.
How shall I do that?
I am using SQL Server 2012 and using the .NET classes in Powershell