Метод | Описание | |
---|---|---|
CheckExpression ( ) : void |
Checks the expression and appends errors to the root tree node when inconsistencies are found
|
|
Fill ( List |
Fills the list provided with the element matching the filter provided
|
|
Find ( string name, List |
Appends the INamable which match the name provided in retVal
|
|
GetExplain ( TextualExplanation explanation, bool explainSubElements = true ) : void |
Builds the explanation of the element
|
|
GetExpressionType ( ) : DataDictionary.Types.Type |
Provides the type of this expression
|
|
InitDeclaredElements ( ) : void |
Initialises the declared elements
|
|
LetExpression ( ModelElement root, ModelElement log, string boundVariableName, |
Constructor
|
|
SemanticAnalysis ( INamable instance, DataDictionary.Interpreter.Filter.BaseFilter expectation ) : bool |
Performs the semantic analysis of the expression
|
Метод | Описание | |
---|---|---|
GetValue ( DataDictionary.Interpreter.InterpretationContext context, |
Provides the value associated to this Expression
|
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 |
Результат | void |
public Find ( string name, List |
||
name | string | |
retVal | List |
|
Результат | void |
public GetExplain ( TextualExplanation explanation, bool explainSubElements = true ) : void | ||
explanation | TextualExplanation | |
explainSubElements | bool | Precises if we need to explain the sub elements (if any) |
Результат | void |
public GetExpressionType ( ) : DataDictionary.Types.Type | ||
Результат | DataDictionary.Types.Type |
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 | |
Результат | IValue |
public LetExpression ( ModelElement root, ModelElement log, string boundVariableName, |
||
root | ModelElement | the root element for which this expression should be parsed |
log | ModelElement | |
boundVariableName | string | The name of the bound variable |
bindingExpression | The binding expression which provides the value of the variable | |
expression | The expression to be evaluated | |
parsingData | DataDictionary.Interpreter.ParsingData | Additional information about the parsing process |
Результат | System.Collections.Generic |
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 |
Результат | bool |