C# 클래스 NVelocity.Runtime.Visitor.NodeViewMode

This class is simply a visitor implementation that traverses the AST, produced by the Velocity parsing process, and creates a visual structure of the AST. This is primarily used for debugging, but it useful for documentation as well. *
상속: BaseVisitor
파일 보기 프로젝트 열기: nats/castle-1.0.3-mono

공개 메소드들

메소드 설명
Visit ( ASTAddNode node, Object data ) : Object

Display an ASTAddNode ( + )

Visit ( ASTAndNode node, Object data ) : Object

Display an ASTAndNode ( && )

Visit ( NVelocity.Runtime.Parser.Node.ASTAssignment node, Object data ) : Object

Display an ASTAssignment node ( = )

Visit ( NVelocity.Runtime.Parser.Node.ASTBlock node, Object data ) : Object

Display an ASTBlock node

Visit ( ASTDirective node, Object data ) : Object
Visit ( ASTDivNode node, Object data ) : Object

Display an ASTDivNode ( / )

Visit ( ASTEQNode node, Object data ) : Object

Display an ASTEQNode ( == )

Visit ( NVelocity.Runtime.Parser.Node.ASTElseIfStatement node, Object data ) : Object

Display an ASTElseIfStatement node

Visit ( NVelocity.Runtime.Parser.Node.ASTElseStatement node, Object data ) : Object

Display an ASTElseStatement node

Visit ( NVelocity.Runtime.Parser.Node.ASTExpression node, Object data ) : Object

Display an ASTExpression node

Visit ( NVelocity.Runtime.Parser.Node.ASTFalse node, Object data ) : Object

Display an ASTFalse node

Visit ( ASTGENode node, Object data ) : Object

Display an ASTGENode ( >= )

Visit ( ASTGTNode node, Object data ) : Object

Display an ASTGTNode ( > )

Visit ( ASTIdentifier node, Object data ) : Object

Display an ASTIdentifier node

Visit ( ASTIfStatement node, Object data ) : Object

Display an ASTIfStatement node

Visit ( ASTLENode node, Object data ) : Object

Display an ASTLENode ( <= )

Visit ( ASTLTNode node, Object data ) : Object

Display an ASTLTNode ( < )

Visit ( ASTMethod node, Object data ) : Object

Display an ASTMethod node

Visit ( ASTModNode node, Object data ) : Object

Display an ASTModNode ( % )

Visit ( ASTMulNode node, Object data ) : Object

Display an ASTMulNode ( * )

Visit ( ASTNENode node, Object data ) : Object

Display an ASTNENode ( != )

Visit ( ASTNotNode node, Object data ) : Object

Display an ASTNotNode ( ! )

Visit ( ASTNumberLiteral node, Object data ) : Object

Display an ASTNumberLiteral node

Visit ( NVelocity.Runtime.Parser.Node.ASTObjectArray node, Object data ) : Object
Visit ( ASTOrNode node, Object data ) : Object

Display an ASTOrNode ( || )

Visit ( ASTReference node, Object data ) : Object

Display an ASTReference node

Visit ( ASTSetDirective node, Object data ) : Object
Visit ( ASTStringLiteral node, Object data ) : Object

Display an ASTStringLiteral node

Visit ( ASTSubtractNode node, Object data ) : Object

Display an ASTSubtractNode ( - )

Visit ( NVelocity.Runtime.Parser.Node.ASTText node, Object data ) : Object

Display an ASTText node

Visit ( NVelocity.Runtime.Parser.Node.ASTTrue node, Object data ) : Object

Display an ASTTrue node

Visit ( NVelocity.Runtime.Parser.Node.ASTWord node, Object data ) : Object
Visit ( NVelocity.Runtime.Parser.Node.ASTprocess node, Object data ) : Object

Display an ASTprocess node

Visit ( NVelocity.Runtime.Parser.Node.SimpleNode node, Object data ) : Object

Display a SimpleNode

비공개 메소드들

메소드 설명
IndentString ( ) : String

