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 TypeMethodDescriptionvoidvisit(BasicBlockInstr basicBlock) voidvoidvisit(IRConstruct construct) voidvoidvisit(OperationInstr operation) voidvisit(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, waitMethods inherited from interface INodeVisitor
visit
-
Constructor Details
-
NodePrinter
-
-
Method Details
-
visit
- Specified by:
visitin interfaceINodeVisitor
-
visit
- Specified by:
visitin interfaceINodeVisitor
-
visit
- Specified by:
visitin interfaceINodeVisitor
-
visit
- Specified by:
visitin interfaceINodeVisitor
-
visit
- Specified by:
visitin interfaceINodeVisitor
-
visit
Visit ProgramEntryPointInstr to display the program entry point block.
-