change
[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) {
8     this.val = new Integer(i);
9   }
10
11   Symbol token() {
12     return new Symbol(Sym.INTEGER_LITERAL, val);
13   }
14 }