/third_party/typescript/src/services/codefixes/ |
D | addConvertToUnknownForNonOverlappingTypes.ts | 22 …cker: textChanges.ChangeTracker, sourceFile: SourceFile, assertion: AsExpression | TypeAssertion) { 29 …function getAssertion(sourceFile: SourceFile, pos: number): AsExpression | TypeAssertion | undefin… 31 …ncestor(getTokenAtPosition(sourceFile, pos), (n): n is AsExpression | TypeAssertion => isAsExpress…
|
D | fixJSDocTypes.ts | 57 | TypeAliasDeclaration | TypeAssertion | VariableDeclaration;
|
/third_party/typescript/tests/baselines/reference/ |
D | parserRealSource3.types | 224 TypeAssertion, 225 >TypeAssertion : NodeType.TypeAssertion
|
D | parserRealSource3.symbols | 224 TypeAssertion, 225 >TypeAssertion : Symbol(NodeType.TypeAssertion, Decl(parserRealSource3.ts, 77, 16))
|
D | parserRealSource3.errors.txt | 85 TypeAssertion,
|
D | parserRealSource3.js | 80 TypeAssertion,
|
D | parserRealSource11.js | 417 case NodeType.TypeAssertion: 507 case NodeType.TypeAssertion: 2774 case NodeType.TypeAssertion: 2859 case NodeType.TypeAssertion:
|
/third_party/typescript/src/deprecatedCompat/4.0/ |
D | renamedNodeTests.ts | 8 …nst isTypeAssertion = Debug.deprecate(function isTypeAssertion(node: Node): node is TypeAssertion {
|
/third_party/typescript/src/linter/ArkTSLinter_1_0/ |
D | Problems.ts | 29 TypeAssertion, PrivateIdentifier, LocalFunction, enumerator 82 faultsAttrs[FaultID.TypeAssertion] = { migratable: true, cookBookRef: "53", };
|
D | TypeScriptLinterConfig.ts | 77 LinterConfig.nodeDesc[FaultID.TypeAssertion] = "Type assertion expressions";
|
D | TypeScriptLinter.ts | 1259 const tsTypeAssertion = node as TypeAssertion; 1264 this.incrementCounters(node, FaultID.TypeAssertion); 1721 this.incrementCounters(node, FaultID.TypeAssertion);
|
/third_party/typescript/src/linter/ArkTSLinter_1_1/ |
D | Problems.ts | 31 TypeAssertion, PrivateIdentifier, LocalFunction, enumerator 87 faultsAttrs[FaultID.TypeAssertion] = new FaultAttributes(53, true);
|
D | TypeScriptLinterConfig.ts | 74 LinterConfig.nodeDesc[FaultID.TypeAssertion] = "Type assertion expressions";
|
D | TypeScriptLinter.ts | 1500 const tsTypeAssertion = node as TypeAssertion; 1505 this.incrementCounters(node, FaultID.TypeAssertion); 2023 this.incrementCounters(node, FaultID.TypeAssertion);
|
D | Utils.ts | 168 (nodeOrComment as TypeAssertion).expression.getEnd() + 1, 169 (nodeOrComment as TypeAssertion).type.getEnd() + 1
|
/third_party/typescript/tests/cases/conformance/parser/ecmascript5/ |
D | parserRealSource3.ts | 79 TypeAssertion, enumerator
|
D | parserRealSource12.ts | 164 … this.childrenWalkers[NodeType.TypeAssertion] = ChildrenWalkers.walkUnaryExpressionChildren;
|
D | parserRealSource11.ts | 416 case NodeType.TypeAssertion: 506 case NodeType.TypeAssertion:
|
/third_party/typescript/src/services/ |
D | breakpoints.ts | 347 if ((node.parent as TypeAssertion).type === node) { 348 return spanInNextNode((node.parent as TypeAssertion).type);
|
D | callHierarchy.ts | 412 collect((node as TypeAssertion | AsExpression).expression);
|
/third_party/typescript/lib/ |
D | typescript.d.ts | 1372 export interface TypeAssertion extends UnaryExpression { interface 1382 export type AssertionExpression = TypeAssertion | AsExpression; 3750 createTypeAssertion(type: TypeNode, expression: Expression): TypeAssertion; 3751 … updateTypeAssertion(node: TypeAssertion, type: TypeNode, expression: Expression): TypeAssertion; 5058 function isTypeAssertionExpression(node: Node): node is TypeAssertion; 7711 const createTypeAssertion: (type: TypeNode, expression: Expression) => TypeAssertion; 7713 …const updateTypeAssertion: (node: TypeAssertion, type: TypeNode, expression: Expression) => TypeAs… 8304 const isTypeAssertion: (node: Node) => node is TypeAssertion; 8804 TypeAssertion = 40, 9158 TypeAssertion = 37,
|
D | typescriptServices.d.ts | 1372 export interface TypeAssertion extends UnaryExpression { interface 1382 export type AssertionExpression = TypeAssertion | AsExpression; 3750 createTypeAssertion(type: TypeNode, expression: Expression): TypeAssertion; 3751 … updateTypeAssertion(node: TypeAssertion, type: TypeNode, expression: Expression): TypeAssertion; 5058 function isTypeAssertionExpression(node: Node): node is TypeAssertion; 7711 const createTypeAssertion: (type: TypeNode, expression: Expression) => TypeAssertion; 7713 …const updateTypeAssertion: (node: TypeAssertion, type: TypeNode, expression: Expression) => TypeAs… 8304 const isTypeAssertion: (node: Node) => node is TypeAssertion; 8804 TypeAssertion = 40, 9158 TypeAssertion = 37,
|
D | tsserverlibrary.d.ts | 1372 export interface TypeAssertion extends UnaryExpression { interface 1382 export type AssertionExpression = TypeAssertion | AsExpression; 3750 createTypeAssertion(type: TypeNode, expression: Expression): TypeAssertion; 3751 … updateTypeAssertion(node: TypeAssertion, type: TypeNode, expression: Expression): TypeAssertion; 5058 function isTypeAssertionExpression(node: Node): node is TypeAssertion; 11650 const createTypeAssertion: (type: TypeNode, expression: Expression) => TypeAssertion; 11652 …const updateTypeAssertion: (node: TypeAssertion, type: TypeNode, expression: Expression) => TypeAs… 12243 const isTypeAssertion: (node: Node) => node is TypeAssertion; 12743 TypeAssertion = 40, 13097 TypeAssertion = 37,
|
/third_party/typescript/tests/baselines/reference/api/ |
D | typescript.d.ts | 1372 export interface TypeAssertion extends UnaryExpression { interface 1382 export type AssertionExpression = TypeAssertion | AsExpression; 3750 createTypeAssertion(type: TypeNode, expression: Expression): TypeAssertion; 3751 … updateTypeAssertion(node: TypeAssertion, type: TypeNode, expression: Expression): TypeAssertion; 5058 function isTypeAssertionExpression(node: Node): node is TypeAssertion; 7711 const createTypeAssertion: (type: TypeNode, expression: Expression) => TypeAssertion; 7713 …const updateTypeAssertion: (node: TypeAssertion, type: TypeNode, expression: Expression) => TypeAs… 8304 const isTypeAssertion: (node: Node) => node is TypeAssertion; 8804 TypeAssertion = 40, 9158 TypeAssertion = 37,
|
D | tsserverlibrary.d.ts | 1372 export interface TypeAssertion extends UnaryExpression { interface 1382 export type AssertionExpression = TypeAssertion | AsExpression; 3750 createTypeAssertion(type: TypeNode, expression: Expression): TypeAssertion; 3751 … updateTypeAssertion(node: TypeAssertion, type: TypeNode, expression: Expression): TypeAssertion; 5058 function isTypeAssertionExpression(node: Node): node is TypeAssertion; 11650 const createTypeAssertion: (type: TypeNode, expression: Expression) => TypeAssertion; 11652 …const updateTypeAssertion: (node: TypeAssertion, type: TypeNode, expression: Expression) => TypeAs… 12243 const isTypeAssertion: (node: Node) => node is TypeAssertion; 12743 TypeAssertion = 40, 13097 TypeAssertion = 37,
|