Context Class
This API supports the product infrastructure and is not intended to be used directly from your code.
Represents JScript source code. This class belongs to the compilation and run-time state category.
Assembly: Microsoft.JScript (in Microsoft.JScript.dll)
| Name | Description | |
|---|---|---|
![]() | EndColumn | This API supports the product infrastructure and is not intended to be used directly from your code. Gets the column number in the line where this code ends. This includes whitespace at the start of the line. |
![]() | EndLine | This API supports the product infrastructure and is not intended to be used directly from your code. Gets the ending line number of this code. |
![]() | EndPosition | This API supports the product infrastructure and is not intended to be used directly from your code. Gets the position in the code string where this code ends, because all lines of code are stored in a single string. |
![]() | StartColumn | This API supports the product infrastructure and is not intended to be used directly from your code. Gets the column number in the line where this code starts. This includes whitespace at the start of the line. |
![]() | StartLine | This API supports the product infrastructure and is not intended to be used directly from your code. Gets the line number where this code starts. |
![]() | StartPosition | This API supports the product infrastructure and is not intended to be used directly from your code. Gets the position in the code string where this code starts, because all lines of code are stored in a single string. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetCode() | This API supports the product infrastructure and is not intended to be used directly from your code. Gets the code that the context contains, discarding any whitespace. |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetToken() | This API supports the product infrastructure and is not intended to be used directly from your code. Gets an individual unit of code, or a token, that the context contains. |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
This class is used mainly by the JSScanner and the JSParser to read source code. For more information, see Create a Language Compiler for the .NET Framework.
Available since 1.1
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


