001 /* Generated By:JJTree&JavaCC: Do not edit this line. YamParserConstants.java */
002 package gate.yam.parse;
003
004 public interface YamParserConstants {
005
006 int EOF = 0;
007 int sp = 1;
008 int nl = 2;
009 int anysp = 3;
010 int sep = 4;
011 int bold = 5;
012 int tt = 6;
013 int it = 7;
014 int under = 8;
015 int quote = 9;
016 int amp = 10;
017 int lt = 11;
018 int bslash = 12;
019 int escape = 13;
020 int dummy = 14;
021 int tableStart = 15;
022 int tableEnd = 16;
023 int sectionLevel = 17;
024 int levelNum = 18;
025 int listItemStart = 19;
026 int tableSep = 20;
027 int tableRowStart = 21;
028 int verbStart = 22;
029 int hr = 23;
030 int br = 24;
031 int nbsp = 25;
032 int contents = 26;
033 int plain = 27;
034 int verbEscape = 28;
035 int verbEnd = 29;
036 int verbAny = 30;
037 int urlPlainStart = 31;
038 int urlPercentStart = 32;
039 int urlBodyToSpace = 33;
040 int urlBodyToRrbrOrComma = 34;
041 int urlComma = 35;
042 int urlText = 36;
043 int urlRrbr = 37;
044 int predStart = 38;
045 int predArg = 39;
046 int predArgSep = 40;
047 int predEnd = 41;
048 int anchorStart = 42;
049 int anchorBody = 43;
050 int singleLineComment = 44;
051 int multiLineCommentStart = 45;
052 int commentChars = 46;
053 int multiLineCommentEnd = 47;
054
055 int DEFAULT = 0;
056 int VERBATIM = 1;
057 int URLPLAIN = 2;
058 int URLPERCENT = 3;
059 int PRED = 4;
060 int ANCHOR = 5;
061 int COMMENT = 6;
062
063 String[] tokenImage = {
064 "<EOF>",
065 "<sp>",
066 "<nl>",
067 "<anysp>",
068 "<sep>",
069 "\"*\"",
070 "\"^\"",
071 "\"_\"",
072 "\"__\"",
073 "\"%\\\"\"",
074 "\"&\"",
075 "\"<\"",
076 "\"\\\\\"",
077 "<escape>",
078 "\"ZZZQZ!lskdjflsdjflksdjflskjflskdjflkdjs\"",
079 "<tableStart>",
080 "<tableEnd>",
081 "<sectionLevel>",
082 "<levelNum>",
083 "<listItemStart>",
084 "<tableSep>",
085 "<tableRowStart>",
086 "\"%<\"",
087 "<hr>",
088 "\"%br\"",
089 "<nbsp>",
090 "\"%contents\"",
091 "<plain>",
092 "\"\\\\%>\"",
093 "\"%>\"",
094 "<verbAny>",
095 "<urlPlainStart>",
096 "\"%(\"",
097 "<urlBodyToSpace>",
098 "<urlBodyToRrbrOrComma>",
099 "\",\"",
100 "<urlText>",
101 "\")\"",
102 "<predStart>",
103 "<predArg>",
104 "\",\"",
105 "\")\"",
106 "\"%#\"",
107 "<anchorBody>",
108 "<singleLineComment>",
109 "\"%/*\"",
110 "<commentChars>",
111 "\"%*/\"",
112 };
113
114 }
|