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 v22.1.0.0 (http://www.actiprosoftware.com).
Constructors
JavaScriptTokenId()
Initializes an instance of the class.
public JavaScriptTokenId()
Properties
MaxId
Gets the maximum token ID returned by this provider.
public override int MaxId { get; }
Property Value
- int:
The maximum token ID returned by this provider.
MinId
Gets the minimum token ID returned by this provider.
public override int MinId { get; }
Property Value
- int:
The minimum token ID returned by this provider.
Methods
ContainsId(int)
Returns whether the specified ID value is valid for this token ID provider.
public override bool ContainsId(int id)
| Parameter | Type | Description |
|---|---|---|
| id | int | The token ID to examine. |
Returns
- bool:
trueif the ID value is valid; otherwise,false
GetDescription(int)
Returns the actual string representation for the specified token ID.
public override string GetDescription(int id)
| Parameter | Type | Description |
|---|---|---|
| id | int | The token ID to examine. |
Returns
- string:
The actual string representation for the specified token ID.
GetKey(int)
Returns the string-based key for the specified token ID.
public override string GetKey(int id)
| Parameter | Type | Description |
|---|---|---|
| id | int | The token ID to examine. |
Returns
- string:
The string-based key for the specified token ID.
IsCommentClassificationType(int)
Returns whether the specified ID value is part of the Comment.
public static bool IsCommentClassificationType(int id)
| Parameter | Type | Description |
|---|---|---|
| id | int | The token ID to examine. |
Returns
- bool:
trueif the ID value is in the classification type; otherwise,false
IsIdentifierClassificationType(int)
Returns whether the specified ID value is part of the Identifier.
public static bool IsIdentifierClassificationType(int id)
| Parameter | Type | Description |
|---|---|---|
| id | int | The token ID to examine. |
Returns
- bool:
trueif the ID value is in the classification type; otherwise,false
IsJsonPropertyNameClassificationType(int)
Returns whether the specified ID value is part of the JsonPropertyName.
public static bool IsJsonPropertyNameClassificationType(int id)
| Parameter | Type | Description |
|---|---|---|
| id | int | The token ID to examine. |
Returns
- bool:
trueif the ID value is in the classification type; otherwise,false
IsKeywordClassificationType(int)
Returns whether the specified ID value is part of the Keyword.
public static bool IsKeywordClassificationType(int id)
| Parameter | Type | Description |
|---|---|---|
| id | int | The token ID to examine. |
Returns
- bool:
trueif the ID value is in the classification type; otherwise,false
IsNumberClassificationType(int)
Returns whether the specified ID value is part of the Number.
public static bool IsNumberClassificationType(int id)
| Parameter | Type | Description |
|---|---|---|
| id | int | The token ID to examine. |
Returns
- bool:
trueif the ID value is in the classification type; otherwise,false
IsOperatorClassificationType(int)
Returns whether the specified ID value is part of the Operator.
public static bool IsOperatorClassificationType(int id)
| Parameter | Type | Description |
|---|---|---|
| id | int | The token ID to examine. |
Returns
- bool:
trueif the ID value is in the classification type; otherwise,false
IsPunctuationClassificationType(int)
Returns whether the specified ID value is part of the Punctuation.
public static bool IsPunctuationClassificationType(int id)
| Parameter | Type | Description |
|---|---|---|
| id | int | The token ID to examine. |
Returns
- bool:
trueif the ID value is in the classification type; otherwise,false
IsStringClassificationType(int)
Returns whether the specified ID value is part of the String.
public static bool IsStringClassificationType(int id)
| Parameter | Type | Description |
|---|---|---|
| id | int | The token ID to examine. |
Returns
- bool:
trueif the ID value is in the classification type; otherwise,false
Fields
Arrow
Gets the Arrow token ID.
public const int Arrow = 13016
Backslash
Gets the Backslash token ID.
public const int Backslash = 13017
CloseCurlyBrace
Gets the CloseCurlyBrace token ID.
public const int CloseCurlyBrace = 13004
CloseParenthesis
Gets the CloseParenthesis token ID.
public const int CloseParenthesis = 13008
CloseSquareBrace
Gets the CloseSquareBrace token ID.
public const int CloseSquareBrace = 13006
Colon
Gets the Colon token ID.
public const int Colon = 13013
Comma
Gets the Comma token ID.
public const int Comma = 13012
CommentMultiLine
Gets the CommentMultiLine token ID.
public const int CommentMultiLine = 13019
CommentSingleLine
Gets the CommentSingleLine token ID.
public const int CommentSingleLine = 13018
Dot
Gets the Dot token ID.
public const int Dot = 13009
Identifier
Gets the Identifier token ID.
public const int Identifier = 13034
JsonPropertyNameDoubleQuoteString
Gets the JsonPropertyNameDoubleQuoteString token ID.
public const int JsonPropertyNameDoubleQuoteString = 13020
KeywordAwait
Gets the KeywordAwait token ID.
public const int KeywordAwait = 13035
KeywordBreak
Gets the KeywordBreak token ID.
public const int KeywordBreak = 13036
KeywordCase
Gets the KeywordCase token ID.
public const int KeywordCase = 13037
KeywordCatch
Gets the KeywordCatch token ID.
public const int KeywordCatch = 13038
KeywordClass
Gets the KeywordClass token ID.
public const int KeywordClass = 13039
KeywordConst
Gets the KeywordConst token ID.
public const int KeywordConst = 13040
KeywordContinue
Gets the KeywordContinue token ID.
public const int KeywordContinue = 13041
KeywordDebugger
Gets the KeywordDebugger token ID.
public const int KeywordDebugger = 13042
KeywordDefault
Gets the KeywordDefault token ID.
public const int KeywordDefault = 13043
KeywordDelete
Gets the KeywordDelete token ID.
public const int KeywordDelete = 13044
KeywordDo
Gets the KeywordDo token ID.
public const int KeywordDo = 13045
KeywordElse
Gets the KeywordElse token ID.
public const int KeywordElse = 13046
KeywordExport
Gets the KeywordExport token ID.
public const int KeywordExport = 13047
KeywordExtends
Gets the KeywordExtends token ID.
public const int KeywordExtends = 13048
KeywordFalse
Gets the KeywordFalse token ID.
public const int KeywordFalse = 13049
KeywordFinally
Gets the KeywordFinally token ID.
public const int KeywordFinally = 13050
KeywordFor
Gets the KeywordFor token ID.
public const int KeywordFor = 13051
KeywordFunction
Gets the KeywordFunction token ID.
public const int KeywordFunction = 13052
KeywordIf
Gets the KeywordIf token ID.
public const int KeywordIf = 13053
KeywordImport
Gets the KeywordImport token ID.
public const int KeywordImport = 13054
KeywordIn
Gets the KeywordIn token ID.
public const int KeywordIn = 13055
KeywordInstanceOf
Gets the KeywordInstanceOf token ID.
public const int KeywordInstanceOf = 13056
KeywordLet
Gets the KeywordLet token ID.
public const int KeywordLet = 13057
KeywordNew
Gets the KeywordNew token ID.
public const int KeywordNew = 13058
KeywordNull
Gets the KeywordNull token ID.
public const int KeywordNull = 13059
KeywordReturn
Gets the KeywordReturn token ID.
public const int KeywordReturn = 13060
KeywordStatic
Gets the KeywordStatic token ID.
public const int KeywordStatic = 13061
KeywordSuper
Gets the KeywordSuper token ID.
public const int KeywordSuper = 13062
KeywordSwitch
Gets the KeywordSwitch token ID.
public const int KeywordSwitch = 13063
KeywordThis
Gets the KeywordThis token ID.
public const int KeywordThis = 13064
KeywordThrow
Gets the KeywordThrow token ID.
public const int KeywordThrow = 13065
KeywordTrue
Gets the KeywordTrue token ID.
public const int KeywordTrue = 13066
KeywordTry
Gets the KeywordTry token ID.
public const int KeywordTry = 13067
KeywordTypeOf
Gets the KeywordTypeOf token ID.
public const int KeywordTypeOf = 13068
KeywordVar
Gets the KeywordVar token ID.
public const int KeywordVar = 13069
KeywordVoid
Gets the KeywordVoid token ID.
public const int KeywordVoid = 13070
KeywordWhile
Gets the KeywordWhile token ID.
public const int KeywordWhile = 13071
KeywordWith
Gets the KeywordWith token ID.
public const int KeywordWith = 13072
KeywordYield
Gets the KeywordYield token ID.
public const int KeywordYield = 13073
LineContinuation
Gets the LineContinuation token ID.
public const int LineContinuation = 13002
LineTerminator
Gets the LineTerminator token ID.
public const int LineTerminator = 13001
LiteralBinaryBigInteger
Gets the LiteralBinaryBigInteger token ID.
public const int LiteralBinaryBigInteger = 13022
LiteralBinaryInteger
Gets the LiteralBinaryInteger token ID.
public const int LiteralBinaryInteger = 13021
LiteralDecimalBigInteger
Gets the LiteralDecimalBigInteger token ID.
public const int LiteralDecimalBigInteger = 13024
LiteralDecimalInteger
Gets the LiteralDecimalInteger token ID.
public const int LiteralDecimalInteger = 13023
LiteralDoubleQuoteString
Gets the LiteralDoubleQuoteString token ID.
public const int LiteralDoubleQuoteString = 13025
LiteralHexadecimalBigInteger
Gets the LiteralHexadecimalBigInteger token ID.
public const int LiteralHexadecimalBigInteger = 13027
LiteralHexadecimalInteger
Gets the LiteralHexadecimalInteger token ID.
public const int LiteralHexadecimalInteger = 13026
LiteralOctalBigInteger
Gets the LiteralOctalBigInteger token ID.
public const int LiteralOctalBigInteger = 13029
LiteralOctalInteger
Gets the LiteralOctalInteger token ID.
public const int LiteralOctalInteger = 13028
LiteralReal
Gets the LiteralReal token ID.
public const int LiteralReal = 13030
LiteralRegularExpression
Gets the LiteralRegularExpression token ID.
public const int LiteralRegularExpression = 13031
LiteralSingleQuoteString
Gets the LiteralSingleQuoteString token ID.
public const int LiteralSingleQuoteString = 13032
LiteralTemplate
Gets the LiteralTemplate token ID.
public const int LiteralTemplate = 13033
OpenCurlyBrace
Gets the OpenCurlyBrace token ID.
public const int OpenCurlyBrace = 13003
OpenParenthesis
Gets the OpenParenthesis token ID.
public const int OpenParenthesis = 13007
OpenSquareBrace
Gets the OpenSquareBrace token ID.
public const int OpenSquareBrace = 13005
OperatorAddition
Gets the OperatorAddition token ID.
public const int OperatorAddition = 13089
OperatorAdditionAssignment
Gets the OperatorAdditionAssignment token ID.
public const int OperatorAdditionAssignment = 13109
OperatorAssignment
Gets the OperatorAssignment token ID.
public const int OperatorAssignment = 13108
OperatorBitwiseAnd
Gets the OperatorBitwiseAnd token ID.
public const int OperatorBitwiseAnd = 13100
OperatorBitwiseAndAssignment
Gets the OperatorBitwiseAndAssignment token ID.
public const int OperatorBitwiseAndAssignment = 13118
OperatorBitwiseOr
Gets the OperatorBitwiseOr token ID.
public const int OperatorBitwiseOr = 13101
OperatorBitwiseOrAssignment
Gets the OperatorBitwiseOrAssignment token ID.
public const int OperatorBitwiseOrAssignment = 13119
OperatorConditionalAnd
Gets the OperatorConditionalAnd token ID.
public const int OperatorConditionalAnd = 13105
OperatorConditionalAndAssignment
Gets the OperatorConditionalAndAssignment token ID.
public const int OperatorConditionalAndAssignment = 13121
OperatorConditionalOr
Gets the OperatorConditionalOr token ID.
public const int OperatorConditionalOr = 13106
OperatorConditionalOrAssignment
Gets the OperatorConditionalOrAssignment token ID.
public const int OperatorConditionalOrAssignment = 13122
OperatorDecrement
Gets the OperatorDecrement token ID.
public const int OperatorDecrement = 13096
OperatorDivision
Gets the OperatorDivision token ID.
public const int OperatorDivision = 13092
OperatorDivisionAssignment
Gets the OperatorDivisionAssignment token ID.
public const int OperatorDivisionAssignment = 13112
OperatorEquality
Gets the OperatorEquality token ID.
public const int OperatorEquality = 13085
OperatorExclusiveOr
Gets the OperatorExclusiveOr token ID.
public const int OperatorExclusiveOr = 13102
OperatorExclusiveOrAssignment
Gets the OperatorExclusiveOrAssignment token ID.
public const int OperatorExclusiveOrAssignment = 13120
OperatorExponentiation
Gets the OperatorExponentiation token ID.
public const int OperatorExponentiation = 13094
OperatorExponentiationAssignment
Gets the OperatorExponentiationAssignment token ID.
public const int OperatorExponentiationAssignment = 13114
OperatorGreaterThan
Gets the OperatorGreaterThan token ID.
public const int OperatorGreaterThan = 13082
OperatorGreaterThanOrEqual
Gets the OperatorGreaterThanOrEqual token ID.
public const int OperatorGreaterThanOrEqual = 13084
OperatorIncrement
Gets the OperatorIncrement token ID.
public const int OperatorIncrement = 13095
OperatorInequality
Gets the OperatorInequality token ID.
public const int OperatorInequality = 13086
OperatorLeftShift
Gets the OperatorLeftShift token ID.
public const int OperatorLeftShift = 13097
OperatorLeftShiftAssignment
Gets the OperatorLeftShiftAssignment token ID.
public const int OperatorLeftShiftAssignment = 13115
OperatorLessThan
Gets the OperatorLessThan token ID.
public const int OperatorLessThan = 13081
OperatorLessThanOrEqual
Gets the OperatorLessThanOrEqual token ID.
public const int OperatorLessThanOrEqual = 13083
OperatorModulus
Gets the OperatorModulus token ID.
public const int OperatorModulus = 13093
OperatorModulusAssignment
Gets the OperatorModulusAssignment token ID.
public const int OperatorModulusAssignment = 13113
OperatorMultiplication
Gets the OperatorMultiplication token ID.
public const int OperatorMultiplication = 13091
OperatorMultiplicationAssignment
Gets the OperatorMultiplicationAssignment token ID.
public const int OperatorMultiplicationAssignment = 13111
OperatorNegation
Gets the OperatorNegation token ID.
public const int OperatorNegation = 13103
OperatorNullishCoalescing
Gets the OperatorNullishCoalescing token ID.
public const int OperatorNullishCoalescing = 13107
OperatorNullishCoalescingAssignment
Gets the OperatorNullishCoalescingAssignment token ID.
public const int OperatorNullishCoalescingAssignment = 13123
OperatorOnesComplement
Gets the OperatorOnesComplement token ID.
public const int OperatorOnesComplement = 13104
OperatorRightShift
Gets the OperatorRightShift token ID.
public const int OperatorRightShift = 13098
OperatorRightShiftAssignment
Gets the OperatorRightShiftAssignment token ID.
public const int OperatorRightShiftAssignment = 13116
OperatorStrictEquality
Gets the OperatorStrictEquality token ID.
public const int OperatorStrictEquality = 13087
OperatorStrictInequality
Gets the OperatorStrictInequality token ID.
public const int OperatorStrictInequality = 13088
OperatorSubtraction
Gets the OperatorSubtraction token ID.
public const int OperatorSubtraction = 13090
OperatorSubtractionAssignment
Gets the OperatorSubtractionAssignment token ID.
public const int OperatorSubtractionAssignment = 13110
OperatorZeroFillRightShift
Gets the OperatorZeroFillRightShift token ID.
public const int OperatorZeroFillRightShift = 13099
OperatorZeroFillRightShiftAssignment
Gets the OperatorZeroFillRightShiftAssignment token ID.
public const int OperatorZeroFillRightShiftAssignment = 13117
OptionalChaining
Gets the OptionalChaining token ID.
public const int OptionalChaining = 13010
QuestionMark
Gets the QuestionMark token ID.
public const int QuestionMark = 13015
ReservedKeywordEnum
Gets the ReservedKeywordEnum token ID.
public const int ReservedKeywordEnum = 13074
ReservedKeywordImplements
Gets the ReservedKeywordImplements token ID.
public const int ReservedKeywordImplements = 13075
ReservedKeywordInterface
Gets the ReservedKeywordInterface token ID.
public const int ReservedKeywordInterface = 13076
ReservedKeywordPackage
Gets the ReservedKeywordPackage token ID.
public const int ReservedKeywordPackage = 13077
ReservedKeywordPrivate
Gets the ReservedKeywordPrivate token ID.
public const int ReservedKeywordPrivate = 13078
ReservedKeywordProtected
Gets the ReservedKeywordProtected token ID.
public const int ReservedKeywordProtected = 13079
ReservedKeywordPublic
Gets the ReservedKeywordPublic token ID.
public const int ReservedKeywordPublic = 13080
SemiColon
Gets the SemiColon token ID.
public const int SemiColon = 13014
TripleDot
Gets the TripleDot token ID.
public const int TripleDot = 13011
Whitespace
Gets the Whitespace token ID.
public const int Whitespace = 13000