KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > jfun > parsec > tokens > TokenType


1 package jfun.parsec.tokens;
2
3 /**
4  * This represents all pre-built token types.
5  * <p>
6  * @author Ben Yu
7  * Apr 27, 2006 8:59:13 PM
8  */

9 public enum TokenType {
10   /**
11    * reserved word
12    */

13   Reserved,
14   /**
15    * regular word
16    */

17   Word,
18   /**
19    * integral number literal
20    */

21   Integer,
22   /**
23    * decimal number literal
24    */

25   Decimal
26 }
27
Popular Tags