diff options
author | bd-912 <bdunahu@colostate.edu> | 2024-03-27 23:20:35 -0600 |
---|---|---|
committer | bd-912 <bdunahu@colostate.edu> | 2024-03-27 23:20:35 -0600 |
commit | 835e614e1e2531db3dc7dbe027de122a9fa0b78f (patch) | |
tree | c850ac64341cd8ceb56de23f71219c89b7bc3317 /parse/MiniJavaParserConstants.java | |
parent | b01fe1e8e5541d6c11f905d7fbb949d747f29230 (diff) |
Reorder generated files
Diffstat (limited to 'parse/MiniJavaParserConstants.java')
-rw-r--r-- | parse/MiniJavaParserConstants.java | 151 |
1 files changed, 151 insertions, 0 deletions
diff --git a/parse/MiniJavaParserConstants.java b/parse/MiniJavaParserConstants.java new file mode 100644 index 0000000..d4392b1 --- /dev/null +++ b/parse/MiniJavaParserConstants.java @@ -0,0 +1,151 @@ +/* Generated By:JavaCC: Do not edit this line. MiniJavaParserConstants.java */ +package parse; + +/** + * Token literal values and constants. + * Generated by org.javacc.parser.OtherFilesGen#start() + */ +public interface MiniJavaParserConstants { + + /** End of File. */ + int EOF = 0; + /** RegularExpression Id. */ + int SINGLE_LINE_COMMENT = 6; + /** RegularExpression Id. */ + int FORMAL_COMMENT = 7; + /** RegularExpression Id. */ + int MULTI_LINE_COMMENT = 8; + /** RegularExpression Id. */ + int LPAREN = 9; + /** RegularExpression Id. */ + int RPAREN = 10; + /** RegularExpression Id. */ + int LSQPAREN = 11; + /** RegularExpression Id. */ + int RSQPAREN = 12; + /** RegularExpression Id. */ + int LBRACE = 13; + /** RegularExpression Id. */ + int RBRACE = 14; + /** RegularExpression Id. */ + int SEMICOLON = 15; + /** RegularExpression Id. */ + int DOT = 16; + /** RegularExpression Id. */ + int ASSIGN = 17; + /** RegularExpression Id. */ + int LT = 18; + /** RegularExpression Id. */ + int PLUS = 19; + /** RegularExpression Id. */ + int MINUS = 20; + /** RegularExpression Id. */ + int AND = 21; + /** RegularExpression Id. */ + int NOT = 22; + /** RegularExpression Id. */ + int BOOLEAN = 23; + /** RegularExpression Id. */ + int CLASS = 24; + /** RegularExpression Id. */ + int INTERFACE = 25; + /** RegularExpression Id. */ + int ELSE = 26; + /** RegularExpression Id. */ + int EXTENDS = 27; + /** RegularExpression Id. */ + int FALSE = 28; + /** RegularExpression Id. */ + int IF = 29; + /** RegularExpression Id. */ + int WHILE = 30; + /** RegularExpression Id. */ + int INTEGER = 31; + /** RegularExpression Id. */ + int LENGTH = 32; + /** RegularExpression Id. */ + int MAIN = 33; + /** RegularExpression Id. */ + int NEW = 34; + /** RegularExpression Id. */ + int PUBLIC = 35; + /** RegularExpression Id. */ + int RETURN = 36; + /** RegularExpression Id. */ + int STATIC = 37; + /** RegularExpression Id. */ + int STRING = 38; + /** RegularExpression Id. */ + int THIS = 39; + /** RegularExpression Id. */ + int TRUE = 40; + /** RegularExpression Id. */ + int PRINT = 41; + /** RegularExpression Id. */ + int VOID = 42; + /** RegularExpression Id. */ + int INTEGER_LITERAL = 43; + /** RegularExpression Id. */ + int IDENTIFIER = 44; + /** RegularExpression Id. */ + int LETTER = 45; + /** RegularExpression Id. */ + int DIGIT = 46; + + /** Lexical state. */ + int DEFAULT = 0; + + /** Literal token values. */ + String[] tokenImage = { + "<EOF>", + "\" \"", + "\"\\t\"", + "\"\\n\"", + "\"\\r\"", + "\"\\f\"", + "<SINGLE_LINE_COMMENT>", + "<FORMAL_COMMENT>", + "<MULTI_LINE_COMMENT>", + "\"(\"", + "\")\"", + "\"[\"", + "\"]\"", + "\"{\"", + "\"}\"", + "\";\"", + "\".\"", + "\"=\"", + "\"<\"", + "\"+\"", + "\"-\"", + "\"&&\"", + "\"!\"", + "\"boolean\"", + "\"class\"", + "\"interface\"", + "\"else\"", + "\"extends\"", + "\"false\"", + "\"if\"", + "\"while\"", + "\"int\"", + "\"length\"", + "\"main\"", + "\"new\"", + "\"public\"", + "\"return\"", + "\"static\"", + "\"String\"", + "\"this\"", + "\"true\"", + "\"System.out.println\"", + "\"void\"", + "<INTEGER_LITERAL>", + "<IDENTIFIER>", + "<LETTER>", + "<DIGIT>", + "\",\"", + "\"*\"", + }; + +} |