add more comments
[IRC.git] / Robust / src / Lex / IntegerLiteral.java
1 package Lex;
2
3 import java_cup.runtime.Symbol;
4 import Parse.Sym;
5
6 class IntegerLiteral extends NumericLiteral {
7   IntegerLiteral(int i) { this.val = new Integer(i); }
8
9   Symbol token() { return new Symbol(Sym.INTEGER_LITERAL, val); }
10 }