Interface ISeparatedSyntaxList

Hierarchy

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 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 nonSeparatorAt(index: number): ISyntaxNodeOrToken

Parameters

  • index: number

Returns

ISyntaxNodeOrToken

public nonSeparatorCount(): number

Returns

number

public separatorAt(index: number): ISyntaxToken

Parameters

  • index: number

Returns

ISyntaxToken

public separatorCount(): number

Returns

number

public toArray(): ISyntaxNodeOrToken[]

Returns

ISyntaxNodeOrToken[]

public toNonSeparatorArray(): ISyntaxNodeOrToken[]

Returns

ISyntaxNodeOrToken[]

public trailingTrivia(): ISyntaxTriviaList

Returns

ISyntaxTriviaList

public trailingTriviaWidth(): number

Returns

number

public width(): number

Returns

number