KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > javacc > parser > RegExprSpec


1 /*
2  * Copyright © 2002 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
3  * California 95054, U.S.A. All rights reserved. Sun Microsystems, Inc. has
4  * intellectual property rights relating to technology embodied in the product
5  * that is described in this document. In particular, and without limitation,
6  * these intellectual property rights may include one or more of the U.S.
7  * patents listed at http://www.sun.com/patents and one or more additional
8  * patents or pending patent applications in the U.S. and in other countries.
9  * U.S. Government Rights - Commercial software. Government users are subject
10  * to the Sun Microsystems, Inc. standard license agreement and applicable
11  * provisions of the FAR and its supplements. Use is subject to license terms.
12  * Sun, Sun Microsystems, the Sun logo and Java are trademarks or registered
13  * trademarks of Sun Microsystems, Inc. in the U.S. and other countries. This
14  * product is covered and controlled by U.S. Export Control laws and may be
15  * subject to the export or import laws in other countries. Nuclear, missile,
16  * chemical biological weapons or nuclear maritime end uses or end users,
17  * whether direct or indirect, are strictly prohibited. Export or reexport
18  * to countries subject to U.S. embargo or to entities identified on U.S.
19  * export exclusion lists, including, but not limited to, the denied persons
20  * and specially designated nationals lists is strictly prohibited.
21  */

22
23 package org.javacc.parser;
24
25 /**
26  * The object type of entries in the vector "respecs" of class
27  * "TokenProduction".
28  */

29
30 public class RegExprSpec {
31
32   /**
33    * The regular expression of this specification.
34    */

35   public RegularExpression rexp;
36
37   /**
38    * The action corresponding to this specification.
39    */

40   public Action act;
41
42   /**
43    * The next state corresponding to this specification. If no
44    * next state has been specified, this field is set to "null".
45    */

46   public String JavaDoc nextState;
47
48   /**
49    * If the next state specification was explicit in the previous
50    * case, then this token is that of the identifier denoting
51    * the next state. This is used for location information, etc.
52    * in error reporting.
53    */

54   public Token nsTok;
55
56 }
57
Popular Tags