JSToken JSToken JSToken JSToken Enum

Definition

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 Abstract Abstract Abstract 15

The abstract modifier.

AccessField AccessField AccessField AccessField 38

The . field accessor symbol.

Assert Assert Assert Assert 104

The assert reserved word.

Assign Assign Assign Assign 69

The = assignment operator.

BitwiseAnd BitwiseAnd BitwiseAnd BitwiseAnd 52

The & bitwise AND operator.

BitwiseAndAssign BitwiseAndAssign BitwiseAndAssign BitwiseAndAssign 74

The &= bitwise AND assignment operator.

BitwiseNot BitwiseNot BitwiseNot BitwiseNot 40

The ~ bitwise NOT operator.

BitwiseOr BitwiseOr BitwiseOr BitwiseOr 50

The | bitwise OR operator.

BitwiseOrAssign BitwiseOrAssign BitwiseOrAssign BitwiseOrAssign 75

The |= bitwise OR assignment operator.

BitwiseXor BitwiseXor BitwiseXor BitwiseXor 51

The ^ bitwise XOR operator.

BitwiseXorAssign BitwiseXorAssign BitwiseXorAssign BitwiseXorAssign 76

The ^= bitwise XOR assignment operator.

Boolean Boolean Boolean Boolean 105

The boolean data type.

Break Break Break Break 6

The break statement.

Byte Byte Byte Byte 106

The byte data type.

Case Case Case Case 84

The case keyword of a switch statement.

Catch Catch Catch Catch 85

The catch keyword of a try statement.

Char Char Char Char 107

The char data type.

Class Class Class Class 24

The class statement.

Colon Colon Colon Colon 82

The : ternary operator.

Comma Comma Comma Comma 83

The , comma operator.

Comment Comment Comment Comment 102

Comment text.

ConditionalIf ConditionalIf ConditionalIf ConditionalIf 81

The ? ternary operator.

Const Const Const Const 23

The const statement.

Continue Continue Continue Continue 5

The continue statement.

Debugger Debugger Debugger Debugger 86

The debugger statement.

Decimal Decimal Decimal Decimal 108

The decimal data type.

Decrement Decrement Decrement Decrement 45

The -- decrement operator.

Default Default Default Default 87

The default keyword of a switch statement.

Delete Delete Delete Delete 41

The delete operator.

Divide Divide Divide Divide 65

The / division operator.

DivideAssign DivideAssign DivideAssign DivideAssign 73

The /= division assignment operator.

Do Do Do Do 3

The do statement.

Double Double Double Double 109

The double data type.

DoubleColon DoubleColon DoubleColon DoubleColon 110

The :: reserved word.

Else Else Else Else 88

The else keyword of an if statement.

EndOfFile EndOfFile EndOfFile EndOfFile 0

The end of the file being scanned or parsed. This is the default value.

EndOfLine EndOfLine EndOfLine EndOfLine 132

The end of the line being parsed.

Ensure Ensure Ensure Ensure 112

The ensure reserved word.

Enum Enum Enum Enum 111

The enum statement.

Equal Equal Equal Equal 53

The == equality comparison operator.

Event Event Event Event 21

The event reserved word.

Export Export Export Export 89

The export reserved word.

Extends Extends Extends Extends 90

The extends keyword of a class statement.

False False False False 30

The false literal.

Final Final Final Final 20

The final modifier.

Finally Finally Finally Finally 91

The finally keyword of a try statement.

FirstBinaryOp FirstBinaryOp FirstBinaryOp FirstBinaryOp 46

A placeholder enumeration member that enables comparisons such as if JSToken.FirstBinaryOp <= token && token <= JSToken.LastBinaryOp then...

FirstOp FirstOp FirstOp FirstOp 39

A placeholder enumeration member that enables comparisons such as if JSToken.FirstOp <= token && token <= JSToken.LastOp then...

Float Float Float Float 113

The float data type.

For For For For 2

The for statement.

Function Function Function Function 25

The function statement.

Get Get Get Get 92

The get keyword of a function get statement.

Goto Goto Goto Goto 114

The goto reserved word.

GreaterThan GreaterThan GreaterThan GreaterThan 57

The > relational comparison operator.

GreaterThanEqual GreaterThanEqual GreaterThanEqual GreaterThanEqual 60

The >= relational comparison operator.

Identifier Identifier Identifier Identifier 32

An identifier.

If If If If 1

The if statement.

Implements Implements Implements Implements 93

The implements keyword of a class or interface statement.

Import Import Import Import 8

The import statement.

In In In In 68

The in operator.

Increment Increment Increment Increment 44

The ++ increment operator.

Instanceof Instanceof Instanceof Instanceof 67

The instanceof operator.

Int Int Int Int 115

The int data type.

IntegerLiteral IntegerLiteral IntegerLiteral IntegerLiteral 34

An integer literal.

Interface Interface Interface Interface 94

The interface statement.

Internal Internal Internal Internal 14

The internal modifier.

Invariant Invariant Invariant Invariant 116

The invariant reserved word.

LastAssign LastAssign LastAssign LastAssign 80

A placeholder enumeration member that enables comparisons such as if JSToken.Assign <= token && token <= JSToken.LastAssign then...

LastBinaryOp LastBinaryOp LastBinaryOp LastBinaryOp 80

A placeholder enumeration member that enables comparisons such as if JSToken.FirstBinaryOp <= token && token <= JSToken.LastBinaryOp then...

LastOp LastOp LastOp LastOp 83

A placeholder enumeration member that enables comparisons such as if JSToken.FirstBinaryOp <= token && token <= JSToken.LastOp then...

