JSToken Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the individual units of code, or tokens, that make up the JScript language.
This API supports the product infrastructure and is not intended to be used directly from your code.
public enum class JSToken
public enum JSToken
type JSToken =
Public Enum JSToken
- Inheritance
Fields
Abstract | 15 | The |
AccessField | 38 | The |
Assert | 104 | The |
Assign | 69 | The |
BitwiseAnd | 52 | The |
BitwiseAndAssign | 74 | The |
BitwiseNot | 40 | The |
BitwiseOr | 50 | The |
BitwiseOrAssign | 75 | The |
BitwiseXor | 51 | The |
BitwiseXorAssign | 76 | The |
Boolean | 105 | The |
Break | 6 | The |
Byte | 106 | The |
Case | 84 | The |
Catch | 85 | The |
Char | 107 | The |
Class | 24 | The |
Colon | 82 | The |
Comma | 83 | The |
Comment | 102 | Comment text. |
ConditionalIf | 81 | The |
Const | 23 | The |
Continue | 5 | The |
Debugger | 86 | The |
Decimal | 108 | The |
Decrement | 45 | The |
Default | 87 | The |
Delete | 41 | The |
Divide | 65 | The |
DivideAssign | 73 | The |
Do | 3 | The |
Double | 109 | The |
DoubleColon | 110 | The |
Else | 88 | The |
EndOfFile | 0 | The end of the file being scanned or parsed. This is the default value. |
EndOfLine | 132 | The end of the line being parsed. |
Ensure | 112 | The |
Enum | 111 | The |
Equal | 53 | The |
Event | 21 | The |
Export | 89 | The |
Extends | 90 | The |
False | 30 | The |
Final | 20 | The |
Finally | 91 | The |
FirstBinaryOp | 46 | A placeholder enumeration member that enables comparisons such as |
FirstOp | 39 | A placeholder enumeration member that enables comparisons such as |
Float | 113 | The |
For | 2 | The |
Function | 25 | The |
Get | 92 | The |
Goto | 114 | The |
GreaterThan | 57 | The |
GreaterThanEqual | 60 | The |
Identifier | 32 | An identifier. |
If | 1 | The |
Implements | 93 | The |
Import | 8 | The |
In | 68 | The |
Increment | 44 | The |
Instanceof | 67 | The |
Int | 115 | The |
IntegerLiteral | 34 | An integer literal. |
Interface | 94 | The |
Internal | 14 | The |
Invariant | 116 | The |
LastAssign | 80 | A placeholder enumeration member that enables comparisons such as |
LastBinaryOp | 80 | A placeholder enumeration member that enables comparisons such as |
LastOp | 83 | A placeholder enumeration member that enables comparisons such as |
LastPPOperator | 66 | A placeholder enumeration member that enables comparisons such as |
LeftBracket | 37 | The |
LeftCurly | 26 | The |
LeftParen | 36 | The |
LeftShift | 61 | The |
LeftShiftAssign | 78 | The |
LessThan | 58 | The |
LessThanEqual | 59 | The |
LogicalAnd | 49 | The |
LogicalNot | 39 | The |
LogicalOr | 48 | The |
Long | 117 | The |
Minus | 47 | The |
MinusAssign | 71 | The |
Modulo | 66 | The |
ModuloAssign | 77 | The |
Multiply | 64 | The |
MultiplyAssign | 72 | The |
Namespace | 118 | The |
Native | 119 | The |
New | 95 | The |
None | -1 | No token. For example, before scanning any tokens, or in error situations. |
NotEqual | 54 | The |
Null | 28 | The |
NumericLiteral | 35 | A numeric literal. |
Package | 13 | The |
ParamArray | 126 | The |
Plus | 46 | The |
PlusAssign | 70 | The |
PreProcessDirective | 133 | A preprocessor directive. |
PreProcessorConstant | 101 | A preprocessor constant. |
Private | 18 | The |
Protected | 19 | The |
Public | 16 | The |
Require | 120 | The |
Return | 7 | The |
RightBracket | 100 | The |
RightCurly | 99 | The |
RightParen | 98 | The |
RightShift | 62 | The |
RightShiftAssign | 79 | The |
Sbyte | 121 | The |
Semicolon | 27 | The |
Set | 96 | The |
Short | 122 | The |
Static | 17 | The |
StrictEqual | 55 | The |
StrictNotEqual | 56 | The |
StringLiteral | 33 | A numeric literal. |
Super | 97 | The |
Switch | 10 | The |
Synchronized | 123 | The |
This | 31 | The |
Throw | 11 | The |
Throws | 125 | The |
Transient | 124 | The |
True | 29 | The |
Try | 12 | The |
Typeof | 43 | The |
Uint | 129 | The |
Ulong | 130 | The |
UnsignedRightShift | 63 | The |
UnsignedRightShiftAssign | 80 | The |
UnterminatedComment | 103 | An un-terminated comment. |
Use | 131 | The |
Ushort | 128 | The |
Var | 22 | The |
Void | 42 | The |
Volatile | 127 | The |
While | 4 | The |
With | 9 | The |
Remarks
The members of this enumeration are used by the scanner and the parser to read source code. The members of this enumeration are also used by operator classes to identify the operation to perform. For more information, see Create a Language Compiler for the .NET Framework.