public class AbstractParseTreeVisitor extends java.lang.Object implements ParseTreeVisitor
ASTPtRootNode
Red (cxh) |
Red (neuendor) |
Constructor and Description |
---|
AbstractParseTreeVisitor() |
public void visitArrayConstructNode(ASTPtArrayConstructNode node) throws IllegalActionException
visitArrayConstructNode
in interface ParseTreeVisitor
IllegalActionException
public void visitAssignmentNode(ASTPtAssignmentNode node) throws IllegalActionException
visitAssignmentNode
in interface ParseTreeVisitor
IllegalActionException
public void visitBitwiseNode(ASTPtBitwiseNode node) throws IllegalActionException
visitBitwiseNode
in interface ParseTreeVisitor
IllegalActionException
public void visitFunctionApplicationNode(ASTPtFunctionApplicationNode node) throws IllegalActionException
visitFunctionApplicationNode
in interface ParseTreeVisitor
IllegalActionException
public void visitFunctionDefinitionNode(ASTPtFunctionDefinitionNode node) throws IllegalActionException
visitFunctionDefinitionNode
in interface ParseTreeVisitor
IllegalActionException
public void visitFunctionalIfNode(ASTPtFunctionalIfNode node) throws IllegalActionException
visitFunctionalIfNode
in interface ParseTreeVisitor
IllegalActionException
public void visitLeafNode(ASTPtLeafNode node) throws IllegalActionException
visitLeafNode
in interface ParseTreeVisitor
IllegalActionException
public void visitLogicalNode(ASTPtLogicalNode node) throws IllegalActionException
visitLogicalNode
in interface ParseTreeVisitor
IllegalActionException
public void visitMatrixConstructNode(ASTPtMatrixConstructNode node) throws IllegalActionException
visitMatrixConstructNode
in interface ParseTreeVisitor
IllegalActionException
public void visitMethodCallNode(ASTPtMethodCallNode node) throws IllegalActionException
visitMethodCallNode
in interface ParseTreeVisitor
IllegalActionException
public void visitPowerNode(ASTPtPowerNode node) throws IllegalActionException
visitPowerNode
in interface ParseTreeVisitor
IllegalActionException
public void visitProductNode(ASTPtProductNode node) throws IllegalActionException
visitProductNode
in interface ParseTreeVisitor
IllegalActionException
public void visitRecordConstructNode(ASTPtRecordConstructNode node) throws IllegalActionException
visitRecordConstructNode
in interface ParseTreeVisitor
IllegalActionException
public void visitRelationalNode(ASTPtRelationalNode node) throws IllegalActionException
visitRelationalNode
in interface ParseTreeVisitor
IllegalActionException
public void visitShiftNode(ASTPtShiftNode node) throws IllegalActionException
visitShiftNode
in interface ParseTreeVisitor
IllegalActionException
public void visitSumNode(ASTPtSumNode node) throws IllegalActionException
visitSumNode
in interface ParseTreeVisitor
IllegalActionException
public void visitUnaryNode(ASTPtUnaryNode node) throws IllegalActionException
visitUnaryNode
in interface ParseTreeVisitor
IllegalActionException
public void visitUnionConstructNode(ASTPtUnionConstructNode node) throws IllegalActionException
visitUnionConstructNode
in interface ParseTreeVisitor
IllegalActionException
protected IllegalActionException _unsupportedVisitException(java.lang.String name)
name
- The name of the node type.protected void _visitAllChildren(ASTPtRootNode node) throws IllegalActionException
node
- The node whose children are to be looped through.IllegalActionException
- If thrown while visiting a child
node.protected void _visitChild(ASTPtRootNode node, int i) throws IllegalActionException
node
- The node.i
- The index of the child to be visited.IllegalActionException
- If thrown while visiting a child
node.