C# Class DataDictionary.Interpreter.Statement.VariableUpdateStatement

Inheritance: DataDictionary.Interpreter.Statement.Statement
Mostra file Open project: ERTMSSolutions/ERTMSFormalSpecs Class Usage Examples

Public Methods

Method Description
AffectedElement ( ) : ModelElement

Provides the main model elemnt affected by this statement

CheckStatement ( ) : void

Checks the statement for semantical errors

GetChanges ( InterpretationContext context, DataDictionary.Rules.ChangeList changes, ExplanationPart explanation, bool apply, DataDictionary.Tests.Runner.Runner runner ) : void

Provides the changes performed by this statement

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

Builds the explanation of the element

Modifies ( ITypedElement variable ) : VariableUpdateStatement

Provides the statement which modifies the element

ReadElements ( List retVal ) : void

Provides the list of elements read by this statement

SemanticAnalysis ( INamable instance = null ) : bool

Performs the semantic analysis of the statement

ShortShortDescription ( ) : string

Provides a real short description of this statement

UpdateStatements ( List retVal ) : void

Provides the list of update statements induced by this statement

VariableUpdateStatement ( ModelElement root, ModelElement log, Expression variableIdentification, Expression expression, ParsingData parsingData ) : System.Collections.Generic

Constructor

Method Details

AffectedElement() public method

Provides the main model elemnt affected by this statement
public AffectedElement ( ) : ModelElement
return ModelElement

CheckStatement() public method

Checks the statement for semantical errors
public CheckStatement ( ) : void
return void

GetChanges() public method

Provides the changes performed by this statement
public GetChanges ( InterpretationContext context, DataDictionary.Rules.ChangeList changes, ExplanationPart explanation, bool apply, DataDictionary.Tests.Runner.Runner runner ) : void
context InterpretationContext The context on which the changes should be computed
changes DataDictionary.Rules.ChangeList The list to fill with the changes
explanation ExplanationPart The explanatino to fill, if any
apply bool Indicates that the changes should be applied immediately
runner DataDictionary.Tests.Runner.Runner
return void

GetExplain() public method

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)
return void

Modifies() public method

Provides the statement which modifies the element
public Modifies ( ITypedElement variable ) : VariableUpdateStatement
variable ITypedElement
return VariableUpdateStatement

ReadElements() public method

Provides the list of elements read by this statement
public ReadElements ( List retVal ) : void
retVal List the list to fill
return void

SemanticAnalysis() public method

Performs the semantic analysis of the statement
public SemanticAnalysis ( INamable instance = null ) : bool
instance INamable the reference instance on which this element should analysed
return bool

ShortShortDescription() public method

Provides a real short description of this statement
public ShortShortDescription ( ) : string
return string

UpdateStatements() public method

Provides the list of update statements induced by this statement
public UpdateStatements ( List retVal ) : void
retVal List the list to fill
return void

VariableUpdateStatement() public method

Constructor
public VariableUpdateStatement ( ModelElement root, ModelElement log, Expression variableIdentification, Expression expression, ParsingData parsingData ) : System.Collections.Generic
root ModelElement The root element for which this element is built
log ModelElement
variableIdentification Expression
expression Expression
parsingData ParsingData Additional information about the parsing process
return System.Collections.Generic