summaryrefslogtreecommitdiff
path: root/src/main/java/bjc/dicelang/scl/tokens/IntSCLToken.java
blob: 3c77eee605f9adc5593b9adafedd3e8277a24882 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package bjc.dicelang.scl.tokens;

/**
 * Represents an integer token.
 * 
 * @author student
 *
 */
public class IntSCLToken extends SCLToken {
	/**
	 * The integer value of the token.
	 */
	public long intVal;

	/**
	 * Create a new integer token.
	 * 
	 * @param iVal
	 *            The value of the token.
	 */
	public IntSCLToken(final long iVal) {
		super(TokenType.ILIT);

		intVal = iVal;
	}
}