Home
last modified time | relevance | path

Searched defs:constraint (Results 1 – 14 of 14) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/ir/ts/
DtsTypeParameter.h26 explicit TSTypeParameter(Identifier *name, TypeNode *constraint, TypeNode *defaultType) in TSTypeParameter()
31 …explicit TSTypeParameter(Identifier *name, TypeNode *constraint, TypeNode *defaultType, ModifierFl… in TSTypeParameter()
60 void SetConstraint(TypeNode *constraint) in SetConstraint()
/arkcompiler/ets_frontend/es2panda/typescript/types/
DtypeParameter.h25 TypeParameter(Type *constraint, Type *defaultType) in TypeParameter()
/arkcompiler/ets_frontend/ets2panda/checker/types/ts/
DtypeParameter.h24 TypeParameter(Type *constraint, Type *defaultType) in TypeParameter()
/arkcompiler/ets_frontend/ets2panda/util/ast-builders/
DtsTypeParameterBuilder.h35 TSTypeParameterBuilder &SetConstraint(TypeNode *constraint) in SetConstraint()
/arkcompiler/ets_frontend/ets2panda/checker/ets/
DtypeRelationContext.cpp133 auto constraint = typeParam->GetConstraintType()->Substitute(relation, substitution); in CheckInstantiationConstraints() local
Dobject.cpp195 if (auto *const constraint = typeParam->Constraint(); in CreateUnconstrainedTypeParameters() local
288 auto *const constraint = param->Constraint()->GetType(this); in SetUpTypeParameterConstraint() local
Dfunction.cpp69 auto *constraint = typeParam->GetConstraintType()->Substitute(Relation(), substitution); in IsCompatibleTypeArgument() local
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
DdefaultParameterLowering.cpp85 auto *constraint = par->Constraint() != nullptr in CreateParameterDeclaraion() local
/arkcompiler/ets_frontend/ets2panda/declgen_ets2ts/
DdeclgenEts2Ts.cpp353 auto *constraint = param->Constraint(); in GenTypeParameters() local
/arkcompiler/ets_frontend/ets2panda/parser/
DTypedParser.cpp735 ir::TypeNode *constraint = nullptr; in ParseTypeParameter() local
DTSparser.cpp742 ir::TypeNode *constraint = ParseTypeAnnotation(&options); in ParseMappedTypeParameter() local
DETSparser.cpp2080 ir::TypeNode *constraint = nullptr; in ParseTypeParameter() local
/arkcompiler/ets_frontend/es2panda/parser/
DparserImpl.cpp1194 ir::Expression *constraint = ParseTsTypeAnnotation(&options); in ParseTsMappedTypeParameter() local
3861 ir::Expression *constraint = TryParseConstraintOfInferType(&options); in ParseTsTypeParameter() local
3878 ir::Expression *constraint = nullptr; in TryParseConstraintOfInferType() local
/arkcompiler/ets_frontend/ets2panda/linter/src/lib/utils/
DTsUtils.ts1814 const constraint = type.getConstraint(); constant