JSToken Enumeration

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

This API supports the product infrastructure and is not intended to be used directly from your code.

Specifies the individual units of code, or tokens, that make up the JScript language.

Namespace:   Microsoft.JScript
Assembly:  Microsoft.JScript (in Microsoft.JScript.dll)

public enum JSToken

Member nameDescription
Abstract

This API supports the product infrastructure and is not intended to be used directly from your code. The abstract modifier.

AccessField

This API supports the product infrastructure and is not intended to be used directly from your code. The . field accessor symbol.

Assert

This API supports the product infrastructure and is not intended to be used directly from your code. The assert reserved word.

Assign

This API supports the product infrastructure and is not intended to be used directly from your code. The = assignment operator.

BitwiseAnd

This API supports the product infrastructure and is not intended to be used directly from your code. The & bitwise AND operator.

BitwiseAndAssign

This API supports the product infrastructure and is not intended to be used directly from your code. The &= bitwise AND assignment operator.

BitwiseNot

This API supports the product infrastructure and is not intended to be used directly from your code. The ~ bitwise NOT operator.

BitwiseOr

This API supports the product infrastructure and is not intended to be used directly from your code. The | bitwise OR operator.

BitwiseOrAssign

This API supports the product infrastructure and is not intended to be used directly from your code. The |= bitwise OR assignment operator.

BitwiseXor

This API supports the product infrastructure and is not intended to be used directly from your code. The ^ bitwise XOR operator.

BitwiseXorAssign

This API supports the product infrastructure and is not intended to be used directly from your code. The ^= bitwise XOR assignment operator.

Boolean

This API supports the product infrastructure and is not intended to be used directly from your code. The boolean data type.

Break

This API supports the product infrastructure and is not intended to be used directly from your code. The break statement.

Byte

This API supports the product infrastructure and is not intended to be used directly from your code. The byte data type.

Case

This API supports the product infrastructure and is not intended to be used directly from your code. The case keyword of a switch statement.

Catch

This API supports the product infrastructure and is not intended to be used directly from your code. The catch keyword of a try statement.

Char

This API supports the product infrastructure and is not intended to be used directly from your code. The char data type.

Class

This API supports the product infrastructure and is not intended to be used directly from your code. The class statement.

Colon

This API supports the product infrastructure and is not intended to be used directly from your code. The : ternary operator.

Comma

This API supports the product infrastructure and is not intended to be used directly from your code. The , comma operator.

Comment

This API supports the product infrastructure and is not intended to be used directly from your code. Comment text.

ConditionalIf

This API supports the product infrastructure and is not intended to be used directly from your code. The ? ternary operator.

Const

This API supports the product infrastructure and is not intended to be used directly from your code. The const statement.

Continue

This API supports the product infrastructure and is not intended to be used directly from your code. The continue statement.

Debugger

This API supports the product infrastructure and is not intended to be used directly from your code. The debugger statement.

Decimal

This API supports the product infrastructure and is not intended to be used directly from your code. The decimal data type.

Decrement

This API supports the product infrastructure and is not intended to be used directly from your code. The -- decrement operator.

Default

This API supports the product infrastructure and is not intended to be used directly from your code. The default keyword of a switch statement.

Delete

This API supports the product infrastructure and is not intended to be used directly from your code. The delete operator.

Divide

This API supports the product infrastructure and is not intended to be used directly from your code. The / division operator.

DivideAssign

This API supports the product infrastructure and is not intended to be used directly from your code. The /= division assignment operator.

Do

This API supports the product infrastructure and is not intended to be used directly from your code. The do statement.

Double

This API supports the product infrastructure and is not intended to be used directly from your code. The double data type.

DoubleColon

This API supports the product infrastructure and is not intended to be used directly from your code. The :: reserved word.

Else

This API supports the product infrastructure and is not intended to be used directly from your code. The else keyword of an if statement.

EndOfFile

This API supports the product infrastructure and is not intended to be used directly from your code. The end of the file being scanned or parsed. This is the default value.

EndOfLine

This API supports the product infrastructure and is not intended to be used directly from your code. The end of the line being parsed.

Ensure

This API supports the product infrastructure and is not intended to be used directly from your code. The ensure reserved word.

Enum

This API supports the product infrastructure and is not intended to be used directly from your code. The enum statement.

Equal

This API supports the product infrastructure and is not intended to be used directly from your code. The == equality comparison operator.

Event

This API supports the product infrastructure and is not intended to be used directly from your code. The event reserved word.

Export

This API supports the product infrastructure and is not intended to be used directly from your code. The export reserved word.

Extends

This API supports the product infrastructure and is not intended to be used directly from your code. The extends keyword of a class statement.

False

This API supports the product infrastructure and is not intended to be used directly from your code. The false literal.

Final

This API supports the product infrastructure and is not intended to be used directly from your code. The final modifier.

Finally

This API supports the product infrastructure and is not intended to be used directly from your code. The finally keyword of a try statement.

FirstBinaryOp

