C# Класс DataDictionary.Interpreter.Statement.InsertStatement

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

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

Метод Описание
AffectedElement ( ) : ModelElement

Provides the main model elemnt affected by this statement

CheckStatement ( ) : void

Checks the statement for semantical errors

GetChange ( InterpretationContext context, IVariable variable, ExplanationPart explanation, bool apply, Runner runner ) : DataDictionary.Rules.Change

Provides the change for this insert statement

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

Provides the changes performed by this statement

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

Builds the explanation of the element

InsertStatement ( ModelElement root, ModelElement log, Expression value, Expression listExpression, Expression replaceElement, ParsingData parsingData ) : System.Collections.Generic

Constructor

Modifies ( ITypedElement variable ) : VariableUpdateStatement

Provides the statement which modifies the variable

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

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

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

Provides the main model elemnt affected by this statement
public AffectedElement ( ) : ModelElement
Результат ModelElement

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

Checks the statement for semantical errors
public CheckStatement ( ) : void
Результат void

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

Provides the change for this insert statement
public GetChange ( InterpretationContext context, IVariable variable, ExplanationPart explanation, bool apply, Runner runner ) : DataDictionary.Rules.Change
context InterpretationContext
variable IVariable
explanation ExplanationPart
apply bool
runner Runner
Результат DataDictionary.Rules.Change

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

Provides the changes performed by this statement
public GetChanges ( InterpretationContext context, DataDictionary.Rules.ChangeList changes, ExplanationPart explanation, bool apply, 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 Runner
Результат 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

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

Constructor
public InsertStatement ( ModelElement root, ModelElement log, Expression value, Expression listExpression, Expression replaceElement, ParsingData parsingData ) : System.Collections.Generic
root ModelElement The root element for which this element is built
log ModelElement
value Expression The value to insert
listExpression Expression The list to alter
replaceElement Expression The element to be replaced, if any
parsingData ParsingData Additional information about the parsing process
Результат System.Collections.Generic

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

Provides the statement which modifies the variable
public Modifies ( ITypedElement variable ) : VariableUpdateStatement
variable ITypedElement
Результат VariableUpdateStatement

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

Provides the list of elements read by this statement
public ReadElements ( List retVal ) : void
retVal List the list to fill
Результат void

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

Performs the semantic analysis of the statement
public SemanticAnalysis ( INamable instance = null ) : bool
instance INamable the reference instance on which this element should analysed
Результат bool

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

Provides a real short description of this statement
public ShortShortDescription ( ) : string
Результат string

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

Provides the list of update statements induced by this statement
public UpdateStatements ( List retVal ) : void
retVal List the list to fill
Результат void