Scanner Scanner Scanner Class

Definition

Scans Transact-SQL searching for individual units of code or tokens.

public ref class Scanner
public class Scanner
Public Class Scanner
Inheritance
ScannerScannerScanner

Constructors

Scanner(ParseOptions) Scanner(ParseOptions) Scanner(ParseOptions)

Initializes a new instance of the Scanner class using the specified parser options.

Methods

GetNext(Int32, Int32, Int32, Boolean, Boolean) GetNext(Int32, Int32, Int32, Boolean, Boolean) GetNext(Int32, Int32, Int32, Boolean, Boolean)

Returns the next token, internal Lexer state, start position, and end position.

SetSource(String, Int32) SetSource(String, Int32) SetSource(String, Int32)

Sets the source text to be scanned.

Applies to