Home
last modified time | relevance | path

Searched refs:TypeAssertion (Results 1 – 25 of 38) sorted by relevance

12

/third_party/typescript/src/services/codefixes/
DaddConvertToUnknownForNonOverlappingTypes.ts22 …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…
DfixJSDocTypes.ts57 | TypeAliasDeclaration | TypeAssertion | VariableDeclaration;
/third_party/typescript/tests/baselines/reference/
DparserRealSource3.types224 TypeAssertion,
225 >TypeAssertion : NodeType.TypeAssertion
DparserRealSource3.symbols224 TypeAssertion,
225 >TypeAssertion : Symbol(NodeType.TypeAssertion, Decl(parserRealSource3.ts, 77, 16))
DparserRealSource3.errors.txt85 TypeAssertion,
DparserRealSource3.js80 TypeAssertion,
DparserRealSource11.js417 case NodeType.TypeAssertion:
507 case NodeType.TypeAssertion:
2774 case NodeType.TypeAssertion:
2859 case NodeType.TypeAssertion:
/third_party/typescript/src/deprecatedCompat/4.0/
DrenamedNodeTests.ts8 …nst isTypeAssertion = Debug.deprecate(function isTypeAssertion(node: Node): node is TypeAssertion {
/third_party/typescript/src/linter/ArkTSLinter_1_0/
DProblems.ts29 TypeAssertion, PrivateIdentifier, LocalFunction, enumerator
82 faultsAttrs[FaultID.TypeAssertion] = { migratable: true, cookBookRef: "53", };
DTypeScriptLinterConfig.ts77 LinterConfig.nodeDesc[FaultID.TypeAssertion] = "Type assertion expressions";
DTypeScriptLinter.ts1259 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/
DProblems.ts31 TypeAssertion, PrivateIdentifier, LocalFunction, enumerator
87 faultsAttrs[FaultID.TypeAssertion] = new FaultAttributes(53, true);
DTypeScriptLinterConfig.ts74 LinterConfig.nodeDesc[FaultID.TypeAssertion] = "Type assertion expressions";
DTypeScriptLinter.ts1500 const tsTypeAssertion = node as TypeAssertion;
1505 this.incrementCounters(node, FaultID.TypeAssertion);
2023 this.incrementCounters(node, FaultID.TypeAssertion);
DUtils.ts168 (nodeOrComment as TypeAssertion).expression.getEnd() + 1,
169 (nodeOrComment as TypeAssertion).type.getEnd() + 1
/third_party/typescript/tests/cases/conformance/parser/ecmascript5/
DparserRealSource3.ts79 TypeAssertion, enumerator
DparserRealSource12.ts164 … this.childrenWalkers[NodeType.TypeAssertion] = ChildrenWalkers.walkUnaryExpressionChildren;
DparserRealSource11.ts416 case NodeType.TypeAssertion:
506 case NodeType.TypeAssertion:
/third_party/typescript/src/services/
Dbreakpoints.ts347 if ((node.parent as TypeAssertion).type === node) {
348 return spanInNextNode((node.parent as TypeAssertion).type);
DcallHierarchy.ts412 collect((node as TypeAssertion | AsExpression).expression);
/third_party/typescript/lib/
Dtypescript.d.ts1372 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,
DtypescriptServices.d.ts1372 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,
Dtsserverlibrary.d.ts1372 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/
Dtypescript.d.ts1372 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,
Dtsserverlibrary.d.ts1372 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,

12