Lucene.Net  3.0.3
Lucene.Net is a port of the Lucene search engine library, written in C# and targeted at .NET runtime users.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Pages
HTMLParserConstants.cs
Go to the documentation of this file.
1 /*
2  * Licensed to the Apache Software Foundation (ASF) under one or more
3  * contributor license agreements. See the NOTICE file distributed with
4  * this work for additional information regarding copyright ownership.
5  * The ASF licenses this file to You under the Apache License, Version 2.0
6  * (the "License"); you may not use this file except in compliance with
7  * the License. You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17 
18 /* Generated By:JavaCC: Do not edit this line. HTMLParserConstants.java */
19 
20 using System;
21 
22 namespace Lucene.Net.Demo.Html
23 {
24 
26  {
27  public const int EOF = 0;
28  public const int ScriptStart = 1;
29  public const int TagName = 2;
30  public const int DeclName = 3;
31  public const int Comment1 = 4;
32  public const int Comment2 = 5;
33  public const int Word = 6;
34  public const int LET = 7;
35  public const int NUM = 8;
36  public const int HEX = 9;
37  public const int Entity = 10;
38  public const int Space = 11;
39  public const int SP = 12;
40  public const int Punct = 13;
41  public const int ScriptText = 14;
42  public const int ScriptEnd = 15;
43  public const int ArgName = 16;
44  public const int ArgEquals = 17;
45  public const int TagEnd = 18;
46  public const int ArgValue = 19;
47  public const int ArgQuote1 = 20;
48  public const int ArgQuote2 = 21;
49  public const int Quote1Text = 23;
50  public const int CloseQuote1 = 24;
51  public const int Quote2Text = 25;
52  public const int CloseQuote2 = 26;
53  public const int CommentText1 = 27;
54  public const int CommentEnd1 = 28;
55  public const int CommentText2 = 29;
56  public const int CommentEnd2 = 30;
57  public const int DEFAULT = 0;
58  public const int WithinScript = 1;
59  public const int WithinTag = 2;
60  public const int AfterEquals = 3;
61  public const int WithinQuote1 = 4;
62  public const int WithinQuote2 = 5;
63  public const int WithinComment1 = 6;
64  public const int WithinComment2 = 7;
65  public static System.String[] tokenImage = new System.String[]{"<EOF>", "\"<script\"", "<TagName>", "<DeclName>", "\"<!--\"", "\"<!\"", "<Word>", "<LET>", "<NUM>", "<HEX>", "<Entity>", "<Space>", "<SP>", "<Punct>", "<ScriptText>", "<ScriptEnd>", "<ArgName>", "\"=\"", "<TagEnd>", "<ArgValue>", "\"\\\'\"", "\"\\\"\"", "<token of kind 22>", "<Quote1Text>", "<CloseQuote1>", "<Quote2Text>", "<CloseQuote2>", "<CommentText1>", "\"-->\"", "<CommentText2>", "\">\""};
66  }
67 }