#include <ast.h>
Inheritance diagram for jumpNode::
Public Methods | |
jumpNode (NodeType typ, const Coord coord) | |
Create a new jump statement. More... | |
virtual | ~jumpNode () |
Destroy a jumpNode. More... |
This class provides a base class for the statements that jump to another location unconditionally. This includes goto statements, break statements, and continue statements.
The NodeType is determined by the subclass (Goto, Break Continue)
|
Create a new jump statement. The new jump statement has the given type. This constructor should only be used by the subclasses (gotoNode, breakNode and continueNode).
|
|
Destroy a jumpNode.
|