메소드 | 설명 | |
---|---|---|
AddErrorAndExplain ( string message, |
Adds an error message to the root element and explains it
|
|
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
|
|
Explain ( DataDictionary.Interpreter.InterpretationContext context = null ) : |
Provides all the steps used to get the value of the expression
|
|
Fill ( List |
Fills the list provided with the element matching the filter provided
|
|
GetCalled ( DataDictionary.Interpreter.InterpretationContext context, |
Provides the callable that is called by this expression
|
|
GetExpressionType ( ) : |
Provides the type of this expression
|
|
GetExpressionValue ( DataDictionary.Interpreter.InterpretationContext context, |
Provides the value associated to this Expression
|
|
GetLiterals ( ) : List |
Provides the list of literals found in the expression
|
|
GetReferenceTypes ( INamable instance, BaseFilter expectation, bool last ) : DataDictionary.Interpreter.ReturnValue |
Provides the possible references types for this expression (used in semantic analysis)
|
|
GetReferences ( INamable instance, BaseFilter expectation, bool last ) : DataDictionary.Interpreter.ReturnValue |
Provides the possible references for this expression (only available during semantic analysis)
|
|
GetRightSides ( ) : List |
Provides the right sides used by this expression
|
|
GetStaticCallable ( ) : ICallable |
Provides the ICallable that is statically defined
|
|
GetVariable ( DataDictionary.Interpreter.InterpretationContext context ) : IVariable |
Provides the variable referenced by this expression, if any
|
|
GetVariables ( ) : List |
Provides the variables used by this expression
|
|
IsInstance ( ) : bool |
Indicates whether this expression references an instance
|
|
SemanticAnalysis ( BaseFilter expectation ) : bool |
Performs the semantic analysis of the expression
|
|
SemanticAnalysis ( INamable instance = null ) : bool |
Performs the semantic analysis of the expression
|
|
SemanticAnalysis ( INamable instance, BaseFilter expectation ) : bool |
Performs the semantic analysis of the expression
|
메소드 | 설명 | |
---|---|---|
Expression ( ModelElement root, ModelElement log, DataDictionary.Interpreter.ParsingData parsingData ) : System |
Constructor
|
|
GetValue ( DataDictionary.Interpreter.InterpretationContext context, |
Provides the value associated to this Expression
|
public AddErrorAndExplain ( string message, |
||
message | string | |
explain | ||
리턴 | void |
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 | ||
리턴 | 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 | ||
리턴 | Surface |
public Explain ( DataDictionary.Interpreter.InterpretationContext context = null ) : |
||
context | DataDictionary.Interpreter.InterpretationContext | |
리턴 |
protected Expression ( ModelElement root, ModelElement log, DataDictionary.Interpreter.ParsingData parsingData ) : System | ||
root | ModelElement | The root for which this expression should be evaluated |
log | ModelElement | |
parsingData | DataDictionary.Interpreter.ParsingData | Additional information about the parsing process |
리턴 | System |
public abstract Fill ( List |
||
retVal | List |
The list to be filled with the element matching the condition expressed in the filter |
filter | BaseFilter | The filter to apply |
리턴 | void |
public GetCalled ( DataDictionary.Interpreter.InterpretationContext context, |
||
context | DataDictionary.Interpreter.InterpretationContext | |
explain | ||
리턴 | ICallable |
public abstract GetExpressionType ( ) : |
||
리턴 |
public GetExpressionValue ( DataDictionary.Interpreter.InterpretationContext context, |
||
context | DataDictionary.Interpreter.InterpretationContext | The context on which the value must be found |
explain | ||
리턴 | IValue |
public GetReferenceTypes ( INamable instance, BaseFilter expectation, bool last ) : DataDictionary.Interpreter.ReturnValue | ||
instance | INamable | the reference instance on which this element should analysed |
expectation | BaseFilter | Indicates the kind of element we are looking for |
last | bool | indicates that this is the last element in a dereference chain |
리턴 | DataDictionary.Interpreter.ReturnValue |
public GetReferences ( INamable instance, BaseFilter expectation, bool last ) : DataDictionary.Interpreter.ReturnValue | ||
instance | INamable | the instance on which this element should be found. |
expectation | BaseFilter | the expectation on the element found |
last | bool | indicates that this is the last element in a dereference chain |
리턴 | DataDictionary.Interpreter.ReturnValue |
protected abstract GetValue ( DataDictionary.Interpreter.InterpretationContext context, |
||
context | DataDictionary.Interpreter.InterpretationContext | The context on which the value must be found |
explain | ||
리턴 | IValue |
public GetVariable ( DataDictionary.Interpreter.InterpretationContext context ) : IVariable | ||
context | DataDictionary.Interpreter.InterpretationContext | The context on which the variable must be found |
리턴 | IVariable |
public SemanticAnalysis ( BaseFilter expectation ) : bool | ||
expectation | BaseFilter | |
리턴 | bool |
public SemanticAnalysis ( INamable instance = null ) : bool | ||
instance | INamable | the reference instance on which this element should analysed |
리턴 | bool |
public SemanticAnalysis ( INamable instance, BaseFilter expectation ) : bool | ||
instance | INamable | the reference instance on which this element should analysed |
expectation | BaseFilter | Indicates the kind of element we are looking for |
리턴 | bool |