Class NodePrinter
java.lang.Object
org.ek9lang.compiler.common.NodePrinter
- All Implemented Interfaces:
INodeVisitor
Just to enable viewing and printing of nodes.
There will be other visitors including those for code generation.
But this is focussed on enabling the viewing of node structures to ensure
the right structures are being created.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
visit
(BasicBlockInstr basicBlock) void
void
visit
(IRConstruct construct) void
void
visit
(OperationInstr operation) void
visit
(ProgramEntryPointInstr programEntryPoint) Visit ProgramEntryPointInstr to display the program entry point block.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface INodeVisitor
visit
-
Constructor Details
-
NodePrinter
-
-
Method Details
-
visit
- Specified by:
visit
in interfaceINodeVisitor
-
visit
- Specified by:
visit
in interfaceINodeVisitor
-
visit
- Specified by:
visit
in interfaceINodeVisitor
-
visit
- Specified by:
visit
in interfaceINodeVisitor
-
visit
- Specified by:
visit
in interfaceINodeVisitor
-
visit
Visit ProgramEntryPointInstr to display the program entry point block.
-