Property | Type | Description | |
---|---|---|---|
Operators | Operator[] | ||
OperatorsByLevel | Operator[][] | ||
OperatorsImages | string[] | ||
OperatorsLevel0 | Operator[] | ||
OperatorsLevel1 | Operator[] | ||
OperatorsLevel2 | Operator[] | ||
OperatorsLevel3 | Operator[] | ||
OperatorsLevel4 | Operator[] | ||
OperatorsLevel5 | Operator[] |
Method | Description | |
---|---|---|
BinaryExpression ( ModelElement root, ModelElement log, |
Constructor
|
|
CheckExpression ( ) : void |
Checks the expression and appends errors to the root tree node when inconsistencies are found
|
|
CreateGraph ( DataDictionary.Interpreter.InterpretationContext context, Parameter parameter, |
Creates the graph associated to this expression, when the given parameter ranges over the X axis
|
|
CreateSurface ( DataDictionary.Interpreter.InterpretationContext context, Parameter xParam, Parameter yParam, |
Provides the surface of this function if it has been statically defined
|
|
Fill ( List |
Fills the list provided with the element matching the filter provided
|
|
FindOperatorByName ( string op ) : Operator |
Provides the operator, based on its image
|
|
GetCalled ( DataDictionary.Interpreter.InterpretationContext context, |
Provides the callable that is called by this expression
|
|
GetExplain ( TextualExplanation explanation, bool explainSubElements = true ) : void |
Builds the explanation of the element
|
|
GetExpressionType ( ) : |
Provides the type of this expression
|
|
GetStaticCallable ( ) : ICallable |
Provides the ICallable which corresponds to this expression
|
|
Image ( Operator op ) : string |
Provides the image of a given operator
|
|
Images ( Operator ops ) : string[] |
Provides the image of a given operator
|
|
Inverse ( Operator Operator ) : Operator |
Inverses the operator provided
|
|
IsSimpleEquality ( ) : bool |
Indicates that the expression is an equality of the form variable == literal
|
|
SemanticAnalysis ( INamable instance, DataDictionary.Interpreter.Filter.BaseFilter expectation ) : bool |
Performs the semantic analysis of the expression
|
Method | Description | |
---|---|---|
GetValue ( DataDictionary.Interpreter.InterpretationContext context, |
Provides the value associated to this Expression
|
Method | Description | |
---|---|---|
CombineGraph ( IGraph leftGraph, IGraph rightGraph ) : IGraph |
Combines two graphs using the operator of this binary expression
|
|
CombineSurface ( Surface leftSurface, Surface rightSurface ) : Surface |
Combines two surfaces using the operator of this binary expression
|
|
CreateGraphResult ( DataDictionary.Interpreter.InterpretationContext context, DataDictionary.Functions.Function leftFunction, List |
Creates the result as a surface
|
|
CreateSurfaceForUnbound ( DataDictionary.Interpreter.InterpretationContext context, |
Creates the graph for the unbount parameters provided
|
|
CreateSurfaceResult ( DataDictionary.Interpreter.InterpretationContext context, DataDictionary.Functions.Function leftFunction, List |
Creates the result as a surface
|
|
createGraphForUnbound ( DataDictionary.Interpreter.InterpretationContext context, |
Creates the graph for the unbound parameters provided
|
|
getUnboundParameter ( DataDictionary.Interpreter.InterpretationContext context, DataDictionary.Functions.Function function ) : List |
Gets the unbound parameters from the function definition and place holders
|
|
getUnboundParametersFromValue ( DataDictionary.Functions.Function leftFunction ) : List |
Gets the unbound parameters from either the surface or the graph of the function
|
public BinaryExpression ( ModelElement root, ModelElement log, |
||
root | ModelElement | |
log | ModelElement | |
left | ||
op | Operator | |
right | ||
parsingData | DataDictionary.Interpreter.ParsingData | Additional information about the parsing process |
return | System |
public CreateGraph ( DataDictionary.Interpreter.InterpretationContext context, Parameter parameter, |
||
context | DataDictionary.Interpreter.InterpretationContext | The interpretation context |
parameter | Parameter | The parameters of *the enclosing function* for which the graph should be created |
explain | ||
return | Graph |
public CreateSurface ( DataDictionary.Interpreter.InterpretationContext context, Parameter xParam, Parameter yParam, |
||
context | DataDictionary.Interpreter.InterpretationContext | the context used to create the surface |
xParam | Parameter | The X axis of this surface |
yParam | Parameter | The Y axis of this surface |
explain | ||
return | Surface |
public Fill ( List |
||
retVal | List |
The list to be filled with the element matching the condition expressed in the filter |
filter | DataDictionary.Interpreter.Filter.BaseFilter | The filter to apply |
return | void |
public static FindOperatorByName ( string op ) : Operator | ||
op | string | |
return | Operator |
public GetCalled ( DataDictionary.Interpreter.InterpretationContext context, |
||
context | DataDictionary.Interpreter.InterpretationContext | |
explain | ||
return | ICallable |
public GetExplain ( TextualExplanation explanation, bool explainSubElements = true ) : void | ||
explanation | TextualExplanation | |
explainSubElements | bool | Precises if we need to explain the sub elements (if any) |
return | void |
public GetExpressionType ( ) : |
||
return |
protected GetValue ( DataDictionary.Interpreter.InterpretationContext context, |
||
context | DataDictionary.Interpreter.InterpretationContext | The context on which the value must be found |
explain | The explanation to fill, if any | |
return | IValue |
public static Images ( Operator ops ) : string[] | ||
ops | Operator | |
return | string[] |
public static Inverse ( Operator Operator ) : Operator | ||
Operator | Operator | |
return | Operator |
public SemanticAnalysis ( INamable instance, DataDictionary.Interpreter.Filter.BaseFilter expectation ) : bool | ||
instance | INamable | the reference instance on which this element should analysed |
expectation | DataDictionary.Interpreter.Filter.BaseFilter | Indicates the kind of element we are looking for |
return | bool |
public static Operator[][] OperatorsByLevel | ||
return | Operator[][] |
public static Operator[] OperatorsLevel0 | ||
return | Operator[] |
public static Operator[] OperatorsLevel1 | ||
return | Operator[] |
public static Operator[] OperatorsLevel2 | ||
return | Operator[] |
public static Operator[] OperatorsLevel3 | ||
return | Operator[] |
public static Operator[] OperatorsLevel4 | ||
return | Operator[] |