KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*****************************************************************************
2  * Copyright (C) Zephyr Business Solutions Corp. All rights reserved. *
3  * ------------------------------------------------------------------------- *
4  * The software in this package is published under the terms of the BSD *
5  * style license a copy of which has been included with this distribution in *
6  * the LICENSE.txt file. *
7  *****************************************************************************/

8 /*
9  * Created on Nov 20, 2004
10  *
11  * Author Ben Yu
12  */

13 package jfun.parsec.tokens;
14
15 /**
16  * token for any reserved word.
17  *
18  * @author Ben Yu
19  *
20  * Nov 20, 2004
21  */

22 @Deprecated JavaDoc
23 public class TokenReserved extends TypedToken<TokenType>
24 implements java.io.Serializable JavaDoc{
25   /**
26    * Get the value of the reserved word.
27    * @return the value of the reserved word.
28    */

29   public final String JavaDoc getValue(){return getText();}
30   TokenReserved(final String JavaDoc n){
31     super(n, TokenType.Reserved);
32   }
33 }
34
Popular Tags