Home
last modified time | relevance | path

Searched refs:TokenRange (Results 1 – 2 of 2) sorted by relevance

/third_party/typescript/src/services/formatting/
Drules.ts4 readonly leftTokenRange: TokenRange;
5 readonly rightTokenRange: TokenRange;
16 function anyTokenExcept(...tokens: SyntaxKind[]): TokenRange {
20 const anyToken: TokenRange = { tokens: allTokens, isSpecific: false };
380 left: SyntaxKind | readonly SyntaxKind[] | TokenRange,
381 right: SyntaxKind | readonly SyntaxKind[] | TokenRange,
389 function tokenRangeFrom(tokens: readonly SyntaxKind[]): TokenRange {
393 function toTokenRange(arg: SyntaxKind | readonly SyntaxKind[] | TokenRange): TokenRange {
397 …nRangeFromRange(from: SyntaxKind, to: SyntaxKind, except: readonly SyntaxKind[] = []): TokenRange {
Drule.ts33 export interface TokenRange { interface