Interface ISyntaxTriviaList

Index

Methods

Methods

public collectTextElements(elements: Array<string>)

Parameters

  • elements: Array<string>

public concat(trivia: ISyntaxTriviaList): ISyntaxTriviaList

Parameters

Returns

ISyntaxTriviaList

public count(): number

Returns

number

public fullText(): string

Returns

string

public fullWidth(): number

Returns

number

public hasComment(): boolean

Returns

boolean

public hasNewLine(): boolean

Returns

boolean

public hasSkippedToken(): boolean

Returns

boolean

public last(): ISyntaxTrivia

Returns

ISyntaxTrivia

public syntaxTriviaAt(index: number): ISyntaxTrivia

Parameters

  • index: number

Returns

ISyntaxTrivia

public toArray(): ISyntaxTrivia[]

Returns

ISyntaxTrivia[]