3 import java_cup.runtime.Symbol;
6 class BooleanLiteral extends Literal {
8 BooleanLiteral(boolean b) {
9 this.val = new Boolean(b);
13 return new Symbol(Sym.BOOLEAN_LITERAL, val);
16 public String toString() {
17 return "BooleanLiteral <"+val.toString()+">";