pylucene 3.5.0-3
[pylucene.git] / lucene-java-3.5.0 / lucene / contrib / benchmark / src / java / org / apache / lucene / benchmark / byTask / feeds / demohtml / HTMLParserConstants.java
1 /* Generated By:JavaCC: Do not edit this line. HTMLParserConstants.java */
2 package org.apache.lucene.benchmark.byTask.feeds.demohtml;
3
4
5 /**
6  * Token literal values and constants.
7  * Generated by org.javacc.parser.OtherFilesGen#start()
8  */
9 public interface HTMLParserConstants {
10
11   /** End of File. */
12   int EOF = 0;
13   /** RegularExpression Id. */
14   int ScriptStart = 1;
15   /** RegularExpression Id. */
16   int TagName = 2;
17   /** RegularExpression Id. */
18   int DeclName = 3;
19   /** RegularExpression Id. */
20   int Comment1 = 4;
21   /** RegularExpression Id. */
22   int Comment2 = 5;
23   /** RegularExpression Id. */
24   int Word = 6;
25   /** RegularExpression Id. */
26   int LET = 7;
27   /** RegularExpression Id. */
28   int NUM = 8;
29   /** RegularExpression Id. */
30   int HEX = 9;
31   /** RegularExpression Id. */
32   int Entity = 10;
33   /** RegularExpression Id. */
34   int Space = 11;
35   /** RegularExpression Id. */
36   int SP = 12;
37   /** RegularExpression Id. */
38   int Punct = 13;
39   /** RegularExpression Id. */
40   int ScriptText = 14;
41   /** RegularExpression Id. */
42   int ScriptEnd = 15;
43   /** RegularExpression Id. */
44   int ArgName = 16;
45   /** RegularExpression Id. */
46   int ArgEquals = 17;
47   /** RegularExpression Id. */
48   int TagEnd = 18;
49   /** RegularExpression Id. */
50   int ArgValue = 19;
51   /** RegularExpression Id. */
52   int ArgQuote1 = 20;
53   /** RegularExpression Id. */
54   int ArgQuote2 = 21;
55   /** RegularExpression Id. */
56   int Quote1Text = 23;
57   /** RegularExpression Id. */
58   int CloseQuote1 = 24;
59   /** RegularExpression Id. */
60   int Quote2Text = 25;
61   /** RegularExpression Id. */
62   int CloseQuote2 = 26;
63   /** RegularExpression Id. */
64   int CommentText1 = 27;
65   /** RegularExpression Id. */
66   int CommentEnd1 = 28;
67   /** RegularExpression Id. */
68   int CommentText2 = 29;
69   /** RegularExpression Id. */
70   int CommentEnd2 = 30;
71
72   /** Lexical state. */
73   int DEFAULT = 0;
74   /** Lexical state. */
75   int WithinScript = 1;
76   /** Lexical state. */
77   int WithinTag = 2;
78   /** Lexical state. */
79   int AfterEquals = 3;
80   /** Lexical state. */
81   int WithinQuote1 = 4;
82   /** Lexical state. */
83   int WithinQuote2 = 5;
84   /** Lexical state. */
85   int WithinComment1 = 6;
86   /** Lexical state. */
87   int WithinComment2 = 7;
88
89   /** Literal token values. */
90   String[] tokenImage = {
91     "<EOF>",
92     "\"<script\"",
93     "<TagName>",
94     "<DeclName>",
95     "\"<!--\"",
96     "\"<!\"",
97     "<Word>",
98     "<LET>",
99     "<NUM>",
100     "<HEX>",
101     "<Entity>",
102     "<Space>",
103     "<SP>",
104     "<Punct>",
105     "<ScriptText>",
106     "<ScriptEnd>",
107     "<ArgName>",
108     "\"=\"",
109     "<TagEnd>",
110     "<ArgValue>",
111     "\"\\\'\"",
112     "\"\\\"\"",
113     "<token of kind 22>",
114     "<Quote1Text>",
115     "<CloseQuote1>",
116     "<Quote2Text>",
117     "<CloseQuote2>",
118     "<CommentText1>",
119     "\"-->\"",
120     "<CommentText2>",
121     "\">\"",
122   };
123
124 }