Home
last modified time | relevance | path

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

/arkcompiler/ets_frontend/ets2panda/ir/ts/
DtsTypeParameter.h27 explicit TSTypeParameter(Identifier *name, TypeNode *constraint, TypeNode *defaultType, in TSTypeParameter()
36 …explicit TSTypeParameter(Identifier *name, TypeNode *constraint, TypeNode *defaultType, ModifierFl… in TSTypeParameter()
66 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/lsp/src/
Dcreate_type_help_items.cpp121 if (auto *constraint = typeParamNode->Constraint()) { in GetTypeHelpItem() local
/arkcompiler/ets_frontend/ets2panda/checker/ets/
DtypeRelationContext.cpp142 auto constraint = typeParam->GetConstraintType()->Substitute(relation, substitution); in CheckInstantiationConstraints() local
Dobject.cpp274 if (auto *const constraint = typeParam->Constraint(); in CreateUnconstrainedTypeParameters() local
Dfunction.cpp77 auto constraint = typeParam->GetConstraintType()->Substitute(Relation(), substitution); in IsCompatibleTypeArgument() local
/arkcompiler/ets_frontend/ets2panda/ir/ets/
DetsTypeReferencePart.cpp161 auto constraint = param->Constraint(); in CheckTypeAliaLoop() local
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
DdefaultParametersInConstructorLowering.cpp79 auto *constraint = in CreateParameterDeclaraion() local
DrestTupleLowering.cpp236 auto *constraint = in CreateNewParameterDeclaration() local
/arkcompiler/ets_frontend/ets2panda/linter/arkanalyzer/src/core/common/
DTypeInference.ts595 const constraint = type.getConstraint(); constant
/arkcompiler/ets_frontend/ets2panda/parser/
DTypedParser.cpp754 ir::TypeNode *constraint = nullptr; in ParseTypeParameter() local
DTSparser.cpp752 ir::TypeNode *constraint = ParseTypeAnnotation(&options); in ParseMappedTypeParameter() local
DETSparser.cpp2086 ir::TypeNode *constraint = nullptr; in ParseTypeParameter() local
/arkcompiler/ets_frontend/es2panda/parser/
DparserImpl.cpp1197 ir::Expression *constraint = ParseTsTypeAnnotation(&options); in ParseTsMappedTypeParameter() local
3909 ir::Expression *constraint = TryParseConstraintOfInferType(&options); in ParseTsTypeParameter() local
3926 ir::Expression *constraint = nullptr; in TryParseConstraintOfInferType() local
/arkcompiler/ets_frontend/ets2panda/linter/src/lib/utils/
DTsUtils.ts2030 const constraint = type.getConstraint(); constant
/arkcompiler/ets_frontend/ets2panda/declgen_ets2ts/
DdeclgenEts2Ts.cpp907 auto *constraint = param->Constraint(); in GenTypeParameters() local