Module Indentation

Index

Functions

Functions

columnForEndOfToken(token: ISyntaxToken, syntaxInformationMap: SyntaxInformationMap, options: FormattingOptions): number

Parameters

Returns

number

columnForPositionInString(input: string, position: number, options: FormattingOptions): number

Parameters

Returns

number

columnForStartOfFirstTokenInLineContainingToken(token: ISyntaxToken, syntaxInformationMap: SyntaxInformationMap, options: FormattingOptions): number

Parameters

Returns

number

columnForStartOfToken(token: ISyntaxToken, syntaxInformationMap: SyntaxInformationMap, options: FormattingOptions): number

Parameters

Returns

number

firstNonWhitespacePosition(value: string): number

Parameters

  • value: string

Returns

number

indentationString(column: number, options: FormattingOptions): string

Parameters

Returns

string

indentationTrivia(column: number, options: FormattingOptions): ISyntaxTrivia

Parameters

Returns

ISyntaxTrivia