LineScanner Class
SQL Server 2012
Scans Transact-SQL statements searching for individual units of code (tokens).
Namespace: Babel
Assembly: Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)
The LineScanner type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | LineScanner | Initializes a new instance of the LineScanner class by using a default ParseOptions object. |
| Name | Description | |
|---|---|---|
![]() | BatchSeparator | Gets or sets the string that is used to separate a single script into multiple batches. |
![]() | IsSqlCmdModeEnabled | Gets or sets a value that indicates whether the scanner is enabled for Transact-SQL. |
| Name | Description | |
|---|---|---|
![]() ![]() | DefineToken | Creates a token definition and adds it to the array of token definitions. |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | PopulateDefiniton | Fills the TokenInfo object with the token definition. |
![]() | ScanTokenAndProvideInfoAboutIt | Parses the next language token from the current line and returns information about it. |
![]() | SetSource | Sets the line to be parsed. |
![]() | ToString | (Inherited from Object.) |

