C# 클래스 DataDictionary.Interpreter.ListOperators.SumExpression

상속: DataDictionary.Interpreter.ListOperators.ExpressionBasedListExpression
파일 보기 프로젝트 열기: ERTMSSolutions/ERTMSFormalSpecs 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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