Logo Xantham

AstKind Module

Nested modules

Modules Description

Marker

Section boundaries the schema declares. The range guards below are written in terms of these rather than in terms of literal ordinals.

Functions and values

Function or value Description

AstKind.Count

Full Usage: AstKind.Count

Returns: int

How many kinds the schema declares. The compiler's `KindCount`.

Returns: int

AstKind.hasExtendedText kind

Full Usage: AstKind.hasExtendedText kind

Parameters:
Returns: bool

True when the node's text lives in its extended-data record rather than in the data word. `SourceFile` also carries extended data, but its record is hand-written in the compiler's client rather than described by the schema, so it is not included.

kind : SyntaxKind
Returns: bool

AstKind.hasStringText kind

Full Usage: AstKind.hasStringText kind

Parameters:
Returns: bool

True when the node's data word is an index into the string table, so its text is read straight from there. `Ast.text` handles both this and `hasExtendedText`.

kind : SyntaxKind
Returns: bool

AstKind.isAccessExpression kind

Full Usage: AstKind.isAccessExpression kind

Parameters:
Returns: bool

True when the kind is one of the schema's `AccessExpression` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isAccessorDeclaration kind

Full Usage: AstKind.isAccessorDeclaration kind

Parameters:
Returns: bool

True when the kind is one of the schema's `AccessorDeclaration` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isAdditiveOperator kind

Full Usage: AstKind.isAdditiveOperator kind

Parameters:
Returns: bool

True when the kind is one of the schema's `AdditiveOperator`.

kind : SyntaxKind
Returns: bool

AstKind.isAdditiveOperatorOrHigher kind

Full Usage: AstKind.isAdditiveOperatorOrHigher kind

Parameters:
Returns: bool

True when the kind is one of the schema's `AdditiveOperatorOrHigher`.

kind : SyntaxKind
Returns: bool

AstKind.isAnyImportSyntax kind

Full Usage: AstKind.isAnyImportSyntax kind

Parameters:
Returns: bool

True when the kind is one of the schema's `AnyImportSyntax` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isArrayBindingElement kind

Full Usage: AstKind.isArrayBindingElement kind

Parameters:
Returns: bool

True when the kind is one of the schema's `ArrayBindingElement` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isArrayDestructuringAssignment kind

Full Usage: AstKind.isArrayDestructuringAssignment kind

Parameters:
Returns: bool

True when the kind is one of the schema's `ArrayDestructuringAssignment` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isAssertionExpression kind

Full Usage: AstKind.isAssertionExpression kind

Parameters:
Returns: bool

True when the kind is one of the schema's `AssertionExpression` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isAssignmentOperator kind

Full Usage: AstKind.isAssignmentOperator kind

Parameters:
Returns: bool

True when the kind is one of the schema's `AssignmentOperator`.

kind : SyntaxKind
Returns: bool

AstKind.isAssignmentOperatorOrHigher kind

Full Usage: AstKind.isAssignmentOperatorOrHigher kind

Parameters:
Returns: bool

True when the kind is one of the schema's `AssignmentOperatorOrHigher`.

kind : SyntaxKind
Returns: bool

AstKind.isBinaryOperator kind

Full Usage: AstKind.isBinaryOperator kind

Parameters:
Returns: bool

True when the kind is one of the schema's `BinaryOperator`.

kind : SyntaxKind
Returns: bool

AstKind.isBindingName kind

Full Usage: AstKind.isBindingName kind

Parameters:
Returns: bool

True when the kind is one of the schema's `BindingName` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isBitwiseOperator kind

Full Usage: AstKind.isBitwiseOperator kind

Parameters:
Returns: bool

True when the kind is one of the schema's `BitwiseOperator`.

kind : SyntaxKind
Returns: bool

AstKind.isBitwiseOperatorOrHigher kind

Full Usage: AstKind.isBitwiseOperatorOrHigher kind

Parameters:
Returns: bool

