Uses of Class
net.ssehub.easy.instantiation.core.model.expressions.Expression
-
-
Uses of Expression in de.uni_hildesheim.sse
Methods in de.uni_hildesheim.sse that return Expression Modifier and Type Method Description ExpressionBuildLangModelUtility. createExpression(java.lang.String text, Resolver resolver, java.lang.StringBuilder warnings)Parsestextinto an expression.ExpressionBuildLangModelUtility. createExpression(java.lang.String text, IRuntimeEnvironment environment)ExpressionVilExpressionParser. parse(java.lang.String text, Resolver resolver)ExpressionVilExpressionParser. parse(java.lang.String text, IRuntimeEnvironment environment) -
Uses of Expression in de.uni_hildesheim.sse.buildLanguageTranslation
Methods in de.uni_hildesheim.sse.buildLanguageTranslation that return Expression Modifier and Type Method Description ExpressionExpressionTranslator. parseExpression(java.lang.String expression, Resolver resolver, java.lang.StringBuilder warnings)protected ExpressionExpressionTranslator. processCall(Expression firstParam, de.uni_hildesheim.sse.vil.expressions.expressionDsl.Call call, ExpressionTranslator.CallType type, de.uni_hildesheim.sse.vil.expressions.expressionDsl.Expression arrayEx, Resolver resolver)Processes a function call.ExpressionExpressionTranslator. processPrimaryExpression(de.uni_hildesheim.sse.vil.expressions.expressionDsl.PrimaryExpression ex, Resolver resolver)Processes a primary expression.Methods in de.uni_hildesheim.sse.buildLanguageTranslation that return types with arguments of type Expression Modifier and Type Method Description private java.util.List<Expression>AbstractModelTranslator. resolveExpressions(org.eclipse.emf.common.util.EList<de.uni_hildesheim.sse.vil.expressions.expressionDsl.LogicalExpression> expressions)Resolves a set of expressions.Methods in de.uni_hildesheim.sse.buildLanguageTranslation with parameters of type Expression Modifier and Type Method Description protected ExpressionStatementExpressionTranslator. createExpressionStatement(Expression expression, Resolver resolver)protected ExpressionVersionRestrictionExpressionTranslator. createExpressionVersionRestriction(Expression expr, VariableDeclaration decl, org.eclipse.emf.ecore.EObject cause, org.eclipse.emf.ecore.EStructuralFeature feature)protected VariableDeclarationExpressionTranslator. createImplicitVariableDeclaration(java.lang.String name, TypeDescriptor<?> type, boolean isConstant, Expression expression, Resolver resolver)protected VariableDeclarationExpressionTranslator. createVariableDeclaration(java.lang.String name, TypeDescriptor<?> type, boolean isConstant, Expression expression, Resolver resolver)protected ExpressionExpressionTranslator. processCall(Expression firstParam, de.uni_hildesheim.sse.vil.expressions.expressionDsl.Call call, ExpressionTranslator.CallType type, de.uni_hildesheim.sse.vil.expressions.expressionDsl.Expression arrayEx, Resolver resolver)Processes a function call. -
Uses of Expression in de.uni_hildesheim.sse.vil.expressions.translation
Subclasses of Expression in de.uni_hildesheim.sse.vil.expressions.translation Modifier and Type Class Description (package private) classDeferredResolvableOperationExpressionDefines a deferrable resolvable operation expression, i.e., a currently unresolved "function pointer".Fields in de.uni_hildesheim.sse.vil.expressions.translation declared as Expression Modifier and Type Field Description private ExpressionDeferredResolvableOperationExpression. initMethods in de.uni_hildesheim.sse.vil.expressions.translation that return Expression Modifier and Type Method Description ExpressionExpressionTranslator. assertBooleanExpression(Expression expression, org.eclipse.emf.ecore.EObject cause, org.eclipse.emf.ecore.EStructuralFeature causingFeature)Asserts the given expression to be of Boolean type.private ExpressionExpressionTranslator. convertToVersion(java.lang.String text, de.uni_hildesheim.sse.vil.expressions.expressionDsl.Constant arg, R resolver)protected static ExpressionExpressionTranslator. createConstant(TypeDescriptor<?> type, java.lang.Object value, org.eclipse.emf.ecore.EObject cause, org.eclipse.emf.ecore.EStructuralFeature causingFeature, TypeRegistry registry)Creates a constant.(package private) ExpressionDeferredResolvableOperationExpression. getInit()Returns the initialization expression.private ExpressionExpressionTranslator. normalizeStringExpression(Expression ex, java.lang.String st)Normalizes a string expression, i.e., ifex(within aCompositeExpressionis not a constant, aStringExpressioncontaining the expression is inserted instead.abstract ExpressionExpressionTranslator. parseExpression(java.lang.String expression, R resolver, java.lang.StringBuilder warnings)Parse the given expression.protected ExpressionExpressionTranslator. processAdditiveExpression(de.uni_hildesheim.sse.vil.expressions.expressionDsl.AdditiveExpression ex, R resolver)Processes an additive expression.ExpressionExpressionTranslator. processAssignment(org.eclipse.emf.ecore.EObject cause, TypeDescriptor<?> type, de.uni_hildesheim.sse.vil.expressions.expressionDsl.Expression ex, R resolver)Processes an assignment.protected abstract ExpressionExpressionTranslator. processCall(Expression firstParam, de.uni_hildesheim.sse.vil.expressions.expressionDsl.Call call, ExpressionTranslator.CallType type, de.uni_hildesheim.sse.vil.expressions.expressionDsl.Expression arrayEx, R resolver)Processes a function call.protected ExpressionExpressionTranslator. processConstant(de.uni_hildesheim.sse.vil.expressions.expressionDsl.Constant arg, R resolver)Processes a constant argument.protected ExpressionExpressionTranslator. processEqualityExpression(de.uni_hildesheim.sse.vil.expressions.expressionDsl.EqualityExpression ex, R resolver)Processes an equality expression.ExpressionExpressionTranslator. processExpression(de.uni_hildesheim.sse.vil.expressions.expressionDsl.Expression ex, R resolver)Creates the expression tree for a given expression.ExpressionExpressionTranslator. processLogicalExpression(de.uni_hildesheim.sse.vil.expressions.expressionDsl.LogicalExpression ex, R resolver)Processes a logical expression.protected ExpressionExpressionTranslator. processMultiplicativeExpression(de.uni_hildesheim.sse.vil.expressions.expressionDsl.MultiplicativeExpression ex, R resolver)Processes a multiplicative expression.protected ExpressionExpressionTranslator. processPostfixExpression(de.uni_hildesheim.sse.vil.expressions.expressionDsl.PostfixExpression ex, R resolver)Processes a postfix expression.ExpressionExpressionTranslator. processPrimaryExpression(de.uni_hildesheim.sse.vil.expressions.expressionDsl.PrimaryExpression ex, R resolver)Processes a primary expression.protected ExpressionExpressionTranslator. processQualifiedValue(java.lang.String name, de.uni_hildesheim.sse.vil.expressions.expressionDsl.Constant arg, org.eclipse.emf.ecore.EStructuralFeature feature, R resolver)Processes a qualified value and creates variable expressions.protected ExpressionExpressionTranslator. processRelationalExpression(de.uni_hildesheim.sse.vil.expressions.expressionDsl.RelationalExpression ex, R resolver)Processes a relational expression.protected ExpressionExpressionTranslator. processSubCalls(Expression firstParam, org.eclipse.emf.common.util.EList<de.uni_hildesheim.sse.vil.expressions.expressionDsl.SubCall> followups, R resolver)Processes sub calls, i.e., calls connected by ".".protected ExpressionExpressionTranslator. processUnaryExpression(de.uni_hildesheim.sse.vil.expressions.expressionDsl.UnaryExpression ex, R resolver)Processes a unary expression.private ExpressionExpressionTranslator. resolveCallArgumentExpression(de.uni_hildesheim.sse.vil.expressions.expressionDsl.NamedArgument param, int paramIndex, java.util.List<I> iterators, java.util.List<CallArgument> arguments, R resolver)Tries to resolve a call argument.Methods in de.uni_hildesheim.sse.vil.expressions.translation with parameters of type Expression Modifier and Type Method Description ExpressionExpressionTranslator. assertBooleanExpression(Expression expression, org.eclipse.emf.ecore.EObject cause, org.eclipse.emf.ecore.EStructuralFeature causingFeature)Asserts the given expression to be of Boolean type.protected VilExceptionExpressionTranslator. checkSemantics(Expression expr)Checks the semantics of a potential call candidate.protected abstract EExpressionTranslator. createExpressionStatement(Expression expression, R resolver)Creates an expression statement.protected abstract ExpressionVersionRestrictionExpressionTranslator. createExpressionVersionRestriction(Expression expr, VariableDeclaration decl, org.eclipse.emf.ecore.EObject cause, org.eclipse.emf.ecore.EStructuralFeature feature)Creates an expression version restriction matching this class.protected abstract IExpressionTranslator. createImplicitVariableDeclaration(java.lang.String name, TypeDescriptor<?> type, boolean isConstant, Expression expression, R resolver)Creates a new implicit variable declaration.protected abstract IExpressionTranslator. createVariableDeclaration(java.lang.String name, TypeDescriptor<?> type, boolean isConstant, Expression expression, R resolver)Creates a new variable declaration.private ExpressionExpressionTranslator. normalizeStringExpression(Expression ex, java.lang.String st)Normalizes a string expression, i.e., ifex(within aCompositeExpressionis not a constant, aStringExpressioncontaining the expression is inserted instead.protected abstract ExpressionExpressionTranslator. processCall(Expression firstParam, de.uni_hildesheim.sse.vil.expressions.expressionDsl.Call call, ExpressionTranslator.CallType type, de.uni_hildesheim.sse.vil.expressions.expressionDsl.Expression arrayEx, R resolver)Processes a function call.protected ExpressionExpressionTranslator. processSubCalls(Expression firstParam, org.eclipse.emf.common.util.EList<de.uni_hildesheim.sse.vil.expressions.expressionDsl.SubCall> followups, R resolver)Processes sub calls, i.e., calls connected by ".".Constructors in de.uni_hildesheim.sse.vil.expressions.translation with parameters of type Expression Constructor Description DeferredResolvableOperationExpression(org.eclipse.emf.ecore.EObject cause, TypeDescriptor<?> varType, Expression init)Creates a resolvable operation expression. -
Uses of Expression in de.uni_hildesheim.sse.vil.templatelang
Methods in de.uni_hildesheim.sse.vil.templatelang that return Expression Modifier and Type Method Description ExpressionTemplateLangModelUtility. createExpression(java.lang.String text, IRuntimeEnvironment environment)ExpressionTemplateLangModelUtility. createExpression(java.lang.String text, Resolver resolver, java.lang.StringBuilder warnings)Parsestextinto an expression.ExpressionTemplateLangModelUtility. createExpression(java.lang.String text, Resolver resolver, java.lang.StringBuilder warnings, IvmlMessageAdapter adapter)Parsestextinto an expression.ExpressionVtlExpressionParser. parse(java.lang.String text, IRuntimeEnvironment environment)ExpressionVtlExpressionParser. parse(java.lang.String text, Resolver resolver) -
Uses of Expression in de.uni_hildesheim.sse.vil.templatelang.templateLanguageTranslation
Methods in de.uni_hildesheim.sse.vil.templatelang.templateLanguageTranslation that return Expression Modifier and Type Method Description ExpressionExpressionTranslator. parseExpression(java.lang.String expression, Resolver resolver, java.lang.StringBuilder warnings)protected ExpressionExpressionTranslator. processCall(Expression firstParam, de.uni_hildesheim.sse.vil.expressions.expressionDsl.Call call, ExpressionTranslator.CallType type, de.uni_hildesheim.sse.vil.expressions.expressionDsl.Expression arrayEx, Resolver resolver)Processes a function call.private ExpressionModelTranslator. processSeparatorExpression(de.uni_hildesheim.sse.vil.expressions.expressionDsl.PrimaryExpression ex)Processes a separator expression.Methods in de.uni_hildesheim.sse.vil.templatelang.templateLanguageTranslation with parameters of type Expression Modifier and Type Method Description protected ExpressionStatementExpressionTranslator. createExpressionStatement(Expression expression, Resolver resolver)protected ExpressionVersionRestrictionExpressionTranslator. createExpressionVersionRestriction(Expression expr, VariableDeclaration decl, org.eclipse.emf.ecore.EObject cause, org.eclipse.emf.ecore.EStructuralFeature feature)protected VariableDeclarationExpressionTranslator. createImplicitVariableDeclaration(java.lang.String name, TypeDescriptor<?> type, boolean isConstant, Expression expression, Resolver resolver)protected VariableDeclarationExpressionTranslator. createVariableDeclaration(java.lang.String name, TypeDescriptor<?> type, boolean isConstant, Expression expression, Resolver resolver)protected ExpressionExpressionTranslator. processCall(Expression firstParam, de.uni_hildesheim.sse.vil.expressions.expressionDsl.Call call, ExpressionTranslator.CallType type, de.uni_hildesheim.sse.vil.expressions.expressionDsl.Expression arrayEx, Resolver resolver)Processes a function call. -
Uses of Expression in net.ssehub.easy.instantiation.core.model.buildlangModel
Subclasses of Expression in net.ssehub.easy.instantiation.core.model.buildlangModel Modifier and Type Class Description classAlternativeExpressionRepresents a VIL alternative.classInstantiateExpressionRepresents an instantiate expression.classJoinExpressionRealizes a VIL join, typically over the variability model configuration and / or a project's artifact model.classMapExpressionDescribes a map statement.classRuleCallExpressionRepresents the explicit execution of a rule (precondition, rule body).classStrategyCallExpressionImplements a strategy call.Fields in net.ssehub.easy.instantiation.core.model.buildlangModel declared as Expression Modifier and Type Field Description private ExpressionAlternativeExpression. conditionprivate ExpressionJoinExpression. conditionprivate ExpressionWhileStatement. conditionprivate ExpressionForStatement. exprprivate ExpressionMapExpression. exprMethods in net.ssehub.easy.instantiation.core.model.buildlangModel that return Expression Modifier and Type Method Description static ExpressionUtils. findLastExpression(IRuleBlock block)Returns the last expression of the given rule block.ExpressionAlternativeExpression. getCondition()Returns the condition to be evaluated.ExpressionJoinExpression. getCondition()Returns the join condition.ExpressionWhileStatement. getCondition()Returns the condition of the while statement.ExpressionForStatement. getExpression()ExpressionIEnumeratingLoop. getExpression()Returns the iterator expression.ExpressionMapExpression. getExpression()Methods in net.ssehub.easy.instantiation.core.model.buildlangModel with parameters of type Expression Modifier and Type Method Description private static TypeDescriptor<?>JoinVariableDeclaration. getJoinVariableType(Expression expr)Determine the type of the join variable from the initializing expression.java.lang.ObjectVariableFinder. visitExpression(Expression ex)Method parameters in net.ssehub.easy.instantiation.core.model.buildlangModel with type arguments of type Expression Modifier and Type Method Description voidRuleDescriptor. setRuleExpressions(Rule.Side side, java.util.List<Expression> conditions)Defines the rule conditions on the given side.Constructors in net.ssehub.easy.instantiation.core.model.buildlangModel with parameters of type Expression Constructor Description AlternativeExpression(Expression condition, IRuleBlock ifPart, IRuleBlock elsePart)Creates an alternative expression.ExpressionStatement(Expression expression)Creates an expression statement.ExpressionVersionRestriction(Expression expr, VariableDeclaration versionVariable)Creates a new expression version restriction.ForStatement(VariableDeclaration[] variables, Expression expr, IRuleElement[] body, TypeDescriptor<?>[] givenTypes, boolean colon)Creates a for statement.ImplicitVariableDeclaration(java.lang.String name, TypeDescriptor<?> type, boolean isConstant, Expression expression)Creates a new variable declaration.JoinExpression(JoinVariableDeclaration[] joinVariables, Expression condition)Creates a new join expression.JoinVariableDeclaration(java.lang.String name, Expression expr, boolean exclude)Creates a new variable declaration.MapExpression(VariableDeclaration[] variables, Expression expr, IRuleElement[] body, TypeDescriptor<?>[] givenTypes, boolean colon)Creates a map statement.StrategyCallExpression(java.lang.Object parent, java.lang.String name, Expression... arguments)Creates a new instantiator strategy call.StrategyCallExpression(VariableDeclaration nameVar, Expression... arguments)Creates a new system execution strategy call.VariableDeclaration(java.lang.String name, TypeDescriptor<?> type, boolean isConstant, Expression expression)Creates a new variable declaration.WhileStatement(Expression condition, IRuleElement[] body)Creates a while statement. -
Uses of Expression in net.ssehub.easy.instantiation.core.model.buildlangModel.ruleMatch
Subclasses of Expression in net.ssehub.easy.instantiation.core.model.buildlangModel.ruleMatch Modifier and Type Class Description classAbstractPathRuleMatchExpressionPath matching expressions.classAbstractRuleMatchExpressionRepresents a rule pre/post match condition (not a rule call in a pre condition).classArtifactMatchExpressionImplements an artifact match expression.classBooleanMatchExpressionImplements a Boolean match expression, i.e., a traditional pre- or postcondition.classCollectionMatchExpressionImplements a collection match expression.classCompoundMatchExpressionDenotes the special expression regarding a path match.classPathMatchExpressionDenotes the special expression regarding a path match.classStringMatchExpressionDenotes the special expression regarding a path match.Fields in net.ssehub.easy.instantiation.core.model.buildlangModel.ruleMatch declared as Expression Modifier and Type Field Description private ExpressionArtifactMatchExpression. expressionprivate ExpressionBooleanMatchExpression. expressionprivate ExpressionCollectionMatchExpression. expressionprivate ExpressionPathMatchExpression. pathExpressionMethods in net.ssehub.easy.instantiation.core.model.buildlangModel.ruleMatch that return Expression Modifier and Type Method Description ExpressionArtifactMatchExpression. getExpression()Returns the artifact expression.ExpressionBooleanMatchExpression. getExpression()Returns the actual Boolean expression.ExpressionCollectionMatchExpression. getExpression()Returns the collection expression.ExpressionPathMatchExpression. getExpression()Returns the text used for creating the expression.Methods in net.ssehub.easy.instantiation.core.model.buildlangModel.ruleMatch with parameters of type Expression Modifier and Type Method Description AbstractRuleMatchExpressionMatchFactory. create(Expression expr)Creates a rule match expression fromexpr.java.lang.ObjectMatchResolver. visitExpression(Expression ex)Constructors in net.ssehub.easy.instantiation.core.model.buildlangModel.ruleMatch with parameters of type Expression Constructor Description ArtifactMatchExpression(Expression expression)Creates a new collection match expression.BooleanMatchExpression(Expression expression)Creates a new Boolean match expression.CollectionMatchExpression(Expression expression)Creates a new collection match expression.PathMatchExpression(Expression expression)Creates a path match expression. -
Uses of Expression in net.ssehub.easy.instantiation.core.model.common
Subclasses of Expression in net.ssehub.easy.instantiation.core.model.common Modifier and Type Class Description classModelCallExpression<V extends IMetaParameterDeclaration,M extends IResolvableModel<V,M>,O extends IResolvableOperation<V>>Represents the explicit execution of a model operation.Fields in net.ssehub.easy.instantiation.core.model.common declared as Expression Modifier and Type Field Description private ExpressionExpressionStatement. expressionprivate ExpressionVariableDeclaration. expressionMethods in net.ssehub.easy.instantiation.core.model.common that return Expression Modifier and Type Method Description ExpressionExpressionStatement. getExpression()Returns the expression.ExpressionVariableDeclaration. getExpression()Get the value of this variable.Methods in net.ssehub.easy.instantiation.core.model.common with parameters of type Expression Modifier and Type Method Description protected java.lang.ObjectExecutionVisitor. convertToContainer(Expression expr, java.lang.Object value, java.lang.String eltName)Converts the actualvalueofexprto a container if required and possible.Constructors in net.ssehub.easy.instantiation.core.model.common with parameters of type Expression Constructor Description ExpressionStatement(Expression expression)Creates an expression statement.VariableDeclaration(java.lang.String name, TypeDescriptor<?> type, boolean isConstant, Expression expression)Creates a new variable declaration. -
Uses of Expression in net.ssehub.easy.instantiation.core.model.expressions
Subclasses of Expression in net.ssehub.easy.instantiation.core.model.expressions Modifier and Type Class Description classAbstractCallExpressionImplements the type checking and automated type conversion mechanism in an abstracted form based onIMetaTypeandIMetaOperation.classCallExpressionRepresents a call to an operation of aTypeDescriptor.classCompositeExpressionRepresents a composite expression.classConstantExpressionRepresents a parenthesis expression.classConstructorCallExpressionRepresents a constructor call.classContainerInitializerExpressionRepresents a container initializer expression consisting of various entries all in the same dimension.classExpressionEvaluatorA wrapper type to pass and evaluate expressions in VIL languages.classFieldAccessExpressionRepresents a field access.classImplicitContainerInitializerExpressionA container initializer expression that can be internally used to iterate over / declare container operations over a single value rather than a container.classInPlaceCommand<I extends VariableDeclaration>Replaces an in-place command/expression within a string/content expression.classInPlaceForCommand<I extends VariableDeclaration>Replaces an in-place for-command/expression within a string/content expression.classInPlaceIfCommand<I extends VariableDeclaration>Replaces an in-place if-command/expression within a string/content expression.classInPlaceImportCommand<I extends VariableDeclaration>Represents an in-place import command.classInPlaceVarDeclCommand<I extends VariableDeclaration>Represents an in-place variable declaration command.classMultiAndExpressionRepresents a multi-and expression.classParenthesisExpressionRepresents a parenthesis expression.classResolvableOperationCallExpressionRepresents a call to a resolvable operation, i.e., a "function pointer".classResolvableOperationExpressionRepresents a resolved operation in terms of a function pointer.classStringExpressionRepresents an expression within a string to be used for resolved content statements and strings.classValueAssignmentExpressionRepresents a value assignment.classVariableExAn expression denoting that a variable is used.classVariableExpressionAn expression denoting that a variable is used.classVarModelIdentifierExpressionRepresents an identifier in a variability model.classVilTypeExpressionRepresents a VIL type.Fields in net.ssehub.easy.instantiation.core.model.expressions declared as Expression Modifier and Type Field Description private ExpressionInPlaceIfCommand. conditionprivate ExpressionInPlaceForCommand. endSeparatorprivate ExpressionCallArgument. exprprivate ExpressionExpressionVersionRestriction. exprprivate ExpressionParenthesisExpression. exprprivate ExpressionStringExpression. exprprivate ExpressionExpressionEvaluator. expressionprivate ExpressionInPlaceForCommand. initprivate Expression[]ContainerInitializerExpression. initExpressionsprivate ExpressionInPlaceForCommand. separatorprivate ExpressionValueAssignmentExpression. valueExpressionFields in net.ssehub.easy.instantiation.core.model.expressions with type parameters of type Expression Modifier and Type Field Description private java.util.List<Expression>InPlaceForCommand. bodyprivate java.util.List<Expression>InPlaceIfCommand. curExprivate java.util.List<Expression>InPlaceIfCommand. elseExprivate java.util.List<Expression>CompositeExpression. expressionListprivate java.util.List<Expression>StringResolver. expressionsprivate java.util.List<Expression>InPlaceIfCommand. thenExMethods in net.ssehub.easy.instantiation.core.model.expressions that return Expression Modifier and Type Method Description protected abstract ExpressionInPlaceCommand. close(IStringParserFactory<I> factory)Closes this in-place command by creating the real expression.protected ExpressionInPlaceForCommand. close(IStringParserFactory<I> factory)protected ExpressionInPlaceIfCommand. close(IStringParserFactory<I> factory)protected ExpressionInPlaceImportCommand. close(IStringParserFactory<I> factory)protected ExpressionInPlaceVarDeclCommand. close(IStringParserFactory<I> factory)private ExpressionStringParser. close(int curStart, int pos)Closes the creation of the current in-place command.protected ExpressionCopyVisitor. copyExpression(Expression ex)Copies the given expression.protected ExpressionStringParser. createConstantStringExpression(java.lang.String string)Creates a constant String expression.ExpressionIStringParserFactory. createForExpression(InPlaceForCommand<I> cmd)Creates a for-loop expression.ExpressionIStringParserFactory. createIfExpression(InPlaceIfCommand<I> cmd)Creates an alternative expression.ExpressionIStringParserFactory. createImportExpression(InPlaceImportCommand<I> cmd)Creates an import expression.static ExpressionExpressionVersionRestriction. createSingleRestriction(VariableDeclaration var, java.lang.String operator, Version version)Creates a typical single restriction from the given variable (see#createRestrictionVars(String), the operator and the version.ExpressionIStringParserFactory. createVarDeclExpression(InPlaceVarDeclCommand<I> cmd)Creates a variable declaration expression.ExpressionInPlaceIfCommand. getCondition()Returns the condition expression.ExpressionInPlaceForCommand. getEndSeparator()Returns the optional end separator.ExpressionParenthesisExpression. getExpr()Returns the expression within the parenthesis.ExpressionCallArgument. getExpression()Returns the expression specifying the value of the argument.ExpressionCompositeExpression. getExpression(int index)Returns the specified expression.ExpressionExpressionEvaluator. getExpression()Returns the expression.protected ExpressionExpressionVersionRestriction. getExpression()Returns the restriction expression.ExpressionIExpressionIterator. getExpression(int index)Returns the specified expression.ExpressionStringExpression. getExpression()Returns the contained expression.ExpressionInPlaceForCommand. getInit()Returns the initialization expression.ExpressionContainerInitializerExpression. getInitExpression(int index)Returns the specified initializer expression.ExpressionInPlaceForCommand. getSeparator()Returns the element separator.ExpressionValueAssignmentExpression. getValueExpression()Returns the value expression.protected ExpressionStringParser. handleInPlaceCommands(java.lang.String expressionString, int curStart, int pos)Handles in-place commands and pushes them onto the command stack.protected ExpressionStringParser. join(Expression expr)Joins the results from#handleInPlaceCommands(String)with the current command stack.ExpressionIExpressionParser. parse(java.lang.String text, IRuntimeEnvironment environment)Parses the given text into an expression.ExpressionIExpressionParser. parse(java.lang.String text, R resolver)Parses the given text into an expression.protected ExpressionStringParser. parseExpression(java.lang.String expressionString)Parses an expression fromexpressionString.ExpressionStringResolver.IExpressionTranslator. parseExpression(java.lang.String expression, R resolver, java.lang.StringBuilder warnings)Parse the given expression.protected abstract ExpressionStringParser. parseExpressionImpl(java.lang.String expressionString)Parses an expression fromexpressionString.protected ExpressionStringReplacer. parseExpressionImpl(java.lang.String expressionString)protected ExpressionStringResolver. parseExpressionImpl(java.lang.String expressionString)private ExpressionStringReplacer. resolve(VarModelIdentifierExpression ex)Resolves aVarModelIdentifierExpressionbased on the actual runtime environment and, if resolved, replaces it by a constant.static <I extends VariableDeclaration,R extends Resolver<I>,E extends ExpressionStatement>
ExpressionStringResolver. substitute(java.lang.String text, R resolver, StringResolver.IExpressionTranslator<I,R> translator, java.lang.StringBuilder warnings, IStringParserFactory<I> factory)Substitutes a given text and returns a CompositeExpression.private static Expression[]ImplicitContainerInitializerExpression. toArray(Expression ex)Turns the given expression into an array with one element.Methods in net.ssehub.easy.instantiation.core.model.expressions that return types with arguments of type Expression Modifier and Type Method Description protected java.util.List<Expression>CopyVisitor. copyExpressions(IExpressionIterator iter)Copies all processed expressions fromiterinto the result.java.util.List<Expression>InPlaceForCommand. getBody()Returns the body expressions.java.util.List<Expression>InPlaceIfCommand. getElseExpressions()Returns the else expressions.java.util.List<Expression>InPlaceIfCommand. getThenExpressions()Returns the then expressions.private java.util.List<Expression>StringResolver. handleConstant(java.lang.String text)Handle constant for a given text.Methods in net.ssehub.easy.instantiation.core.model.expressions with parameters of type Expression Modifier and Type Method Description protected voidStringParser. addExpression(Expression expr, java.util.List<Expression> expressions)Adds the expression to the expression list or to the active in-place command on the command stack (if present).protected abstract voidInPlaceCommand. append(Expression ex)Appends a sub-expression.protected voidInPlaceForCommand. append(Expression ex)protected voidInPlaceIfCommand. append(Expression ex)protected voidInPlaceImportCommand. append(Expression ex)protected voidInPlaceVarDeclCommand. append(Expression ex)protected java.lang.StringEvaluationVisitor. appendInCompositeExpression(java.lang.String s1, Expression e1, java.lang.Object v1, java.lang.String s2, Expression e2)Appendss2tos2originating from the respective expressions.private intStringReplacer. checkForEmptyLine(java.lang.String value, Expression expr, int pos)Checks and removes empty lines depending onvalueandreplaceEmptyLine().protected ExpressionCopyVisitor. copyExpression(Expression ex)Copies the given expression.protected ContainerInitializerExpressionContainerInitializerExpression. createInitExpression(Expression[] initExpressions, TypeDescriptor<?> type)Creates a container initializer instance forContainerInitializerExpression.toSet().protected ContainerInitializerExpressionImplicitContainerInitializerExpression. createInitExpression(Expression[] initExpressions, TypeDescriptor<?> type)static CallArgument[]CallArgument. createUnnamedArguments(Expression... arguments)Creates unnamed arguments.IIStringParserFactory. createVariable(java.lang.String name, Expression initExpression, boolean asIterator)Creates a variable.IVersionRestrictionIStringParserFactory. createVersionRestriction(Expression expression, I variable)Creates a version restriction from the givenexpression.voidITracer. failedAt(Expression expression)Is called when the evaluation of an expression caused an execution failure.voidNoTracer. failedAt(Expression expression)voidStreamTracer. failedAt(Expression expression)protected ExpressionStringParser. join(Expression expr)Joins the results from#handleInPlaceCommands(String)with the current command stack.protected voidStringParser. notifyEndInPlaceCommand(InPlaceCommand<I> cmd, Expression expr, int curStart, int pos)Notifies that parsing an in-place command ended.protected voidStringReplacer. notifyEndInPlaceCommand(InPlaceCommand<I> cmd, Expression expr, int curStart, int pos)protected booleanExpressionWriter. quoteExpression(Expression expression)Returns if visitingexpressioninExpressionWriter.printContentExpressions(IExpressionIterator)shall lead to quote constant expressions or unquoted constant expressionsisInExpression.protected booleanInPlaceCommand. replace(java.util.List<Expression> exprs, InPlaceCommand<I> cmd, Expression expr)Replacescmdbyexprinexprs.protected abstract voidInPlaceCommand. replace(InPlaceCommand<I> cmd, Expression expr)Replacescmdbyexpr.protected voidInPlaceForCommand. replace(InPlaceCommand<I> cmd, Expression expr)protected voidInPlaceIfCommand. replace(InPlaceCommand<I> cmd, Expression expr)protected voidInPlaceImportCommand. replace(InPlaceCommand<I> cmd, Expression expr)protected voidInPlaceVarDeclCommand. replace(InPlaceCommand<I> cmd, Expression expr)static IMetaOperationAbstractCallExpression. resolveResolvableOperation(IMetaType operand, IMetaType pType, IMetaType aType, Expression initExpression, ResolutionListener listener)Resolves a resolvable operation ("function pointer").voidCallArgument. setExpression(Expression expr)Replaces the expression in this argument.voidCompositeExpression. setExpression(int index, Expression expr)Replaces the specified expression.voidContainerInitializerExpression. setInitExpression(int index, Expression expr)Replaces the specified expression.private static Expression[]ImplicitContainerInitializerExpression. toArray(Expression ex)Turns the given expression into an array with one element.java.lang.ObjectCopyVisitor. visitExpression(Expression ex)java.lang.ObjectEvaluationVisitor. visitExpression(Expression ex)java.lang.ObjectExpressionVersionRestrictionValidator. visitExpression(Expression ex)java.lang.ObjectExpressionWriter. visitExpression(Expression ex)java.lang.ObjectIExpressionVisitor. visitExpression(Expression ex)Visits an unspecified expression (in case of specialized nodes).Method parameters in net.ssehub.easy.instantiation.core.model.expressions with type arguments of type Expression Modifier and Type Method Description protected voidStringParser. addExpression(Expression expr, java.util.List<Expression> expressions)Adds the expression to the expression list or to the active in-place command on the command stack (if present).protected abstract voidInPlaceCommand. append(java.util.List<Expression> exprs)Appends the sub-expressions in parse sequence toexprsleaving out this command as fallback.protected voidInPlaceForCommand. append(java.util.List<Expression> exprs)protected voidInPlaceIfCommand. append(java.util.List<Expression> exprs)protected voidInPlaceImportCommand. append(java.util.List<Expression> exprs)protected voidInPlaceVarDeclCommand. append(java.util.List<Expression> exprs)protected voidStringParser. clearStatementStack(java.util.List<Expression> expressions)Clears the statement stack and adds all expressions toexprs.protected voidStringParser. popFromCommandStack(java.util.List<Expression> expressions)Removes the top-level element from the command stack and appends its contents toexpressions.protected booleanInPlaceCommand. replace(java.util.List<Expression> exprs, InPlaceCommand<I> cmd, Expression expr)Replacescmdbyexprinexprs.Constructors in net.ssehub.easy.instantiation.core.model.expressions with parameters of type Expression Constructor Description CallArgument(java.lang.String name, Expression expr)Creates a named call argument.CallArgument(Expression expr)Creates an unnamed call argument.CallExpression(java.lang.Object parent, java.lang.String name, Expression... arguments)Creates a new (undotted) call expression.CompositeExpression(Expression... expressions)Creates a new composite expression.ConstructorCallExpression(TypeDescriptor<?> type, Expression... arguments)Creates a constructor call.ContainerInitializerExpression(Expression[] initExpressions)Creates a new container initializer expression.ContainerInitializerExpression(Expression[] initExpressions, TypeDescriptor<?> type)Internal constructor for set initialization.ExpressionEvaluator(Expression expression, VariableDeclaration iterator, java.util.List<? extends VariableDeclaration> declarators)Creates an expression evaluator.ExpressionVersionRestriction(Expression expr, VariableDeclaration versionVariable)Creates a new expression version restriction.ImplicitContainerInitializerExpression(Expression initExpression)Creates a new implicit container initializer expression.ImplicitContainerInitializerExpression(Expression[] initExpressions, TypeDescriptor<?> type)Internal constructor for set initialization.InPlaceForCommand(I iterator, Expression init, Expression separator, Expression endSeparator)Creates an in-place loop command.InPlaceIfCommand(Expression condition)Creates an in-place alternative.ParenthesisExpression(Expression expr)Creates a new parenthesis expression.StringExpression(Expression expr, boolean nested)Creates a string expression.ValueAssignmentExpression(VariableDeclaration varDecl, Expression valueExpression)Creates a new value assignment expression which assignsvalueExpressiontovarDecl.ValueAssignmentExpression(VariableDeclaration varDecl, FieldDescriptor field, Expression valueExpression)Creates a new value assignment expression which assignsvalueExpressiontofieldinvarDecl.Constructor parameters in net.ssehub.easy.instantiation.core.model.expressions with type arguments of type Expression Constructor Description CompositeExpression(java.util.List<Expression> expressionList)Creates a new composite expression. -
Uses of Expression in net.ssehub.easy.instantiation.core.model.templateModel
Subclasses of Expression in net.ssehub.easy.instantiation.core.model.templateModel Modifier and Type Class Description classContentAlternativeExpressionImplements a content alternative expression.classContentImportExpressionRepresents an import of a template through a in-content expression.classContentLoopExpressionImplements a content loop expression.classContentVarDeclExpressionCreates a content expression/statement that declares and initializes a variable.classHintedExpressionWraps an expression with a formatting hint.classInContentExpressionIntroduces a common type for in-content expressions/statements.classTemplateCallExpressionRepresents the explicit execution of a template.Fields in net.ssehub.easy.instantiation.core.model.templateModel declared as Expression Modifier and Type Field Description private ExpressionAlternativeStatement. conditionprivate ExpressionContentAlternativeExpression. conditionprivate ExpressionSwitchStatement.Alternative. conditionprivate ExpressionWhileStatement. conditionprivate ExpressionLoopStatement. containerExpressionprivate ExpressionContentLoopExpression. endSeparatorprivate ExpressionHintedExpression. expressionprivate ExpressionLoopStatement. finalSeparatorExpressionprivate ExpressionContentStatement. indentExpressionprivate ExpressionContentLoopExpression. initprivate ExpressionContentLoopExpression. separatorprivate ExpressionLoopStatement. separatorExpressionprivate ExpressionSwitchStatement. switchExpressionprivate ExpressionSwitchStatement.Alternative. valueFields in net.ssehub.easy.instantiation.core.model.templateModel with type parameters of type Expression Modifier and Type Field Description private java.util.List<Expression>ContentLoopExpression. bodyprivate java.util.List<Expression>ContentAlternativeExpression. elseExprivate java.util.List<Expression>ContentAlternativeExpression. thenExMethods in net.ssehub.easy.instantiation.core.model.templateModel that return Expression Modifier and Type Method Description ExpressionStringResolverFactory. createForExpression(InPlaceForCommand<VariableDeclaration> cmd)ExpressionStringResolverFactory. createIfExpression(InPlaceIfCommand<VariableDeclaration> cmd)ExpressionStringReplacerFactory. createImportExpression(InPlaceImportCommand<VariableDeclaration> cmd)ExpressionStringResolverFactory. createImportExpression(InPlaceImportCommand<VariableDeclaration> cmd)ExpressionStringReplacerFactory. createVarDeclExpression(InPlaceVarDeclCommand<VariableDeclaration> cmd)ExpressionStringResolverFactory. createVarDeclExpression(InPlaceVarDeclCommand<VariableDeclaration> cmd)ExpressionAlternativeStatement. getCondition()Get the condition of this alternative.ExpressionContentAlternativeExpression. getCondition()Returns the condition.ExpressionSwitchStatement.Alternative. getCondition()Returns the alternative condition.ExpressionWhileStatement. getConditionExpression()Get the condition of this loop.ExpressionLoopStatement. getContainerExpression()Get the expression of this loop which defines the set of elements to iterate over.ExpressionContentAlternativeExpression. getElseExpression(int index)Returns the specified then expression.ExpressionContentLoopExpression. getEndSeparator()Returns the optional end separator expression.ExpressionContentLoopExpression. getExpression(int index)Returns the specified body expression.ExpressionLoopStatement. getFinalSeparatorExpression()Returns the optional final separator expression.ExpressionContentStatement. getIndentExpression()Returns the integer expression specifying the additional indentation.ExpressionContentLoopExpression. getInit()Returns the initialization expression.ExpressionContentLoopExpression. getSeparator()Returns the optional separator expression.ExpressionLoopStatement. getSeparatorExpression()Returns the optional separator expression.ExpressionSwitchStatement. getSwitchExpression()Returns the switch expression.ExpressionContentAlternativeExpression. getThenExpression(int index)Returns the specified then expression.ExpressionSwitchStatement.Alternative. getValue()Returns the resulting value if the alternative is considered valid.Methods in net.ssehub.easy.instantiation.core.model.templateModel with parameters of type Expression Modifier and Type Method Description protected java.lang.StringTemplateLangExecution. appendInCompositeExpression(java.lang.String s1, Expression e1, java.lang.Object v1, java.lang.String s2, Expression e2)private voidContentLoopExpression. assertSeparatorEx(Expression ex, java.lang.String text)Asserts that a separator expression evaluates to a String.VariableDeclarationStringResolverFactory. createVariable(java.lang.String name, Expression initExpression, boolean asIterator)IVersionRestrictionStringReplacerFactory. createVersionRestriction(Expression expression, VariableDeclaration variable)IVersionRestrictionStringResolverFactory. createVersionRestriction(Expression expression, VariableDeclaration variable)private java.lang.StringTemplateLangExecution. evaluateSeparator(Expression ex, java.lang.String deflt)Evaluates a separator expression.private java.lang.StringTemplateLangExecution. getSeparatorFromExpression(Expression expression)Turns theexpressioninto a separator.private voidTemplateLangWriter. printSeparatorExpression(Expression expression)Prints a separator expression.protected booleanTemplateLangWriter. quoteExpression(Expression expression)Constructors in net.ssehub.easy.instantiation.core.model.templateModel with parameters of type Expression Constructor Description Alternative(Expression value)Creates the default alternative.Alternative(Expression condition, Expression value)Creates an alternative.AlternativeStatement(Expression condition, ITemplateElement ifStatement)Create an alternative-statement with a single if-block only.AlternativeStatement(Expression condition, ITemplateElement ifStatement, ITemplateElement elseStatement)Create an alternative-statement with an if-block and an else-block.ContentAlternativeExpression(Expression condition, java.util.List<Expression> thenEx, java.util.List<Expression> elseEx)Creates a content alternative expression.ContentLoopExpression(VariableDeclaration iterator, Expression init, Expression separator, Expression endSeparator, java.util.List<Expression> body)Creates a content loop expression.ContentStatement(CompositeExpression content, java.lang.String terminal, Expression indentExpression, ContentStatement.LineEndType lineEndType, ILanguageElement parent)Creates a new content statement.ExpressionStatement(Expression expression, ILanguageElement parent)Creates an expression statement.ExpressionVersionRestriction(Expression expr, VariableDeclaration versionVariable)Creates a new expression version restriction.HintedExpression(Expression expression, java.lang.String hint)Creates a hinted expression.ImplicitVariableDeclaration(java.lang.String name, TypeDescriptor<?> type, boolean isConstant, Expression expression)Creates a new implicit variable declaration.LoopStatement(VariableDeclaration iteratorVar, Expression containerExpression, ITemplateElement statement, Expression separatorExpression, Expression finalSeparatorExpression)Create a loop-statement.SwitchStatement(Expression switchExpression, VariableDeclaration implicitVar, java.util.List<SwitchStatement.Alternative> alternatives)Creates a new switch expression.SwitchStatement(Expression switchExpression, VariableDeclaration implicitVar, SwitchStatement.Alternative[] alternatives)Creates a new switch expression.VariableDeclaration(java.lang.String name, TypeDescriptor<?> type, boolean isConstant, Expression expression)Creates a new variable declaration.WhileStatement(Expression condition, ITemplateElement statement)Create a loop-statement.Constructor parameters in net.ssehub.easy.instantiation.core.model.templateModel with type arguments of type Expression Constructor Description ContentAlternativeExpression(Expression condition, java.util.List<Expression> thenEx, java.util.List<Expression> elseEx)Creates a content alternative expression.ContentLoopExpression(VariableDeclaration iterator, Expression init, Expression separator, Expression endSeparator, java.util.List<Expression> body)Creates a content loop expression. -
Uses of Expression in net.ssehub.easy.instantiation.core.model.tracing
Methods in net.ssehub.easy.instantiation.core.model.tracing with parameters of type Expression Modifier and Type Method Description voidAbstractVilTracer. failedAt(Expression expression) -
Uses of Expression in net.ssehub.easy.instantiation.core.model.vilTypes
Fields in net.ssehub.easy.instantiation.core.model.vilTypes declared as Expression Modifier and Type Field Description private ExpressionReflectionOperationParameter. dfltprivate ExpressionCompoundTypeDescriptor.SlotDescriptor. expressionMethods in net.ssehub.easy.instantiation.core.model.vilTypes that return Expression Modifier and Type Method Description ExpressionCompoundTypeDescriptor.SlotDescriptor. getExpression()Returns the initialization expression.ExpressionIMetaParameterDeclaration. getExpression()Get the (default) value of this variable.ExpressionReflectionOperationParameter. getExpression()Constructors in net.ssehub.easy.instantiation.core.model.vilTypes with parameters of type Expression Constructor Description ReflectionOperationParameter(java.lang.String name, TypeDescriptor<?> type, Expression dflt)Creates a reflection operation parameter. -
Uses of Expression in net.ssehub.easy.producer.ui.productline_editor.instantiator
Methods in net.ssehub.easy.producer.ui.productline_editor.instantiator with parameters of type Expression Modifier and Type Method Description (package private) java.lang.StringElementTreeNode. expressionToString(Expression expression)Turns an expression into a string.java.lang.ObjectBuildResolverVisitor. visitExpression(Expression ex)java.lang.ObjectRuleTreeVilVisitor. visitExpression(Expression ex)
-