3 class IfStatementNode extends BlockStatementNode {
8 public IfStatementNode(ExpressionNode cond, BlockNode true_st, BlockNode else_st) {
14 public String printNode(int indent) {
16 return "if("+cond.printNode(indent)+") "+true_st.printNode(indent);
18 return "if("+cond.printNode(indent)+") "+true_st.printNode(indent)+" else "+ else_st.printNode(indent);