True when the kind is one of the schema's `BitwiseOperatorOrHigher`.

kind : SyntaxKind
Returns: bool

AstKind.isBlockOrExpression kind

Full Usage: AstKind.isBlockOrExpression kind

Parameters:
Returns: bool

True when the kind is one of the schema's `BlockOrExpression` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isBooleanLiteral kind

Full Usage: AstKind.isBooleanLiteral kind

Parameters:
Returns: bool

True when the kind is one of the schema's `BooleanLiteral` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isBreakOrContinueStatement kind

Full Usage: AstKind.isBreakOrContinueStatement kind

Parameters:
Returns: bool

True when the kind is one of the schema's `BreakOrContinueStatement` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isCallLikeExpression kind

Full Usage: AstKind.isCallLikeExpression kind

Parameters:
Returns: bool

True when the kind is one of the schema's `CallLikeExpression` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isCallOrNewExpression kind

Full Usage: AstKind.isCallOrNewExpression kind

Parameters:
Returns: bool

True when the kind is one of the schema's `CallOrNewExpression` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isClassElement kind

Full Usage: AstKind.isClassElement kind

Parameters:
Returns: bool

True when the kind is one of the schema's `ClassElement` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isClassLikeDeclaration kind

Full Usage: AstKind.isClassLikeDeclaration kind

Parameters:
Returns: bool

True when the kind is one of the schema's `ClassLikeDeclaration` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isCompoundAssignmentOperator kind

Full Usage: AstKind.isCompoundAssignmentOperator kind

Parameters:
Returns: bool

True when the kind is one of the schema's `CompoundAssignmentOperator`.

kind : SyntaxKind
Returns: bool

AstKind.isConciseBody kind

Full Usage: AstKind.isConciseBody kind

Parameters:
Returns: bool

True when the kind is one of the schema's `ConciseBody` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isDeclaration kind

Full Usage: AstKind.isDeclaration kind

Parameters:
Returns: bool

True when the kind is one of the schema's `Declaration` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isDeclarationName kind

Full Usage: AstKind.isDeclarationName kind

Parameters:
Returns: bool

True when the kind is one of the schema's `DeclarationName` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isDestructuringAssignment kind

Full Usage: AstKind.isDestructuringAssignment kind

Parameters:
Returns: bool

True when the kind is one of the schema's `DestructuringAssignment` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isEntityName kind

Full Usage: AstKind.isEntityName kind

Parameters:
Returns: bool

True when the kind is one of the schema's `EntityName` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isEqualityOperator kind

Full Usage: AstKind.isEqualityOperator kind

Parameters:
Returns: bool

True when the kind is one of the schema's `EqualityOperator`.

kind : SyntaxKind
Returns: bool

AstKind.isEqualityOperatorOrHigher kind

Full Usage: AstKind.isEqualityOperatorOrHigher kind

Parameters:
Returns: bool

True when the kind is one of the schema's `EqualityOperatorOrHigher`.

kind : SyntaxKind
Returns: bool

AstKind.isExponentiationOperator kind

Full Usage: AstKind.isExponentiationOperator kind

Parameters:
Returns: bool

True when the kind is one of the schema's `ExponentiationOperator`.

kind : SyntaxKind
Returns: bool

AstKind.isExpression kind

Full Usage: AstKind.isExpression kind

Parameters:
Returns: bool

Guards for the schema's *node* aliases - the unions `ast.json` declares over node types, as opposed to the kind aliases above. A member declared as an `Expression` holds any of these kinds, and these are what the typed layer's views are written on. True when the kind is one of the schema's `Expression` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isForInitializer kind

Full Usage: AstKind.isForInitializer kind

Parameters:
Returns: bool

True when the kind is one of the schema's `ForInitializer` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isFunctionBody kind

Full Usage: AstKind.isFunctionBody kind

Parameters:
Returns: bool

True when the kind is one of the schema's `FunctionBody` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isFunctionLikeDeclaration kind