This API supports the product infrastructure and is not intended to be used directly from your code. A placeholder enumeration member that enables comparisons such as if JSToken.FirstBinaryOp <= token && token <= JSToken.LastBinaryOp then...

FirstOp

This API supports the product infrastructure and is not intended to be used directly from your code. A placeholder enumeration member that enables comparisons such as if JSToken.FirstOp <= token && token <= JSToken.LastOp then...

Float

This API supports the product infrastructure and is not intended to be used directly from your code. The float data type.

For

This API supports the product infrastructure and is not intended to be used directly from your code. The for statement.

Function

This API supports the product infrastructure and is not intended to be used directly from your code. The function statement.

Get

This API supports the product infrastructure and is not intended to be used directly from your code. The get keyword of a function get statement.

Goto

This API supports the product infrastructure and is not intended to be used directly from your code. The goto reserved word.

GreaterThan

This API supports the product infrastructure and is not intended to be used directly from your code. The > relational comparison operator.

GreaterThanEqual

This API supports the product infrastructure and is not intended to be used directly from your code. The >= relational comparison operator.

Identifier

This API supports the product infrastructure and is not intended to be used directly from your code. An identifier.

If

This API supports the product infrastructure and is not intended to be used directly from your code. The if statement.

Implements

This API supports the product infrastructure and is not intended to be used directly from your code. The implements keyword of a class or interface statement.

Import

This API supports the product infrastructure and is not intended to be used directly from your code. The import statement.

In

This API supports the product infrastructure and is not intended to be used directly from your code. The in operator.

Increment

This API supports the product infrastructure and is not intended to be used directly from your code. The ++ increment operator.

Instanceof

This API supports the product infrastructure and is not intended to be used directly from your code. The instanceof operator.

Int

This API supports the product infrastructure and is not intended to be used directly from your code. The int data type.

IntegerLiteral

This API supports the product infrastructure and is not intended to be used directly from your code. An integer literal.

Interface

This API supports the product infrastructure and is not intended to be used directly from your code. The interface statement.

Internal

This API supports the product infrastructure and is not intended to be used directly from your code. The internal modifier.

Invariant

This API supports the product infrastructure and is not intended to be used directly from your code. The invariant reserved word.

LastAssign

This API supports the product infrastructure and is not intended to be used directly from your code. A placeholder enumeration member that enables comparisons such as if JSToken.Assign <= token && token <= JSToken.LastAssign then...

LastBinaryOp

This API supports the product infrastructure and is not intended to be used directly from your code. A placeholder enumeration member that enables comparisons such as if JSToken.FirstBinaryOp <= token && token <= JSToken.LastBinaryOp then...

LastOp

This API supports the product infrastructure and is not intended to be used directly from your code. A placeholder enumeration member that enables comparisons such as if JSToken.FirstBinaryOp <= token && token <= JSToken.LastOp then...

LastPPOperator

This API supports the product infrastructure and is not intended to be used directly from your code. 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

This API supports the product infrastructure and is not intended to be used directly from your code. The [ symbol.

LeftCurly

This API supports the product infrastructure and is not intended to be used directly from your code. The { symbol.

LeftParen

This API supports the product infrastructure and is not intended to be used directly from your code. The ( symbol.

LeftShift

This API supports the product infrastructure and is not intended to be used directly from your code. The << bitwise left shift operator.

LeftShiftAssign

This API supports the product infrastructure and is not intended to be used directly from your code. The <<= left shift assignment operator.

LessThan

This API supports the product infrastructure and is not intended to be used directly from your code. The < relational comparison operator.

LessThanEqual

This API supports the product infrastructure and is not intended to be used directly from your code. The <= relational comparison operator.

LogicalAnd

This API supports the product infrastructure and is not intended to be used directly from your code. The && logical AND operator.

LogicalNot

This API supports the product infrastructure and is not intended to be used directly from your code. The ! logical NOT operator.

LogicalOr

This API supports the product infrastructure and is not intended to be used directly from your code. The || logical OR operator.

Long

This API supports the product infrastructure and is not intended to be used directly from your code. The long data type.

Minus

This API supports the product infrastructure and is not intended to be used directly from your code. The - subtraction operator.

MinusAssign

This API supports the product infrastructure and is not intended to be used directly from your code. The -= subtraction assignment operator.

Modulo

This API supports the product infrastructure and is not intended to be used directly from your code. The % modulus operator.

ModuloAssign

This API supports the product infrastructure and is not intended to be used directly from your code. The %= modulus assignment operator.

Multiply

This API supports the product infrastructure and is not intended to be used directly from your code. The * multiplication operator.

MultiplyAssign

This API supports the product infrastructure and is not intended to be used directly from your code. The *= multiplication assignment operator.

Namespace

This API supports the product infrastructure and is not intended to be used directly from your code. The namespace reserved word.

Native

This API supports the product infrastructure and is not intended to be used directly from your code. The native reserved word.

New

This API supports the product infrastructure and is not intended to be used directly from your code. The new operator.

None

This API supports the product infrastructure and is not intended to be used directly from your code. No token. For example, before scanning any tokens, or in error situations.

NotEqual

This API supports the product infrastructure and is not intended to be used directly from your code. The != inequality comparison operator.

Null

This API supports the product infrastructure and is not intended to be used directly from your code. The null literal.

NumericLiteral

This API supports the product infrastructure and is not intended to be used directly from your code. A numeric literal.

Package

This API supports the product infrastructure and is not intended to be used directly from your code. The package statement.

ParamArray

This API supports the product infrastructure and is not intended to be used directly from your code. The ... reserved word.

Plus

This API supports the product infrastructure and is not intended to be used directly from your code. The + addition operator.

PlusAssign

This API supports the product infrastructure and is not intended to be used directly from your code. The += addition assignment operator.

PreProcessDirective

This API supports the product infrastructure and is not intended to be used directly from your code. A preprocessor directive.

PreProcessorConstant

This API supports the product infrastructure and is not intended to be used directly from your code. A preprocessor constant.

Private

This API supports the product infrastructure and is not intended to be used directly from your code. The private modifier.

Protected

This API supports the product infrastructure and is not intended to be used directly from your code. The protected modifier.

Public

This API supports the product infrastructure and is not intended to be used directly from your code. The public modifier.

Require

This API supports the product infrastructure and is not intended to be used directly from your code. The require reserved word.

Return

This API supports the product infrastructure and is not intended to be used directly from your code. The return statement.

RightBracket

This API supports the product infrastructure and is not intended to be used directly from your code. The ] symbol.

RightCurly

This API supports the product infrastructure and is not intended to be used directly from your code. The } symbol.

RightParen

This API supports the product infrastructure and is not intended to be used directly from your code. The ) symbol.

