C# 클래스 DataDictionary.Interpreter.Refactor.RefactorTree

This visitor is used to handle refactoring of expressions.
상속: DataDictionary.Interpreter.Refactor.BaseRefactorTree
파일 보기 프로젝트 열기: ERTMSSolutions/ERTMSFormalSpecs 1 사용 예제들

Private Properties

프로퍼티 타입 설명
ReplaceNonTerminal bool
ResetRemoveIndexes void

공개 메소드들

메소드 설명
RefactorTree ( ModelElement reference, ModelElement user ) : System

Constructor

보호된 메소드들

메소드 설명
VisitDerefExpression ( DerefExpression derefExpression ) : void
VisitDesignator ( Designator designator ) : void
VisitStructExpression ( StructExpression structExpression ) : void

Visits a struct expression

비공개 메소드들

메소드 설명
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)

메소드 상세

RefactorTree() 공개 메소드

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
리턴 System

VisitDerefExpression() 보호된 메소드

protected VisitDerefExpression ( DerefExpression derefExpression ) : void
derefExpression DerefExpression
리턴 void

VisitDesignator() 보호된 메소드

protected VisitDesignator ( Designator designator ) : void
designator Designator
리턴 void

VisitStructExpression() 보호된 메소드

Visits a struct expression
protected VisitStructExpression ( StructExpression structExpression ) : void
structExpression StructExpression
리턴 void