Enum Class TSCSyntaxKind
- All Implemented Interfaces:
Serializable
,Comparable<TSCSyntaxKind>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAlso includes FirstContextualKeywordAlso includes FirstReservedWord, FirstKeywordAlso includes LastAssignment, LastCompoundAssignment, LastPunctuation, LastBinaryOperatorAlso includes LastTriviaTokenAlso includes LastStatementAlso includes FirstAssignmentAlso includes FirstFutureReservedWordAlso includes LastTypeNodeAlso includes JSDocCommentAlso includes LastJSDocNode, LastJSDocTagNodeAlso includes FirstJSDocTagNodeAlso includes FirstJSDocNodeAlso includes FirstBinaryOperatorAlso includes LastLiteralToken, FirstTemplateTokenAlso includes FirstLiteralTokenAlso includes LastKeyword, LastToken, LastContextualKeywordAlso includes FirstPunctuationAlso includes FirstCompoundAssignmentAlso includes FirstNodeAlso includes FirstTriviaTokenAlso includes LastTemplateTokenAlso includes FirstTypeNodeAlso includes FirstTokenAlso includes FirstStatementAlso includes LastReservedWordAlso includes LastFutureReservedWord -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic TSCSyntaxKind
fromCode
(int code) static TSCSyntaxKind
Returns the enum constant of this class with the specified name.static TSCSyntaxKind[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Unknown
Also includes FirstToken -
EndOfFileToken
-
SingleLineCommentTrivia
Also includes FirstTriviaToken -
MultiLineCommentTrivia
-
NewLineTrivia
-
WhitespaceTrivia
-
ShebangTrivia
-
ConflictMarkerTrivia
Also includes LastTriviaToken -
NonTextFileMarkerTrivia
-
NumericLiteral
Also includes FirstLiteralToken -
BigIntLiteral
-
StringLiteral
-
JsxText
-
JsxTextAllWhiteSpaces
-
RegularExpressionLiteral
-
NoSubstitutionTemplateLiteral
Also includes LastLiteralToken, FirstTemplateToken -
TemplateHead
-
TemplateMiddle
-
TemplateTail
Also includes LastTemplateToken -
OpenBraceToken
Also includes FirstPunctuation -
CloseBraceToken
-
OpenParenToken
-
CloseParenToken
-
OpenBracketToken
-
CloseBracketToken
-
DotToken
-
DotDotDotToken
-
SemicolonToken
-
CommaToken
-
QuestionDotToken
-
LessThanToken
Also includes FirstBinaryOperator -
LessThanSlashToken
-
GreaterThanToken
-
LessThanEqualsToken
-
GreaterThanEqualsToken
-
EqualsEqualsToken
-
ExclamationEqualsToken
-
EqualsEqualsEqualsToken
-
ExclamationEqualsEqualsToken
-
EqualsGreaterThanToken
-
PlusToken
-
MinusToken
-
AsteriskToken
-
AsteriskAsteriskToken
-
SlashToken
-
PercentToken
-
PlusPlusToken
-
MinusMinusToken
-
LessThanLessThanToken
-
GreaterThanGreaterThanToken
-
GreaterThanGreaterThanGreaterThanToken
-
AmpersandToken
-
BarToken
-
CaretToken
-
ExclamationToken
-
TildeToken
-
AmpersandAmpersandToken
-
BarBarToken
-
QuestionToken
-
ColonToken
-
AtToken
-
QuestionQuestionToken
-
BacktickToken
-
HashToken
-
EqualsToken
Also includes FirstAssignment -
PlusEqualsToken
Also includes FirstCompoundAssignment -
MinusEqualsToken
-
AsteriskEqualsToken
-
AsteriskAsteriskEqualsToken
-
SlashEqualsToken
-
PercentEqualsToken
-
LessThanLessThanEqualsToken
-
GreaterThanGreaterThanEqualsToken
-
GreaterThanGreaterThanGreaterThanEqualsToken
-
AmpersandEqualsToken
-
BarEqualsToken
-
BarBarEqualsToken
-
AmpersandAmpersandEqualsToken
-
QuestionQuestionEqualsToken
-
CaretEqualsToken
Also includes LastAssignment, LastCompoundAssignment, LastPunctuation, LastBinaryOperator -
Identifier
-
PrivateIdentifier
-
JSDocCommentTextToken
-
BreakKeyword
Also includes FirstReservedWord, FirstKeyword -
CaseKeyword
-
CatchKeyword
-
ClassKeyword
-
ConstKeyword
-
ContinueKeyword
-
DebuggerKeyword
-
DefaultKeyword
-
DeleteKeyword
-
DoKeyword
-
ElseKeyword
-
EnumKeyword
-
ExportKeyword
-
ExtendsKeyword
-
FalseKeyword
-
FinallyKeyword
-
ForKeyword
-
FunctionKeyword
-
IfKeyword
-
ImportKeyword
-
InKeyword
-
InstanceOfKeyword
-
NewKeyword
-
NullKeyword
-
ReturnKeyword
-
SuperKeyword
-
SwitchKeyword
-
ThisKeyword
-
ThrowKeyword
-
TrueKeyword
-
TryKeyword
-
TypeOfKeyword
-
VarKeyword
-
VoidKeyword
-
WhileKeyword
-
WithKeyword
Also includes LastReservedWord -
ImplementsKeyword
Also includes FirstFutureReservedWord -
InterfaceKeyword
-
LetKeyword
-
PackageKeyword
-
PrivateKeyword
-
ProtectedKeyword
-
PublicKeyword
-
StaticKeyword
-
YieldKeyword
Also includes LastFutureReservedWord -
AbstractKeyword
Also includes FirstContextualKeyword -
AccessorKeyword
-
AsKeyword
-
AssertsKeyword
-
AssertKeyword
-
AnyKeyword
-
AsyncKeyword
-
AwaitKeyword
-
BooleanKeyword
-
ConstructorKeyword
-
DeclareKeyword
-
GetKeyword
-
InferKeyword
-
IntrinsicKeyword
-
IsKeyword
-
KeyOfKeyword
-
ModuleKeyword
-
NamespaceKeyword
-
NeverKeyword
-
OutKeyword
-
ReadonlyKeyword
-
RequireKeyword
-
NumberKeyword
-
ObjectKeyword
-
SatisfiesKeyword
-
SetKeyword
-
StringKeyword
-
SymbolKeyword
-
TypeKeyword
-
UndefinedKeyword
-
UniqueKeyword
-
UnknownKeyword
-
UsingKeyword
-
FromKeyword
-
GlobalKeyword
-
BigIntKeyword
-
OverrideKeyword
-
OfKeyword
Also includes LastKeyword, LastToken, LastContextualKeyword -
QualifiedName
Also includes FirstNode -
ComputedPropertyName
-
TypeParameter
-
Parameter
-
Decorator
-
PropertySignature
-
PropertyDeclaration
-
MethodSignature
-
MethodDeclaration
-
ClassStaticBlockDeclaration
-
Constructor
-
GetAccessor
-
SetAccessor
-
CallSignature
-
ConstructSignature
-
IndexSignature
-
TypePredicate
Also includes FirstTypeNode -
TypeReference
-
FunctionType
-
ConstructorType
-
TypeQuery
-
TypeLiteral
-
ArrayType
-
TupleType
-
OptionalType
-
RestType
-
UnionType
-
IntersectionType
-
ConditionalType
-
InferType
-
ParenthesizedType
-
ThisType
-
TypeOperator
-
IndexedAccessType
-
MappedType
-
LiteralType
-
NamedTupleMember
-
TemplateLiteralType
-
TemplateLiteralTypeSpan
-
ImportType
Also includes LastTypeNode -
ObjectBindingPattern
-
ArrayBindingPattern
-
BindingElement
-
ArrayLiteralExpression
-
ObjectLiteralExpression
-
PropertyAccessExpression
-
ElementAccessExpression
-
CallExpression
-
NewExpression
-
TaggedTemplateExpression
-
TypeAssertionExpression
-
ParenthesizedExpression
-
FunctionExpression
-
ArrowFunction
-
DeleteExpression
-
TypeOfExpression
-
VoidExpression
-
AwaitExpression
-
PrefixUnaryExpression
-
PostfixUnaryExpression
-
BinaryExpression
-
ConditionalExpression
-
TemplateExpression
-
YieldExpression
-
SpreadElement
-
ClassExpression
-
OmittedExpression
-
ExpressionWithTypeArguments
-
AsExpression
-
NonNullExpression
-
MetaProperty
-
SyntheticExpression
-
SatisfiesExpression
-
TemplateSpan
-
SemicolonClassElement
-
Block
-
EmptyStatement
-
VariableStatement
Also includes FirstStatement -
ExpressionStatement
-
IfStatement
-
DoStatement
-
WhileStatement
-
ForStatement
-
ForInStatement
-
ForOfStatement
-
ContinueStatement
-
BreakStatement
-
ReturnStatement
-
WithStatement
-
SwitchStatement
-
LabeledStatement
-
ThrowStatement
-
TryStatement
-
DebuggerStatement
Also includes LastStatement -
VariableDeclaration
-
VariableDeclarationList
-
FunctionDeclaration
-
ClassDeclaration
-
InterfaceDeclaration
-
TypeAliasDeclaration
-
EnumDeclaration
-
ModuleDeclaration
-
ModuleBlock
-
CaseBlock
-
NamespaceExportDeclaration
-
ImportEqualsDeclaration
-
ImportDeclaration
-
ImportClause
-
NamespaceImport
-
NamedImports
-
ImportSpecifier
-
ExportAssignment
-
ExportDeclaration
-
NamedExports
-
NamespaceExport
-
ExportSpecifier
-
MissingDeclaration
-
ExternalModuleReference
-
JsxElement
-
JsxSelfClosingElement
-
JsxOpeningElement
-
JsxClosingElement
-
JsxFragment
-
JsxOpeningFragment
-
JsxClosingFragment
-
JsxAttribute
-
JsxAttributes
-
JsxSpreadAttribute
-
JsxExpression
-
JsxNamespacedName
-
CaseClause
-
DefaultClause
-
HeritageClause
-
CatchClause
-
AssertClause
-
AssertEntry
-
ImportTypeAssertionContainer
-
PropertyAssignment
-
ShorthandPropertyAssignment
-
SpreadAssignment
-
EnumMember
-
UnparsedPrologue
-
UnparsedPrepend
-
UnparsedText
-
UnparsedInternalText
-
UnparsedSyntheticReference
-
SourceFile
-
Bundle
-
UnparsedSource
-
InputFiles
-
JSDocTypeExpression
Also includes FirstJSDocNode -
JSDocNameReference
-
JSDocMemberName
-
JSDocAllType
-
JSDocUnknownType
-
JSDocNullableType
-
JSDocNonNullableType
-
JSDocOptionalType
-
JSDocFunctionType
-
JSDocVariadicType
-
JSDocNamepathType
-
JSDoc
Also includes JSDocComment -
JSDocText
-
JSDocTypeLiteral
-
JSDocSignature
-
JSDocLink
-
JSDocLinkCode
-
JSDocLinkPlain
-
JSDocTag
Also includes FirstJSDocTagNode -
JSDocAugmentsTag
-
JSDocImplementsTag
-
JSDocAuthorTag
-
JSDocDeprecatedTag
-
JSDocClassTag
-
JSDocPublicTag
-
JSDocPrivateTag
-
JSDocProtectedTag
-
JSDocReadonlyTag
-
JSDocOverrideTag
-
JSDocCallbackTag
-
JSDocOverloadTag
-
JSDocEnumTag
-
JSDocParameterTag
-
JSDocReturnTag
-
JSDocThisTag
-
JSDocTypeTag
-
JSDocTemplateTag
-
JSDocTypedefTag
-
JSDocSeeTag
-
JSDocPropertyTag
-
JSDocThrowsTag
-
JSDocSatisfiesTag
Also includes LastJSDocNode, LastJSDocTagNode -
SyntaxList
-
NotEmittedStatement
-
PartiallyEmittedExpression
-
CommaListExpression
-
SyntheticReferenceExpression
-
Count
-
-
Field Details
-
code
public final int code
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
fromCode
-