Full Usage: AstKind.isFunctionLikeDeclaration kind

Parameters:
Returns: bool

True when the kind is one of the schema's `FunctionLikeDeclaration` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isHeritageClauseElement kind

Full Usage: AstKind.isHeritageClauseElement kind

Parameters:
Returns: bool

True when the kind is one of the schema's `HeritageClauseElement` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isImportAttributeName kind

Full Usage: AstKind.isImportAttributeName kind

Parameters:
Returns: bool

True when the kind is one of the schema's `ImportAttributeName` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isImportClauseOrBindingPattern kind

Full Usage: AstKind.isImportClauseOrBindingPattern kind

Parameters:
Returns: bool

True when the kind is one of the schema's `ImportClauseOrBindingPattern` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isImportPhaseModifierKind kind

Full Usage: AstKind.isImportPhaseModifierKind kind

Parameters:
Returns: bool

True when the kind is one of the schema's `ImportPhaseModifierSyntaxKind`.

kind : SyntaxKind
Returns: bool

AstKind.isIncrementExpression kind

Full Usage: AstKind.isIncrementExpression kind

Parameters:
Returns: bool

True when the kind is one of the schema's `IncrementExpression` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isJSDocComment kind

Full Usage: AstKind.isJSDocComment kind

Parameters:
Returns: bool

True when the kind is one of the schema's `JSDocComment` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isJSDocFullName kind

Full Usage: AstKind.isJSDocFullName kind

Parameters:
Returns: bool

True when the kind is one of the schema's `JSDocFullName` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isJSDocNodeKind kind

Full Usage: AstKind.isJSDocNodeKind kind

Parameters:
Returns: bool
Modifiers: inline

True when the kind is one of the schema's `JSDocNodeSyntaxKind`.

kind : SyntaxKind
Returns: bool

AstKind.isJSDocTag kind

Full Usage: AstKind.isJSDocTag kind

Parameters:
Returns: bool

True when the kind is one of the schema's `JSDocTag` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isJsxAttributeLike kind

Full Usage: AstKind.isJsxAttributeLike kind

Parameters:
Returns: bool

True when the kind is one of the schema's `JsxAttributeLike` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isJsxAttributeName kind

Full Usage: AstKind.isJsxAttributeName kind

Parameters:
Returns: bool

True when the kind is one of the schema's `JsxAttributeName` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isJsxAttributeValue kind

Full Usage: AstKind.isJsxAttributeValue kind

Parameters:
Returns: bool

True when the kind is one of the schema's `JsxAttributeValue` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isJsxChild kind

Full Usage: AstKind.isJsxChild kind

Parameters:
Returns: bool

True when the kind is one of the schema's `JsxChild` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isJsxOpeningLikeElement kind

Full Usage: AstKind.isJsxOpeningLikeElement kind

Parameters:
Returns: bool

True when the kind is one of the schema's `JsxOpeningLikeElement` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isJsxTagNameExpression kind

Full Usage: AstKind.isJsxTagNameExpression kind

Parameters:
Returns: bool

True when the kind is one of the schema's `JsxTagNameExpression` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isJsxTokenKind kind

Full Usage: AstKind.isJsxTokenKind kind

Parameters:
Returns: bool

True when the kind is one of the schema's `JsxTokenSyntaxKind`.

kind : SyntaxKind
Returns: bool

AstKind.isKeywordExpressionKind kind

Full Usage: AstKind.isKeywordExpressionKind kind

Parameters:
Returns: bool

True when the kind is one of the schema's `KeywordExpressionSyntaxKind`.

kind : SyntaxKind
Returns: bool

AstKind.isKeywordKind kind

Full Usage: AstKind.isKeywordKind kind

Parameters:
Returns: bool
Modifiers: inline

True when the kind is one of the schema's `KeywordSyntaxKind`.

kind : SyntaxKind
Returns: bool

AstKind.isKeywordTypeKind kind