Indent child nodes to help visually identify the structure of the AST.

ShowNode ( INode node, Object data ) : Object

Display the type of nodes and optionally the first token.

메소드 상세

Visit() 공개 메소드

Display an ASTAddNode ( + )
public Visit ( ASTAddNode node, Object data ) : Object
node NVelocity.Runtime.Parser.Node.ASTAddNode
data Object
리턴 Object

Visit() 공개 메소드

Display an ASTAndNode ( && )
public Visit ( ASTAndNode node, Object data ) : Object
node NVelocity.Runtime.Parser.Node.ASTAndNode
data Object
리턴 Object

Visit() 공개 메소드

Display an ASTAssignment node ( = )
public Visit ( NVelocity.Runtime.Parser.Node.ASTAssignment node, Object data ) : Object
node NVelocity.Runtime.Parser.Node.ASTAssignment
data Object
리턴 Object

Visit() 공개 메소드

Display an ASTBlock node
public Visit ( NVelocity.Runtime.Parser.Node.ASTBlock node, Object data ) : Object
node NVelocity.Runtime.Parser.Node.ASTBlock
data Object
리턴 Object

Visit() 공개 메소드

public Visit ( ASTDirective node, Object data ) : Object
node NVelocity.Runtime.Parser.Node.ASTDirective
data Object
리턴 Object

Visit() 공개 메소드

Display an ASTDivNode ( / )
public Visit ( ASTDivNode node, Object data ) : Object
node NVelocity.Runtime.Parser.Node.ASTDivNode
data Object
리턴 Object

Visit() 공개 메소드

Display an ASTEQNode ( == )
public Visit ( ASTEQNode node, Object data ) : Object
node NVelocity.Runtime.Parser.Node.ASTEQNode
data Object
리턴 Object

Visit() 공개 메소드

Display an ASTElseIfStatement node
public Visit ( NVelocity.Runtime.Parser.Node.ASTElseIfStatement node, Object data ) : Object
node NVelocity.Runtime.Parser.Node.ASTElseIfStatement
data Object
리턴 Object

Visit() 공개 메소드

Display an ASTElseStatement node
public Visit ( NVelocity.Runtime.Parser.Node.ASTElseStatement node, Object data ) : Object
node NVelocity.Runtime.Parser.Node.ASTElseStatement
data Object
리턴 Object

Visit() 공개 메소드

Display an ASTExpression node
public Visit ( NVelocity.Runtime.Parser.Node.ASTExpression node, Object data ) : Object
node NVelocity.Runtime.Parser.Node.ASTExpression
data Object
리턴 Object

Visit() 공개 메소드

Display an ASTFalse node
public Visit ( NVelocity.Runtime.Parser.Node.ASTFalse node, Object data ) : Object
node NVelocity.Runtime.Parser.Node.ASTFalse
data Object
리턴 Object

Visit() 공개 메소드

Display an ASTGENode ( >= )
public Visit ( ASTGENode node, Object data ) : Object
node NVelocity.Runtime.Parser.Node.ASTGENode
data Object
리턴 Object

Visit() 공개 메소드

Display an ASTGTNode ( > )
public Visit ( ASTGTNode node, Object data ) : Object
node NVelocity.Runtime.Parser.Node.ASTGTNode
data Object
리턴 Object

Visit() 공개 메소드

Display an ASTIdentifier node
public Visit ( ASTIdentifier node, Object data ) : Object
node NVelocity.Runtime.Parser.Node.ASTIdentifier
data Object
리턴 Object

Visit() 공개 메소드

Display an ASTIfStatement node
public Visit ( ASTIfStatement node, Object data ) : Object
node NVelocity.Runtime.Parser.Node.ASTIfStatement
data Object
리턴 Object

Visit() 공개 메소드

Display an ASTLENode ( <= )
public Visit ( ASTLENode node, Object data ) : Object
node NVelocity.Runtime.Parser.Node.ASTLENode
data Object
리턴 Object

Visit() 공개 메소드

