001: // $ANTLR 2.7.7 (2006-01-29): "antlr.g" -> "ANTLRLexer.java"$
002:
003: /*
004: [The "BSD licence"]
005: Copyright (c) 2005-2006 Terence Parr
006: All rights reserved.
007:
008: Redistribution and use in source and binary forms, with or without
009: modification, are permitted provided that the following conditions
010: are met:
011: 1. Redistributions of source code must retain the above copyright
012: notice, this list of conditions and the following disclaimer.
013: 2. Redistributions in binary form must reproduce the above copyright
014: notice, this list of conditions and the following disclaimer in the
015: documentation and/or other materials provided with the distribution.
016: 3. The name of the author may not be used to endorse or promote products
017: derived from this software without specific prior written permission.
018:
019: THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
020: IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
021: OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
022: IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
023: INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
024: NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
025: DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
026: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
027: (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
028: THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
029: */
030: package org.antlr.tool;
031:
032: import java.util.*;
033: import java.io.*;
034: import org.antlr.analysis.*;
035: import org.antlr.misc.*;
036: import antlr.*;
037:
038: public interface ANTLRTokenTypes {
039: int EOF = 1;
040: int NULL_TREE_LOOKAHEAD = 3;
041: int OPTIONS = 4;
042: int TOKENS = 5;
043: int PARSER = 6;
044: int LEXER = 7;
045: int RULE = 8;
046: int BLOCK = 9;
047: int OPTIONAL = 10;
048: int CLOSURE = 11;
049: int POSITIVE_CLOSURE = 12;
050: int SYNPRED = 13;
051: int RANGE = 14;
052: int CHAR_RANGE = 15;
053: int EPSILON = 16;
054: int ALT = 17;
055: int EOR = 18;
056: int EOB = 19;
057: int EOA = 20;
058: int ID = 21;
059: int ARG = 22;
060: int ARGLIST = 23;
061: int RET = 24;
062: int LEXER_GRAMMAR = 25;
063: int PARSER_GRAMMAR = 26;
064: int TREE_GRAMMAR = 27;
065: int COMBINED_GRAMMAR = 28;
066: int INITACTION = 29;
067: int LABEL = 30;
068: int TEMPLATE = 31;
069: int SCOPE = 32;
070: int GATED_SEMPRED = 33;
071: int SYN_SEMPRED = 34;
072: int BACKTRACK_SEMPRED = 35;
073: int FRAGMENT = 36;
074: int ACTION = 37;
075: int DOC_COMMENT = 38;
076: int SEMI = 39;
077: int LITERAL_lexer = 40;
078: int LITERAL_tree = 41;
079: int LITERAL_grammar = 42;
080: int AMPERSAND = 43;
081: int COLON = 44;
082: int RCURLY = 45;
083: int ASSIGN = 46;
084: int STRING_LITERAL = 47;
085: int CHAR_LITERAL = 48;
086: int INT = 49;
087: int STAR = 50;
088: int TOKEN_REF = 51;
089: int LITERAL_protected = 52;
090: int LITERAL_public = 53;
091: int LITERAL_private = 54;
092: int BANG = 55;
093: int ARG_ACTION = 56;
094: int LITERAL_returns = 57;
095: int LITERAL_throws = 58;
096: int COMMA = 59;
097: int LPAREN = 60;
098: int OR = 61;
099: int RPAREN = 62;
100: int LITERAL_catch = 63;
101: int LITERAL_finally = 64;
102: int PLUS_ASSIGN = 65;
103: int SEMPRED = 66;
104: int IMPLIES = 67;
105: int ROOT = 68;
106: int RULE_REF = 69;
107: int NOT = 70;
108: int TREE_BEGIN = 71;
109: int QUESTION = 72;
110: int PLUS = 73;
111: int WILDCARD = 74;
112: int REWRITE = 75;
113: int DOLLAR = 76;
114: int DOUBLE_QUOTE_STRING_LITERAL = 77;
115: int DOUBLE_ANGLE_STRING_LITERAL = 78;
116: int WS = 79;
117: int COMMENT = 80;
118: int SL_COMMENT = 81;
119: int ML_COMMENT = 82;
120: int OPEN_ELEMENT_OPTION = 83;
121: int CLOSE_ELEMENT_OPTION = 84;
122: int ESC = 85;
123: int DIGIT = 86;
124: int XDIGIT = 87;
125: int NESTED_ARG_ACTION = 88;
126: int NESTED_ACTION = 89;
127: int ACTION_CHAR_LITERAL = 90;
128: int ACTION_STRING_LITERAL = 91;
129: int ACTION_ESC = 92;
130: int WS_LOOP = 93;
131: int INTERNAL_RULE_REF = 94;
132: int WS_OPT = 95;
133: int SRC = 96;
134: }
|