public abstract class ProgramNodeVisitor extends Object
TreeNode.traverse(ProgramNodeVisitor) to visit all
nodes in the sub-tree under the node on which TreeNode.traverse(com.ur.urcap.api.domain.program.structure.ProgramNodeVisitor) is called.| Constructor and Description |
|---|
ProgramNodeVisitor() |
| Modifier and Type | Method and Description |
|---|---|
void |
visit(AssignmentNode programNode,
int index,
int depth)
This method is called whenever an Assignment node is encountered.
|
void |
visit(CircleMoveNode programNode,
int index,
int depth)
This method is called whenever a Circle Move node is encountered.
|
void |
visit(CommentNode programNode,
int index,
int depth)
This method is called whenever a Comment node is encountered.
|
void |
visit(ElseIfNode programNode,
int index,
int depth)
This method is called whenever an Else-If node is encountered.
|
void |
visit(ElseNode programNode,
int index,
int depth)
This method is called whenever an Else node is encountered.
|
void |
visit(FolderNode programNode,
int index,
int depth)
This method is called whenever a Folder node is encountered.
|
void |
visit(ForceNode programNode,
int index,
int depth)
This method is called whenever a Force node is encountered.
|
void |
visit(HaltNode programNode,
int index,
int depth)
This method is called whenever a Halt node is encountered.
|
void |
visit(IfNode programNode,
int index,
int depth)
This method is called whenever an If node is encountered.
|
void |
visit(LoopNode programNode,
int index,
int depth)
This method is called whenever a Loop node is encountered.
|
void |
visit(MoveNode programNode,
int index,
int depth)
This method is called whenever a Move node is encountered.
|
void |
visit(PalletNode programNode,
int index,
int depth)
This method is called whenever a Pallet node is encountered.
|
void |
visit(PopupNode programNode,
int index,
int depth)
This method is called whenever a Popup node is encountered.
|
void |
visit(SeekNode programNode,
int index,
int depth)
This method is called whenever a Seek node is encountered.
|
void |
visit(SetNode programNode,
int index,
int depth)
This method is called whenever a Set node is encountered.
|
void |
visit(URCapProgramNode programNode,
int index,
int depth)
This method is called whenever a URCap program node is encountered.
|
void |
visit(WaitNode programNode,
int index,
int depth)
This method is called whenever a Wait node is encountered.
|
void |
visit(WaypointNode programNode,
int index,
int depth)
This method is called whenever a Waypoint node is encountered.
|
public void visit(AssignmentNode programNode, int index, int depth)
programNode - The Assignment program node.index - Zero-based index among the program node's siblings (at this depth).depth - Relative depth to the node calling the TreeNode.traverse(ProgramNodeVisitor) (calling node is at depth 0).public void visit(CircleMoveNode programNode, int index, int depth)
programNode - The Circle Move program node.index - Zero-based index among the program node's siblings (at this depth).depth - Relative depth to the node calling the TreeNode.traverse(ProgramNodeVisitor) (calling node is at depth 0).public void visit(CommentNode programNode, int index, int depth)
programNode - The Comment program node.index - Zero-based index among the program node's siblings (at this depth).depth - Relative depth to the node calling the TreeNode.traverse(ProgramNodeVisitor) (calling node is at depth 0).public void visit(ElseIfNode programNode, int index, int depth)
programNode - The Else-If program node.index - Zero-based index among the program node's siblings (at this depth).depth - Relative depth to the node calling the TreeNode.traverse(ProgramNodeVisitor) (calling node is at depth 0).public void visit(ElseNode programNode, int index, int depth)
programNode - The Else program node.index - Zero-based index among the program node's siblings (at this depth).depth - Relative depth to the node calling the TreeNode.traverse(ProgramNodeVisitor) (calling node is at depth 0).public void visit(FolderNode programNode, int index, int depth)
programNode - The Folder program node.index - Zero-based index among the program node's siblings (at this depth).depth - Relative depth to the node calling the TreeNode.traverse(ProgramNodeVisitor) (calling node is at depth 0).public void visit(ForceNode programNode, int index, int depth)
programNode - The Force program node.index - Zero-based index among the program node's siblings (at this depth).depth - Relative depth to the node calling the TreeNode.traverse(ProgramNodeVisitor) (calling node is at depth 0).public void visit(HaltNode programNode, int index, int depth)
programNode - The Halt program node.index - Zero-based index among the program node's siblings (at this depth).depth - Relative depth to the node calling the TreeNode.traverse(ProgramNodeVisitor) (calling node is at depth 0).public void visit(IfNode programNode, int index, int depth)
programNode - The If program node.index - Zero-based index among the program node's siblings (at this depth).depth - Relative depth to the node calling the TreeNode.traverse(ProgramNodeVisitor) (calling node is at depth 0).public void visit(LoopNode programNode, int index, int depth)
programNode - The Loop program node.index - Zero-based index among the program node's siblings (at this depth).depth - Relative depth to the node calling the TreeNode.traverse(ProgramNodeVisitor) (calling node is at depth 0).public void visit(MoveNode programNode, int index, int depth)
programNode - The Move program node.index - Zero-based index among the program node's siblings (at this depth).depth - Relative depth to the node calling the TreeNode.traverse(ProgramNodeVisitor) (calling node is at depth 0).public void visit(PalletNode programNode, int index, int depth)
programNode - The Pallet program node.index - Zero-based index among the program node's siblings (at this depth).depth - Relative depth to the node calling the TreeNode.traverse(ProgramNodeVisitor) (calling node is at depth 0).public void visit(PopupNode programNode, int index, int depth)
programNode - The Popup program node.index - Zero-based index among the program node's siblings (at this depth).depth - Relative depth to the node calling the TreeNode.traverse(ProgramNodeVisitor) (calling node is at depth 0).public void visit(SeekNode programNode, int index, int depth)
programNode - The Seek program node.index - Zero-based index among the program node's siblings (at this depth).depth - Relative depth to the node calling the TreeNode.traverse(ProgramNodeVisitor) (calling node is at depth 0).public void visit(SetNode programNode, int index, int depth)
programNode - The Set program node.index - Zero-based index among the program node's siblings (at this depth).depth - Relative depth to the node calling the TreeNode.traverse(ProgramNodeVisitor) (calling node is at depth 0).public void visit(WaitNode programNode, int index, int depth)
programNode - The Wait program node.index - Zero-based index among the program node's siblings (at this depth).depth - Relative depth to the node calling the TreeNode.traverse(ProgramNodeVisitor) (calling node is at depth 0).public void visit(WaypointNode programNode, int index, int depth)
programNode - The Waypoint program node.index - Zero-based index among the program node's siblings (at this depth).depth - Relative depth to the node calling the TreeNode.traverse(ProgramNodeVisitor) (calling node is at depth 0).public void visit(URCapProgramNode programNode, int index, int depth)
URCapProgramNodeInterfaceVisitor.visitURCapAs(Object, int, int) for visiting specific URCap program nodes.programNode - The URCap program node.index - Zero-based index among the program node's siblings (at this depth).depth - Relative depth to the node calling the TreeNode.traverse(ProgramNodeVisitor) (calling node is at depth 0).Copyright © 2018. All rights reserved.