Searched defs:constraint (Results 1 – 14 of 14) sorted by relevance
26 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()
25 TypeParameter(Type *constraint, Type *defaultType) in TypeParameter()
24 TypeParameter(Type *constraint, Type *defaultType) in TypeParameter()
35 TSTypeParameterBuilder &SetConstraint(TypeNode *constraint) in SetConstraint()
133 auto constraint = typeParam->GetConstraintType()->Substitute(relation, substitution); in CheckInstantiationConstraints() local
195 if (auto *const constraint = typeParam->Constraint(); in CreateUnconstrainedTypeParameters() local288 auto *const constraint = param->Constraint()->GetType(this); in SetUpTypeParameterConstraint() local
69 auto *constraint = typeParam->GetConstraintType()->Substitute(Relation(), substitution); in IsCompatibleTypeArgument() local
85 auto *constraint = par->Constraint() != nullptr in CreateParameterDeclaraion() local
353 auto *constraint = param->Constraint(); in GenTypeParameters() local
735 ir::TypeNode *constraint = nullptr; in ParseTypeParameter() local
742 ir::TypeNode *constraint = ParseTypeAnnotation(&options); in ParseMappedTypeParameter() local
2080 ir::TypeNode *constraint = nullptr; in ParseTypeParameter() local
1194 ir::Expression *constraint = ParseTsTypeAnnotation(&options); in ParseTsMappedTypeParameter() local3861 ir::Expression *constraint = TryParseConstraintOfInferType(&options); in ParseTsTypeParameter() local3878 ir::Expression *constraint = nullptr; in TryParseConstraintOfInferType() local
1814 const constraint = type.getConstraint(); constant