Searched refs:RuleAction (Results 1 – 4 of 4) sorted by relevance
/third_party/typescript/src/services/formatting/ |
D | rules.ts | 50 …rule("IgnoreBeforeComment", anyToken, comments, anyContext, RuleAction.StopProcessingSpaceActions), 51 …ineComment", SyntaxKind.SingleLineCommentTrivia, anyToken, anyContext, RuleAction.StopProcessingSp… 53 …sxSameLineTokenContext, isNotBinaryOpContext, isNotTypeAnnotationContext], RuleAction.DeleteSpace), 54 …olonToken, anyToken, [isNonJsxSameLineTokenContext, isNotBinaryOpContext], RuleAction.InsertSpace), 55 …sxSameLineTokenContext, isNotBinaryOpContext, isNotTypeAnnotationContext], RuleAction.DeleteSpace), 57 …n, anyToken, [isNonJsxSameLineTokenContext, isConditionalOperatorContext], RuleAction.InsertSpace), 60 …Mark", SyntaxKind.QuestionToken, anyToken, [isNonJsxSameLineTokenContext], RuleAction.DeleteSpace), 62 …ken], [isNonJsxSameLineTokenContext, isNotPropertyAccessOnIntegerLiteral], RuleAction.DeleteSpace), 63 …n, SyntaxKind.QuestionDotToken], anyToken, [isNonJsxSameLineTokenContext], RuleAction.DeleteSpace), 65 …xKind.OpenParenToken, [isNonJsxSameLineTokenContext, isImportTypeContext], RuleAction.DeleteSpace), [all …]
|
D | rulesMap.ts | 20 function getRuleActionExclusion(ruleAction: RuleAction): RuleAction { 21 let mask: RuleAction = 0; 22 if (ruleAction & RuleAction.StopProcessingSpaceActions) { 23 mask |= RuleAction.ModifySpaceAction; 25 if (ruleAction & RuleAction.StopProcessingTokenActions) { 26 mask |= RuleAction.ModifyTokenAction; 28 if (ruleAction & RuleAction.ModifySpaceAction) { 29 mask |= RuleAction.ModifySpaceAction; 31 if (ruleAction & RuleAction.ModifyTokenAction) { 32 mask |= RuleAction.ModifyTokenAction; [all …]
|
D | rule.ts | 7 readonly action: RuleAction; 14 export const enum RuleAction { enum
|
D | formatting.ts | 1053 …trimTrailingWhitespaces = trimTrailingWhitespaces && !(rule.action & RuleAction.DeleteSpace) && ru… 1244 case RuleAction.StopProcessingSpaceActions: 1247 case RuleAction.DeleteSpace: 1254 case RuleAction.DeleteToken: 1257 case RuleAction.InsertNewLine: 1272 case RuleAction.InsertSpace: 1284 case RuleAction.InsertTrailingSemicolon:
|