Class EmptySyntaxList

Index

Methods

Methods

public childAt(index: number): ISyntaxNodeOrToken

Parameters

  • index: number

Returns

ISyntaxNodeOrToken

public childCount(): number

Returns

number

public collectTextElements(elements: Array<string>)

Parameters

  • elements: Array<string>

public findTokenInternal(parent: PositionedElement, position: number, fullStart: number): PositionedToken

Parameters

Returns

PositionedToken

public firstToken(): ISyntaxToken

Returns

ISyntaxToken

public fullText(): string

Returns

string

public fullWidth(): number

Returns

number

public insertChildrenInto(array: ISyntaxElement[], index: number)

Parameters

public isIncrementallyUnusable(): boolean

Returns

boolean

public isList(): boolean

Returns

boolean

public isNode(): boolean

Returns

boolean

public isSeparatedList(): boolean

Returns

boolean

public isToken(): boolean

Returns

boolean

public isTypeScriptSpecific(): boolean

Returns

boolean

public kind(): SyntaxKind

Returns

SyntaxKind

public lastToken(): ISyntaxToken

Returns

ISyntaxToken

public leadingTrivia(): ISyntaxTriviaList

Returns

ISyntaxTriviaList

public leadingTriviaWidth(): number

Returns

number

public toArray(): ISyntaxNodeOrToken[]

Returns

ISyntaxNodeOrToken[]

public toJSON(key: any): any

Parameters

  • key: any

Returns

any

public trailingTrivia(): ISyntaxTriviaList

Returns

ISyntaxTriviaList

public trailingTriviaWidth(): number

Returns

number

public width(): number

Returns

number