KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > lucene > demo > html > HTMLParserConstants


1 /* Generated By:JavaCC: Do not edit this line. HTMLParserConstants.java */
2 package org.apache.lucene.demo.html;
3
4 public interface HTMLParserConstants {
5
6   int EOF = 0;
7   int ScriptStart = 1;
8   int TagName = 2;
9   int DeclName = 3;
10   int Comment1 = 4;
11   int Comment2 = 5;
12   int Word = 6;
13   int LET = 7;
14   int NUM = 8;
15   int HEX = 9;
16   int Space = 10;
17   int SP = 11;
18   int Entity = 12;
19   int Punct = 13;
20   int ScriptText = 14;
21   int ScriptEnd = 15;
22   int ArgName = 16;
23   int ArgEquals = 17;
24   int TagEnd = 18;
25   int ArgValue = 19;
26   int ArgQuote1 = 20;
27   int ArgQuote2 = 21;
28   int Quote1Text = 23;
29   int CloseQuote1 = 24;
30   int Quote2Text = 25;
31   int CloseQuote2 = 26;
32   int CommentText1 = 27;
33   int CommentEnd1 = 28;
34   int CommentText2 = 29;
35   int CommentEnd2 = 30;
36
37   int DEFAULT = 0;
38   int WithinScript = 1;
39   int WithinTag = 2;
40   int AfterEquals = 3;
41   int WithinQuote1 = 4;
42   int WithinQuote2 = 5;
43   int WithinComment1 = 6;
44   int WithinComment2 = 7;
45
46   String JavaDoc[] tokenImage = {
47     "<EOF>", //$NON-NLS-1$
48
"\"<script\"", //$NON-NLS-1$
49
"<TagName>", //$NON-NLS-1$
50
"<DeclName>", //$NON-NLS-1$
51
"\"<!--\"", //$NON-NLS-1$
52
"\"<!\"", //$NON-NLS-1$
53
"<Word>", //$NON-NLS-1$
54
"<LET>", //$NON-NLS-1$
55
"<NUM>", //$NON-NLS-1$
56
"<HEX>", //$NON-NLS-1$
57
"<Space>", //$NON-NLS-1$
58
"<SP>", //$NON-NLS-1$
59
"<Entity>", //$NON-NLS-1$
60
"<Punct>", //$NON-NLS-1$
61
"<ScriptText>", //$NON-NLS-1$
62
"<ScriptEnd>", //$NON-NLS-1$
63
"<ArgName>", //$NON-NLS-1$
64
"\"=\"", //$NON-NLS-1$
65
"<TagEnd>", //$NON-NLS-1$
66
"<ArgValue>", //$NON-NLS-1$
67
"\"\\\'\"", //$NON-NLS-1$
68
"\"\\\"\"", //$NON-NLS-1$
69
"<token of kind 22>", //$NON-NLS-1$
70
"<Quote1Text>", //$NON-NLS-1$
71
"<CloseQuote1>", //$NON-NLS-1$
72
"<Quote2Text>", //$NON-NLS-1$
73
"<CloseQuote2>", //$NON-NLS-1$
74
"<CommentText1>", //$NON-NLS-1$
75
"\"-->\"", //$NON-NLS-1$
76
"<CommentText2>", //$NON-NLS-1$
77
"\">\"", //$NON-NLS-1$
78
};
79
80 }
81
Popular Tags