C# Class DataDictionary.Interpreter.Compiler.Compiler

Compiles all expressions and statements located in the model & tests
Inheritance: Generated.Visitor
Afficher le fichier Open project: ERTMSSolutions/ERTMSFormalSpecs

Private Properties

Свойство Type Description
RefactorElement void

Méthodes publiques

Méthode Description
CleanUpModel ( ) : void

Clean up model by removing all useless prefixes

Compile_Synchronous ( bool rebuild, bool silent = false ) : void

Performs a synchronous compilation

Refactor ( ModelElement element, string newName ) : void

Modifies the system according to the new element definition

RefactorAndRelocate ( ModelElement model ) : void

Performs a refactoring of the model then ensure that the namespaces in its inner elements are correct

RefactorIExpressionable ( ModelElement element, IExpressionable user ) : void

Refactors an element which can hold an expression

RefactorTypedElement ( ModelElement element, ITypedElement user ) : void

Refactors an element which has a type

visit ( BaseModelElement obj, bool visitSubNodes ) : void
visit ( Generated obj, bool visitSubNodes ) : void

Private Methods

Méthode Description
RefactorElement ( ModelElement element, string originalName, string newName ) : void

Refactors a single element

Method Details

CleanUpModel() public méthode

Clean up model by removing all useless prefixes
public CleanUpModel ( ) : void
Résultat void

Compile_Synchronous() public méthode

Performs a synchronous compilation
public Compile_Synchronous ( bool rebuild, bool silent = false ) : void
rebuild bool
silent bool
Résultat void

Refactor() public méthode

Modifies the system according to the new element definition
public Refactor ( ModelElement element, string newName ) : void
element ModelElement The element that has been modified, and for which refactoring is done
newName string The new element name
Résultat void

RefactorAndRelocate() public méthode

Performs a refactoring of the model then ensure that the namespaces in its inner elements are correct
public RefactorAndRelocate ( ModelElement model ) : void
model ModelElement
Résultat void

RefactorIExpressionable() public static méthode

Refactors an element which can hold an expression
public static RefactorIExpressionable ( ModelElement element, IExpressionable user ) : void
element ModelElement The element that has been modified, and for which refactoring is done
user IExpressionable The user, which can hold an expression
Résultat void

RefactorTypedElement() public static méthode

Refactors an element which has a type
public static RefactorTypedElement ( ModelElement element, ITypedElement user ) : void
element ModelElement The element that has been modified
user ITypedElement The user which references this type
Résultat void

visit() public méthode

public visit ( BaseModelElement obj, bool visitSubNodes ) : void
obj DataDictionary.Generated.BaseModelElement
visitSubNodes bool
Résultat void

visit() public méthode

public visit ( Generated obj, bool visitSubNodes ) : void
obj Generated
visitSubNodes bool
Résultat void