LastPPOperator LastPPOperator LastPPOperator LastPPOperator 66

A placeholder enumeration member that enables comparisons such as if JSToken.FirstBinaryOp <= token && token <= JSToken.LastPPOperator then... PPOperators are operations that can be pre-processed.

LeftBracket LeftBracket LeftBracket LeftBracket 37

The [ symbol.

LeftCurly LeftCurly LeftCurly LeftCurly 26

The { symbol.

LeftParen LeftParen LeftParen LeftParen 36

The ( symbol.

LeftShift LeftShift LeftShift LeftShift 61

The << bitwise left shift operator.

LeftShiftAssign LeftShiftAssign LeftShiftAssign LeftShiftAssign 78

The <<= left shift assignment operator.

LessThan LessThan LessThan LessThan 58

The < relational comparison operator.

LessThanEqual LessThanEqual LessThanEqual LessThanEqual 59

The <= relational comparison operator.

LogicalAnd LogicalAnd LogicalAnd LogicalAnd 49

The && logical AND operator.

LogicalNot LogicalNot LogicalNot LogicalNot 39

The ! logical NOT operator.

LogicalOr LogicalOr LogicalOr LogicalOr 48

The || logical OR operator.

Long Long Long Long 117

The long data type.

Minus Minus Minus Minus 47

The - subtraction operator.

MinusAssign MinusAssign MinusAssign MinusAssign 71

The -= subtraction assignment operator.

Modulo Modulo Modulo Modulo 66

The % modulus operator.

ModuloAssign ModuloAssign ModuloAssign ModuloAssign 77

The %= modulus assignment operator.

Multiply Multiply Multiply Multiply 64

The * multiplication operator.

MultiplyAssign MultiplyAssign MultiplyAssign MultiplyAssign 72

The *= multiplication assignment operator.

Namespace Namespace Namespace Namespace 118

The namespace reserved word.

Native Native Native Native 119

The native reserved word.

New New New New 95

The new operator.

None None None None -1

No token. For example, before scanning any tokens, or in error situations.

NotEqual NotEqual NotEqual NotEqual 54

The != inequality comparison operator.

Null Null Null Null 28

The null literal.

NumericLiteral NumericLiteral NumericLiteral NumericLiteral 35

A numeric literal.

Package Package Package Package 13

The package statement.

ParamArray ParamArray ParamArray ParamArray 126

The ... reserved word.

Plus Plus Plus Plus 46

The + addition operator.

PlusAssign PlusAssign PlusAssign PlusAssign 70

The += addition assignment operator.

PreProcessDirective PreProcessDirective PreProcessDirective PreProcessDirective 133

A preprocessor directive.

PreProcessorConstant PreProcessorConstant PreProcessorConstant PreProcessorConstant 101

A preprocessor constant.

Private Private Private Private 18

The private modifier.

Protected Protected Protected Protected 19

The protected modifier.

Public Public Public Public 16

The public modifier.

Require Require Require Require 120

The require reserved word.

Return Return Return Return 7

The return statement.

RightBracket RightBracket RightBracket RightBracket 100

The ] symbol.

RightCurly RightCurly RightCurly RightCurly 99

The } symbol.

RightParen RightParen RightParen RightParen 98

The ) symbol.

RightShift RightShift RightShift RightShift 62

The >> bitwise right shift operator.

RightShiftAssign RightShiftAssign RightShiftAssign RightShiftAssign 79

The >>= right shift assignment operator.

Sbyte Sbyte Sbyte Sbyte 121

The sbyte data type.

Semicolon Semicolon Semicolon Semicolon 27

The ; symbol.

Set Set Set Set 96

The set keyword of a function set statement.

Short Short Short Short 122

The short data type.

Static Static Static Static 17

The static modifier.

StrictEqual StrictEqual StrictEqual StrictEqual 55

The === identity comparison operator.

StrictNotEqual StrictNotEqual StrictNotEqual StrictNotEqual 56

The !== identity comparison operator.

StringLiteral StringLiteral StringLiteral StringLiteral 33

A numeric literal.

Super Super Super Super 97

The super statement.

Switch Switch Switch Switch 10

The switch statement.

Synchronized Synchronized Synchronized Synchronized 123

The synchronized reserved word.

This This This This 31

The this statement.

Throw Throw Throw Throw 11

The throw statement.

Throws Throws Throws Throws 125

The throws reserved word.

Transient Transient Transient Transient 124

The transient reserved word.

True True True True 29

The true literal.

Try Try Try Try 12

The try statement.

Typeof Typeof Typeof Typeof 43

The typeof operator.

Uint Uint Uint Uint 129

The uint data type.

Ulong Ulong Ulong Ulong 130

The ulong data type.

UnsignedRightShift UnsignedRightShift UnsignedRightShift UnsignedRightShift 63

The >>> unsigned right shift operator.

UnsignedRightShiftAssign UnsignedRightShiftAssign UnsignedRightShiftAssign UnsignedRightShiftAssign 80

The >>>= unsigned right shift assignment operator.

UnterminatedComment UnterminatedComment UnterminatedComment UnterminatedComment 103

An un-terminated comment.

Use Use Use Use 131

The use reserved word.

Ushort Ushort Ushort Ushort 128

The ushort data type.

Var Var Var Var 22

The var statement.

Void Void Void Void 42

The void operator.

Volatile Volatile Volatile Volatile 127

The volatile reserved word.

While While While While 4

The while statement.

With With With With 9

The with statement.

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.

Applies to

See also