Interface ISyntaxToken

Hierarchy

Index

Properties

Methods

Properties

public tokenKind: SyntaxKind

Methods

public accept(visitor: ISyntaxVisitor): any

Parameters

Returns

any

public accept(visitor: ISyntaxVisitor): any

Parameters

Returns

any

public accept(visitor: ISyntaxVisitor): any

Parameters

Returns

any

public childAt(index: number): ISyntaxElement

Parameters

  • index: number

Returns

ISyntaxElement

public childAt(index: number): ISyntaxElement

Parameters

  • index: number

Returns

ISyntaxElement

public childAt(index: number): ISyntaxElement

Parameters

  • index: number

Returns

ISyntaxElement

public childCount(): number

Returns

number

public childCount(): number

Returns

number

public childCount(): number

Returns

number

public clone(): ISyntaxToken

Returns

ISyntaxToken

public collectTextElements(elements: Array<string>)

Parameters

  • elements: Array<string>

public collectTextElements(elements: Array<string>)

Parameters

  • elements: Array<string>

public collectTextElements(elements: Array<string>)

Parameters

  • elements: Array<string>

public firstToken(): ISyntaxToken

Returns

ISyntaxToken

public firstToken(): ISyntaxToken

Returns

ISyntaxToken

public firstToken(): ISyntaxToken

Returns

ISyntaxToken

public fullText(): string

Returns

string

public fullText(): string

Returns

string

public fullText(): string

Returns

string

public fullWidth(): number

Returns

number

public fullWidth(): number

Returns

number

public fullWidth(): number

Returns

number

public hasLeadingComment(): boolean

Returns

boolean

public hasLeadingNewLine(): boolean

Returns

boolean

public hasLeadingSkippedText(): boolean

Returns

boolean

public hasLeadingTrivia(): boolean

Returns

boolean

public hasSkippedToken(): boolean

Returns

boolean

public hasTrailingComment(): boolean

Returns

boolean

public hasTrailingNewLine(): boolean

Returns

boolean

public hasTrailingSkippedText(): boolean

Returns

boolean

public hasTrailingTrivia(): boolean

Returns

boolean

public isExpression(): boolean

Returns

boolean

public isIncrementallyUnusable(): boolean

Returns

boolean

public isIncrementallyUnusable(): boolean

Returns

boolean

public isIncrementallyUnusable(): boolean

Returns

boolean

public isList(): boolean

Returns

boolean

public isList(): boolean

Returns

boolean

public isList(): boolean

Returns

boolean

public isMemberExpression(): boolean

Returns

boolean

public isNode(): boolean

Returns

boolean

public isNode(): boolean

Returns

boolean

public isNode(): boolean

Returns

boolean

public isPostfixExpression(): boolean

Returns

boolean

public isPrimaryExpression(): boolean

Returns

boolean

public isSeparatedList(): boolean

Returns

boolean

public isSeparatedList(): boolean

Returns

boolean

public isSeparatedList(): boolean

Returns

boolean

public isToken(): boolean

Returns

boolean

public isToken(): boolean

Returns

boolean

public isToken(): boolean

Returns

boolean

public isTypeScriptSpecific(): boolean

Returns

boolean

public isTypeScriptSpecific(): boolean

Returns

boolean

public isTypeScriptSpecific(): boolean

Returns

boolean

public isUnaryExpression(): boolean

Returns

boolean

public kind(): SyntaxKind

Returns

SyntaxKind

public kind(): SyntaxKind

Returns

SyntaxKind

public kind(): SyntaxKind

Returns

SyntaxKind

public lastToken(): ISyntaxToken

Returns

ISyntaxToken

public lastToken(): ISyntaxToken

Returns

ISyntaxToken

public lastToken(): ISyntaxToken

Returns

ISyntaxToken

public leadingTrivia(): ISyntaxTriviaList

Returns

ISyntaxTriviaList

public leadingTriviaWidth(): number

Returns

number

public leadingTriviaWidth(): number

Returns

number

public leadingTriviaWidth(): number

Returns

number

public text(): string

Returns

string

public trailingTrivia(): ISyntaxTriviaList

Returns

ISyntaxTriviaList

public trailingTriviaWidth(): number

Returns

number

public trailingTriviaWidth(): number

Returns

number

public trailingTriviaWidth(): number

Returns

number

public value(): any

Returns

any

public valueText(): string

Returns

string

public width(): number

Returns

number

public width(): number

Returns

number

public width(): number

Returns

number

public withLeadingTrivia(leadingTrivia: ISyntaxTriviaList): ISyntaxToken

Parameters

Returns

ISyntaxToken

public withTrailingTrivia(trailingTrivia: ISyntaxTriviaList): ISyntaxToken

Parameters

Returns

ISyntaxToken