Home
last modified time | relevance | path

Searched refs:exprType (Results 1 – 13 of 13) sorted by relevance

/third_party/skia/src/sksl/ir/
DSkSLSwizzle.cpp113 const Type& exprType = base.type(); in optimize_constructor_swizzle() local
114 const Type& componentType = exprType.componentType(); in optimize_constructor_swizzle()
439 const Type& exprType = expr->type(); in Make() local
440 SkASSERTF(exprType.isVector() || exprType.isScalar(), in Make()
441 "cannot swizzle type '%s'", exprType.description().c_str()); in Make()
454 if (exprType.isScalar()) { in Make()
457 exprType.toCompound(context, components.size(), /*rows=*/1), in Make()
462 if (components.count() == exprType.columns()) { in Make()
DSkSLConstructorArray.cpp35 const Type& exprType = expr.type(); in Convert() local
37 if (exprType.isArray() && exprType.canCoerceTo(type, /*allowNarrowing=*/true)) { in Convert()
/third_party/typescript/src/services/codefixes/
DreturnValueCorrect.ts134 …ssignableTo(checker: TypeChecker, declaration: FunctionLikeDeclaration, exprType: Type, type: Type…
139 exprType = checker.createPromiseType(exprType);
146 exprType,
150 exprType = checker.createAnonymousType(
158 exprType = checker.getAnyType();
161 return checker.isTypeAssignableTo(exprType, type);
DaddMissingAwait.ts230 const exprType = checker.getTypeAtLocation(insertionSite); constant
232 if (asyncIter && checker.isTypeAssignableTo(exprType, asyncIter)) {
/third_party/typescript/src/linter/ArkTSLinter_1_1/
DUtils.ts1491 const exprType = typeChecker.getContextualType(curNode); constant
1492 if (exprType !== undefined && !isAnonymous(exprType)) {
1493 const res = isDynamicType(exprType);
DTypeScriptLinter.ts1775 …const exprType = TypeScriptLinter.tsTypeChecker.getTypeAtLocation(tsAsExpr.expression).getNonNulla… constant
1778 (Utils.isNumberLikeType(exprType) && Utils.isStdNumberType(targetType)) ||
1779 (Utils.isBooleanLikeType(exprType) && Utils.isStdBooleanType(targetType))
/third_party/typescript/src/linter/ArkTSLinter_1_0/
DUtils.ts1357 const exprType = typeChecker.getContextualType(curNode); constant
1358 if (exprType !== undefined) {
1359 const res = isDynamicType(exprType);
DTypeScriptLinter.ts1712 …const exprType = TypeScriptLinter.tsTypeChecker.getTypeAtLocation(tsAsExpr.expression).getNonNulla… constant
1713 if (Utils.needToDeduceStructuralIdentity(exprType, targetType, true)) {
1718 (Utils.isNumberType(exprType) && targetType.getSymbol()?.getName() === "Number") ||
1719 (Utils.isBooleanType(exprType) && targetType.getSymbol()?.getName() === "Boolean")
/third_party/skia/src/sksl/codegen/
DSkSLMetalCodeGenerator.cpp781 String exprType = this->typeName(arguments[0]->type()); in writeIntrinsicCall() local
794 this->write(exprType); in writeIntrinsicCall()
798 this->write(exprType); in writeIntrinsicCall()
805 String exprType = this->typeName(arguments[0]->type()); in writeIntrinsicCall() local
846 this->write(exprType); in writeIntrinsicCall()
/third_party/skia/src/sksl/
DSkSLDSLParser.cpp1257 #define OPERATOR_RIGHT(op, exprType) \ argument
1263 DSLExpression right = this->exprType(); \
/third_party/typescript/src/compiler/
Dchecker.ts9706 const exprType = getLiteralTypeFromPropertyName(name); constant
9707 if (!isTypeUsableAsPropertyName(exprType)) {
9712 const text = getPropertyNameFromType(exprType);
21893 function getOptionalExpressionType(exprType: Type, expression: Expression) {
21894 return isExpressionOfOptionalChainRoot(expression) ? getNonNullableType(exprType) :
21895 isOptionalChain(expression) ? removeOptionalTypeMarker(exprType) :
21896 exprType;
28673 const exprType = checkJsxAttribute(attributeDecl, checkMode); constant
28674 objectFlags |= getObjectFlags(exprType) & ObjectFlags.PropagatingFlags;
28682 attributeSymbol.type = exprType;
[all …]
/third_party/typescript/lib/
DtypingsInstaller.js59191 var exprType = getLiteralTypeFromPropertyName(name);
59192 if (!isTypeUsableAsPropertyName(exprType)) {
59197 var text = getPropertyNameFromType(exprType);
70633 function getOptionalExpressionType(exprType, expression) { argument
70634 return ts.isExpressionOfOptionalChainRoot(expression) ? getNonNullableType(exprType) :
70635 ts.isOptionalChain(expression) ? removeOptionalTypeMarker(exprType) :
70636 exprType;
76983 var exprType = checkJsxAttribute(attributeDecl, checkMode);
76984 … objectFlags |= ts.getObjectFlags(exprType) & 458752 /* ObjectFlags.PropagatingFlags */;
76991 attributeSymbol.type = exprType;
[all …]
Dtsc.js49137 var exprType = getLiteralTypeFromPropertyName(name);
49138 if (!isTypeUsableAsPropertyName(exprType)) {
49142 var text = getPropertyNameFromType(exprType);
59146 function getOptionalExpressionType(exprType, expression) { argument
59147 return ts.isExpressionOfOptionalChainRoot(expression) ? getNonNullableType(exprType) :
59148 ts.isOptionalChain(expression) ? removeOptionalTypeMarker(exprType) :
59149 exprType;
64575 var exprType = checkJsxAttribute(attributeDecl, checkMode);
64576 objectFlags |= ts.getObjectFlags(exprType) & 458752;
64583 attributeSymbol.type = exprType;
[all …]