Full Usage: AstKind.isKeywordTypeKind kind

Parameters:
Returns: bool

True when the kind is one of the schema's `KeywordTypeSyntaxKind`.

kind : SyntaxKind
Returns: bool

AstKind.isLeftHandSideExpression kind

Full Usage: AstKind.isLeftHandSideExpression kind

Parameters:
Returns: bool

True when the kind is one of the schema's `LeftHandSideExpression` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isLiteralExpression kind

Full Usage: AstKind.isLiteralExpression kind

Parameters:
Returns: bool

True when the kind is one of the schema's `LiteralExpression` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isLiteralKind kind

Full Usage: AstKind.isLiteralKind kind

Parameters:
Returns: bool
Modifiers: inline

True when the kind is one of the schema's `LiteralSyntaxKind`.

kind : SyntaxKind
Returns: bool

AstKind.isLiteralLikeNode kind

Full Usage: AstKind.isLiteralLikeNode kind

Parameters:
Returns: bool

True when the kind is one of the schema's `LiteralLikeNode` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isLiteralToken kind

Full Usage: AstKind.isLiteralToken kind

Parameters:
Returns: bool

True when the kind is one of the schema's `LiteralToken` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isLogicalOperator kind

Full Usage: AstKind.isLogicalOperator kind

Parameters:
Returns: bool

True when the kind is one of the schema's `LogicalOperator`.

kind : SyntaxKind
Returns: bool

AstKind.isLogicalOperatorOrHigher kind

Full Usage: AstKind.isLogicalOperatorOrHigher kind

Parameters:
Returns: bool

True when the kind is one of the schema's `LogicalOperatorOrHigher`.

kind : SyntaxKind
Returns: bool

AstKind.isLogicalOrCoalescingAssignmentOperator kind

Full Usage: AstKind.isLogicalOrCoalescingAssignmentOperator kind

Parameters:
Returns: bool

True when the kind is one of the schema's `LogicalOrCoalescingAssignmentOperator`.

kind : SyntaxKind
Returns: bool

AstKind.isMemberName kind

Full Usage: AstKind.isMemberName kind

Parameters:
Returns: bool

True when the kind is one of the schema's `MemberName` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isModifier kind

Full Usage: AstKind.isModifier kind

Parameters:
Returns: bool

True when the kind is one of the schema's `Modifier` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isModifierKind kind

Full Usage: AstKind.isModifierKind kind

Parameters:
Returns: bool

True when the kind is one of the schema's `ModifierSyntaxKind`.

kind : SyntaxKind
Returns: bool

AstKind.isModifierLike kind

Full Usage: AstKind.isModifierLike kind

Parameters:
Returns: bool

True when the kind is one of the schema's `ModifierLike` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isModuleBody kind

Full Usage: AstKind.isModuleBody kind

Parameters:
Returns: bool

True when the kind is one of the schema's `ModuleBody` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isModuleExportName kind

Full Usage: AstKind.isModuleExportName kind

Parameters:
Returns: bool

True when the kind is one of the schema's `ModuleExportName` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isModuleName kind

Full Usage: AstKind.isModuleName kind

Parameters:
Returns: bool

True when the kind is one of the schema's `ModuleName` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isModuleReference kind

Full Usage: AstKind.isModuleReference kind

Parameters:
Returns: bool

True when the kind is one of the schema's `ModuleReference` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isMultiplicativeOperator kind

Full Usage: AstKind.isMultiplicativeOperator kind

Parameters:
Returns: bool

True when the kind is one of the schema's `MultiplicativeOperator`.

kind : SyntaxKind
Returns: bool

AstKind.isMultiplicativeOperatorOrHigher kind

Full Usage: AstKind.isMultiplicativeOperatorOrHigher kind

Parameters:
Returns: bool

True when the kind is one of the schema's `MultiplicativeOperatorOrHigher`.

kind : SyntaxKind
Returns: bool

AstKind.isNamedExportBindings kind