Display an ASTLTNode ( < )
public Visit ( ASTLTNode node, Object data ) : Object
node NVelocity.Runtime.Parser.Node.ASTLTNode
data Object
리턴 Object

Visit() 공개 메소드

Display an ASTMethod node
public Visit ( ASTMethod node, Object data ) : Object
node NVelocity.Runtime.Parser.Node.ASTMethod
data Object
리턴 Object

Visit() 공개 메소드

Display an ASTModNode ( % )
public Visit ( ASTModNode node, Object data ) : Object
node NVelocity.Runtime.Parser.Node.ASTModNode
data Object
리턴 Object

Visit() 공개 메소드

Display an ASTMulNode ( * )
public Visit ( ASTMulNode node, Object data ) : Object
node NVelocity.Runtime.Parser.Node.ASTMulNode
data Object
리턴 Object

Visit() 공개 메소드

Display an ASTNENode ( != )
public Visit ( ASTNENode node, Object data ) : Object
node NVelocity.Runtime.Parser.Node.ASTNENode
data Object
리턴 Object

Visit() 공개 메소드

Display an ASTNotNode ( ! )
public Visit ( ASTNotNode node, Object data ) : Object
node NVelocity.Runtime.Parser.Node.ASTNotNode
data Object
리턴 Object

Visit() 공개 메소드

Display an ASTNumberLiteral node
public Visit ( ASTNumberLiteral node, Object data ) : Object
node NVelocity.Runtime.Parser.Node.ASTNumberLiteral
data Object
리턴 Object

Visit() 공개 메소드

public Visit ( NVelocity.Runtime.Parser.Node.ASTObjectArray node, Object data ) : Object
node NVelocity.Runtime.Parser.Node.ASTObjectArray
data Object
리턴 Object

Visit() 공개 메소드

Display an ASTOrNode ( || )
public Visit ( ASTOrNode node, Object data ) : Object
node NVelocity.Runtime.Parser.Node.ASTOrNode
data Object
리턴 Object

Visit() 공개 메소드

Display an ASTReference node
public Visit ( ASTReference node, Object data ) : Object
node NVelocity.Runtime.Parser.Node.ASTReference
data Object
리턴 Object

Visit() 공개 메소드

public Visit ( ASTSetDirective node, Object data ) : Object
node NVelocity.Runtime.Parser.Node.ASTSetDirective
data Object
리턴 Object

Visit() 공개 메소드

Display an ASTStringLiteral node
public Visit ( ASTStringLiteral node, Object data ) : Object
node NVelocity.Runtime.Parser.Node.ASTStringLiteral
data Object
리턴 Object

Visit() 공개 메소드

Display an ASTSubtractNode ( - )
public Visit ( ASTSubtractNode node, Object data ) : Object
node NVelocity.Runtime.Parser.Node.ASTSubtractNode
data Object
리턴 Object

Visit() 공개 메소드

Display an ASTText node
public Visit ( NVelocity.Runtime.Parser.Node.ASTText node, Object data ) : Object
node NVelocity.Runtime.Parser.Node.ASTText
data Object
리턴 Object

Visit() 공개 메소드

Display an ASTTrue node
public Visit ( NVelocity.Runtime.Parser.Node.ASTTrue node, Object data ) : Object
node NVelocity.Runtime.Parser.Node.ASTTrue
data Object
리턴 Object

Visit() 공개 메소드

public Visit ( NVelocity.Runtime.Parser.Node.ASTWord node, Object data ) : Object
node NVelocity.Runtime.Parser.Node.ASTWord
data Object
리턴 Object

Visit() 공개 메소드

Display an ASTprocess node
public Visit ( NVelocity.Runtime.Parser.Node.ASTprocess node, Object data ) : Object
node NVelocity.Runtime.Parser.Node.ASTprocess
data Object
리턴 Object

Visit() 공개 메소드

Display a SimpleNode
public Visit ( NVelocity.Runtime.Parser.Node.SimpleNode node, Object data ) : Object
node NVelocity.Runtime.Parser.Node.SimpleNode
data Object
리턴 Object