X-Git-Url: https://git.mdrn.pl/pylucene.git/blobdiff_plain/a2e61f0c04805cfcb8706176758d1283c7e3a55c..aaeed5504b982cf3545252ab528713250aa33eed:/lucene-java-3.5.0/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/feeds/demohtml/HTMLParserConstants.java diff --git a/lucene-java-3.5.0/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/feeds/demohtml/HTMLParserConstants.java b/lucene-java-3.5.0/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/feeds/demohtml/HTMLParserConstants.java new file mode 100644 index 0000000..acead6a --- /dev/null +++ b/lucene-java-3.5.0/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/feeds/demohtml/HTMLParserConstants.java @@ -0,0 +1,124 @@ +/* Generated By:JavaCC: Do not edit this line. HTMLParserConstants.java */ +package org.apache.lucene.benchmark.byTask.feeds.demohtml; + + +/** + * Token literal values and constants. + * Generated by org.javacc.parser.OtherFilesGen#start() + */ +public interface HTMLParserConstants { + + /** End of File. */ + int EOF = 0; + /** RegularExpression Id. */ + int ScriptStart = 1; + /** RegularExpression Id. */ + int TagName = 2; + /** RegularExpression Id. */ + int DeclName = 3; + /** RegularExpression Id. */ + int Comment1 = 4; + /** RegularExpression Id. */ + int Comment2 = 5; + /** RegularExpression Id. */ + int Word = 6; + /** RegularExpression Id. */ + int LET = 7; + /** RegularExpression Id. */ + int NUM = 8; + /** RegularExpression Id. */ + int HEX = 9; + /** RegularExpression Id. */ + int Entity = 10; + /** RegularExpression Id. */ + int Space = 11; + /** RegularExpression Id. */ + int SP = 12; + /** RegularExpression Id. */ + int Punct = 13; + /** RegularExpression Id. */ + int ScriptText = 14; + /** RegularExpression Id. */ + int ScriptEnd = 15; + /** RegularExpression Id. */ + int ArgName = 16; + /** RegularExpression Id. */ + int ArgEquals = 17; + /** RegularExpression Id. */ + int TagEnd = 18; + /** RegularExpression Id. */ + int ArgValue = 19; + /** RegularExpression Id. */ + int ArgQuote1 = 20; + /** RegularExpression Id. */ + int ArgQuote2 = 21; + /** RegularExpression Id. */ + int Quote1Text = 23; + /** RegularExpression Id. */ + int CloseQuote1 = 24; + /** RegularExpression Id. */ + int Quote2Text = 25; + /** RegularExpression Id. */ + int CloseQuote2 = 26; + /** RegularExpression Id. */ + int CommentText1 = 27; + /** RegularExpression Id. */ + int CommentEnd1 = 28; + /** RegularExpression Id. */ + int CommentText2 = 29; + /** RegularExpression Id. */ + int CommentEnd2 = 30; + + /** Lexical state. */ + int DEFAULT = 0; + /** Lexical state. */ + int WithinScript = 1; + /** Lexical state. */ + int WithinTag = 2; + /** Lexical state. */ + int AfterEquals = 3; + /** Lexical state. */ + int WithinQuote1 = 4; + /** Lexical state. */ + int WithinQuote2 = 5; + /** Lexical state. */ + int WithinComment1 = 6; + /** Lexical state. */ + int WithinComment2 = 7; + + /** Literal token values. */ + String[] tokenImage = { + "", + "\"", + "", + "\"\"", + "", + "\">\"", + }; + +}