Uses of Class
net.ssehub.easy.instantiation.core.model.expressions.CallArgument
-
Packages that use CallArgument Package Description de.uni_hildesheim.sse.vil.expressions.translation Translation functionality for expressions.net.ssehub.easy.instantiation.core.model.buildlangModel Implements the abstract representation of the build language (parsed, analyzed and already linked, i.e.net.ssehub.easy.instantiation.core.model.common Implements the common language elements.net.ssehub.easy.instantiation.core.model.expressions Implements the common expression tree for the VIL languages.net.ssehub.easy.instantiation.core.model.templateModel The template language model. -
-
Uses of CallArgument in de.uni_hildesheim.sse.vil.expressions.translation
Methods in de.uni_hildesheim.sse.vil.expressions.translation that return CallArgument Modifier and Type Method Description CallArgument[]ExpressionTranslator. processArguments(de.uni_hildesheim.sse.vil.expressions.expressionDsl.ArgumentList arguments, R resolver)Processes an argument list and translates them into call arguments.Method parameters in de.uni_hildesheim.sse.vil.expressions.translation with type arguments of type CallArgument Modifier and Type Method Description private java.util.ArrayList<I>ExpressionTranslator. processDeclarators(de.uni_hildesheim.sse.vil.expressions.expressionDsl.Call call, TypeDescriptor<?> implicitType, java.util.List<CallArgument> arguments, R resolver)Processes a declarator.protected java.util.List<I>ExpressionTranslator. resolveIteratorDeclarations(de.uni_hildesheim.sse.vil.expressions.expressionDsl.Call call, ExpressionTranslator.CallType type, java.util.List<CallArgument> arguments, R resolver)Resolves the iterator declarations.private ExpressionEvaluatorExpressionTranslator. tryIteratorExpression(java.util.List<CallArgument> arguments, de.uni_hildesheim.sse.vil.expressions.expressionDsl.NamedArgument param, R resolver)Tries to compose an iterator expression (ExpressionEvaluator) -
Uses of CallArgument in net.ssehub.easy.instantiation.core.model.buildlangModel
Methods in net.ssehub.easy.instantiation.core.model.buildlangModel with parameters of type CallArgument Modifier and Type Method Description protected RuleCallExpressionResolver. createCallExpression(Script model, boolean isSuper, java.lang.String name, CallArgument... arguments)protected ModelCallExpression<VariableDeclaration,Script,AbstractRule>BuildlangExecution. createModelCall(Script model, AbstractRule operation, CallArgument... arguments)Constructors in net.ssehub.easy.instantiation.core.model.buildlangModel with parameters of type CallArgument Constructor Description InstantiateExpression(java.lang.String name, CallArgument... arguments)Creates an instantiate expression.InstantiateExpression(VariableDeclaration project, IVersionRestriction restriction, java.lang.String name, CallArgument... arguments)Creates an instantiate expression.RuleCallExpression(Script script, boolean isSuper, java.lang.String name, CallArgument... arguments)Creates a new rule call expression.RuleCallExpression(Script script, AbstractRule rule, CallArgument... arguments)Creates a new rule call expression for a known operation.StrategyCallExpression(java.lang.Object parent, java.lang.String name, CallArgument... arguments)Creates a new instantator strategy call.StrategyCallExpression(VariableDeclaration nameVar, CallArgument... arguments)Creates a new system execution strategy call. -
Uses of CallArgument in net.ssehub.easy.instantiation.core.model.common
Fields in net.ssehub.easy.instantiation.core.model.common declared as CallArgument Modifier and Type Field Description private CallArgument[]ModelCallExpression. argumentsprivate CallArgument[]Resolver.CallExpressionTester. argumentsMethods in net.ssehub.easy.instantiation.core.model.common that return CallArgument Modifier and Type Method Description CallArgumentModelCallExpression. getArgument(int index)Returns the specified argument.Methods in net.ssehub.easy.instantiation.core.model.common with parameters of type CallArgument Modifier and Type Method Description EResolver. createCallExpression(boolean isSuper, java.lang.String name, ICallExpressionTester<M,O,E,V> tester, CallArgument... arguments)Creates a call to aIResolvableOperationfor one of the current model instances.EResolver. createCallExpression(boolean isSuper, java.lang.String name, CallArgument... arguments)Creates a call to aIResolvableOperationfor one of the current model instances.protected abstract EResolver. createCallExpression(M model, boolean isSuper, java.lang.String name, CallArgument... arguments)Creates a new model call expression.CallExpressionResolver. createExtensionCallExpression(java.lang.String name, CallArgument... arguments)Creates an extension call expression to functions provided by extension types (seeIResolvableModel.getExtensionType(int)).protected abstract ModelCallExpression<V,M,O>ExecutionVisitor. createModelCall(M model, O operation, CallArgument... arguments)Creates a model call expression instance.Constructors in net.ssehub.easy.instantiation.core.model.common with parameters of type CallArgument Constructor Description CallExpressionTester(java.lang.String name, CallArgument... arguments)Creates a call expression tester.ModelCallExpression(M model, boolean isSuper, java.lang.String name, CallArgument... arguments)Creates a new model call expression.ModelCallExpression(M model, O resolved, CallArgument... arguments)Creates a new model call expression for a known operation. -
Uses of CallArgument in net.ssehub.easy.instantiation.core.model.expressions
Fields in net.ssehub.easy.instantiation.core.model.expressions declared as CallArgument Modifier and Type Field Description private CallArgument[]CallExpression. argumentsprivate CallArgument[]ResolvableOperationCallExpression. argumentsMethods in net.ssehub.easy.instantiation.core.model.expressions that return CallArgument Modifier and Type Method Description protected CallArgument[]CopyVisitor. copyCallArguments(AbstractCallExpression call)Copies the arguments of the givencall.static CallArgument[]CallArgument. createUnnamedArguments(Expression... arguments)Creates unnamed arguments.CallArgumentCallArgument. fixValue(java.lang.Object fixedValue)Fixes the value of this argument.abstract CallArgumentAbstractCallExpression. getArgument(int index)Returns the specified argument.CallArgumentCallExpression. getArgument(int index)Returns the specified argument.CallArgumentIArgumentProvider. getArgument(int index)Returns the specified argument.CallArgumentResolvableOperationCallExpression. getArgument(int index)static CallArgument[]CallArgument. getUnnamedArguments(CallArgument[] arguments)Returns the arguments.private static CallArgument[]AbstractCallExpression. toTypeDescriptors(IMetaType type, int exclude)Turns the generic parameter types oftypeinto an array.Methods in net.ssehub.easy.instantiation.core.model.expressions with parameters of type CallArgument Modifier and Type Method Description private static voidAbstractCallExpression. addAndPruneByType(java.util.List<IMetaOperation> candidates, IMetaOperation toAdd, IMetaType[] argTypes, CallArgument[] arguments, int unnamedArgsCount)AddstoAddtocandidatesif it is considered as the best candidate with respect to the givenargTypes.private static java.util.List<IMetaOperation>AbstractCallExpression. assignableCandidates(IMetaType operand, java.lang.String name, CallArgument[] arguments, int unnamedArgsCount, boolean allowAny)Derives the assignable candidates fromoperand, i.e., operations which can be directly applied with identical parameters or (second step) with assignable parameters but without parameter conversion.private static intAbstractCallExpression. calcTypeDiff(IMetaOperation operation, IMetaType[] argTypes, CallArgument[] arguments, int unnamedArgsCount)Calculates the differences in types between the givenoperationand the given argument types.private static java.util.List<AbstractCallExpression.ConvertibleOperation>AbstractCallExpression. convertibleCandidates(IMetaType operand, java.lang.String name, CallArgument[] arguments, int unnamedArgsCount)Derives the convertible candidates fromoperand, i.e., operations which can be applied including parameter conversion.static intCallArgument. countUnnamedArguments(CallArgument[] arguments)Returns the number of unnamed arguments.protected static IMetaTypeAbstractCallExpression. getParameterType(IMetaOperation operation, int index, CallArgument[] arguments, int unnamedArgsCount)Returns the parameter type considering named parameters.intAbstractCallExpression.ConvertibleOperation. getScore(CallArgument[] arguments, int unnamedArgsCount)Returns the conversions core to compare similar canidates.static java.lang.StringAbstractCallExpression. getSignature(java.lang.String name, CallArgument[] arguments)Returns a java-like signature for the specified operation.static CallArgument[]CallArgument. getUnnamedArguments(CallArgument[] arguments)Returns the arguments.private static IMetaOperationAbstractCallExpression. resolveFallbacks(IMetaType opType, java.lang.String name, CallArgument[] arguments)Last resort resolution, try with String or in case of a decision variable with the primitive types it can represent.static IMetaOperationAbstractCallExpression. resolveOperation(IMetaType operand, boolean checkMetaForFirstArgField, java.lang.String name, CallArgument[] arguments)Resolves the given operation onoperand, but allows checking the first field for a meta type (e.g., DecisionVariable instead of the actual field type).static IMetaOperationAbstractCallExpression. resolveOperation(IMetaType operand, java.lang.String name, CallArgument... arguments)Resolves the given operation onoperand.private static IMetaOperationAbstractCallExpression. resolveOperation(IMetaType operand, java.lang.String name, CallArgument[] arguments, boolean allowConversion, boolean allowAny)Actually aims at resolving the operation.private static IMetaOperationAbstractCallExpression. resolveOperationOnModel(java.lang.Object operand, java.lang.String name, CallArgument[] arguments, java.util.Set<java.lang.Object> done)Resolves the given operation onoperand, consideringoperandas a model with imports.private static java.util.List<AbstractCallExpression.ConvertibleOperation>AbstractCallExpression. selectAmongMultipleCandidates(java.util.List<AbstractCallExpression.ConvertibleOperation> candidates, CallArgument[] arguments, int unnamedArgsCount)Selects among multiple convertible candidates.private static IMetaType[]AbstractCallExpression. toTypeDescriptors(CallArgument[] args)Turns the given call arguments to type descriptors.private static IMetaOperationAbstractCallExpression. tryOpConversionToSecond(IMetaType opType, java.lang.String name, CallArgument[] arguments)Tries to convert the operand to the second argument type and resolves it.Constructors in net.ssehub.easy.instantiation.core.model.expressions with parameters of type CallArgument Constructor Description CallExpression(java.lang.Object parent, java.lang.String name, boolean dotRight, CallArgument... arguments)Creates a new call expression which may be part of a dot expression.CallExpression(java.lang.Object parent, java.lang.String name, CallArgument... arguments)Creates a new (undotted) call expression.CallExpression(IMetaOperation operation, CallArgument... param)Creates a new transparent call expression from a conversion or optimization operation.CallExpression(OperationDescriptor operation, CallArgument arg)Creates a new transparent call expression from a conversion or optimization operation.ConstructorCallExpression(TypeDescriptor<?> type, CallArgument... arguments)Creates a constructor call.ImplicitContainerInitializerExpression(CallArgument argument)Creates a new implicit container initializer expression.ResolvableOperationCallExpression(VariableDeclaration var, CallArgument[] arguments)Creates a resolvable operation call expression, i.e., a call expression pointing to a certain operation but which is called through a (parameter) variable. -
Uses of CallArgument in net.ssehub.easy.instantiation.core.model.templateModel
Methods in net.ssehub.easy.instantiation.core.model.templateModel with parameters of type CallArgument Modifier and Type Method Description protected TemplateCallExpressionResolver. createCallExpression(Template model, boolean isSuper, java.lang.String name, CallArgument... arguments)protected ModelCallExpression<VariableDeclaration,Template,Def>TemplateLangExecution. createModelCall(Template model, Def operation, CallArgument... arguments)Constructors in net.ssehub.easy.instantiation.core.model.templateModel with parameters of type CallArgument Constructor Description TemplateCallExpression(Template template, boolean isSuper, java.lang.String name, CallArgument... arguments)Creates a new template call expression.TemplateCallExpression(Template template, Def def, CallArgument... arguments)Creates a new template call expression for a known operation.
-