In This Article

JavaScriptTokenId Class

Contains the token IDs for the JavaScript language.

public class JavaScriptTokenId : TokenIdProviderBase, ITokenIdProvider, IIdProvider
Inheritance:
object TokenIdProviderBase object
Implements:
ITokenIdProvider IIdProvider

Remarks

This type was generated by the Actipro Language Designer tool v26.1.0 (http://www.actiprosoftware.com).

Constructors

JavaScriptTokenId()

Initializes an instance of the class.

public JavaScriptTokenId()

Properties

MaxId

The maximum ID returned by this provider.

public override int MaxId { get; }

Property Value

int

MinId

The minimum ID returned by this provider.

public override int MinId { get; }

Property Value

int

Methods

ContainsId(int)

Returns whether the specified ID value is valid for this ID provider.

public override bool ContainsId(int id)
Parameter Type Description
id int

The ID to examine.

Returns

bool:

true if the ID value is valid; otherwise, false

GetDescription(int)

Returns the actual string representation for the specified ID.

public override string? GetDescription(int id)
Parameter Type Description
id int

The ID to examine.

Returns

string

GetKey(int)

Returns the string-based key for the specified ID.

public override string? GetKey(int id)
Parameter Type Description
id int

The ID to examine.

Returns

string

IsCommentClassificationType(int)

Returns whether the specified ID value is part of the Comment classification type.

public static bool IsCommentClassificationType(int id)
Parameter Type Description
id int

The token ID to examine.

Returns

bool:

true if the ID value is in the classification type; otherwise, false

IsIdentifierClassificationType(int)

Returns whether the specified ID value is part of the Identifier classification type.

public static bool IsIdentifierClassificationType(int id)
Parameter Type Description
id int

The token ID to examine.

Returns

bool:

true if the ID value is in the classification type; otherwise, false

IsJsonPropertyNameClassificationType(int)

Returns whether the specified ID value is part of the JsonPropertyName classification type.

public static bool IsJsonPropertyNameClassificationType(int id)
Parameter Type Description
id int

The token ID to examine.

Returns

bool:

true if the ID value is in the classification type; otherwise, false

IsKeywordClassificationType(int)

Returns whether the specified ID value is part of the Keyword classification type.

public static bool IsKeywordClassificationType(int id)
Parameter Type Description
id int

The token ID to examine.

Returns

bool:

true if the ID value is in the classification type; otherwise, false

IsNumberClassificationType(int)

Returns whether the specified ID value is part of the Number classification type.

public static bool IsNumberClassificationType(int id)
Parameter Type Description
id int

The token ID to examine.

Returns

bool:

true if the ID value is in the classification type; otherwise, false

IsOperatorClassificationType(int)

Returns whether the specified ID value is part of the Operator classification type.

public static bool IsOperatorClassificationType(int id)
Parameter Type Description
id int

The token ID to examine.

Returns

bool:

true if the ID value is in the classification type; otherwise, false

IsPunctuationClassificationType(int)

Returns whether the specified ID value is part of the Punctuation classification type.

public static bool IsPunctuationClassificationType(int id)
Parameter Type Description
id int

The token ID to examine.

Returns

bool:

true if the ID value is in the classification type; otherwise, false

IsStringClassificationType(int)

Returns whether the specified ID value is part of the String classification type.

public static bool IsStringClassificationType(int id)
Parameter Type Description
id int

The token ID to examine.

Returns

bool:

true if the ID value is in the classification type; otherwise, false

Fields

Arrow

The Arrow token ID.

public const int Arrow = 13016

Backslash

The Backslash token ID.

public const int Backslash = 13017

CloseCurlyBrace

The CloseCurlyBrace token ID.

public const int CloseCurlyBrace = 13004

CloseParenthesis

The CloseParenthesis token ID.

public const int CloseParenthesis = 13008

CloseSquareBrace

The CloseSquareBrace token ID.

public const int CloseSquareBrace = 13006

Colon

The Colon token ID.

public const int Colon = 13013

Comma

The Comma token ID.

public const int Comma = 13012

CommentMultiLine

The CommentMultiLine token ID.

public const int CommentMultiLine = 13019

CommentSingleLine

The CommentSingleLine token ID.

public const int CommentSingleLine = 13018

Dot

The Dot token ID.

public const int Dot = 13009

Identifier

The Identifier token ID.

public const int Identifier = 13034

JsonPropertyNameDoubleQuoteString

The JsonPropertyNameDoubleQuoteString token ID.

public const int JsonPropertyNameDoubleQuoteString = 13020

KeywordAwait

The KeywordAwait token ID.

public const int KeywordAwait = 13035

KeywordBreak

The KeywordBreak token ID.

public const int KeywordBreak = 13036

KeywordCase

The KeywordCase token ID.

public const int KeywordCase = 13037

KeywordCatch

The KeywordCatch token ID.

public const int KeywordCatch = 13038

KeywordClass

The KeywordClass token ID.

public const int KeywordClass = 13039

KeywordConst

The KeywordConst token ID.

public const int KeywordConst = 13040

KeywordContinue

The KeywordContinue token ID.

public const int KeywordContinue = 13041

KeywordDebugger

The KeywordDebugger token ID.

public const int KeywordDebugger = 13042

KeywordDefault

The KeywordDefault token ID.

public const int KeywordDefault = 13043

KeywordDelete

The KeywordDelete token ID.

public const int KeywordDelete = 13044

KeywordDo

The KeywordDo token ID.

public const int KeywordDo = 13045

KeywordElse

The KeywordElse token ID.

public const int KeywordElse = 13046

KeywordExport

The KeywordExport token ID.

public const int KeywordExport = 13047

KeywordExtends

The KeywordExtends token ID.

public const int KeywordExtends = 13048

KeywordFalse

The KeywordFalse token ID.

public const int KeywordFalse = 13049

KeywordFinally

The KeywordFinally token ID.

public const int KeywordFinally = 13050

KeywordFor

The KeywordFor token ID.

public const int KeywordFor = 13051

KeywordFunction

The KeywordFunction token ID.

public const int KeywordFunction = 13052

KeywordIf

The KeywordIf token ID.

public const int KeywordIf = 13053

KeywordImport

The KeywordImport token ID.

public const int KeywordImport = 13054

KeywordIn

The KeywordIn token ID.

public const int KeywordIn = 13055

KeywordInstanceOf

The KeywordInstanceOf token ID.

public const int KeywordInstanceOf = 13056

KeywordLet

The KeywordLet token ID.

public const int KeywordLet = 13057

KeywordNew

The KeywordNew token ID.

public const int KeywordNew = 13058

KeywordNull

The KeywordNull token ID.

public const int KeywordNull = 13059

KeywordReturn

The KeywordReturn token ID.

public const int KeywordReturn = 13060

KeywordStatic

The KeywordStatic token ID.

public const int KeywordStatic = 13061

KeywordSuper

The KeywordSuper token ID.

public const int KeywordSuper = 13062

KeywordSwitch

The KeywordSwitch token ID.

public const int KeywordSwitch = 13063

KeywordThis

The KeywordThis token ID.

public const int KeywordThis = 13064

KeywordThrow

The KeywordThrow token ID.

public const int KeywordThrow = 13065

KeywordTrue

The KeywordTrue token ID.

public const int KeywordTrue = 13066

KeywordTry

The KeywordTry token ID.

public const int KeywordTry = 13067

KeywordTypeOf

The KeywordTypeOf token ID.

public const int KeywordTypeOf = 13068

KeywordVar

The KeywordVar token ID.

public const int KeywordVar = 13069

KeywordVoid

The KeywordVoid token ID.

public const int KeywordVoid = 13070

KeywordWhile

The KeywordWhile token ID.

public const int KeywordWhile = 13071

KeywordWith

The KeywordWith token ID.

public const int KeywordWith = 13072

KeywordYield

The KeywordYield token ID.

public const int KeywordYield = 13073

LineContinuation

The LineContinuation token ID.

public const int LineContinuation = 13002

LineTerminator

The LineTerminator token ID.

public const int LineTerminator = 13001

LiteralBinaryBigInteger

The LiteralBinaryBigInteger token ID.

public const int LiteralBinaryBigInteger = 13022

LiteralBinaryInteger

The LiteralBinaryInteger token ID.

public const int LiteralBinaryInteger = 13021

LiteralDecimalBigInteger

The LiteralDecimalBigInteger token ID.

public const int LiteralDecimalBigInteger = 13024

LiteralDecimalInteger

The LiteralDecimalInteger token ID.

public const int LiteralDecimalInteger = 13023

LiteralDoubleQuoteString

The LiteralDoubleQuoteString token ID.

public const int LiteralDoubleQuoteString = 13025

LiteralHexadecimalBigInteger

The LiteralHexadecimalBigInteger token ID.

public const int LiteralHexadecimalBigInteger = 13027

LiteralHexadecimalInteger

The LiteralHexadecimalInteger token ID.

public const int LiteralHexadecimalInteger = 13026

LiteralOctalBigInteger

The LiteralOctalBigInteger token ID.

public const int LiteralOctalBigInteger = 13029

LiteralOctalInteger

The LiteralOctalInteger token ID.

public const int LiteralOctalInteger = 13028

LiteralReal

The LiteralReal token ID.

public const int LiteralReal = 13030

LiteralRegularExpression

The LiteralRegularExpression token ID.

public const int LiteralRegularExpression = 13031

LiteralSingleQuoteString

The LiteralSingleQuoteString token ID.

public const int LiteralSingleQuoteString = 13032

LiteralTemplate

The LiteralTemplate token ID.

public const int LiteralTemplate = 13033

OpenCurlyBrace

The OpenCurlyBrace token ID.

public const int OpenCurlyBrace = 13003

OpenParenthesis

The OpenParenthesis token ID.

public const int OpenParenthesis = 13007

OpenSquareBrace

The OpenSquareBrace token ID.

public const int OpenSquareBrace = 13005

OperatorAddition

The OperatorAddition token ID.

public const int OperatorAddition = 13089

OperatorAdditionAssignment

The OperatorAdditionAssignment token ID.

public const int OperatorAdditionAssignment = 13109

OperatorAssignment

The OperatorAssignment token ID.

public const int OperatorAssignment = 13108

OperatorBitwiseAnd

The OperatorBitwiseAnd token ID.

public const int OperatorBitwiseAnd = 13100

OperatorBitwiseAndAssignment

The OperatorBitwiseAndAssignment token ID.

public const int OperatorBitwiseAndAssignment = 13118

OperatorBitwiseOr

The OperatorBitwiseOr token ID.

public const int OperatorBitwiseOr = 13101

OperatorBitwiseOrAssignment

The OperatorBitwiseOrAssignment token ID.

public const int OperatorBitwiseOrAssignment = 13119

OperatorConditionalAnd

The OperatorConditionalAnd token ID.

public const int OperatorConditionalAnd = 13105

OperatorConditionalAndAssignment

The OperatorConditionalAndAssignment token ID.

public const int OperatorConditionalAndAssignment = 13121

OperatorConditionalOr

The OperatorConditionalOr token ID.

public const int OperatorConditionalOr = 13106

OperatorConditionalOrAssignment

The OperatorConditionalOrAssignment token ID.

public const int OperatorConditionalOrAssignment = 13122

OperatorDecrement

The OperatorDecrement token ID.

public const int OperatorDecrement = 13096

OperatorDivision

The OperatorDivision token ID.

public const int OperatorDivision = 13092

OperatorDivisionAssignment

The OperatorDivisionAssignment token ID.

public const int OperatorDivisionAssignment = 13112

OperatorEquality

The OperatorEquality token ID.

public const int OperatorEquality = 13085

OperatorExclusiveOr

The OperatorExclusiveOr token ID.

public const int OperatorExclusiveOr = 13102

OperatorExclusiveOrAssignment

The OperatorExclusiveOrAssignment token ID.

public const int OperatorExclusiveOrAssignment = 13120

OperatorExponentiation

The OperatorExponentiation token ID.

public const int OperatorExponentiation = 13094

OperatorExponentiationAssignment

The OperatorExponentiationAssignment token ID.

public const int OperatorExponentiationAssignment = 13114

OperatorGreaterThan

The OperatorGreaterThan token ID.

public const int OperatorGreaterThan = 13082

OperatorGreaterThanOrEqual

The OperatorGreaterThanOrEqual token ID.

public const int OperatorGreaterThanOrEqual = 13084

OperatorIncrement

The OperatorIncrement token ID.

public const int OperatorIncrement = 13095

OperatorInequality

The OperatorInequality token ID.

public const int OperatorInequality = 13086

OperatorLeftShift

The OperatorLeftShift token ID.

public const int OperatorLeftShift = 13097

OperatorLeftShiftAssignment

The OperatorLeftShiftAssignment token ID.

public const int OperatorLeftShiftAssignment = 13115

OperatorLessThan

The OperatorLessThan token ID.

public const int OperatorLessThan = 13081

OperatorLessThanOrEqual

The OperatorLessThanOrEqual token ID.

public const int OperatorLessThanOrEqual = 13083

OperatorModulus

The OperatorModulus token ID.

public const int OperatorModulus = 13093

OperatorModulusAssignment

The OperatorModulusAssignment token ID.

public const int OperatorModulusAssignment = 13113

OperatorMultiplication

The OperatorMultiplication token ID.

public const int OperatorMultiplication = 13091

OperatorMultiplicationAssignment

The OperatorMultiplicationAssignment token ID.

public const int OperatorMultiplicationAssignment = 13111

OperatorNegation

The OperatorNegation token ID.

public const int OperatorNegation = 13103

OperatorNullishCoalescing

The OperatorNullishCoalescing token ID.

public const int OperatorNullishCoalescing = 13107

OperatorNullishCoalescingAssignment

The OperatorNullishCoalescingAssignment token ID.

public const int OperatorNullishCoalescingAssignment = 13123

OperatorOnesComplement

The OperatorOnesComplement token ID.

public const int OperatorOnesComplement = 13104

OperatorRightShift

The OperatorRightShift token ID.

public const int OperatorRightShift = 13098

OperatorRightShiftAssignment

The OperatorRightShiftAssignment token ID.

public const int OperatorRightShiftAssignment = 13116

OperatorStrictEquality

The OperatorStrictEquality token ID.

public const int OperatorStrictEquality = 13087

OperatorStrictInequality

The OperatorStrictInequality token ID.

public const int OperatorStrictInequality = 13088

OperatorSubtraction

The OperatorSubtraction token ID.

public const int OperatorSubtraction = 13090

OperatorSubtractionAssignment

The OperatorSubtractionAssignment token ID.

public const int OperatorSubtractionAssignment = 13110

OperatorZeroFillRightShift

The OperatorZeroFillRightShift token ID.

public const int OperatorZeroFillRightShift = 13099

OperatorZeroFillRightShiftAssignment

The OperatorZeroFillRightShiftAssignment token ID.

public const int OperatorZeroFillRightShiftAssignment = 13117

OptionalChaining

The OptionalChaining token ID.

public const int OptionalChaining = 13010

QuestionMark

The QuestionMark token ID.

public const int QuestionMark = 13015

ReservedKeywordEnum

The ReservedKeywordEnum token ID.

public const int ReservedKeywordEnum = 13074

ReservedKeywordImplements

The ReservedKeywordImplements token ID.

public const int ReservedKeywordImplements = 13075

ReservedKeywordInterface

The ReservedKeywordInterface token ID.

public const int ReservedKeywordInterface = 13076

ReservedKeywordPackage

The ReservedKeywordPackage token ID.

public const int ReservedKeywordPackage = 13077

ReservedKeywordPrivate

The ReservedKeywordPrivate token ID.

public const int ReservedKeywordPrivate = 13078

ReservedKeywordProtected

The ReservedKeywordProtected token ID.

public const int ReservedKeywordProtected = 13079

ReservedKeywordPublic

The ReservedKeywordPublic token ID.

public const int ReservedKeywordPublic = 13080

SemiColon

The SemiColon token ID.

public const int SemiColon = 13014

TripleDot

The TripleDot token ID.

public const int TripleDot = 13011

Whitespace

The Whitespace token ID.

public const int Whitespace = 13000

Inherited Members

Extension Methods