Home
last modified time | relevance | path

Searched refs:FormattingContext (Results 1 – 5 of 5) sorted by relevance

/third_party/typescript/src/services/formatting/
Drules.ts411 …ings>(optionName: K, optionValue: FormatCodeSettings[K]): (context: FormattingContext) => boolean {
415 …function isOptionEnabled(optionName: keyof FormatCodeSettings): (context: FormattingContext) => bo…
419 …function isOptionDisabled(optionName: keyof FormatCodeSettings): (context: FormattingContext) => b…
423 …isabledOrUndefined(optionName: keyof FormatCodeSettings): (context: FormattingContext) => boolean {
427 …OrTokensOnSameLine(optionName: keyof FormatCodeSettings): (context: FormattingContext) => boolean {
431 …EnabledOrUndefined(optionName: keyof FormatCodeSettings): (context: FormattingContext) => boolean {
435 function isForContext(context: FormattingContext): boolean {
439 function isNotForContext(context: FormattingContext): boolean {
443 function isBinaryOpContext(context: FormattingContext): boolean {
492 function isNotBinaryOpContext(context: FormattingContext): boolean {
[all …]
Drule.ts11 export type ContextPredicate = (context: FormattingContext) => boolean;
DformattingContext.ts12 export class FormattingContext { class
DrulesMap.ts37 export type RulesMap = (context: FormattingContext) => readonly Rule[] | undefined;
Dformatting.ts406 const formattingContext = new FormattingContext(sourceFile, requestKind, options);