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