C# Class DataDictionary.Interpreter.Refactor.RefactorTree

This visitor is used to handle refactoring of expressions.
Inheritance: DataDictionary.Interpreter.Refactor.BaseRefactorTree
Afficher le fichier Open project: ERTMSSolutions/ERTMSFormalSpecs Class Usage Examples

Private Properties

Свойство Type Description
ReplaceNonTerminal bool
ResetRemoveIndexes void

Méthodes publiques

Méthode Description
RefactorTree ( ModelElement reference, ModelElement user ) : System

Constructor

Méthodes protégées

Méthode Description
VisitDerefExpression ( DerefExpression derefExpression ) : void
VisitDesignator ( Designator designator ) : void
VisitStructExpression ( StructExpression structExpression ) : void

Visits a struct expression

Private Methods

Méthode Description
ReplaceNonTerminal ( InterpreterTreeNode treeNode, ModelElement referencedElement ) : bool

Removes the prefix according to the StartRemove and EndRemove values

ResetRemoveIndexes ( ) : void

Resets the StartRemove and EndRemove indexes to their default value (meaning : no removal)

Method Details

RefactorTree() public méthode

Constructor
public RefactorTree ( ModelElement reference, ModelElement user ) : System
reference ModelElement /// The specific reference to replace. If null, all references to a dictionary element should be /// updated ///
user ModelElement
Résultat System

VisitDerefExpression() protected méthode

protected VisitDerefExpression ( DerefExpression derefExpression ) : void
derefExpression DerefExpression
Résultat void

VisitDesignator() protected méthode

protected VisitDesignator ( Designator designator ) : void
designator Designator
Résultat void

VisitStructExpression() protected méthode

Visits a struct expression
protected VisitStructExpression ( StructExpression structExpression ) : void
structExpression StructExpression
Résultat void