Semant
Class Type.Print
java.lang.Object
Semant.Type.Print
- All Implemented Interfaces:
- Type.Visitor
- Enclosing class:
- Type
public static class Type.Print
- extends java.lang.Object
- implements Type.Visitor
A visitor to print types.
Constructor Summary |
Type.Print(java.io.PrintWriter o)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Type.Print
public Type.Print(java.io.PrintWriter o)
visit
public void visit(Type.ARRAY n)
- Specified by:
visit
in interface Type.Visitor
visit
public void visit(Semant.Type.Primitive n)
- Specified by:
visit
in interface Type.Visitor
visit
public void visit(Type.CLASS n)
- Specified by:
visit
in interface Type.Visitor
visit
public void visit(Type.FUN n)
- Specified by:
visit
in interface Type.Visitor
visit
public void visit(Type.INSTANCE n)
- Specified by:
visit
in interface Type.Visitor
visit
public <T extends Type> void visit(Type.RECORD<T> n)
- Specified by:
visit
in interface Type.Visitor