From 835e614e1e2531db3dc7dbe027de122a9fa0b78f Mon Sep 17 00:00:00 2001 From: bd-912 Date: Wed, 27 Mar 2024 23:20:35 -0600 Subject: Reorder generated files --- parse/MiniJavaParserConstants.java | 151 +++++++++++++++++++++++++++++++++++++ 1 file changed, 151 insertions(+) create mode 100644 parse/MiniJavaParserConstants.java (limited to 'parse/MiniJavaParserConstants.java') 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 = { + "", + "\" \"", + "\"\\t\"", + "\"\\n\"", + "\"\\r\"", + "\"\\f\"", + "", + "", + "", + "\"(\"", + "\")\"", + "\"[\"", + "\"]\"", + "\"{\"", + "\"}\"", + "\";\"", + "\".\"", + "\"=\"", + "\"<\"", + "\"+\"", + "\"-\"", + "\"&&\"", + "\"!\"", + "\"boolean\"", + "\"class\"", + "\"interface\"", + "\"else\"", + "\"extends\"", + "\"false\"", + "\"if\"", + "\"while\"", + "\"int\"", + "\"length\"", + "\"main\"", + "\"new\"", + "\"public\"", + "\"return\"", + "\"static\"", + "\"String\"", + "\"this\"", + "\"true\"", + "\"System.out.println\"", + "\"void\"", + "", + "", + "", + "", + "\",\"", + "\"*\"", + }; + +} -- cgit v1.2.3