RightShift

This API supports the product infrastructure and is not intended to be used directly from your code. The >> bitwise right shift operator.

RightShiftAssign

This API supports the product infrastructure and is not intended to be used directly from your code. The >>= right shift assignment operator.

Sbyte

This API supports the product infrastructure and is not intended to be used directly from your code. The sbyte data type.

Semicolon

This API supports the product infrastructure and is not intended to be used directly from your code. The ; symbol.

Set

This API supports the product infrastructure and is not intended to be used directly from your code. The set keyword of a function set statement.

Short

This API supports the product infrastructure and is not intended to be used directly from your code. The short data type.

Static

This API supports the product infrastructure and is not intended to be used directly from your code. The static modifier.

StrictEqual

This API supports the product infrastructure and is not intended to be used directly from your code. The === identity comparison operator.

StrictNotEqual

This API supports the product infrastructure and is not intended to be used directly from your code. The !== identity comparison operator.

StringLiteral

This API supports the product infrastructure and is not intended to be used directly from your code. A numeric literal.

Super

This API supports the product infrastructure and is not intended to be used directly from your code. The super statement.

Switch

This API supports the product infrastructure and is not intended to be used directly from your code. The switch statement.

Synchronized

This API supports the product infrastructure and is not intended to be used directly from your code. The synchronized reserved word.

This

This API supports the product infrastructure and is not intended to be used directly from your code. The this statement.

Throw

This API supports the product infrastructure and is not intended to be used directly from your code. The throw statement.

Throws

This API supports the product infrastructure and is not intended to be used directly from your code. The throws reserved word.

Transient

This API supports the product infrastructure and is not intended to be used directly from your code. The transient reserved word.

True

This API supports the product infrastructure and is not intended to be used directly from your code. The true literal.

Try

This API supports the product infrastructure and is not intended to be used directly from your code. The try statement.

Typeof

This API supports the product infrastructure and is not intended to be used directly from your code. The typeof operator.

Uint

This API supports the product infrastructure and is not intended to be used directly from your code. The uint data type.

Ulong

This API supports the product infrastructure and is not intended to be used directly from your code. The ulong data type.

UnsignedRightShift

This API supports the product infrastructure and is not intended to be used directly from your code. The >>> unsigned right shift operator.

UnsignedRightShiftAssign

This API supports the product infrastructure and is not intended to be used directly from your code. The >>>= unsigned right shift assignment operator.

UnterminatedComment

This API supports the product infrastructure and is not intended to be used directly from your code. An un-terminated comment.

Use

This API supports the product infrastructure and is not intended to be used directly from your code. The use reserved word.

Ushort

This API supports the product infrastructure and is not intended to be used directly from your code. The ushort data type.

Var

This API supports the product infrastructure and is not intended to be used directly from your code. The var statement.

Void

This API supports the product infrastructure and is not intended to be used directly from your code. The void operator.

Volatile

This API supports the product infrastructure and is not intended to be used directly from your code. The volatile reserved word.

While

This API supports the product infrastructure and is not intended to be used directly from your code. The while statement.

With

This API supports the product infrastructure and is not intended to be used directly from your code. The with statement.

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.

.NET Framework
Available since 1.1
Return to top
Show: