use of org.finos.legend.pure.m3.serialization.grammar.m3parser.antlr.M3Parser.FunctionTypePureTypeContext in project legend-pure by finos.
the class AntlrContextToM3CoreInstance method typeFunctionTypePureType.
private VariableExpression typeFunctionTypePureType(FunctionTypePureTypeContext ctx, MutableList<String> typeParametersNames, String space, ImportGroup importId, boolean addLines) {
GenericType type = this.type(ctx.type(), typeParametersNames, spacePlusTabs(space, 3), importId, addLines);
Multiplicity multiplicity = this.buildMultiplicity(ctx.multiplicity().multiplicityArgument());
return VariableExpressionInstance.createPersistent(this.repository, type, multiplicity, "");
}
Aggregations