C# Класс DataDictionary.Interpreter.ListOperators.SumExpression

Наследование: DataDictionary.Interpreter.ListOperators.ExpressionBasedListExpression
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Operator string

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
GetValue ( InterpretationContext context, ExplanationPart explain ) : IValue

Provides the value associated to this Expression

Описание методов

CheckExpression() публичный Метод

Checks the expression and appends errors to the root tree node when inconsistencies are found
public CheckExpression ( ) : void
Результат void

GetExplain() публичный Метод

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)
Результат void

GetExpressionType() публичный Метод

Provides the type of this expression
public GetExpressionType ( ) : DataDictionary.Types.Type
Результат DataDictionary.Types.Type

GetValue() защищенный Метод

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
Результат IValue

SemanticAnalysis() публичный Метод

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
Результат bool

SumExpression() публичный Метод

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
Результат DataDictionary.Interpreter.Filter

Описание свойств

Operator публичное статическое свойство

The operator for this expression
public static string Operator
Результат string