class PostorderToString extends java.lang.Object implements ExprVisitor<java.lang.StringBuilder>
Modifier and Type | Field and Description |
---|---|
(package private) java.lang.StringBuilder |
b |
Constructor and Description |
---|
PostorderToString() |
Modifier and Type | Method and Description |
---|---|
java.lang.StringBuilder |
visitBinOp(Expr l,
Op op,
Expr r) |
java.lang.StringBuilder |
visitConst(int c) |
java.lang.StringBuilder b
PostorderToString()
public java.lang.StringBuilder visitConst(int c)
visitConst
in interface ExprVisitor<java.lang.StringBuilder>
public java.lang.StringBuilder visitBinOp(Expr l, Op op, Expr r)
visitBinOp
in interface ExprVisitor<java.lang.StringBuilder>