C# 클래스 DataDictionary.Interpreter.StructExpression

상속: Expression
파일 보기 프로젝트 열기: ERTMSSolutions/ERTMSFormalSpecs 1 사용 예제들

공개 메소드들

메소드 설명
CheckExpression ( ) : void

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

Fill ( List retVal, DataDictionary.Interpreter.Filter.BaseFilter filter ) : void

Fills the list provided with the element matching the filter provided

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

Builds the explanation of the element

GetExpressionType ( ) : Type

Provides the type of this expression

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

Performs the semantic analysis of the expression

SetAssociation ( Expression>.Dictionary associations ) : void

Setup the variable => value association

StructExpression ( ModelElement root, ModelElement log, Expression structure, Expression>.Dictionary associations, DataDictionary.Interpreter.ParsingData parsingData ) : System.Collections.Generic

Constructor

보호된 메소드들

메소드 설명
GetValue ( DataDictionary.Interpreter.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

Fill() 공개 메소드

Fills the list provided with the element matching the filter provided
public Fill ( List retVal, DataDictionary.Interpreter.Filter.BaseFilter filter ) : void
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

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 ( ) : Type
리턴 DataDictionary.Types.Type

GetValue() 보호된 메소드

Provides the value associated to this Expression
protected GetValue ( DataDictionary.Interpreter.InterpretationContext context, ExplanationPart explain ) : IValue
context DataDictionary.Interpreter.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

SetAssociation() 공개 메소드

Setup the variable => value association
public SetAssociation ( Expression>.Dictionary associations ) : void
associations Expression>.Dictionary
리턴 void

StructExpression() 공개 메소드

Constructor
public StructExpression ( ModelElement root, ModelElement log, Expression structure, Expression>.Dictionary associations, DataDictionary.Interpreter.ParsingData parsingData ) : System.Collections.Generic
root ModelElement
log ModelElement
structure Expression
associations Expression>.Dictionary
parsingData DataDictionary.Interpreter.ParsingData Additional information about the parsing process
리턴 System.Collections.Generic