Properties

Link copied to clipboard
abstract external var _declarationBrand: Any?
Link copied to clipboard
abstract external var _expressionBrand: Any?
Link copied to clipboard
abstract external var _flowContainerBrand: Any?
Link copied to clipboard
abstract external var _jsdocContainerBrand: Any?
Link copied to clipboard
abstract external var _leftHandSideExpressionBrand: Any?
Link copied to clipboard
abstract external var _memberExpressionBrand: Any?
Link copied to clipboard
abstract external var _primaryExpressionBrand: Any?
Link copied to clipboard
abstract external var _unaryExpressionBrand: Any?
Link copied to clipboard
abstract external var _updateExpressionBrand: Any?
Link copied to clipboard
abstract external val end: Double
Link copied to clipboard
abstract external val escapedText: __String

Prefer to use id.unescapedText. (Note: This is available only in services, not internally to the TypeScript compiler.) Text of identifier, but if the identifier begins with two underscores, this will begin with three.

Link copied to clipboard
abstract external val flags: NodeFlags
Link copied to clipboard
abstract external override val kind: SyntaxKind.Identifier
Link copied to clipboard
abstract external val parent: Node
Link copied to clipboard
abstract external val pos: Double
Link copied to clipboard
abstract external val text: String

Functions

Link copied to clipboard
abstract external fun <T> forEachChild(cbNode: (node: Node) -> T?, cbNodeArray: (nodes: NodeArray<Node>) -> T? = definedExternally): T?
Link copied to clipboard
abstract external fun getChildAt(index: Double, sourceFile: SourceFile = definedExternally): Node
Link copied to clipboard
abstract external fun getChildCount(sourceFile: SourceFile = definedExternally): Double
Link copied to clipboard
abstract external fun getChildren(sourceFile: SourceFile = definedExternally): ReadonlyArray<Node>
Link copied to clipboard
abstract external fun getEnd(): Double
Link copied to clipboard
abstract external fun getFirstToken(sourceFile: SourceFile = definedExternally): Node?
Link copied to clipboard
abstract external fun getFullStart(): Double
Link copied to clipboard
abstract external fun getFullText(sourceFile: SourceFile = definedExternally): String
Link copied to clipboard
abstract external fun getFullWidth(): Double
Link copied to clipboard
abstract external fun getLastToken(sourceFile: SourceFile = definedExternally): Node?
Link copied to clipboard
abstract external fun getLeadingTriviaWidth(sourceFile: SourceFile = definedExternally): Double
Link copied to clipboard
abstract external fun getSourceFile(): SourceFile
Link copied to clipboard
abstract external fun getStart(sourceFile: SourceFile = definedExternally, includeJsDocComment: Boolean = definedExternally): Double
Link copied to clipboard
abstract external fun getText(sourceFile: SourceFile = definedExternally): String
Link copied to clipboard
abstract external fun getWidth(sourceFile: SourceFileLike = definedExternally): Double