Full Usage: AstKind.isNamedExportBindings kind

Parameters:
Returns: bool

True when the kind is one of the schema's `NamedExportBindings` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isNamedImportBindings kind

Full Usage: AstKind.isNamedImportBindings kind

Parameters:
Returns: bool

True when the kind is one of the schema's `NamedImportBindings` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isNamedImportsOrExports kind

Full Usage: AstKind.isNamedImportsOrExports kind

Parameters:
Returns: bool

True when the kind is one of the schema's `NamedImportsOrExports` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isNodeBody kind

Full Usage: AstKind.isNodeBody kind

Parameters:
Returns: bool

True when the kind is one of the schema's `NodeBody` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isNumericOrStringLikeLiteral kind

Full Usage: AstKind.isNumericOrStringLikeLiteral kind

Parameters:
Returns: bool

True when the kind is one of the schema's `NumericOrStringLikeLiteral` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isObjectDestructuringAssignment kind

Full Usage: AstKind.isObjectDestructuringAssignment kind

Parameters:
Returns: bool

True when the kind is one of the schema's `ObjectDestructuringAssignment` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isObjectLiteralElement kind

Full Usage: AstKind.isObjectLiteralElement kind

Parameters:
Returns: bool

True when the kind is one of the schema's `ObjectLiteralElement` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isObjectLiteralElementLike kind

Full Usage: AstKind.isObjectLiteralElementLike kind

Parameters:
Returns: bool

True when the kind is one of the schema's `ObjectLiteralElementLike` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isObjectLiteralLikeNode kind

Full Usage: AstKind.isObjectLiteralLikeNode kind

Parameters:
Returns: bool

True when the kind is one of the schema's `ObjectLiteralLikeNode` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isObjectTypeDeclaration kind

Full Usage: AstKind.isObjectTypeDeclaration kind

Parameters:
Returns: bool

True when the kind is one of the schema's `ObjectTypeDeclaration` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isPostfixUnaryOperator kind

Full Usage: AstKind.isPostfixUnaryOperator kind

Parameters:
Returns: bool

True when the kind is one of the schema's `PostfixUnaryOperator`.

kind : SyntaxKind
Returns: bool

AstKind.isPrefixUnaryOperator kind

Full Usage: AstKind.isPrefixUnaryOperator kind

Parameters:
Returns: bool

True when the kind is one of the schema's `PrefixUnaryOperator`.

kind : SyntaxKind
Returns: bool

AstKind.isPropertyName kind

Full Usage: AstKind.isPropertyName kind

Parameters:
Returns: bool

True when the kind is one of the schema's `PropertyName` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isPropertyNameLiteral kind

Full Usage: AstKind.isPropertyNameLiteral kind

Parameters:
Returns: bool

True when the kind is one of the schema's `PropertyNameLiteral` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isPseudoLiteralKind kind

Full Usage: AstKind.isPseudoLiteralKind kind

Parameters:
Returns: bool

True when the kind is one of the schema's `PseudoLiteralSyntaxKind`.

kind : SyntaxKind
Returns: bool

AstKind.isPseudoLiteralToken kind

Full Usage: AstKind.isPseudoLiteralToken kind

Parameters:
Returns: bool

True when the kind is one of the schema's `PseudoLiteralToken` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isPunctuationKind kind

Full Usage: AstKind.isPunctuationKind kind

Parameters:
Returns: bool
Modifiers: inline

True when the kind is one of the schema's `PunctuationSyntaxKind`.

kind : SyntaxKind
Returns: bool

AstKind.isRelationalOperator kind

Full Usage: AstKind.isRelationalOperator kind

Parameters:
Returns: bool

True when the kind is one of the schema's `RelationalOperator`.

kind : SyntaxKind
Returns: bool

AstKind.isRelationalOperatorOrHigher kind

Full Usage: AstKind.isRelationalOperatorOrHigher kind

Parameters:
Returns: bool

True when the kind is one of the schema's `RelationalOperatorOrHigher`.

