C# Class DataDictionary.Interpreter.ListOperators.SumExpression

Inheritance: DataDictionary.Interpreter.ListOperators.ExpressionBasedListExpression
Afficher le fichier Open project: ERTMSSolutions/ERTMSFormalSpecs Class Usage Examples

Méthodes publiques

Свойство Type Description
Operator string

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
CheckExpression ( ) : void

Checks the expression and appends errors to the root tree node when inconsistencies are found

GetExplain ( TextualExplanation explanation, bool explainSubElements = true ) : void

Builds the explanation of the element

GetExpressionType ( ) : DataDictionary.Types.Type

Provides the type of this expression

SemanticAnalysis ( INamable instance, DataDictionary.Interpreter.Filter.BaseFilter expectation ) : bool

Performs the semantic analysis of the expression

SumExpression ( ModelElement root, ModelElement log, Expression listExpression, string iteratorVariableName, Expression condition, Expression expression, ParsingData parsingData ) : DataDictionary.Interpreter.Filter

Constructor

Méthodes protégées

Méthode Description
GetValue ( InterpretationContext context, ExplanationPart explain ) : IValue

Provides the value associated to this Expression

Method Details

CheckExpression() public méthode

Checks the expression and appends errors to the root tree node when inconsistencies are found
public CheckExpression ( ) : void
Résultat void

GetExplain() public méthode

Builds the explanation of the element
public GetExplain ( TextualExplanation explanation, bool explainSubElements = true ) : void
explanation TextualExplanation
explainSubElements bool Precises if we need to explain the sub elements (if any)
Résultat void

GetExpressionType() public méthode

Provides the type of this expression
public GetExpressionType ( ) : DataDictionary.Types.Type
Résultat DataDictionary.Types.Type

GetValue() protected méthode

Provides the value associated to this Expression
protected GetValue ( InterpretationContext context, ExplanationPart explain ) : IValue
context InterpretationContext The context on which the value must be found
explain ExplanationPart The explanation to fill, if any
Résultat IValue

SemanticAnalysis() public méthode

Performs the semantic analysis of the expression
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
Résultat bool

SumExpression() public méthode

Constructor
public SumExpression ( ModelElement root, ModelElement log, Expression listExpression, string iteratorVariableName, Expression condition, Expression expression, ParsingData parsingData ) : DataDictionary.Interpreter.Filter
root ModelElement the root element for which this expression should be parsed
log ModelElement
listExpression Expression
iteratorVariableName string
condition Expression
expression Expression
parsingData ParsingData Additional information about the parsing process
Résultat DataDictionary.Interpreter.Filter

Property Details

Operator public_oe static_oe property

The operator for this expression
public static string Operator
Résultat string