This commit was manufactured by cvs2svn to create tag 'buildscript'.
[IRC.git] /
1 package Lex;
2
3 import java_cup.runtime.Symbol;
4
5 class BooleanLiteral extends Literal {
6   Boolean val;
7   BooleanLiteral(boolean b) { this.val = new Boolean(b); }
8
9   Symbol token() { return new Symbol(Sym.BOOLEAN_LITERAL, val); }
10
11   public String toString() { return "BooleanLiteral <"+val.toString()+">"; }
12 }