Home
last modified time | relevance | path

Searched refs:createModifier (Results 1 – 19 of 19) sorted by relevance

/third_party/typescript/src/services/codefixes/
DconvertToMappedObjectType.ts45 …hasEffectiveReadonlyModifier(indexSignature) ? factory.createModifier(SyntaxKind.ReadonlyKeyword) …
/third_party/typescript/src/services/refactors/
DextractSymbol.ts889 … const modifiers: Modifier[] = isJS ? [] : [factory.createModifier(SyntaxKind.PrivateKeyword)];
891 modifiers.push(factory.createModifier(SyntaxKind.StaticKeyword));
894 modifiers.push(factory.createModifier(SyntaxKind.AsyncKeyword));
1138 modifiers.push(factory.createModifier(SyntaxKind.PrivateKeyword));
1140 modifiers.push(factory.createModifier(SyntaxKind.StaticKeyword));
1142 modifiers.push(factory.createModifier(SyntaxKind.ReadonlyKeyword));
DmoveToNewFile.ts783 … const modifiers = concatenate([factory.createModifier(SyntaxKind.ExportKeyword)], d.modifiers);
/third_party/typescript/src/compiler/factory/
DnodeFactory.ts65 createModifier,
1024 function createModifier<T extends ModifierSyntaxKind>(kind: T) {
1031 … if (flags & ModifierFlags.Export) { result.push(createModifier(SyntaxKind.ExportKeyword)); }
1032 … if (flags & ModifierFlags.Ambient) { result.push(createModifier(SyntaxKind.DeclareKeyword)); }
1033 … if (flags & ModifierFlags.Default) { result.push(createModifier(SyntaxKind.DefaultKeyword)); }
1034 … if (flags & ModifierFlags.Const) { result.push(createModifier(SyntaxKind.ConstKeyword)); }
1035 … if (flags & ModifierFlags.Public) { result.push(createModifier(SyntaxKind.PublicKeyword)); }
1036 … if (flags & ModifierFlags.Private) { result.push(createModifier(SyntaxKind.PrivateKeyword)); }
1037 … if (flags & ModifierFlags.Protected) { result.push(createModifier(SyntaxKind.ProtectedKeyword)); }
1038 … if (flags & ModifierFlags.Abstract) { result.push(createModifier(SyntaxKind.AbstractKeyword)); }
[all …]
/third_party/typescript/src/compiler/transformers/
Ddeclarations.ts265 [factory.createModifier(SyntaxKind.DeclareKeyword)],
1142 … statement = factory.createVariableStatement(needsDeclare ? [factory.createModifier(SyntaxKind.Dec…
1462 … statement = factory.createVariableStatement(needsDeclare ? [factory.createModifier(SyntaxKind.Dec…
/third_party/typescript/src/testRunner/unittests/
Dtransform.ts361 …eDecorator(factory.createIdentifier("Dec"))], /*modifiers*/ [factory.createModifier(SyntaxKind.Pri…
/third_party/typescript/src/deprecatedCompat/
Ddeprecations.ts65 export const createModifier = Debug.deprecate(factory.createModifier, factoryDeprecation); constant
/third_party/typescript/lib/
Dtypescript.d.ts3229 createModifier<T extends ModifierSyntaxKind>(kind: T): ModifierToken<T>; method
6532 const createModifier: <T extends ModifierSyntaxKind>(kind: T) => ModifierToken<T>; constant
DtypescriptServices.d.ts3229 createModifier<T extends ModifierSyntaxKind>(kind: T): ModifierToken<T>; method
6532 const createModifier: <T extends ModifierSyntaxKind>(kind: T) => ModifierToken<T>; constant
Dtsserverlibrary.d.ts3229 createModifier<T extends ModifierSyntaxKind>(kind: T): ModifierToken<T>; method
10277 const createModifier: <T extends ModifierSyntaxKind>(kind: T) => ModifierToken<T>; constant
DtypescriptServices.js20776 createModifier: createModifier, property
21577 function createModifier(kind) { function
21584 result.push(createModifier(93 /* ExportKeyword */));
21587 result.push(createModifier(134 /* DeclareKeyword */));
21590 result.push(createModifier(88 /* DefaultKeyword */));
21593 result.push(createModifier(85 /* ConstKeyword */));
21596 result.push(createModifier(123 /* PublicKeyword */));
21599 result.push(createModifier(121 /* PrivateKeyword */));
21602 result.push(createModifier(122 /* ProtectedKeyword */));
21605 result.push(createModifier(126 /* AbstractKeyword */));
[all …]
Dtsserverlibrary.js20776 createModifier: createModifier, property
21577 function createModifier(kind) { function
21584 result.push(createModifier(93 /* ExportKeyword */));
21587 result.push(createModifier(134 /* DeclareKeyword */));
21590 result.push(createModifier(88 /* DefaultKeyword */));
21593 result.push(createModifier(85 /* ConstKeyword */));
21596 result.push(createModifier(123 /* PublicKeyword */));
21599 result.push(createModifier(121 /* PrivateKeyword */));
21602 result.push(createModifier(122 /* ProtectedKeyword */));
21605 result.push(createModifier(126 /* AbstractKeyword */));
[all …]
Dtsserver.js20582 createModifier: createModifier, property
21383 function createModifier(kind) { function
21390 result.push(createModifier(93 /* ExportKeyword */));
21393 result.push(createModifier(134 /* DeclareKeyword */));
21396 result.push(createModifier(88 /* DefaultKeyword */));
21399 result.push(createModifier(85 /* ConstKeyword */));
21402 result.push(createModifier(123 /* PublicKeyword */));
21405 result.push(createModifier(121 /* PrivateKeyword */));
21408 result.push(createModifier(122 /* ProtectedKeyword */));
21411 result.push(createModifier(126 /* AbstractKeyword */));
[all …]
Dtypescript.js20776 createModifier: createModifier, property
21577 function createModifier(kind) { function
21584 result.push(createModifier(93 /* ExportKeyword */));
21587 result.push(createModifier(134 /* DeclareKeyword */));
21590 result.push(createModifier(88 /* DefaultKeyword */));
21593 result.push(createModifier(85 /* ConstKeyword */));
21596 result.push(createModifier(123 /* PublicKeyword */));
21599 result.push(createModifier(121 /* PrivateKeyword */));
21602 result.push(createModifier(122 /* ProtectedKeyword */));
21605 result.push(createModifier(126 /* AbstractKeyword */));
[all …]
Dtsc.js16275 createModifier: createModifier, property
17018 function createModifier(kind) { function
17024 result.push(createModifier(93));
17027 result.push(createModifier(134));
17030 result.push(createModifier(88));
17033 result.push(createModifier(85));
17036 result.push(createModifier(123));
17039 result.push(createModifier(121));
17042 result.push(createModifier(122));
17045 result.push(createModifier(126));
[all …]
DtypingsInstaller.js20571 createModifier: createModifier, property
21372 function createModifier(kind) { function
21379 result.push(createModifier(93 /* ExportKeyword */));
21382 result.push(createModifier(134 /* DeclareKeyword */));
21385 result.push(createModifier(88 /* DefaultKeyword */));
21388 result.push(createModifier(85 /* ConstKeyword */));
21391 result.push(createModifier(123 /* PublicKeyword */));
21394 result.push(createModifier(121 /* PrivateKeyword */));
21397 result.push(createModifier(122 /* ProtectedKeyword */));
21400 result.push(createModifier(126 /* AbstractKeyword */));
[all …]
/third_party/typescript/tests/baselines/reference/api/
Dtypescript.d.ts3345 createModifier<T extends ModifierSyntaxKind>(kind: T): ModifierToken<T>; method
6779 const createModifier: <T extends ModifierSyntaxKind>(kind: T) => ModifierToken<T>; constant
Dtsserverlibrary.d.ts3345 createModifier<T extends ModifierSyntaxKind>(kind: T): ModifierToken<T>; method
10562 const createModifier: <T extends ModifierSyntaxKind>(kind: T) => ModifierToken<T>; constant
/third_party/typescript/src/compiler/
Dtypes.ts6934 createModifier<T extends ModifierSyntaxKind>(kind: T): ModifierToken<T>;