TechNet
Export (0) Print
Expand All

LineScanner Class

 

Scans Transact-SQL statements searching for individual units of code (tokens).

Namespace:   Babel
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

System.Object
  Babel.LineScanner

public class LineScanner

NameDescription
System_CAPS_pubmethodLineScanner()

Initializes a new instance of the LineScanner class by using a default ParseOptions object.

NameDescription
System_CAPS_pubpropertyBatchSeparator

Gets or sets the string that is used to separate a single script into multiple batches.

System_CAPS_pubpropertyIsSqlCmdModeEnabled

Gets or sets a value that indicates whether the scanner is enabled for Transact-SQL.

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticDefineToken(Int32, TokenType, TokenTriggers)

Creates a token definition and adds it to the array of token definitions.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodPopulateDefiniton(TokenInfo)

Fills the TokenInfo object with the token definition.

System_CAPS_pubmethodScanTokenAndProvideInfoAboutIt(TokenInfo, Int32)

Parses the next language token from the current line and returns information about it.

System_CAPS_pubmethodSetSource(String, Int32)

Sets the line to be parsed.

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft