Home
last modified time | relevance | path

Searched refs:trueType (Results 1 – 25 of 29) sorted by relevance

12

/third_party/skia/src/sksl/ir/
DSkSLTernaryExpression.cpp28 const Type* trueType; in Convert() local
33 &trueType, &falseType, &resultType) || in Convert()
34 (*trueType != *falseType)) { in Convert()
40 if (trueType->componentType().isOpaque()) { in Convert()
42 trueType->displayName() + "' not allowed"); in Convert()
45 if (context.fConfig->strictES2Mode() && trueType->isOrContainsArray()) { in Convert()
50 ifTrue = trueType->coerceExpression(std::move(ifTrue), context); in Convert()
/third_party/typescript_eslint/packages/typescript-estree/tests/snapshots/typescript/types/
Dconditional-infer-nested.src.ts.shot451 "trueType": Object {
503 "trueType": Object {
555 "trueType": Object {
Dconditional-with-null.src.ts.shot108 "trueType": Object {
Dconditional.src.ts.shot108 "trueType": Object {
Dconditional-infer.src.ts.shot215 "trueType": Object {
Dconditional-infer-simple.src.ts.shot351 "trueType": Object {
/third_party/typescript_eslint/packages/eslint-plugin/src/rules/
Dindent.ts228 consequent: node.trueType as any,
/third_party/typescript/src/compiler/transformers/
Ddeclarations.ts1028 enclosingDeclaration = input.trueType;
1029 const trueType = visitNode(input.trueType, visitDeclarationSubtree); constant
1032 …urn cleanup(factory.updateConditionalTypeNode(input, checkType, extendsType, trueType, falseType));
Dts.ts1574 …return serializeTypeList([(<ConditionalTypeNode>node).trueType, (<ConditionalTypeNode>node).falseT…
1662 …tor(node, n => n.parent && isConditionalTypeNode(n.parent) && (n.parent.trueType === n || n.parent…
/third_party/flutter/skia/src/sksl/
DSkSLIRGenerator.cpp1721 const Type* trueType; in convertTernaryExpression() local
1724 if (!determine_binary_type(fContext, Token::EQEQ, ifTrue->fType, ifFalse->fType, &trueType, in convertTernaryExpression()
1725 &falseType, &resultType, true) || trueType != falseType) { in convertTernaryExpression()
1731 ifTrue = this->coerce(std::move(ifTrue), *trueType); in convertTernaryExpression()
/third_party/typescript/src/compiler/factory/
DnodeFactory.ts1918 …function createConditionalTypeNode(checkType: TypeNode, extendsType: TypeNode, trueType: TypeNode,…
1922 node.trueType = trueType;
1929 …(node: ConditionalTypeNode, checkType: TypeNode, extendsType: TypeNode, trueType: TypeNode, falseT…
1932 || node.trueType !== trueType
1934 … ? update(createConditionalTypeNode(checkType, extendsType, trueType, falseType), node)
/third_party/typescript_eslint/packages/types/src/
Dts-estree.ts1332 trueType: TypeNode; property
/third_party/typescript_eslint/packages/typescript-estree/src/
Dconvert.ts2259 trueType: this.convertType(node.trueType),
/third_party/typescript/src/compiler/
Dchecker.ts630 getTrueType: (fresh?) => fresh ? trueType : regularTrueType,
759 … const trueType = createIntrinsicType(TypeFlags.BooleanLiteral, "true") as FreshableIntrinsicType;
761 trueType.regularType = regularTrueType;
762 trueType.freshType = trueType;
764 regularTrueType.freshType = trueType;
772 createBooleanType([regularFalseType, trueType]);
774 createBooleanType([falseType, trueType]);
1817 useResult = lastLocation === (<ConditionalTypeNode>location).trueType;
8349 return trueType;
12710 …f (parent.kind === SyntaxKind.ConditionalType && node === (<ConditionalTypeNode>parent).trueType) {
[all …]
DvisitorPublic.ts529 nodeVisitor((<ConditionalTypeNode>node).trueType, visitor, isTypeNode),
Dtypes.ts1619 readonly trueType: TypeNode;
7020 …createConditionalTypeNode(checkType: TypeNode, extendsType: TypeNode, trueType: TypeNode, falseTyp…
7021 …(node: ConditionalTypeNode, checkType: TypeNode, extendsType: TypeNode, trueType: TypeNode, falseT…
Dparser.ts196 visitNode(cbNode, (<ConditionalTypeNode>node).trueType) ||
3983 const trueType = parseTypeWorker();
3986 … return finishNode(factory.createConditionalTypeNode(type, extendsType, trueType, falseType), pos);
/third_party/typescript/lib/
DtypescriptServices.d.ts932 readonly trueType: TypeNode; property
3294 …createConditionalTypeNode(checkType: TypeNode, extendsType: TypeNode, trueType: TypeNode, falseTyp…
3295 …(node: ConditionalTypeNode, checkType: TypeNode, extendsType: TypeNode, trueType: TypeNode, falseT…
6636 …const createConditionalTypeNode: (checkType: TypeNode, extendsType: TypeNode, trueType: TypeNode, …
6638 …(node: ConditionalTypeNode, checkType: TypeNode, extendsType: TypeNode, trueType: TypeNode, falseT…
Dtypescript.d.ts932 readonly trueType: TypeNode; property
3294 …createConditionalTypeNode(checkType: TypeNode, extendsType: TypeNode, trueType: TypeNode, falseTyp…
3295 …(node: ConditionalTypeNode, checkType: TypeNode, extendsType: TypeNode, trueType: TypeNode, falseT…
6636 …const createConditionalTypeNode: (checkType: TypeNode, extendsType: TypeNode, trueType: TypeNode, …
6638 …(node: ConditionalTypeNode, checkType: TypeNode, extendsType: TypeNode, trueType: TypeNode, falseT…
Dtsserverlibrary.d.ts932 readonly trueType: TypeNode; property
3294 …createConditionalTypeNode(checkType: TypeNode, extendsType: TypeNode, trueType: TypeNode, falseTyp…
3295 …(node: ConditionalTypeNode, checkType: TypeNode, extendsType: TypeNode, trueType: TypeNode, falseT…
10381 …const createConditionalTypeNode: (checkType: TypeNode, extendsType: TypeNode, trueType: TypeNode, …
10383 …(node: ConditionalTypeNode, checkType: TypeNode, extendsType: TypeNode, trueType: TypeNode, falseT…
Dtsc.js17515 function createConditionalTypeNode(checkType, extendsType, trueType, falseType) { argument
17519 node.trueType = trueType;
17524 function updateConditionalTypeNode(node, checkType, extendsType, trueType, falseType) { argument
17527 || node.trueType !== trueType
17529 … ? update(createConditionalTypeNode(checkType, extendsType, trueType, falseType), node)
22802 visitNode(cbNode, node.trueType) ||
25455 var trueType = parseTypeWorker();
25458 … return finishNode(factory.createConditionalTypeNode(type, extendsType, trueType, falseType), pos);
36271 getTrueType: function (fresh) { return fresh ? trueType : regularTrueType; },
36386 var trueType = createIntrinsicType(512, "true");
[all …]
DtypingsInstaller.js21967 function createConditionalTypeNode(checkType, extendsType, trueType, falseType) { argument
21971 node.trueType = trueType;
21977 function updateConditionalTypeNode(node, checkType, extendsType, trueType, falseType) { argument
21980 || node.trueType !== trueType
21982 … ? update(createConditionalTypeNode(checkType, extendsType, trueType, falseType), node)
28288 visitNode(cbNode, node.trueType) ||
31481 var trueType = parseTypeWorker();
31484 … return finishNode(factory.createConditionalTypeNode(type, extendsType, trueType, falseType), pos);
44415 getTrueType: function (fresh) { return fresh ? trueType : regularTrueType; },
44534 var trueType = createIntrinsicType(512 /* BooleanLiteral */, "true");
[all …]
Dtsserverlibrary.js22172 function createConditionalTypeNode(checkType, extendsType, trueType, falseType) { argument
22176 node.trueType = trueType;
22182 function updateConditionalTypeNode(node, checkType, extendsType, trueType, falseType) { argument
22185 || node.trueType !== trueType
22187 … ? update(createConditionalTypeNode(checkType, extendsType, trueType, falseType), node)
28493 visitNode(cbNode, node.trueType) ||
31686 var trueType = parseTypeWorker();
31689 … return finishNode(factory.createConditionalTypeNode(type, extendsType, trueType, falseType), pos);
44620 getTrueType: function (fresh) { return fresh ? trueType : regularTrueType; },
44739 var trueType = createIntrinsicType(512 /* BooleanLiteral */, "true");
[all …]
/third_party/typescript/tests/baselines/reference/api/
Dtypescript.d.ts941 readonly trueType: TypeNode; property
3370 …createConditionalTypeNode(checkType: TypeNode, extendsType: TypeNode, trueType: TypeNode, falseTyp…
3371 …(node: ConditionalTypeNode, checkType: TypeNode, extendsType: TypeNode, trueType: TypeNode, falseT…
6725 …const createConditionalTypeNode: (checkType: TypeNode, extendsType: TypeNode, trueType: TypeNode, …
6727 …(node: ConditionalTypeNode, checkType: TypeNode, extendsType: TypeNode, trueType: TypeNode, falseT…
Dtsserverlibrary.d.ts941 readonly trueType: TypeNode; property
3370 …createConditionalTypeNode(checkType: TypeNode, extendsType: TypeNode, trueType: TypeNode, falseTyp…
3371 …(node: ConditionalTypeNode, checkType: TypeNode, extendsType: TypeNode, trueType: TypeNode, falseT…
10508 …const createConditionalTypeNode: (checkType: TypeNode, extendsType: TypeNode, trueType: TypeNode, …
10510 …(node: ConditionalTypeNode, checkType: TypeNode, extendsType: TypeNode, trueType: TypeNode, falseT…

12