/third_party/skia/src/sksl/ir/ |
D | SkSLTernaryExpression.cpp | 28 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/ |
D | conditional-infer-nested.src.ts.shot | 451 "trueType": Object { 503 "trueType": Object { 555 "trueType": Object {
|
D | conditional-with-null.src.ts.shot | 108 "trueType": Object {
|
D | conditional.src.ts.shot | 108 "trueType": Object {
|
D | conditional-infer.src.ts.shot | 215 "trueType": Object {
|
D | conditional-infer-simple.src.ts.shot | 351 "trueType": Object {
|
/third_party/typescript_eslint/packages/eslint-plugin/src/rules/ |
D | indent.ts | 228 consequent: node.trueType as any,
|
/third_party/typescript/src/compiler/transformers/ |
D | declarations.ts | 1028 enclosingDeclaration = input.trueType; 1029 const trueType = visitNode(input.trueType, visitDeclarationSubtree); constant 1032 …urn cleanup(factory.updateConditionalTypeNode(input, checkType, extendsType, trueType, falseType));
|
D | ts.ts | 1574 …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/ |
D | SkSLIRGenerator.cpp | 1721 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/ |
D | nodeFactory.ts | 1918 …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/ |
D | ts-estree.ts | 1332 trueType: TypeNode; property
|
/third_party/typescript_eslint/packages/typescript-estree/src/ |
D | convert.ts | 2259 trueType: this.convertType(node.trueType),
|
/third_party/typescript/src/compiler/ |
D | checker.ts | 630 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 …]
|
D | visitorPublic.ts | 529 nodeVisitor((<ConditionalTypeNode>node).trueType, visitor, isTypeNode),
|
D | types.ts | 1619 readonly trueType: TypeNode; 7020 …createConditionalTypeNode(checkType: TypeNode, extendsType: TypeNode, trueType: TypeNode, falseTyp… 7021 …(node: ConditionalTypeNode, checkType: TypeNode, extendsType: TypeNode, trueType: TypeNode, falseT…
|
D | parser.ts | 196 visitNode(cbNode, (<ConditionalTypeNode>node).trueType) || 3983 const trueType = parseTypeWorker(); 3986 … return finishNode(factory.createConditionalTypeNode(type, extendsType, trueType, falseType), pos);
|
/third_party/typescript/lib/ |
D | typescriptServices.d.ts | 932 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…
|
D | typescript.d.ts | 932 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…
|
D | tsserverlibrary.d.ts | 932 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…
|
D | tsc.js | 17515 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 …]
|
D | typingsInstaller.js | 21967 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 …]
|
D | tsserverlibrary.js | 22172 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/ |
D | typescript.d.ts | 941 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…
|
D | tsserverlibrary.d.ts | 941 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…
|