kind : SyntaxKind
Returns: bool

AstKind.isShiftOperator kind

Full Usage: AstKind.isShiftOperator kind

Parameters:
Returns: bool

True when the kind is one of the schema's `ShiftOperator`.

kind : SyntaxKind
Returns: bool

AstKind.isShiftOperatorOrHigher kind

Full Usage: AstKind.isShiftOperatorOrHigher kind

Parameters:
Returns: bool

True when the kind is one of the schema's `ShiftOperatorOrHigher`.

kind : SyntaxKind
Returns: bool

AstKind.isSignatureDeclaration kind

Full Usage: AstKind.isSignatureDeclaration kind

Parameters:
Returns: bool

True when the kind is one of the schema's `SignatureDeclaration` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isStatement kind

Full Usage: AstKind.isStatement kind

Parameters:
Returns: bool

True when the kind is one of the schema's `Statement` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isStringLiteralLikeNode kind

Full Usage: AstKind.isStringLiteralLikeNode kind

Parameters:
Returns: bool

True when the kind is one of the schema's `StringLiteralLikeNode` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isTemplateLiteral kind

Full Usage: AstKind.isTemplateLiteral kind

Parameters:
Returns: bool

True when the kind is one of the schema's `TemplateLiteral` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isTemplateLiteralLikeNode kind

Full Usage: AstKind.isTemplateLiteralLikeNode kind

Parameters:
Returns: bool

True when the kind is one of the schema's `TemplateLiteralLikeNode` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isTemplateLiteralToken kind

Full Usage: AstKind.isTemplateLiteralToken kind

Parameters:
Returns: bool

True when the kind is one of the schema's `TemplateLiteralToken` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isTemplateMiddleOrTail kind

Full Usage: AstKind.isTemplateMiddleOrTail kind

Parameters:
Returns: bool

True when the kind is one of the schema's `TemplateMiddleOrTail` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isTokenKind kind

Full Usage: AstKind.isTokenKind kind

Parameters:
Returns: bool
Modifiers: inline

True when the kind is one of the schema's `TokenSyntaxKind`.

kind : SyntaxKind
Returns: bool

AstKind.isTriviaKind kind

Full Usage: AstKind.isTriviaKind kind

Parameters:
Returns: bool

True when the kind is one of the schema's `TriviaSyntaxKind`.

kind : SyntaxKind
Returns: bool

AstKind.isTypeElement kind

Full Usage: AstKind.isTypeElement kind

Parameters:
Returns: bool

True when the kind is one of the schema's `TypeElement` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isTypeNode kind

Full Usage: AstKind.isTypeNode kind

Parameters:
Returns: bool

True when the kind is one of the schema's `TypeNode` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isTypePredicateParameterName kind

Full Usage: AstKind.isTypePredicateParameterName kind

Parameters:
Returns: bool

True when the kind is one of the schema's `TypePredicateParameterName` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isUnionOrIntersectionTypeNode kind

Full Usage: AstKind.isUnionOrIntersectionTypeNode kind

Parameters:
Returns: bool

True when the kind is one of the schema's `UnionOrIntersectionTypeNode` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isVariableOrParameterDeclaration kind

Full Usage: AstKind.isVariableOrParameterDeclaration kind

Parameters:
Returns: bool

True when the kind is one of the schema's `VariableOrParameterDeclaration` nodes.

kind : SyntaxKind
Returns: bool

AstKind.isVariableOrPropertyDeclaration kind

Full Usage: AstKind.isVariableOrPropertyDeclaration kind

Parameters:
Returns: bool

True when the kind is one of the schema's `VariableOrPropertyDeclaration` nodes.

kind : SyntaxKind
Returns: bool

AstKind.name kind

Full Usage: AstKind.name kind

Parameters:
Returns: string

The kind's schema name. A table rather than `ToString()`, which reflects.

kind : SyntaxKind
Returns: string

Type something to start searching.