This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Scans JScript code searching for individual units of code, or tokens. This class belongs to the scanning and parsing category. For more information about scanning and parsing, see Create a Language Compiler for the .NET Framework.
Assembly: Microsoft.JScript (in Microsoft.JScript.dll)
Thetype exposes the following members.
|Equals(Object)||Determines whether the specified object is equal to the current object. (Inherited from Object.)|
|GetCurrentLine||Gets the current line number in the code. This is a pointer that moves as the code is scanned.|
|GetCurrentPosition||Gets the current position in the code string. This is a pointer that moves as the code is scanned.|
|GetHashCode||Serves as a hash function for a particular type. (Inherited from Object.)|
|GetNextToken||Scans for the next token in the code.|
|GetSourceCode||Gets the source code that is associated with this scanner object.|
|GetStartLinePosition||Gets the position in the code string where the first line of the current code starts. All lines of code are stored in a single string. This is a pointer that moves as the code is scanned.|
|GetStringLiteral||Gets a string that has been scanned and had all its escape sequences replaced.|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|GotEndOfLine||Indicates whether the end of a line was reached after the scanner scans or peeks for a token.|
|IsKeyword||Determines whether the specified token is a keyword in the JScript language.|
|IsOperator||Determines whether the specified token is an operator in the JScript language.|
|SetAuthoringMode||Sets a flag that indicates whether the scanner is operating in authoring mode.|
|SetSource||Sets the source code to scan.|
|SkipMultiLineComment||Skips a comment that spans multiple lines, and advances the pointers that identify the current position in the code.|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.