Searched refs:FormattingContext (Results 1 – 5 of 5) sorted by relevance
411 …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 …]
11 export type ContextPredicate = (context: FormattingContext) => boolean;
12 export class FormattingContext { class
37 export type RulesMap = (context: FormattingContext) => readonly Rule[] | undefined;
406 const formattingContext = new FormattingContext(sourceFile, requestKind, options);