\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\",\n \"\\\"\",\n \"\\\"\",\n \"\\\"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\\\"\\\\n\\\"\",\r\n \"\\\"\\\\r\\\"\",\r\n \"\\\"\\\\f\\\"\",\r\n \"\\\"(\\\"\",\r\n \"\\\")\\\"\",\r\n \"\\\"[\\\"\",\r\n \"\\\"]\\\"\",\r\n \"\\\"{\\\"\",\r\n \"\\\"}\\\"\",\r\n \"\\\".\\\"\",\r\n \"\\\"-\\\"\",\r\n \"\\\"!\\\"\",\r\n \"\\\"*\\\"\",\r\n \"\\\"/\\\"\",\r\n \"\\\"+\\\"\",\r\n \"\\\"<\\\"\",\r\n \"\\\">\\\"\",\r\n \"\\\"=\\\"\",\r\n \"\\\"==\\\"\",\r\n \"\\\"!=\\\"\",\r\n \"\\\"&&\\\"\",\r\n \"\\\"||\\\"\",\r\n \"\\\",\\\"\",\r\n \"\\\";\\\"\",\r\n \"\\\"public\\\"\",\r\n \"\\\"static\\\"\",\r\n \"\\\"void\\\"\",\r\n \"\\\"main\\\"\",\r\n \"\\\"String\\\"\",\r\n \"\\\"class\\\"\",\r\n \"\\\"extends\\\"\",\r\n \"\\\"Thread\\\"\",\r\n \"\\\"synchronized\\\"\",\r\n \"\\\"return\\\"\",\r\n \"\\\"if\\\"\",\r\n \"\\\"else\\\"\",\r\n \"\\\"while\\\"\",\r\n \"\\\"Xinu\\\"\",\r\n \"\\\"true\\\"\",\r\n \"\\\"false\\\"\",\r\n \"\\\"this\\\"\",\r\n \"\\\"null\\\"\",\r\n \"\\\"new\\\"\",\r\n \"\\\"int\\\"\",\r\n \"\\\"boolean\\\"\",\r\n \"\\\"//\\\"\",\r\n \"\",\r\n \"\\\"/*\\\"\",\r\n \"\",\r\n \"\\\"*/\\\"\",\r\n \"\\\"*/\\\"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n };\r\n\r\n}","title":""},{"docid":"6feed7f5541b810d8fd7bb11de915fda","score":"0.5325525","text":"public interface CMMConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 6;\n /** RegularExpression Id. */\n int FORMAL_COMMENT = 7;\n /** RegularExpression Id. */\n int MULTI_LINE_COMMENT = 8;\n /** RegularExpression Id. */\n int IF = 9;\n /** RegularExpression Id. */\n int ELSE = 10;\n /** RegularExpression Id. */\n int WHILE = 11;\n /** RegularExpression Id. */\n int DO = 12;\n /** RegularExpression Id. */\n int INT = 13;\n /** RegularExpression Id. */\n int REAL = 14;\n /** RegularExpression Id. */\n int CHAR = 15;\n /** RegularExpression Id. */\n int VOID = 16;\n /** RegularExpression Id. */\n int FOR = 17;\n /** RegularExpression Id. */\n int PRINT = 18;\n /** RegularExpression Id. */\n int SCAN = 19;\n /** RegularExpression Id. */\n int BREAK = 20;\n /** RegularExpression Id. */\n int CONTINUE = 21;\n /** RegularExpression Id. */\n int RETURN = 22;\n /** RegularExpression Id. */\n int INTEGER_LITERAL = 23;\n /** RegularExpression Id. */\n int DECIMAL_LITERAL = 24;\n /** RegularExpression Id. */\n int HEX_LITERAL = 25;\n /** RegularExpression Id. */\n int REAL_LITERAL = 26;\n /** RegularExpression Id. */\n int EXPONENT = 27;\n /** RegularExpression Id. */\n int CHARACTER_LITERAL = 28;\n /** RegularExpression Id. */\n int STRING_LITERAL = 29;\n /** RegularExpression Id. */\n int IDENTIFIER = 30;\n /** RegularExpression Id. */\n int LETTER = 31;\n /** RegularExpression Id. */\n int DIGIT = 32;\n /** RegularExpression Id. */\n int LPAREN = 33;\n /** RegularExpression Id. */\n int RPAREN = 34;\n /** RegularExpression Id. */\n int LBRACE = 35;\n /** RegularExpression Id. */\n int RBRACE = 36;\n /** RegularExpression Id. */\n int LBRACKET = 37;\n /** RegularExpression Id. */\n int RBRACKET = 38;\n /** RegularExpression Id. */\n int SEMICOLON = 39;\n /** RegularExpression Id. */\n int COMMA = 40;\n /** RegularExpression Id. */\n int DOT = 41;\n /** RegularExpression Id. */\n int UNDERSCORE = 42;\n /** RegularExpression Id. */\n int ASSIGN = 43;\n /** RegularExpression Id. */\n int PLUS = 44;\n /** RegularExpression Id. */\n int MINUS = 45;\n /** RegularExpression Id. */\n int TIMES = 46;\n /** RegularExpression Id. */\n int DIVIDE = 47;\n /** RegularExpression Id. */\n int MOD = 48;\n /** RegularExpression Id. */\n int BIT_OR = 49;\n /** RegularExpression Id. */\n int BIT_AND = 50;\n /** RegularExpression Id. */\n int XOR = 51;\n /** RegularExpression Id. */\n int TILDE = 52;\n /** RegularExpression Id. */\n int EQ = 53;\n /** RegularExpression Id. */\n int NEQ = 54;\n /** RegularExpression Id. */\n int GT = 55;\n /** RegularExpression Id. */\n int LT = 56;\n /** RegularExpression Id. */\n int GE = 57;\n /** RegularExpression Id. */\n int LE = 58;\n /** RegularExpression Id. */\n int SC_OR = 59;\n /** RegularExpression Id. */\n int SC_AND = 60;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\",\n \"\",\n \"\",\n \"\\\"if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"while\\\"\",\n \"\\\"do\\\"\",\n \"\\\"int\\\"\",\n \"\\\"real\\\"\",\n \"\\\"char\\\"\",\n \"\\\"void\\\"\",\n \"\\\"for\\\"\",\n \"\\\"print\\\"\",\n \"\\\"scan\\\"\",\n \"\\\"break\\\"\",\n \"\\\"continue\\\"\",\n \"\\\"return\\\"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\"_\\\"\",\n \"\\\"=\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"|\\\"\",\n \"\\\"&\\\"\",\n \"\\\"^\\\"\",\n \"\\\"~\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<>\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\">=\\\"\",\n \"\\\"<=\\\"\",\n \"\\\"||\\\"\",\n \"\\\"&&\\\"\",\n };\n\n}","title":""},{"docid":"cc4b3eb64639584a1b334b9f89667d0d","score":"0.5299606","text":"public interface JaccParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int ABSTRACT = 6;\n /** RegularExpression Id. */\n int BOOLEAN = 7;\n /** RegularExpression Id. */\n int BREAK = 8;\n /** RegularExpression Id. */\n int BYTE = 9;\n /** RegularExpression Id. */\n int CASE = 10;\n /** RegularExpression Id. */\n int CATCH = 11;\n /** RegularExpression Id. */\n int CHAR = 12;\n /** RegularExpression Id. */\n int CLASS = 13;\n /** RegularExpression Id. */\n int CONST = 14;\n /** RegularExpression Id. */\n int CONTINUE = 15;\n /** RegularExpression Id. */\n int _DEFAULT = 16;\n /** RegularExpression Id. */\n int DO = 17;\n /** RegularExpression Id. */\n int DOUBLE = 18;\n /** RegularExpression Id. */\n int ELSE = 19;\n /** RegularExpression Id. */\n int EXTENDS = 20;\n /** RegularExpression Id. */\n int FALSE = 21;\n /** RegularExpression Id. */\n int FINAL = 22;\n /** RegularExpression Id. */\n int FINALLY = 23;\n /** RegularExpression Id. */\n int FLOAT = 24;\n /** RegularExpression Id. */\n int FOR = 25;\n /** RegularExpression Id. */\n int GOTO = 26;\n /** RegularExpression Id. */\n int IF = 27;\n /** RegularExpression Id. */\n int IMPLEMENTS = 28;\n /** RegularExpression Id. */\n int IMPORT = 29;\n /** RegularExpression Id. */\n int INSTANCEOF = 30;\n /** RegularExpression Id. */\n int INT = 31;\n /** RegularExpression Id. */\n int INTERFACE = 32;\n /** RegularExpression Id. */\n int LONG = 33;\n /** RegularExpression Id. */\n int NATIVE = 34;\n /** RegularExpression Id. */\n int NEW = 35;\n /** RegularExpression Id. */\n int NULL = 36;\n /** RegularExpression Id. */\n int PACKAGE = 37;\n /** RegularExpression Id. */\n int PRIVATE = 38;\n /** RegularExpression Id. */\n int PROTECTED = 39;\n /** RegularExpression Id. */\n int PUBLIC = 40;\n /** RegularExpression Id. */\n int RETURN = 41;\n /** RegularExpression Id. */\n int SHORT = 42;\n /** RegularExpression Id. */\n int STATIC = 43;\n /** RegularExpression Id. */\n int SUPER = 44;\n /** RegularExpression Id. */\n int SWITCH = 45;\n /** RegularExpression Id. */\n int SYNCHRONIZED = 46;\n /** RegularExpression Id. */\n int THIS = 47;\n /** RegularExpression Id. */\n int THROW = 48;\n /** RegularExpression Id. */\n int THROWS = 49;\n /** RegularExpression Id. */\n int TRANSIENT = 50;\n /** RegularExpression Id. */\n int TRUE = 51;\n /** RegularExpression Id. */\n int TRY = 52;\n /** RegularExpression Id. */\n int VOID = 53;\n /** RegularExpression Id. */\n int VOLATILE = 54;\n /** RegularExpression Id. */\n int WHILE = 55;\n /** RegularExpression Id. */\n int DECIMAL_LITERAL = 56;\n /** RegularExpression Id. */\n int IDENTIFIER = 57;\n /** RegularExpression Id. */\n int LPAREN = 58;\n /** RegularExpression Id. */\n int RPAREN = 59;\n /** RegularExpression Id. */\n int LBRACE = 60;\n /** RegularExpression Id. */\n int RBRACE = 61;\n /** RegularExpression Id. */\n int LBRACKET = 62;\n /** RegularExpression Id. */\n int RBRACKET = 63;\n /** RegularExpression Id. */\n int SEMICOLON = 64;\n /** RegularExpression Id. */\n int COMMA = 65;\n /** RegularExpression Id. */\n int DOT = 66;\n /** RegularExpression Id. */\n int ASSIGN = 67;\n /** RegularExpression Id. */\n int GT = 68;\n /** RegularExpression Id. */\n int LT = 69;\n /** RegularExpression Id. */\n int BANG = 70;\n /** RegularExpression Id. */\n int TILDE = 71;\n /** RegularExpression Id. */\n int HOOK = 72;\n /** RegularExpression Id. */\n int COLON = 73;\n /** RegularExpression Id. */\n int EQ = 74;\n /** RegularExpression Id. */\n int LE = 75;\n /** RegularExpression Id. */\n int GE = 76;\n /** RegularExpression Id. */\n int NE = 77;\n /** RegularExpression Id. */\n int SC_OR = 78;\n /** RegularExpression Id. */\n int SC_AND = 79;\n /** RegularExpression Id. */\n int PLUS = 80;\n /** RegularExpression Id. */\n int MINUS = 81;\n /** RegularExpression Id. */\n int STAR = 82;\n /** RegularExpression Id. */\n int SLASH = 83;\n /** RegularExpression Id. */\n int REM = 84;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"abstract\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"break\\\"\",\n \"\\\"byte\\\"\",\n \"\\\"case\\\"\",\n \"\\\"catch\\\"\",\n \"\\\"char\\\"\",\n \"\\\"class\\\"\",\n \"\\\"const\\\"\",\n \"\\\"continue\\\"\",\n \"\\\"default\\\"\",\n \"\\\"do\\\"\",\n \"\\\"double\\\"\",\n \"\\\"else\\\"\",\n \"\\\"extends\\\"\",\n \"\\\"false\\\"\",\n \"\\\"final\\\"\",\n \"\\\"finally\\\"\",\n \"\\\"float\\\"\",\n \"\\\"for\\\"\",\n \"\\\"goto\\\"\",\n \"\\\"if\\\"\",\n \"\\\"implements\\\"\",\n \"\\\"import\\\"\",\n \"\\\"instanceof\\\"\",\n \"\\\"int\\\"\",\n \"\\\"interface\\\"\",\n \"\\\"long\\\"\",\n \"\\\"native\\\"\",\n \"\\\"new\\\"\",\n \"\\\"null\\\"\",\n \"\\\"package\\\"\",\n \"\\\"private\\\"\",\n \"\\\"protected\\\"\",\n \"\\\"public\\\"\",\n \"\\\"return\\\"\",\n \"\\\"short\\\"\",\n \"\\\"static\\\"\",\n \"\\\"super\\\"\",\n \"\\\"switch\\\"\",\n \"\\\"synchronized\\\"\",\n \"\\\"this\\\"\",\n \"\\\"throw\\\"\",\n \"\\\"throws\\\"\",\n \"\\\"transient\\\"\",\n \"\\\"true\\\"\",\n \"\\\"try\\\"\",\n \"\\\"void\\\"\",\n \"\\\"volatile\\\"\",\n \"\\\"while\\\"\",\n \"\",\n \"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\"=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\"!\\\"\",\n \"\\\"~\\\"\",\n \"\\\"?\\\"\",\n \"\\\":\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"||\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n };\n\n}","title":""},{"docid":"493affac6a6e5e629936557e9fa8514e","score":"0.5298417","text":"private int yyr19() {\n return 50;\n }","title":""},{"docid":"e057e9b6c3adc0bdcf801b014ebbe60c","score":"0.5278873","text":"public interface QueryParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int WORD = 4;\n /** RegularExpression Id. */\n int LP = 5;\n /** RegularExpression Id. */\n int RP = 6;\n /** RegularExpression Id. */\n int QUOTE = 7;\n /** RegularExpression Id. */\n int OP_AND = 8;\n /** RegularExpression Id. */\n int OP_OR = 9;\n /** RegularExpression Id. */\n int OP_NOT = 10;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"\\\\\\\"\\\"\",\n \"\",\n \"\",\n \"\",\n };\n\n}","title":""},{"docid":"eec659090b39de4a82d36faa468fb7fa","score":"0.5266568","text":"public interface EG1Constants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int OPEN = 5;\n /** RegularExpression Id. */\n int CLOSE = 6;\n /** RegularExpression Id. */\n int DEFINE = 7;\n /** RegularExpression Id. */\n int DOMAIN = 8;\n /** RegularExpression Id. */\n int DOMAIN_LABEL = 9;\n /** RegularExpression Id. */\n int REQUIREMENTS = 10;\n /** RegularExpression Id. */\n int REQUIREMENT_LABELS = 11;\n /** RegularExpression Id. */\n int TYPES = 12;\n /** RegularExpression Id. */\n int PREDICATES = 13;\n /** RegularExpression Id. */\n int PROBLEM = 14;\n /** RegularExpression Id. */\n int TYPE_IDENT = 15;\n /** RegularExpression Id. */\n int VAR = 16;\n /** RegularExpression Id. */\n int ACTION = 17;\n /** RegularExpression Id. */\n int PARAMETERS = 18;\n /** RegularExpression Id. */\n int PRECONDITION = 19;\n /** RegularExpression Id. */\n int CONSTRAINTS = 20;\n /** RegularExpression Id. */\n int PREFERENCE = 21;\n /** RegularExpression Id. */\n int EFFECT = 22;\n /** RegularExpression Id. */\n int OBJECTS = 23;\n /** RegularExpression Id. */\n int GOAL = 24;\n /** RegularExpression Id. */\n int INIT = 25;\n /** RegularExpression Id. */\n int AND = 26;\n /** RegularExpression Id. */\n int NOT = 27;\n /** RegularExpression Id. */\n int NUMBER = 28;\n /** RegularExpression Id. */\n int NAME = 29;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 30;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"define\\\"\",\n \"\\\"domain\\\"\",\n \"\\\":domain\\\"\",\n \"\\\":requirements\\\"\",\n \"\\\":typing :constraints :preferences\\\"\",\n \"\\\":types\\\"\",\n \"\\\":predicates\\\"\",\n \"\\\"problem\\\"\",\n \"\\\"-\\\"\",\n \"\",\n \"\\\":action\\\"\",\n \"\\\":parameters\\\"\",\n \"\\\":precondition\\\"\",\n \"\\\":constraints\\\"\",\n \"\\\"preference\\\"\",\n \"\\\":effect\\\"\",\n \"\\\":objects\\\"\",\n \"\\\":goal\\\"\",\n \"\\\":init\\\"\",\n \"\\\"and\\\"\",\n \"\\\"not\\\"\",\n \"\",\n \"\",\n \"\",\n };\n\n}","title":""},{"docid":"f143e9b900cadd3967940ce9942874b3","score":"0.5265535","text":"public interface TargetTableParserConstants {\r\n\r\n /** End of File. */\r\n int EOF = 0;\r\n /** RegularExpression Id. */\r\n int MULTI_LINE_COMMENT = 4;\r\n /** RegularExpression Id. */\r\n int SINGLE_LINE_COMMENT = 7;\r\n /** RegularExpression Id. */\r\n int SEMICOLON = 8;\r\n /** RegularExpression Id. */\r\n int SINGLE_QUOTE = 9;\r\n /** RegularExpression Id. */\r\n int OPEN_PAREN = 10;\r\n /** RegularExpression Id. */\r\n int CLOSE_PAREN = 11;\r\n /** RegularExpression Id. */\r\n int COMMA = 12;\r\n /** RegularExpression Id. */\r\n int HYPHEN = 13;\r\n /** RegularExpression Id. */\r\n int ASTERISK = 14;\r\n /** RegularExpression Id. */\r\n int INTO = 15;\r\n /** RegularExpression Id. */\r\n int SET = 16;\r\n /** RegularExpression Id. */\r\n int NOT = 17;\r\n /** RegularExpression Id. */\r\n int FROM = 18;\r\n /** RegularExpression Id. */\r\n int AS = 19;\r\n /** RegularExpression Id. */\r\n int BY = 20;\r\n /** RegularExpression Id. */\r\n int WHERE = 21;\r\n /** RegularExpression Id. */\r\n int ALL = 22;\r\n /** RegularExpression Id. */\r\n int TABLE = 23;\r\n /** RegularExpression Id. */\r\n int CASESPECIFIC = 24;\r\n /** RegularExpression Id. */\r\n int CHARACTER = 25;\r\n /** RegularExpression Id. */\r\n int UPPERCASE = 26;\r\n /** RegularExpression Id. */\r\n int NULL = 27;\r\n /** RegularExpression Id. */\r\n int TO = 28;\r\n /** RegularExpression Id. */\r\n int LITERAL_INTEGER = 29;\r\n /** RegularExpression Id. */\r\n int BLOB = 30;\r\n /** RegularExpression Id. */\r\n int BYTE = 31;\r\n /** RegularExpression Id. */\r\n int VARBYTE = 32;\r\n /** RegularExpression Id. */\r\n int BIGINT = 33;\r\n /** RegularExpression Id. */\r\n int BYTEINT = 34;\r\n /** RegularExpression Id. */\r\n int DATE = 35;\r\n /** RegularExpression Id. */\r\n int DECIMAL = 36;\r\n /** RegularExpression Id. */\r\n int DOUBLE = 37;\r\n /** RegularExpression Id. */\r\n int PRECISION = 38;\r\n /** RegularExpression Id. */\r\n int FLOAT = 39;\r\n /** RegularExpression Id. */\r\n int INTEGER = 40;\r\n /** RegularExpression Id. */\r\n int NUMBER = 41;\r\n /** RegularExpression Id. */\r\n int NUMERIC = 42;\r\n /** RegularExpression Id. */\r\n int REAL = 43;\r\n /** RegularExpression Id. */\r\n int SMALLINT = 44;\r\n /** RegularExpression Id. */\r\n int TIME = 45;\r\n /** RegularExpression Id. */\r\n int TIMESTAMP = 46;\r\n /** RegularExpression Id. */\r\n int INTERVAL = 47;\r\n /** RegularExpression Id. */\r\n int DAY = 48;\r\n /** RegularExpression Id. */\r\n int HOUR = 49;\r\n /** RegularExpression Id. */\r\n int MINUTE = 50;\r\n /** RegularExpression Id. */\r\n int SECOND = 51;\r\n /** RegularExpression Id. */\r\n int MONTH = 52;\r\n /** RegularExpression Id. */\r\n int YEAR = 53;\r\n /** RegularExpression Id. */\r\n int CHAR = 54;\r\n /** RegularExpression Id. */\r\n int CLOB = 55;\r\n /** RegularExpression Id. */\r\n int VARYING = 56;\r\n /** RegularExpression Id. */\r\n int LONG = 57;\r\n /** RegularExpression Id. */\r\n int VARCHAR = 58;\r\n /** RegularExpression Id. */\r\n int GRAPHIC = 59;\r\n /** RegularExpression Id. */\r\n int VARGRAPHIC = 60;\r\n /** RegularExpression Id. */\r\n int UPDATE = 61;\r\n /** RegularExpression Id. */\r\n int INSERT = 62;\r\n /** RegularExpression Id. */\r\n int MERGE = 63;\r\n /** RegularExpression Id. */\r\n int DELETE = 64;\r\n /** RegularExpression Id. */\r\n int CREATE = 65;\r\n /** RegularExpression Id. */\r\n int CT = 66;\r\n /** RegularExpression Id. */\r\n int MULTISET = 67;\r\n /** RegularExpression Id. */\r\n int GLOBAL = 68;\r\n /** RegularExpression Id. */\r\n int TEMPORARY = 69;\r\n /** RegularExpression Id. */\r\n int VOLATILE = 70;\r\n /** RegularExpression Id. */\r\n int USING = 71;\r\n /** RegularExpression Id. */\r\n int DEFERRED = 72;\r\n /** RegularExpression Id. */\r\n int LOCATOR = 73;\r\n /** RegularExpression Id. */\r\n int NAME = 74;\r\n /** RegularExpression Id. */\r\n int LOCKING = 75;\r\n /** RegularExpression Id. */\r\n int DATABASE = 77;\r\n /** RegularExpression Id. */\r\n int TABLE_LCK = 78;\r\n /** RegularExpression Id. */\r\n int VIEW = 79;\r\n /** RegularExpression Id. */\r\n int ROW = 80;\r\n /** RegularExpression Id. */\r\n int FOR = 81;\r\n /** RegularExpression Id. */\r\n int IN = 82;\r\n /** RegularExpression Id. */\r\n int ACCESS = 83;\r\n /** RegularExpression Id. */\r\n int EXCLUSIVE = 84;\r\n /** RegularExpression Id. */\r\n int SHARE = 85;\r\n /** RegularExpression Id. */\r\n int READ = 86;\r\n /** RegularExpression Id. */\r\n int OVERRIDE = 87;\r\n /** RegularExpression Id. */\r\n int WRITE = 88;\r\n /** RegularExpression Id. */\r\n int CHECKSUM = 89;\r\n /** RegularExpression Id. */\r\n int DATABASE_OBJECT_NAME = 90;\r\n /** RegularExpression Id. */\r\n int OBJECT_NAME = 91;\r\n /** RegularExpression Id. */\r\n int CURRENT = 92;\r\n /** RegularExpression Id. */\r\n int VALIDTIME = 93;\r\n /** RegularExpression Id. */\r\n int SEQUENCED = 94;\r\n /** RegularExpression Id. */\r\n int NONSEQUENCED = 95;\r\n /** RegularExpression Id. */\r\n int NONTEMPORAL = 96;\r\n /** RegularExpression Id. */\r\n int PERIOD = 97;\r\n /** RegularExpression Id. */\r\n int UNTIL_CHANGED = 98;\r\n /** RegularExpression Id. */\r\n int UNTIL_CLOSED = 99;\r\n /** RegularExpression Id. */\r\n int PERIOD_BOUND = 100;\r\n /** RegularExpression Id. */\r\n int MODE = 101;\r\n /** RegularExpression Id. */\r\n int NOWAIT = 102;\r\n /** RegularExpression Id. */\r\n int IDENTIFIER = 103;\r\n\r\n /** Lexical state. */\r\n int DEFAULT = 0;\r\n /** Lexical state. */\r\n int ML_COMMENT_STATE = 1;\r\n /** Lexical state. */\r\n int LOCKING_STATE = 2;\r\n\r\n /** Literal token values. */\r\n String[] tokenImage = {\r\n \"\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\",\r\n \"\\\"/*\\\"\",\r\n \"\\\"*/\\\"\",\r\n \"\",\r\n \"\",\r\n \"\\\";\\\"\",\r\n \"\\\"\\\\\\'\\\"\",\r\n \"\\\"(\\\"\",\r\n \"\\\")\\\"\",\r\n \"\\\",\\\"\",\r\n \"\\\"-\\\"\",\r\n \"\\\"*\\\"\",\r\n \"\\\"into\\\"\",\r\n \"\\\"set\\\"\",\r\n \"\\\"not\\\"\",\r\n \"\\\"from\\\"\",\r\n \"\\\"as\\\"\",\r\n \"\\\"by\\\"\",\r\n \"\\\"where\\\"\",\r\n \"\\\"all\\\"\",\r\n \"\\\"table\\\"\",\r\n \"\\\"casespecific\\\"\",\r\n \"\\\"character\\\"\",\r\n \"\\\"uppercase\\\"\",\r\n \"\\\"null\\\"\",\r\n \"\\\"to\\\"\",\r\n \"\",\r\n \"\\\"blob\\\"\",\r\n \"\\\"byte\\\"\",\r\n \"\\\"varbyte\\\"\",\r\n \"\\\"bigint\\\"\",\r\n \"\\\"byteint\\\"\",\r\n \"\\\"date\\\"\",\r\n \"\\\"decimal\\\"\",\r\n \"\\\"double\\\"\",\r\n \"\\\"precision\\\"\",\r\n \"\\\"float\\\"\",\r\n \"\\\"integer\\\"\",\r\n \"\\\"number\\\"\",\r\n \"\\\"numeric\\\"\",\r\n \"\\\"real\\\"\",\r\n \"\\\"smallint\\\"\",\r\n \"\\\"time\\\"\",\r\n \"\\\"timestamp\\\"\",\r\n \"\\\"interval\\\"\",\r\n \"\\\"day\\\"\",\r\n \"\\\"hour\\\"\",\r\n \"\\\"minute\\\"\",\r\n \"\\\"second\\\"\",\r\n \"\\\"month\\\"\",\r\n \"\\\"year\\\"\",\r\n \"\\\"char\\\"\",\r\n \"\\\"clob\\\"\",\r\n \"\\\"varying\\\"\",\r\n \"\\\"long\\\"\",\r\n \"\\\"varchar\\\"\",\r\n \"\\\"graphic\\\"\",\r\n \"\\\"vargraphic\\\"\",\r\n \"\",\r\n \"\",\r\n \"\\\"merge\\\"\",\r\n \"\",\r\n \"\\\"create\\\"\",\r\n \"\\\"ct\\\"\",\r\n \"\\\"multiset\\\"\",\r\n \"\\\"global\\\"\",\r\n \"\\\"temporary\\\"\",\r\n \"\\\"volatile\\\"\",\r\n \"\\\"using\\\"\",\r\n \"\\\"deferred\\\"\",\r\n \"\\\"locator\\\"\",\r\n \"\\\"name\\\"\",\r\n \"\",\r\n \"\",\r\n \"\\\"database\\\"\",\r\n \"\\\"table\\\"\",\r\n \"\\\"view\\\"\",\r\n \"\\\"row\\\"\",\r\n \"\\\"for\\\"\",\r\n \"\\\"in\\\"\",\r\n \"\\\"access\\\"\",\r\n \"\",\r\n \"\\\"share\\\"\",\r\n \"\\\"read\\\"\",\r\n \"\\\"override\\\"\",\r\n \"\\\"write\\\"\",\r\n \"\\\"checksum\\\"\",\r\n \"\",\r\n \"\",\r\n \"\\\"current\\\"\",\r\n \"\\\"validtime\\\"\",\r\n \"\\\"sequenced\\\"\",\r\n \"\\\"nonsequenced\\\"\",\r\n \"\\\"nontemporal\\\"\",\r\n \"\\\"period\\\"\",\r\n \"\\\"until_changed\\\"\",\r\n \"\\\"until_closed\\\"\",\r\n \"\",\r\n \"\\\"mode\\\"\",\r\n \"\\\"nowait\\\"\",\r\n \"\",\r\n };\r\n\r\n}","title":""},{"docid":"ed8344cab406eacc9ccf69e8e626c275","score":"0.5255661","text":"T visitRelationalexpression(lengBasicParser.RelationalexpressionContext ctx);","title":""},{"docid":"c85c50672fbbe17eeb84981ac99a8833","score":"0.52505696","text":"public PlSql_Parser(PlSqlTokenManager tm) {\n token_source = tm;\n token = new Token();\n jj_ntk = -1;\n jj_gen = 0;\n for (int i = 0; i < 241; i++) jj_la1[i] = -1;\n for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();\n }","title":""},{"docid":"4e82fd18f5df85b17b7e2c0a905a4012","score":"0.5230243","text":"public interface BibtextGrammarConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int LB = 5;\n /** RegularExpression Id. */\n int RB = 6;\n /** RegularExpression Id. */\n int ARTICLE = 7;\n /** RegularExpression Id. */\n int BOOK = 8;\n /** RegularExpression Id. */\n int BOOKLET = 9;\n /** RegularExpression Id. */\n int CONFERENCE = 10;\n /** RegularExpression Id. */\n int INBOOK = 11;\n /** RegularExpression Id. */\n int INCOLLECTION = 12;\n /** RegularExpression Id. */\n int INPROCEEDINGS = 13;\n /** RegularExpression Id. */\n int MANUAL = 14;\n /** RegularExpression Id. */\n int MASTERSTHESIS = 15;\n /** RegularExpression Id. */\n int MISC = 16;\n /** RegularExpression Id. */\n int PHDTHESIS = 17;\n /** RegularExpression Id. */\n int PROCEEDINGS = 18;\n /** RegularExpression Id. */\n int TECHREPORT = 19;\n /** RegularExpression Id. */\n int UNPUBLISHED = 20;\n /** RegularExpression Id. */\n int AUTHOR = 21;\n /** RegularExpression Id. */\n int JOURNAL = 22;\n /** RegularExpression Id. */\n int TITLE = 23;\n /** RegularExpression Id. */\n int YEAR = 24;\n /** RegularExpression Id. */\n int MONTH = 25;\n /** RegularExpression Id. */\n int NUMBER = 26;\n /** RegularExpression Id. */\n int PAGES = 27;\n /** RegularExpression Id. */\n int VOLUME = 28;\n /** RegularExpression Id. */\n int PUBLISHER = 29;\n /** RegularExpression Id. */\n int DOI = 30;\n /** RegularExpression Id. */\n int NOTE = 31;\n /** RegularExpression Id. */\n int KEY = 32;\n /** RegularExpression Id. */\n int EDITOR = 33;\n /** RegularExpression Id. */\n int SERIES = 34;\n /** RegularExpression Id. */\n int ADDRESS = 35;\n /** RegularExpression Id. */\n int EDITION = 36;\n /** RegularExpression Id. */\n int URL = 37;\n /** RegularExpression Id. */\n int HOWPUBLISHED = 38;\n /** RegularExpression Id. */\n int CHAPTER = 39;\n /** RegularExpression Id. */\n int BOOKTITLE = 40;\n /** RegularExpression Id. */\n int TYPE = 41;\n /** RegularExpression Id. */\n int ORGANIZATION = 42;\n /** RegularExpression Id. */\n int SCHOOL = 43;\n /** RegularExpression Id. */\n int INSTITUTION = 44;\n /** RegularExpression Id. */\n int WORD = 45;\n /** RegularExpression Id. */\n int CONSTANT = 46;\n /** RegularExpression Id. */\n int ID = 47;\n /** RegularExpression Id. */\n int LETTERSNUMBERS = 48;\n /** RegularExpression Id. */\n int LETTER = 49;\n /** RegularExpression Id. */\n int LOWER = 50;\n /** RegularExpression Id. */\n int UPPER = 51;\n /** RegularExpression Id. */\n int DIGIT = 52;\n /** RegularExpression Id. */\n int COMMA = 53;\n /** RegularExpression Id. */\n int SEMICOLON = 54;\n /** RegularExpression Id. */\n int DASH = 55;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"article\\\"\",\n \"\\\"book\\\"\",\n \"\\\"booklet\\\"\",\n \"\\\"conference\\\"\",\n \"\\\"inbook\\\"\",\n \"\\\"incollection\\\"\",\n \"\\\"inproceedings\\\"\",\n \"\\\"manual\\\"\",\n \"\\\"mastersthesis\\\"\",\n \"\\\"misc\\\"\",\n \"\\\"phdthesis\\\"\",\n \"\\\"proceedings\\\"\",\n \"\\\"techreport\\\"\",\n \"\\\"unpublished\\\"\",\n \"\\\"Author\\\"\",\n \"\\\"Journal\\\"\",\n \"\\\"Title\\\"\",\n \"\\\"Year\\\"\",\n \"\\\"Month\\\"\",\n \"\\\"Number\\\"\",\n \"\\\"Pages\\\"\",\n \"\\\"Volume\\\"\",\n \"\\\"Publisher\\\"\",\n \"\\\"Doi\\\"\",\n \"\\\"Note\\\"\",\n \"\\\"Key\\\"\",\n \"\\\"Editor\\\"\",\n \"\\\"Series\\\"\",\n \"\\\"Address\\\"\",\n \"\\\"Edition\\\"\",\n \"\\\"Url\\\"\",\n \"\\\"Howpublished\\\"\",\n \"\\\"Chapter\\\"\",\n \"\\\"Booktitle\\\"\",\n \"\\\"Type\\\"\",\n \"\\\"Organization\\\"\",\n \"\\\"School\\\"\",\n \"\\\"Institution\\\"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\\\"@\\\"\",\n \"\\\"=\\\"\",\n \"\\\"-\\\"\",\n \"\\\".\\\"\",\n \"\\\",\\\"\",\n \"\\\"\\\\\\'\\\"\",\n \"\\\":\\\"\",\n \"\\\"/\\\"\",\n };\n\n}","title":""},{"docid":"d8ca35719143ee75b61930930e42fc3d","score":"0.52300596","text":"final public void MethodDeclarationLookahead() throws ParseException {\r\n Modifier();\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case STATIC:\r\n YoyooStatic jjtn001 = new YoyooStatic(JJTSTATIC);\r\n boolean jjtc001 = true;\r\n jjtree.openNodeScope(jjtn001);\r\n jjtreeOpenNodeScope(jjtn001);\r\n try {\r\n jj_consume_token(STATIC);\r\n } finally {\r\n if (jjtc001) {\r\n jjtree.closeNodeScope(jjtn001, true);\r\n jjtreeCloseNodeScope(jjtn001);\r\n }\r\n }\r\n break;\r\n default:\r\n jj_la1[20] = jj_gen;\r\n ;\r\n }\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case ABSTRACT:\r\n YoyooAbstract jjtn002 = new YoyooAbstract(JJTABSTRACT);\r\n boolean jjtc002 = true;\r\n jjtree.openNodeScope(jjtn002);\r\n jjtreeOpenNodeScope(jjtn002);\r\n try {\r\n jj_consume_token(ABSTRACT);\r\n } finally {\r\n if (jjtc002) {\r\n jjtree.closeNodeScope(jjtn002, true);\r\n jjtreeCloseNodeScope(jjtn002);\r\n }\r\n }\r\n break;\r\n default:\r\n jj_la1[21] = jj_gen;\r\n ;\r\n }\r\n ResultType();\r\n jj_consume_token(IDENTIFIER);\r\n jj_consume_token(LPAREN);\r\n }","title":""},{"docid":"21bbcf89723dec95861d5becff352030","score":"0.52059364","text":"final public void CastLookahead() throws ParseException {\r\n if (jj_2_17(2)) {\r\n jj_consume_token(LPAREN);\r\n PrimitiveType();\r\n } else if (jj_2_18(2147483647)) {\r\n jj_consume_token(LPAREN);\r\n Type();\r\n jj_consume_token(LBRACKET);\r\n jj_consume_token(RBRACKET);\r\n } else {\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case LPAREN:\r\n jj_consume_token(LPAREN);\r\n Type();\r\n jj_consume_token(RPAREN);\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case 117:\r\n jj_consume_token(117);\r\n break;\r\n case BANG:\r\n jj_consume_token(BANG);\r\n break;\r\n case LPAREN:\r\n jj_consume_token(LPAREN);\r\n break;\r\n case IDENTIFIER:\r\n jj_consume_token(IDENTIFIER);\r\n break;\r\n case THIS:\r\n jj_consume_token(THIS);\r\n break;\r\n case SUPER:\r\n jj_consume_token(SUPER);\r\n break;\r\n case NEW:\r\n jj_consume_token(NEW);\r\n break;\r\n case FALSE:\r\n case NULL:\r\n case TRUE:\r\n case INTEGER_LITERAL:\r\n case FLOATING_POINT_LITERAL:\r\n case CHARACTER_LITERAL:\r\n case STRING_LITERAL:\r\n case MULTILINE_STRING_LITERAL:\r\n case SLASH:\r\n Literal();\r\n break;\r\n default:\r\n jj_la1[69] = jj_gen;\r\n jj_consume_token(-1);\r\n throw new ParseException();\r\n }\r\n break;\r\n default:\r\n jj_la1[70] = jj_gen;\r\n jj_consume_token(-1);\r\n throw new ParseException();\r\n }\r\n }\r\n }","title":""},{"docid":"cec3fd4000ab6032f1eb585008e40b82","score":"0.5189631","text":"private int yyr25() {\n return yypStatements();\n }","title":""},{"docid":"2f2277df26aef9b4e3cbb36fda159dd7","score":"0.51759714","text":"Token next(char endOfAtom) throws ParseException {\n/* 222 */ return next(endOfAtom, false);\n/* */ }","title":""},{"docid":"7485821bb2efad4afd95033230287eeb","score":"0.51687694","text":"private int yyr29() {\n yysp -= 5;\n return yypStatement();\n }","title":""},{"docid":"f59f32072182c3a2bea23ba66d84503b","score":"0.5158212","text":"T visitLogicalorexpression(lengBasicParser.LogicalorexpressionContext ctx);","title":""},{"docid":"a211b33f09ba8d13e1eefc8c03ba9c9b","score":"0.5139663","text":"@Test\n\tpublic void test34()\n\t{\n\t\tGrammar grammar = new Grammar(\"start: reverse|reversed|\\\"reverse the order of\\\" a list\", debugFlag);\n\t\tgrammar.addGlobalAlternative(\"reverse\", \"reversing\");\n\t\tassertEquals(\n\t\t\t1,\n\t\t\tparses(\n\t\t\t\tgrammar,\n\t\t\t\t\"reversing the order of a list\"\n\t\t\t)\n\t\t);\n\t}","title":""},{"docid":"dcae0293e80ea9c8d4fa2ccc883bc595","score":"0.5139211","text":"T visitInclusiveorexpression(lengBasicParser.InclusiveorexpressionContext ctx);","title":""},{"docid":"7f0ca6a64477683a1ec670adf4fa4039","score":"0.5135843","text":"public final void mT__33() throws RecognitionException {\n try {\n int _type = T__33;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // unql.g:28:7: ( 'END' )\n // unql.g:28:9: 'END'\n {\n match(\"END\"); \n\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n \t// do for sure before leaving\n }\n }","title":""},{"docid":"d5a929533e4876f66e2c8b7954e97709","score":"0.5135418","text":"public interface Token\n extends Text,\n Tokens {\n\n /**\n * the leftmost parsed element, related to this token in the string\n * @param text the string\n * @return token\n */\n @Override\n default Token leftMostIn(final String text) {\n final Token ret;\n if (text.contains(this.toSource())) {\n ret = this;\n } else {\n ret = new Absence();\n }\n return ret;\n }\n\n @Override\n default Tokens exclude(final Tokens tokens) {\n return tokens.contains(this) ?\n new Empty() :\n this;\n }\n\n @Override\n default boolean contains(final Token token) {\n return this.getClass()\n .equals(token.getClass()) && this.toSource()\n .equals(token.toSource());\n }\n\n /**\n * if this text is contained in the parameter, then\n * @param text parameter\n * @return text is preceding to first occurrence\n */\n default String precedingIn(final Source text) {\n return text.precedingThe(this.toSource());\n }\n\n /**\n * @param text parameter\n * if this text is contained in the parameter, then\n * @return text is following to first occurrence\n */\n default Sense followingIn(final Source text) {\n return text.followingThe(this.toSource());\n }\n\n default int length() {\n return this.toSource()\n .length();\n }\n\n /**\n * first position of this element in the string\n * @param text parameter\n * @return position\n */\n default int firstPositionIn(final String text) {\n return text.indexOf(this.toSource());\n }\n\n /**\n * by default recognizing Text is a failed recognition\n * @param unrecognized following text\n * @return failed\n */\n default Sense concat(final Unrecognized unrecognized) {\n return new Failed(this,\n new Source(unrecognized.toSource()));\n }\n\n /**\n * leftmost element in the string, either this, or parameter. if both\n * positions are equals, returns longer one. if neither element is exist,\n * then returns Empty token\n * @param parsed parameter\n * @param text where to search elements\n * @return left most element\n */\n default Token leftMost(final Token parsed,\n final String text) {\n final int thisPosition = this.firstPositionIn(text);\n final int parsedPosition = parsed.firstPositionIn(text);\n if (thisPosition == -1 && parsedPosition == -1) {\n return new Absence();\n } else if (thisPosition == -1) {\n return parsed;\n } else if (parsedPosition == -1) {\n return this;\n } else if (thisPosition > parsedPosition) {\n return parsed;\n } else if (parsedPosition > thisPosition) {\n return this;\n } else if (this.length() > parsed.length()) {\n return this;\n } else {\n return parsed;\n }\n }\n}","title":""},{"docid":"63a73d414976a6d67822980329859052","score":"0.5135131","text":"T visitLogicalandexpression(lengBasicParser.LogicalandexpressionContext ctx);","title":""},{"docid":"cb2b85f7df07d5bb254e3177db9d2fc5","score":"0.5115665","text":"public final void ruleEnumLiteralDeclaration() throws RecognitionException {\n Token otherlv_0=null;\n Token otherlv_1=null;\n\n try {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1795:27: ( ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )? ) )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1796:2: ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )? )\n {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1796:2: ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )? )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1797:3: ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )?\n {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1797:3: ( (otherlv_0= RULE_ID ) )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1798:4: (otherlv_0= RULE_ID )\n {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1798:4: (otherlv_0= RULE_ID )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1799:5: otherlv_0= RULE_ID\n {\n\n \t\t\t\t\tmarkLeaf(elementTypeProvider.getEnumLiteralDeclaration_EnumLiteralEEnumLiteralCrossReference_0_0ElementType());\n \t\t\t\t\n otherlv_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_RULE_ID_in_ruleEnumLiteralDeclaration5205); \n\n \t\t\t\t\tdoneLeaf(otherlv_0);\n \t\t\t\t\n\n }\n\n\n }\n\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1808:3: (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )?\n int alt48=2;\n int LA48_0 = input.LA(1);\n\n if ( (LA48_0==30) ) {\n alt48=1;\n }\n switch (alt48) {\n case 1 :\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1809:4: otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) )\n {\n\n \t\t\t\tmarkLeaf(elementTypeProvider.getEnumLiteralDeclaration_EqualsSignKeyword_1_0ElementType());\n \t\t\t\n otherlv_1=(Token)match(input,30,FollowSets000.FOLLOW_30_in_ruleEnumLiteralDeclaration5236); \n\n \t\t\t\tdoneLeaf(otherlv_1);\n \t\t\t\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1816:4: ( (lv_literal_2_0= ruleKeyword ) )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1817:5: (lv_literal_2_0= ruleKeyword )\n {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1817:5: (lv_literal_2_0= ruleKeyword )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1818:6: lv_literal_2_0= ruleKeyword\n {\n\n \t\t\t\t\t\tmarkComposite(elementTypeProvider.getEnumLiteralDeclaration_LiteralKeywordParserRuleCall_1_1_0ElementType());\n \t\t\t\t\t\n pushFollow(FollowSets000.FOLLOW_ruleKeyword_in_ruleEnumLiteralDeclaration5268);\n ruleKeyword();\n\n state._fsp--;\n\n\n \t\t\t\t\t\tdoneComposite();\n \t\t\t\t\t\n\n }\n\n\n }\n\n\n }\n break;\n\n }\n\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return ;\n }","title":""},{"docid":"a3503b8e79d882f2420b479e81baf653","score":"0.51067674","text":"protected void enterGrammar(Production node) throws ParseException {\n }","title":""},{"docid":"2cb8df231aadc904bb1fd5ddc0d3eacf","score":"0.51067543","text":"private final JessToken finishToken(int paramInt, StringBuffer paramStringBuffer)\n/* */ throws JessException\n/* */ {\n/* 215 */ JessToken localJessToken = new JessToken();\n/* 216 */ localJessToken.m_lineno = this.m_line;\n/* */ \n/* 218 */ switch (paramInt)\n/* */ {\n/* */ \n/* */ case 34: \n/* 222 */ localJessToken.m_ttype = 2;\n/* 223 */ localJessToken.m_sval = paramStringBuffer.toString();\n/* 224 */ break;\n/* */ \n/* */ \n/* */ case 40: \n/* 228 */ localJessToken.m_ttype = 40;\n/* 229 */ localJessToken.m_sval = \"(\";\n/* 230 */ break;\n/* */ \n/* */ case 41: \n/* 233 */ localJessToken.m_ttype = 41;\n/* 234 */ localJessToken.m_sval = \")\";\n/* 235 */ break;\n/* */ \n/* */ case 38: \n/* 238 */ localJessToken.m_ttype = 38;\n/* 239 */ localJessToken.m_sval = \"&\";\n/* 240 */ break;\n/* */ \n/* */ case 126: \n/* 243 */ localJessToken.m_ttype = 126;\n/* 244 */ localJessToken.m_sval = \"~\";\n/* 245 */ break;\n/* */ \n/* */ case 124: \n/* 248 */ localJessToken.m_ttype = paramInt;\n/* 249 */ localJessToken.m_sval = \"|\";\n/* 250 */ break;\n/* */ \n/* */ case 61: \n/* 253 */ localJessToken.m_ttype = 61;\n/* 254 */ localJessToken.m_sval = \"=\";\n/* 255 */ break;\n/* */ \n/* */ \n/* */ case 10: \n/* 259 */ localJessToken.m_ttype = 1;\n/* 260 */ localJessToken.m_sval = \"CRLF\";\n/* 261 */ break;\n/* */ \n/* */ \n/* */ case -1: \n/* 265 */ if (paramStringBuffer.length() == 0)\n/* */ {\n/* 267 */ localJessToken.m_ttype = 0;\n/* 268 */ localJessToken.m_sval = \"EOF\";\n/* */ }\n/* */ else {\n/* 271 */ return finishToken(0, paramStringBuffer);\n/* */ }\n/* */ break;\n/* */ case 0: \n/* 275 */ String str = paramStringBuffer.toString();\n/* 276 */ int i = str.charAt(0);\n/* */ \n/* */ \n/* 279 */ if (i == 63)\n/* */ {\n/* 281 */ localJessToken.m_ttype = 8;\n/* 282 */ if (str.length() > 1) {\n/* 283 */ localJessToken.m_sval = str.substring(1);\n/* */ } else {\n/* 285 */ localJessToken.m_sval = RU.gensym(\"_blank_\");\n/* */ }\n/* */ \n/* */ \n/* */ }\n/* 290 */ else if ((i == 36) && (str.length() > 1) && (str.charAt(1) == '?'))\n/* */ {\n/* */ \n/* 293 */ localJessToken.m_ttype = 8192;\n/* 294 */ if (str.length() > 2) {\n/* 295 */ localJessToken.m_sval = str.substring(2);\n/* */ } else {\n/* 297 */ localJessToken.m_sval = RU.gensym(\"_blank_mf\");\n/* */ }\n/* */ \n/* */ \n/* */ }\n/* 302 */ else if ((str.length() == 1) && ((i == 45) || (i == 46) || (i == 43)))\n/* */ {\n/* 304 */ localJessToken.m_ttype = 1;\n/* 305 */ localJessToken.m_sval = str;\n/* */ \n/* */ \n/* */ }\n/* 309 */ else if (isAnInteger(str))\n/* */ {\n/* */ \n/* */ try\n/* */ {\n/* 314 */ int j = Integer.parseInt(str, 10);\n/* 315 */ localJessToken.m_ttype = 4;\n/* 316 */ localJessToken.m_nval = j;\n/* */ \n/* */ }\n/* */ catch (NumberFormatException localNumberFormatException1) {}\n/* */ \n/* */ }\n/* */ else\n/* */ {\n/* */ try\n/* */ {\n/* 326 */ double d = Double.valueOf(str).doubleValue();\n/* 327 */ localJessToken.m_ttype = 32;\n/* 328 */ localJessToken.m_nval = d;\n/* */ \n/* */ }\n/* */ catch (NumberFormatException localNumberFormatException2)\n/* */ {\n/* */ \n/* 334 */ localJessToken.m_ttype = 1;\n/* 335 */ localJessToken.m_sval = str;\n/* */ }\n/* */ }\n/* */ break;\n/* 339 */ default: throw new JessException(\"Tokenizer.finishToken\", \"Impossible tag:\", (char)paramInt); }\n/* */ \n/* 341 */ return localJessToken;\n/* */ }","title":""},{"docid":"43b14def744f4a2e66a268ed1beeaaf2","score":"0.51020676","text":"public final void mT__30() throws RecognitionException {\n try {\n int _type = T__30;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // /Users/Samy/Git_Telecom/Compilation2k18/Expr.g:9:7: ( ':' )\n // /Users/Samy/Git_Telecom/Compilation2k18/Expr.g:9:9: ':'\n {\n match(':'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }","title":""},{"docid":"592e99d59a1e68a2e2ff6a444eb4d429","score":"0.51018703","text":"public Token next() throws ParseException {\n/* 204 */ return next(false, false);\n/* */ }","title":""},{"docid":"e10781aa3a002415382e4847e4b575db","score":"0.5086245","text":"public final void mT__31() throws RecognitionException {\r\n try {\r\n int _type = T__31;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // src/Little.g:12:7: ( ';' )\r\n // src/Little.g:12:9: ';'\r\n {\r\n match(';'); \r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }","title":""},{"docid":"d54d7b5634dab7c5e1c96ac4ba377451","score":"0.5085547","text":"public abstract Token parse(MatchResult result) throws ParseException;","title":""},{"docid":"929cecd8aa403a61aee0621743237f7d","score":"0.5081841","text":"public final void mT__31() throws RecognitionException {\n try {\n int _type = T__31;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.featuremodel/src-gen/org/xtext/featuremodel/parser/antlr/internal/InternalFeatureModel.g:31:7: ( '' )\n // ../org.xtext.featuremodel/src-gen/org/xtext/featuremodel/parser/antlr/internal/InternalFeatureModel.g:31:9: ''\n {\n match(\"\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }","title":""},{"docid":"215d1a04e7656b40976de95b77930cb0","score":"0.50729555","text":"public interface Literal extends SelectStatementWater, SpecialNamesParagraphWater, CICSStatementWater, PrimaryOperand, InvokeStatementWater, StopLabel {\n}","title":""},{"docid":"353983ef9cdf251531b6007f57055188","score":"0.50718975","text":"@Override\n\tpublic String toAntlr() {\n\t\tString antlr = \"\";\n\t\tfor(ExpressionTerm argument : expressionTerms) {\n\t\t\tantlr += argument.toAntlr();\n\t\t}\n\t\tif(instruction)antlr += \"\\n;\";\n\t\t// TODO Write from arguments\n\t\treturn antlr;\n\t}","title":""},{"docid":"8458d160aec590695d950c4ff05d6935","score":"0.5070875","text":"public interface MimirJSqlParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int K_AS = 5;\n /** RegularExpression Id. */\n int K_DIRECT = 6;\n /** RegularExpression Id. */\n int K_UNCERTAIN = 7;\n /** RegularExpression Id. */\n int K_ANALYZE = 8;\n /** RegularExpression Id. */\n int K_EXPLAIN = 9;\n /** RegularExpression Id. */\n int K_ASSUME = 10;\n /** RegularExpression Id. */\n int K_VIEW = 11;\n /** RegularExpression Id. */\n int K_LENS = 12;\n /** RegularExpression Id. */\n int K_ADAPTIVE = 13;\n /** RegularExpression Id. */\n int K_SCHEMA = 14;\n /** RegularExpression Id. */\n int K_LET = 15;\n /** RegularExpression Id. */\n int K_LOAD = 16;\n /** RegularExpression Id. */\n int K_PLOT = 17;\n /** RegularExpression Id. */\n int K_ALTER = 18;\n /** RegularExpression Id. */\n int K_SAVE = 19;\n /** RegularExpression Id. */\n int K_RENAME = 20;\n /** RegularExpression Id. */\n int K_PRAGMA = 21;\n /** RegularExpression Id. */\n int K_MATERIALIZE = 22;\n /** RegularExpression Id. */\n int K_BY = 23;\n /** RegularExpression Id. */\n int K_DO = 24;\n /** RegularExpression Id. */\n int K_IF = 25;\n /** RegularExpression Id. */\n int K_IS = 26;\n /** RegularExpression Id. */\n int K_IN = 27;\n /** RegularExpression Id. */\n int K_OR = 28;\n /** RegularExpression Id. */\n int K_OF = 29;\n /** RegularExpression Id. */\n int K_ON = 30;\n /** RegularExpression Id. */\n int K_ALL = 31;\n /** RegularExpression Id. */\n int K_AND = 32;\n /** RegularExpression Id. */\n int K_ANY = 33;\n /** RegularExpression Id. */\n int K_KEY = 34;\n /** RegularExpression Id. */\n int K_NOT = 35;\n /** RegularExpression Id. */\n int K_SET = 36;\n /** RegularExpression Id. */\n int K_ASC = 37;\n /** RegularExpression Id. */\n int K_TOP = 38;\n /** RegularExpression Id. */\n int K_END = 39;\n /** RegularExpression Id. */\n int K_DESC = 40;\n /** RegularExpression Id. */\n int K_INTO = 41;\n /** RegularExpression Id. */\n int K_NULL = 42;\n /** RegularExpression Id. */\n int K_LIKE = 43;\n /** RegularExpression Id. */\n int K_DROP = 44;\n /** RegularExpression Id. */\n int K_JOIN = 45;\n /** RegularExpression Id. */\n int K_LEFT = 46;\n /** RegularExpression Id. */\n int K_FROM = 47;\n /** RegularExpression Id. */\n int K_OPEN = 48;\n /** RegularExpression Id. */\n int K_CASE = 49;\n /** RegularExpression Id. */\n int K_WHEN = 50;\n /** RegularExpression Id. */\n int K_THEN = 51;\n /** RegularExpression Id. */\n int K_ELSE = 52;\n /** RegularExpression Id. */\n int K_SOME = 53;\n /** RegularExpression Id. */\n int K_FULL = 54;\n /** RegularExpression Id. */\n int K_WITH = 55;\n /** RegularExpression Id. */\n int K_TABLE = 56;\n /** RegularExpression Id. */\n int K_WHERE = 57;\n /** RegularExpression Id. */\n int K_USING = 58;\n /** RegularExpression Id. */\n int K_UNION = 59;\n /** RegularExpression Id. */\n int K_GROUP = 60;\n /** RegularExpression Id. */\n int K_BEGIN = 61;\n /** RegularExpression Id. */\n int K_INDEX = 62;\n /** RegularExpression Id. */\n int K_INNER = 63;\n /** RegularExpression Id. */\n int K_LIMIT = 64;\n /** RegularExpression Id. */\n int K_OUTER = 65;\n /** RegularExpression Id. */\n int K_ORDER = 66;\n /** RegularExpression Id. */\n int K_RIGHT = 67;\n /** RegularExpression Id. */\n int K_DELETE = 68;\n /** RegularExpression Id. */\n int K_CREATE = 69;\n /** RegularExpression Id. */\n int K_SELECT = 70;\n /** RegularExpression Id. */\n int K_CAST = 71;\n /** RegularExpression Id. */\n int K_PROVENANCE = 72;\n /** RegularExpression Id. */\n int K_OFFSET = 73;\n /** RegularExpression Id. */\n int K_EXISTS = 74;\n /** RegularExpression Id. */\n int K_HAVING = 75;\n /** RegularExpression Id. */\n int K_INSERT = 76;\n /** RegularExpression Id. */\n int K_UPDATE = 77;\n /** RegularExpression Id. */\n int K_VALUES = 78;\n /** RegularExpression Id. */\n int K_ESCAPE = 79;\n /** RegularExpression Id. */\n int K_PRIMARY = 80;\n /** RegularExpression Id. */\n int K_NATURAL = 81;\n /** RegularExpression Id. */\n int K_REPLACE = 82;\n /** RegularExpression Id. */\n int K_BETWEEN = 83;\n /** RegularExpression Id. */\n int K_TRUNCATE = 84;\n /** RegularExpression Id. */\n int K_DISTINCT = 85;\n /** RegularExpression Id. */\n int K_INTERSECT = 86;\n /** RegularExpression Id. */\n int K_FEEDBACK = 87;\n /** RegularExpression Id. */\n int K_EXTRACT = 88;\n /** RegularExpression Id. */\n int K_ASSIGNMENTS = 89;\n /** RegularExpression Id. */\n int S_DOUBLE = 90;\n /** RegularExpression Id. */\n int S_INTEGER = 91;\n /** RegularExpression Id. */\n int DIGIT = 92;\n /** RegularExpression Id. */\n int LINE_COMMENT = 93;\n /** RegularExpression Id. */\n int MULTI_LINE_COMMENT = 94;\n /** RegularExpression Id. */\n int S_IDENTIFIER = 95;\n /** RegularExpression Id. */\n int LETTER = 96;\n /** RegularExpression Id. */\n int SPECIAL_CHARS = 97;\n /** RegularExpression Id. */\n int S_CHAR_LITERAL = 98;\n /** RegularExpression Id. */\n int S_QUOTED_IDENTIFIER = 99;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"AS\\\"\",\n \"\\\"DIRECT\\\"\",\n \"\\\"UNCERTAIN\\\"\",\n \"\\\"ANALYZE\\\"\",\n \"\\\"EXPLAIN\\\"\",\n \"\\\"ASSUME\\\"\",\n \"\\\"VIEW\\\"\",\n \"\\\"LENS\\\"\",\n \"\\\"ADAPTIVE\\\"\",\n \"\\\"SCHEMA\\\"\",\n \"\\\"LET\\\"\",\n \"\\\"LOAD\\\"\",\n \"\\\"PLOT\\\"\",\n \"\\\"ALTER\\\"\",\n \"\\\"SAVE\\\"\",\n \"\\\"RENAME\\\"\",\n \"\\\"PRAGMA\\\"\",\n \"\\\"MATERIALIZE\\\"\",\n \"\\\"BY\\\"\",\n \"\\\"DO\\\"\",\n \"\\\"IF\\\"\",\n \"\\\"IS\\\"\",\n \"\\\"IN\\\"\",\n \"\\\"OR\\\"\",\n \"\\\"OF\\\"\",\n \"\\\"ON\\\"\",\n \"\\\"ALL\\\"\",\n \"\\\"AND\\\"\",\n \"\\\"ANY\\\"\",\n \"\\\"KEY\\\"\",\n \"\\\"NOT\\\"\",\n \"\\\"SET\\\"\",\n \"\\\"ASC\\\"\",\n \"\\\"TOP\\\"\",\n \"\\\"END\\\"\",\n \"\\\"DESC\\\"\",\n \"\\\"INTO\\\"\",\n \"\\\"NULL\\\"\",\n \"\\\"LIKE\\\"\",\n \"\\\"DROP\\\"\",\n \"\\\"JOIN\\\"\",\n \"\\\"LEFT\\\"\",\n \"\\\"FROM\\\"\",\n \"\\\"OPEN\\\"\",\n \"\\\"CASE\\\"\",\n \"\\\"WHEN\\\"\",\n \"\\\"THEN\\\"\",\n \"\\\"ELSE\\\"\",\n \"\\\"SOME\\\"\",\n \"\\\"FULL\\\"\",\n \"\\\"WITH\\\"\",\n \"\\\"TABLE\\\"\",\n \"\\\"WHERE\\\"\",\n \"\\\"USING\\\"\",\n \"\\\"UNION\\\"\",\n \"\\\"GROUP\\\"\",\n \"\\\"BEGIN\\\"\",\n \"\\\"INDEX\\\"\",\n \"\\\"INNER\\\"\",\n \"\\\"LIMIT\\\"\",\n \"\\\"OUTER\\\"\",\n \"\\\"ORDER\\\"\",\n \"\\\"RIGHT\\\"\",\n \"\\\"DELETE\\\"\",\n \"\\\"CREATE\\\"\",\n \"\\\"SELECT\\\"\",\n \"\\\"CAST\\\"\",\n \"\\\"PROVENANCE\\\"\",\n \"\\\"OFFSET\\\"\",\n \"\\\"EXISTS\\\"\",\n \"\\\"HAVING\\\"\",\n \"\\\"INSERT\\\"\",\n \"\\\"UPDATE\\\"\",\n \"\\\"VALUES\\\"\",\n \"\\\"ESCAPE\\\"\",\n \"\\\"PRIMARY\\\"\",\n \"\\\"NATURAL\\\"\",\n \"\\\"REPLACE\\\"\",\n \"\\\"BETWEEN\\\"\",\n \"\\\"TRUNCATE\\\"\",\n \"\\\"DISTINCT\\\"\",\n \"\\\"INTERSECT\\\"\",\n \"\\\"FEEDBACK\\\"\",\n \"\\\"EXTRACT\\\"\",\n \"\\\"ASSIGNMENTS\\\"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\\\";\\\"\",\n \"\\\":\\\"\",\n \"\\\"(\\\"\",\n \"\\\",\\\"\",\n \"\\\")\\\"\",\n \"\\\"=\\\"\",\n \"\\\".\\\"\",\n \"\\\"*\\\"\",\n \"\\\"?\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\">=\\\"\",\n \"\\\"<=\\\"\",\n \"\\\"<>\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"@@\\\"\",\n \"\\\"||\\\"\",\n \"\\\"|\\\"\",\n \"\\\"&\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"/\\\"\",\n \"\\\"^\\\"\",\n \"\\\"{d\\\"\",\n \"\\\"}\\\"\",\n \"\\\"{t\\\"\",\n \"\\\"{ts\\\"\",\n \"\\\"{fn\\\"\",\n };\n\n}","title":""},{"docid":"05f8a16c220e68057e0f6b725baac9e3","score":"0.5065117","text":"private int yyr51() {\n return 107;\n }","title":""},{"docid":"4450d89f303b78381b23a2fd18046d14","score":"0.5056176","text":"public Token next() {\n\t\t\n\t\tint state = 0;\n\t\tStringBuilder lexeme = new StringBuilder();\n\t\tint startLine = source.line;\n\t\tint startColumn = source.column;\n\t\t\n\t\twhile (true) {\n\t\t\tswitch (state) {\n\t\t\tcase 0:\n\t\t\t\tif (source.atEOF) {\n\t\t\t\t\treturn new Token(source.line, source.column, TokenType.EOF, null);\n\t\t\t\t// State 1 deals with the NUM 0\n\t\t\t\t} else if (source.current == '0') {\n\t\t\t\t\tstartLine = source.line;\n\t\t\t\t\tstartColumn = source.column;\n\t\t\t\t\tlexeme.append(source.current);\n\t\t\t\t\tsource.advance();\n\t\t\t\t\tstate = 1;\n\t\t\t\t// State 2 deals with all the other NUMs\n\t\t\t\t} else if (Character.isDigit(source.current)) {\n\t\t\t\t\tstartLine = source.line;\n\t\t\t\t\tstartColumn = source.column;\n\t\t\t\t\tlexeme.append(source.current);\n\t\t\t\t\tsource.advance();\n\t\t\t\t\tstate = 2;\n\t\t\t\t// State 3 deals with keywords and identifiers\n\t\t\t\t} else if (Character.isAlphabetic(source.current)) {\n\t\t\t\t\tstartLine = source.line;\n\t\t\t\t\tstartColumn = source.column;\n\t\t\t\t\tlexeme.append(source.current);\n\t\t\t\t\tsource.advance();\n\t\t\t\t\tstate = 3;\n\t\t\t // States 4-7 deal with comments\n\t\t\t\t} else if (source.current == '/') {\n\t\t\t\t\tstate = 4;\n\t\t\t\t\tsource.advance();\n\t\t\t\t// State 8 deals with operators and punctuation\n\t\t\t\t} else if (\"+-*;.:(),\".contains(String.valueOf(source.current))) {\n\t\t\t\t\tstate = 8;\n\t\t\t\t\tlexeme.append(source.current);\n\t\t\t\t\tsource.advance();\n\t\t\t\t// State 9 deals with <= and <> as well as <\n\t\t\t\t} else if (source.current == '<') {\n\t\t\t\t\tstartLine = source.line;\n\t\t\t\t\tstartColumn = source.column;\n\t\t\t\t\tstate = 9;\n\t\t\t\t\tsource.advance();\n\t\t\t\t// State 10 deals with >= and >\n\t\t\t\t} else if (source.current == '>') {\n\t\t\t\t\tstartLine = source.line;\n\t\t\t\t\tstartColumn = source.column;\n\t\t\t\t\tstate = 10;\n\t\t\t\t\tsource.advance();\n\t\t\t\t// States 11-12 deal with string literal\n\t\t\t\t} else if (source.current == '\"') {\n\t\t\t\t\tstartLine = source.line;\n\t\t\t\t\tstartColumn = source.column;\n\t\t\t\t\tstate = 11;\n\t\t\t\t\tsource.advance();\n\t\t\t\t// States 13-14 deal with equal operator ==\n\t\t\t\t} else if (source.current == '=') {\n\t\t\t\t\tstartLine = source.line;\n\t\t\t\t\tstartColumn = source.column;\n\t\t\t\t\tstate = 13;\n\t\t\t\t\tsource.advance();\n\t\t\t\t} else if (Character.isWhitespace(source.current)) {\n\t\t\t\t\tsource.advance();\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"Unexpected character '\" + source.current + \"' at line \" + source.line + \" column \" + source.column + \" was skipped.\");\n\t\t\t\t\tsource.advance();\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t\t\n\t\t\tcase 1:\n\t\t\t\treturn new Token(startLine, startColumn, TokenType.NUM, lexeme.toString());\n\t\t\t\t\n\t\t\tcase 2:\n\t\t\t\tif (source.atEOF || !Character.isDigit(source.current)) {\n\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.NUM, lexeme.toString());\n\t\t\t\t} else {\n\t\t\t\t\tlexeme.append(source.current);\n\t\t\t\t\tsource.advance();\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 3:\n\t\t\t\t// a list of legal characters to signal the end of lexeme\n\t\t\t\tString end_chars = \"+-*;.=/ \\t\\n:(),<>\\\"\";\n\t\t\t\t\n\t\t\t\t// Alphabets, digits, and underscores are parts of legal identifier\n\t\t\t\tif (Character.isAlphabetic(source.current) || Character.isDigit(source.current) || source.current == '_') {\n\t\t\t\t\tlexeme.append(source.current);\n\t\t\t\t\tsource.advance();\n\t\t\t\t// This case is the end of token\n\t\t\t\t} else if (end_chars.contains(String.valueOf(source.current))) {\n\t\t\t\t\tString lex = lexeme.toString();\n\t\t\t\t\t\n\t\t\t\t\tif (keywords.containsKey(lex))\n\t\t\t\t\t\treturn new Token(startLine, startColumn, keywords.get(lex), null);\n\t\t\t\t\telse\n\t\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.ID, lex);\n\t\t\t\t// If there is a illegal character, print an error message\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"Unexpected character '\" + source.current + \"' at line \" + source.line + \" column \" + source.column + \" was skipped.\");\n\t\t\t\t\tsource.advance();\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 4:\n\t\t\t\tif (source.current == '/') {\n\t\t\t\t\tstate = 5;\n\t\t\t\t\tsource.advance();\n\t\t\t\t}\n\t\t\t\telse if (source.current == '*') {\n\t\t\t\t\tstate = 6;\n\t\t\t\t\tsource.advance();\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.println(\"You have to use // for a one-line comment.\");\n\t\t\t\t\tstate = 0;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 5:\n\t\t\t\tif (source.current == '\\n')\n\t\t\t\t\tstate = 0;\n\t\t\t\tsource.advance();\n\t\t\t\tbreak;\n\t\t\tcase 6:\n\t\t\t\tif (source.current == '*')\n\t\t\t\t\tstate = 7;\n\t\t\t\telse if (source.atEOF) {\n\t\t\t\t\tSystem.out.println(\"Comment has to be closed with '*/' before EOF\");\n\t\t\t\t\tstate = 0;\n\t\t\t\t}\n\t\t\t\tsource.advance();\n\t\t\t\tbreak;\n\t\t\tcase 7:\n\t\t\t\tif (source.current == '/')\n\t\t\t\t\tstate = 0;\n\t\t\t\telse if (source.current == '*')\n\t\t\t\t\tstate = 7;\n\t\t\t\telse if (source.atEOF) {\n\t\t\t\t\tSystem.out.println(\"Comment has to be closed with '*/' before EOF\");\n\t\t\t\t\tstate = 0;\n\t\t\t\t} else\n\t\t\t\t\tstate = 6;\n\t\t\t\tsource.advance();\n\t\t\t\tbreak;\n\t\t\tcase 8:\n\t\t\t\tString lex = lexeme.toString();\n\t\t\t\treturn new Token(startLine, startColumn, opsAndPunct.get(lex), null);\n\t\t\tcase 9:\n\t\t\t\tif (source.current == '=') {\n\t\t\t\t\tsource.advance();\n\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.LE, null);\n\t\t\t\t}\n\t\t\t\telse if (source.current == '>') {\n\t\t\t\t\tsource.advance();\n\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.NE, null);\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.LT, null);\n\t\t\tcase 10:\n\t\t\t\tif (source.current == '=') {\n\t\t\t\t\tsource.advance();\n\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.GE, null);\n\t\t\t\t} else \n\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.GT, null);\n\t\t\tcase 11:\n\t\t\t\tif (source.current == '\"')\n\t\t\t\t\tstate = 12;\n\t\t\t\telse if (source.current == '\\n')\n\t\t\t\t\tSystem.out.println(\"String literal has to end with \\\"\");\n\t\t\t\t\t// System.exit(1); // Lexical error does not exit the program?\n\t\t\t\telse\n\t\t\t\t\tlexeme.append(source.current);\n\t\t\t\tsource.advance();\n\t\t\t\tbreak;\n\t\t\tcase 12:\n\t\t\t\tif (source.current == '\"') {\n\t\t\t\t\tstate = 11;\n\t\t\t\t\t// Two quotation marks (\"\") is considered a \" in the string literal\n\t\t\t\t\tlexeme.append('\"');\n\t\t\t\t\tsource.advance();\n\t\t\t\t} else \n\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.STRING, lexeme.toString());\n\t\t\t\tbreak;\n\t\t\tcase 13:\n\t\t\t\tif (source.current == '=') {\n\t\t\t\t\tstate = 14;\n\t\t\t\t\tsource.advance();\n\t\t\t\t} else\n\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.ASSIGN, null);\n\t\t\t\tbreak;\n\t\t\tcase 14:\n\t\t\t\treturn new Token(startLine, startColumn, TokenType.EQ, null);\n\t\t\tdefault:\n\t\t\t\t// This part will NOT be executed. The error will be thrown just in case.\n\t\t\t\tthrow new RuntimeException(\"Unreachable. Something is wrong with the lexer.\");\n\t\t\t}\n\t\t}\n\t}","title":""},{"docid":"64016b855a7d5889305fe2ec9ea33896","score":"0.50475615","text":"@Override\r\n\t public boolean matchStatement(LinkedList tokens) {\r\n\t\tboolean match = true;\r\n\t\tToken token = null;\r\n\t\tIterator it = tokens.iterator();\r\n\t\twhile (it.hasNext()) {\r\n\t\t token = it.next();\r\n\t\t switch (token.getString()) {\r\n\t\t case \"(\":\r\n\t\t case \")\":\r\n\t\t\tmatch = false;\r\n\t\t\tbreak;\r\n\t\t }\r\n\t\t}\r\n\t\treturn match;\r\n\t }","title":""},{"docid":"32cf09528cc0b15edf9de2bfe0c01cfc","score":"0.50305325","text":"T visitAndexpression(lengBasicParser.AndexpressionContext ctx);","title":""},{"docid":"fcd05a13dd6c27126180cfe47fb9e40b","score":"0.50302964","text":"public interface ITokens {\n /* terminals */\n public static final int SHORT = 66;\n public static final int BOOL = 64;\n public static final int PRN_LEFT = 60;\n public static final int BIT_LM = 39;\n public static final int NUM_DIV_ASSIGN = 48;\n public static final int BIT_RM = 40;\n public static final int SEMI = 15;\n public static final int NEXT = 8;\n public static final int COMMA = 14;\n public static final int BIT_LM_ASSIGN = 53;\n public static final int BIT_AND = 35;\n public static final int BRC_RIGHT = 57;\n public static final int INTEGER = 67;\n public static final int BIT_XOR = 38;\n public static final int DOUBLE = 70;\n public static final int LGC_CNE = 26;\n public static final int LOOP = 7;\n public static final int TEXT = 73;\n public static final int LGC_CGT = 22;\n public static final int VAR = 4;\n public static final int LGC_AND = 18;\n public static final int BIT_AND_ASSIGN = 50;\n public static final int NUM_MOD_ASSIGN = 49;\n public static final int FLOAT = 69;\n public static final int QUESTION_COLON = 17;\n public static final int NUM_SUB_ASSIGN = 46;\n public static final int LGC_CGE = 24;\n public static final int INCLUDE = 2;\n public static final int BIT_XOR_ASSIGN = 52;\n public static final int CHARS = 71;\n public static final int LONG = 68;\n public static final int QUESTION = 16;\n public static final int LGC_CLT = 21;\n public static final int ASSIGN = 42;\n public static final int NUM_POW = 10;\n public static final int BIT_NOT = 37;\n public static final int NUM_SUB = 28;\n public static final int BIT_OR = 36;\n public static final int BIT_ZRM_ASSIGN = 55;\n public static final int LGC_CLE = 23;\n public static final int ELSE = 6;\n public static final int BREAK = 9;\n public static final int DOT = 12;\n public static final int ECHO = 3;\n public static final int NUM_ADD1 = 32;\n public static final int NULL = 63;\n public static final int LGC_AND_ASSIGN = 43;\n public static final int EOF = 0;\n public static final int LGC_NOT = 20;\n public static final int NUM_MUL = 29;\n public static final int LABEL = 72;\n public static final int LGC_CEE = 25;\n public static final int BIT_ZRM = 41;\n public static final int NUM_MOD = 31;\n public static final int BRK_RIGHT = 59;\n public static final int HOLD_TAIL = 62;\n public static final int NUM_ADD_ASSIGN = 45;\n public static final int BRC_LEFT = 56;\n public static final int error = 1;\n public static final int IF = 5;\n public static final int PRN_RIGHT = 61;\n public static final int NUM_MUL_ASSIGN = 47;\n public static final int COLON = 13;\n public static final int MERGE = 11;\n public static final int NUM_ADD = 27;\n public static final int NUM_DIV = 30;\n public static final int NUM_SUB1 = 33;\n public static final int NUM_NGT = 34;\n public static final int LGC_OR_ASSIGN = 44;\n public static final int BYTE = 65;\n public static final int LGC_OR = 19;\n public static final int BIT_OR_ASSIGN = 51;\n public static final int BIT_RM_ASSIGN = 54;\n public static final int BRK_LEFT = 58;\n}","title":""},{"docid":"cbd4285e29fae6be2b02e5734cb33c3a","score":"0.5030275","text":"public String visit(VarDeclaration n, String argu) throws RuntimeException{\n String _ret=null;\n\n\t String filename=previousprogram.get(1)+\".ll\";\n\t BufferedWriter bw=null;\n\t try{\n\t\t File f=new File(filename);\n\t\t /*if(!file.exists()){\n\t\t\tfile.createNewFile();\n\t\t }*/\n\t\t FileWriter fw=new FileWriter(f,true);\n\t\t\t\t\n\t\t bw=new BufferedWriter(fw);\n\t }\n\t catch (IOException e) {\n e.printStackTrace();\n }\n\n\n\n String type=n.f0.accept(this, argu);\n String name=n.f1.accept(this, argu);\n\t //System.out.println(\"TYPE and NAME=\"+type+name);\n\n n.f2.accept(this, argu);\n\t program.add(\";\");\n\n\t try{\n\n\t\t\n\t\tbw.flush();\n\t\tbw.close();\n\t }\n\t catch (IOException e) {\n e.printStackTrace();\n }\n return _ret;\n }","title":""},{"docid":"99b8484edd08cad66b4f8447e0792042","score":"0.5022795","text":"public interface IntASTStatement extends IntASTNode {\n \n}","title":""},{"docid":"649a5ee4b28110c3dd9faf9866a21a19","score":"0.50166416","text":"private void compileStatement(){\n tokenizer.advance();\n\n //siguiente '}'\n if (tokenizer.tokenType() == JackTokenizer.SYMBOL && tokenizer.symbol() == '}'){\n tokenizer.pointerBack();\n return;\n }\n\n //siguiente caso 'let'|'if'|'while'|'do'|'return'\n if (tokenizer.tokenType() != JackTokenizer.KEYWORD){\n error(\"keyword\");\n }else {\n switch (tokenizer.keyWord()){\n case JackTokenizer.LET:compileLet();break;\n case JackTokenizer.IF:compileIf();break;\n case JackTokenizer.WHILE:compilesWhile();break;\n case JackTokenizer.DO:compileDo();break;\n case JackTokenizer.RETURN:compileReturn();break;\n default:error(\"'let'|'if'|'while'|'do'|'return'\");\n }\n }\n\n compileStatement();\n }","title":""},{"docid":"8a8e7c7c89ca2b8c8a44e09299fb43ac","score":"0.50135607","text":"public final void mT__31() throws RecognitionException {\n try {\n int _type = T__31;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // /Users/Samy/Git_Telecom/Compilation2k18/Expr.g:10:7: ( ',' )\n // /Users/Samy/Git_Telecom/Compilation2k18/Expr.g:10:9: ','\n {\n match(','); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }","title":""},{"docid":"00d4eafc1efd116a161847cfc30cce5f","score":"0.500551","text":"private Token match(Token.Kind kind) {\n\t\tcheckNotEof();\n\t\tToken token = tokens.get(index++);\n\t\tif (token.kind != kind) {\n\t\t\tsyntaxError(\"expecting \\\"\" + kind + \"\\\" here\", token);\n\t\t}\n\t\treturn token;\n\t}","title":""},{"docid":"bf5aae8a4dc11a7a0bdbc6e3053a7eed","score":"0.4989482","text":"public String visit(TypeDeclaration n, String argu) throws Exception {\n System.out.println(\"TypeDeclaration :\");\n return n.f0.accept(this, null);\n }","title":""},{"docid":"701d28da13ab2f40b90e8f8c92b1b808","score":"0.4988934","text":"protected Node exitTokenDeclaration(Production node)\n throws ParseException {\n\n return node;\n }","title":""},{"docid":"973eb7f660097fe032b3a2bcff74880b","score":"0.49843964","text":"public String visit(AssignmentStatement n, String argu) {\n String _ret=null;\n\t String filename=previousprogram.get(1)+\".ll\";\n\t BufferedWriter bw=null;\n\t try{\n\t\t File f=new File(filename);\n\t\t /*if(!file.exists()){\n\t\t\tfile.createNewFile();\n\t\t }*/\n\t\t FileWriter fw=new FileWriter(f,true);\n\t\t\t\t\n\t\t bw=new BufferedWriter(fw);\n\t }\n\t catch (IOException e) {\n e.printStackTrace();\n }\n\n\n\n\t String type1,type2;\n\t type1=n.f0.accept(this,argu);\n\t String name1=program.get(program.size()-1);\n\t try{\n\t\t/*bw.write(\"%_\"+numregister+\" = load \");\n\t\tnumregister++;\n\t\tif(type1==\"int\"){\n\t\t\tbw.write(\"i32, i32* %\"+program.get(program.size()-1)+\"\\n\");\n\t\t}*/\n\t\tbw.flush();\n\t }\n\t catch (IOException e) {\n e.printStackTrace();\n }\n\n n.f1.accept(this, argu);\n\t program.add(\"=\");\n type2=n.f2.accept(this, argu);//o typos toy antikeimenoy einai type1\n\t \n\t try{\n\t\tbw.write(\"store \");\n\t\tif(isNumeric(program.get(program.size()-1))&&program.get(program.size()-2)==\"=\"){\n\t\t\tif(program.get(program.size()-1)==\"]\"){\n\t\t\t\t\tbw.write(\"i32 %_\"+(numregister-1)+\", i32* %\"+(numregister-1)+\"\\n\");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tbw.write(\"i32 \"+program.get(program.size()-1)+\", i32* %\"+program.get(program.size()-3)+\"\\n\");\n\t\t\t}\n\t\t}\n\t\telse{\n\t\t\tif(type1==\"int\"||type1==\"int[]\"){\n\t\t\t\tif(program.get(program.size()-1)==\"]\"){\n\t\t\t\t\tbw.write(\"i32 %_\"+(numregister-1)+\", i32* %\"+(numregister-4)+\"\\n\");\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tbw.write(\"i32 %_\"+(numregister-1)+\", i32* %\"+name1+\"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tbw.flush();\n\t }\n\t catch (IOException e) {\n e.printStackTrace();\n }\n\n\t \n n.f3.accept(this, argu);\n\t program.add(\";\");\n\t\n return _ret;\n }","title":""},{"docid":"448fde94221a81c69491098c2a9b9027","score":"0.49797532","text":"public interface IDLParserConstants {\r\n\r\n /** End of File. */\r\n int EOF = 0;\r\n /** RegularExpression Id. */\r\n int ID = 24;\r\n /** RegularExpression Id. */\r\n int OCTALINT = 25;\r\n /** RegularExpression Id. */\r\n int DECIMALINT = 26;\r\n /** RegularExpression Id. */\r\n int HEXADECIMALINT = 27;\r\n /** RegularExpression Id. */\r\n int FLOATONE = 28;\r\n /** RegularExpression Id. */\r\n int FLOATTWO = 29;\r\n /** RegularExpression Id. */\r\n int CHARACTER = 30;\r\n /** RegularExpression Id. */\r\n int STRING = 31;\r\n\r\n /** Lexical state. */\r\n int DEFAULT = 0;\r\n\r\n /** Literal token values. */\r\n String[] tokenImage = {\r\n \"\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\\\"\\\\n\\\"\",\r\n \"\\\"\\\\r\\\"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\\\";\\\"\",\r\n \"\\\"module\\\"\",\r\n \"\\\"{\\\"\",\r\n \"\\\"}\\\"\",\r\n \"\\\"struct\\\"\",\r\n \"\\\",\\\"\",\r\n \"\\\"[\\\"\",\r\n \"\\\"]\\\"\",\r\n \"\\\"float\\\"\",\r\n \"\\\"double\\\"\",\r\n \"\\\"long\\\"\",\r\n \"\\\"short\\\"\",\r\n \"\\\"unsigned\\\"\",\r\n \"\\\"char\\\"\",\r\n \"\\\"boolean\\\"\",\r\n \"\\\"octet\\\"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n };\r\n\r\n}","title":""},{"docid":"e44042db2551f72be7d50e3ade6aaf9e","score":"0.4974882","text":"public final void ruleEnumLiteralDeclaration() throws RecognitionException {\n Token otherlv_0=null;\n Token otherlv_1=null;\n\n try {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1883:27: ( ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )? ) )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1884:2: ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )? )\n {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1884:2: ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )? )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1885:3: ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )?\n {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1885:3: ( (otherlv_0= RULE_ID ) )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1886:4: (otherlv_0= RULE_ID )\n {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1886:4: (otherlv_0= RULE_ID )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1887:5: otherlv_0= RULE_ID\n {\n\n \t\t\t\t\tmarkLeaf(elementTypeProvider.getEnumLiteralDeclaration_EnumLiteralEEnumLiteralCrossReference_0_0ElementType());\n \t\t\t\t\n otherlv_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_RULE_ID_in_ruleEnumLiteralDeclaration5441); \n\n \t\t\t\t\tdoneLeaf(otherlv_0);\n \t\t\t\t\n\n }\n\n\n }\n\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1896:3: (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )?\n int alt50=2;\n int LA50_0 = input.LA(1);\n\n if ( (LA50_0==30) ) {\n alt50=1;\n }\n switch (alt50) {\n case 1 :\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1897:4: otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) )\n {\n\n \t\t\t\tmarkLeaf(elementTypeProvider.getEnumLiteralDeclaration_EqualsSignKeyword_1_0ElementType());\n \t\t\t\n otherlv_1=(Token)match(input,30,FollowSets000.FOLLOW_30_in_ruleEnumLiteralDeclaration5472); \n\n \t\t\t\tdoneLeaf(otherlv_1);\n \t\t\t\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1904:4: ( (lv_literal_2_0= ruleKeyword ) )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1905:5: (lv_literal_2_0= ruleKeyword )\n {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1905:5: (lv_literal_2_0= ruleKeyword )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1906:6: lv_literal_2_0= ruleKeyword\n {\n\n \t\t\t\t\t\tmarkComposite(elementTypeProvider.getEnumLiteralDeclaration_LiteralKeywordParserRuleCall_1_1_0ElementType());\n \t\t\t\t\t\n pushFollow(FollowSets000.FOLLOW_ruleKeyword_in_ruleEnumLiteralDeclaration5504);\n ruleKeyword();\n\n state._fsp--;\n\n\n \t\t\t\t\t\tdoneComposite();\n \t\t\t\t\t\n\n }\n\n\n }\n\n\n }\n break;\n\n }\n\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return ;\n }","title":""},{"docid":"38755a77c3bad74855e6bca9c3ba7d6c","score":"0.49635845","text":"public Token next() {\n\t\tif (_buffer.isEmpty())\n\t\t\treturn null;\n\n\t\t// TODO: Complete this method\n\t\t// START YOUR CODE\n\t\tchar firstChar = _buffer.charAt(0);\n\t\tif (firstChar == 'I'){\n\t\t\tif (_buffer.substring(0, 11).equals(\"INSERT INTO\")){\n\t\t\t\tStringBuilder stringBuilder = new StringBuilder();\n\t\t\t\tint pos = 12 ;\n\t\t\t\t//current char (digit) , pointer\n\t\t\t\tchar current = _buffer.charAt(pos);\n\t\t\t\twhile(current!='V'){\n\t\t\t\t\tstringBuilder.append(current);\n\t\t\t\t\tpos++;\n\t\t\t\t\t// if else to handle the out of range bug\n\t\t\t\t\t//make sure the current pointer is not out of bounds\n\t\t\t\t\tif(pos<_buffer.length()){\n\t\t\t\t\t\tcurrent = _buffer.charAt(pos);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.println(stringBuilder.toString());\n\t\t\t\tstringBuilder.setLength(stringBuilder.length()-1);\n\t\t\t\treturn new Token(Token.Type.INSERT_INTO,stringBuilder.toString(),\"INSERT INTO \"+stringBuilder.toString());\n\t\t\t}\n\t\t}\n\n\t\tif (firstChar == 'V'){\n\t\t\tif (_buffer.substring(0, 6 ).equals(\"VALUES\")){\n\n\t\t\t\treturn new Token(Token.Type.VALUES,_buffer.substring(7,_buffer.length()),_buffer);\n\t\t\t}\n\t\t}\n\n\n\n\n\t\t// You are allowed to remove the following 'return null' if necessary\n\t\treturn null;\n\t\t\n\t\t// END YOUR CODE\n\t}","title":""},{"docid":"23f89ec3146c7a11ac5c7d5ee9abd011","score":"0.49534968","text":"public interface CyclParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int OPEN_PAREN = 1;\n /** RegularExpression Id. */\n int CLOSE_PAREN = 2;\n /** RegularExpression Id. */\n int WS = 10;\n /** RegularExpression Id. */\n int CONSTANT_PREFIX = 11;\n /** RegularExpression Id. */\n int SIMPLE_VARIABLE_PREFIX = 12;\n /** RegularExpression Id. */\n int META_VARIABLE_PREFIX = 13;\n /** RegularExpression Id. */\n int GUID_PREFIX = 14;\n /** RegularExpression Id. */\n int TRUE_CONSTANT = 15;\n /** RegularExpression Id. */\n int FALSE_CONSTANT = 16;\n /** RegularExpression Id. */\n int AND_CONSTANT = 17;\n /** RegularExpression Id. */\n int OR_CONSTANT = 18;\n /** RegularExpression Id. */\n int XOR_CONSTANT = 19;\n /** RegularExpression Id. */\n int NOT_CONSTANT = 20;\n /** RegularExpression Id. */\n int EQUIV_CONSTANT = 21;\n /** RegularExpression Id. */\n int IMPLIES_CONSTANT = 22;\n /** RegularExpression Id. */\n int FORALL_CONSTANT = 23;\n /** RegularExpression Id. */\n int THEREEXISTS_CONSTANT = 24;\n /** RegularExpression Id. */\n int THEREEXISTEXACTLY_CONSTANT = 25;\n /** RegularExpression Id. */\n int THEREEXISTATMOST_CONSTANT = 26;\n /** RegularExpression Id. */\n int THEREEXISTATLEAST_CONSTANT = 27;\n /** RegularExpression Id. */\n int EXPANDSUBLFN_CONSTANT = 28;\n /** RegularExpression Id. */\n int SUBLQUOTEFN_CONSTANT = 29;\n /** RegularExpression Id. */\n int TRUE_GUID_CONSTANT = 30;\n /** RegularExpression Id. */\n int FALSE_GUID_CONSTANT = 31;\n /** RegularExpression Id. */\n int AND_GUID_CONSTANT = 32;\n /** RegularExpression Id. */\n int OR_GUID_CONSTANT = 33;\n /** RegularExpression Id. */\n int XOR_GUID_CONSTANT = 34;\n /** RegularExpression Id. */\n int NOT_GUID_CONSTANT = 35;\n /** RegularExpression Id. */\n int EQUIV_GUID_CONSTANT = 36;\n /** RegularExpression Id. */\n int IMPLIES_GUID_CONSTANT = 37;\n /** RegularExpression Id. */\n int FORALL_GUID_CONSTANT = 38;\n /** RegularExpression Id. */\n int THEREEXISTS_GUID_CONSTANT = 39;\n /** RegularExpression Id. */\n int THEREEXISTEXACTLY_GUID_CONSTANT = 40;\n /** RegularExpression Id. */\n int THEREEXISTATMOST_GUID_CONSTANT = 41;\n /** RegularExpression Id. */\n int THEREEXISTATLEAST_GUID_CONSTANT = 42;\n /** RegularExpression Id. */\n int EXPANDSUBLFN_GUID_CONSTANT = 43;\n /** RegularExpression Id. */\n int SUBLQUOTEFN_GUID_CONSTANT = 44;\n /** RegularExpression Id. */\n int TRUE_GUID = 45;\n /** RegularExpression Id. */\n int FALSE_GUID = 46;\n /** RegularExpression Id. */\n int AND_GUID = 47;\n /** RegularExpression Id. */\n int OR_GUID = 48;\n /** RegularExpression Id. */\n int XOR_GUID = 49;\n /** RegularExpression Id. */\n int NOT_GUID = 50;\n /** RegularExpression Id. */\n int EQUIV_GUID = 51;\n /** RegularExpression Id. */\n int IMPLIES_GUID = 52;\n /** RegularExpression Id. */\n int FORALL_GUID = 53;\n /** RegularExpression Id. */\n int THEREEXISTS_GUID = 54;\n /** RegularExpression Id. */\n int THEREEXISTEXACTLY_GUID = 55;\n /** RegularExpression Id. */\n int THEREEXISTATMOST_GUID = 56;\n /** RegularExpression Id. */\n int THEREEXISTATLEAST_GUID = 57;\n /** RegularExpression Id. */\n int EXPANDSUBLFN_GUID = 58;\n /** RegularExpression Id. */\n int SUBLQUOTEFN_GUID = 59;\n /** RegularExpression Id. */\n int INTEGER = 60;\n /** RegularExpression Id. */\n int FLOAT = 61;\n /** RegularExpression Id. */\n int DECIMAL_INT = 62;\n /** RegularExpression Id. */\n int FLOAT_ONE = 63;\n /** RegularExpression Id. */\n int FLOAT_TWO = 64;\n /** RegularExpression Id. */\n int CONSTANT_NAME1 = 65;\n /** RegularExpression Id. */\n int NON_NUMERIC_START_CHAR = 66;\n /** RegularExpression Id. */\n int NUMERIC_START_CHAR = 67;\n /** RegularExpression Id. */\n int VALID_CONSTANT_CHAR = 68;\n /** RegularExpression Id. */\n int CONSTANT_NAME2 = 69;\n /** RegularExpression Id. */\n int CONSTANT_GUID = 70;\n /** RegularExpression Id. */\n int GUID_CHAR = 71;\n /** RegularExpression Id. */\n int CONSTANT_GUID2 = 72;\n /** RegularExpression Id. */\n int SIMPLE_VARIABLE = 73;\n /** RegularExpression Id. */\n int NON_DASH_VARIABLE_CHAR = 74;\n /** RegularExpression Id. */\n int META_VARIABLE = 75;\n /** RegularExpression Id. */\n int NON_DASH_META_VARIABLE_CHAR = 76;\n /** RegularExpression Id. */\n int STRING = 77;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_LINE_COMMENT = 1;\n /** Lexical state. */\n int IN_COMMENT = 2;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"//\\\"\",\n \"\\\";\\\"\",\n \"\\\"/*\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\",\n \"\\\"*/\\\"\",\n \"\",\n \"\",\n \"\\\"#$\\\"\",\n \"\\\"?\\\"\",\n \"\\\":\\\"\",\n \"\\\"#G\\\"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"
\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\\\"\\\\n\\\"\",\r\n \"\\\"\\\\r\\\"\",\r\n \"\\\"\\\\f\\\"\",\r\n \"\\\"(\\\"\",\r\n \"\\\")\\\"\",\r\n \"\\\"[\\\"\",\r\n \"\\\"]\\\"\",\r\n \"\\\"{\\\"\",\r\n \"\\\"}\\\"\",\r\n \"\\\".\\\"\",\r\n \"\\\"-\\\"\",\r\n \"\\\"!\\\"\",\r\n \"\\\"*\\\"\",\r\n \"\\\"/\\\"\",\r\n \"\\\"+\\\"\",\r\n \"\\\"<\\\"\",\r\n \"\\\">\\\"\",\r\n \"\\\"=\\\"\",\r\n \"\\\"==\\\"\",\r\n \"\\\"!=\\\"\",\r\n \"\\\"&&\\\"\",\r\n \"\\\"||\\\"\",\r\n \"\\\",\\\"\",\r\n \"\\\";\\\"\",\r\n \"\\\"public\\\"\",\r\n \"\\\"static\\\"\",\r\n \"\\\"void\\\"\",\r\n \"\\\"main\\\"\",\r\n \"\\\"String\\\"\",\r\n \"\\\"class\\\"\",\r\n \"\\\"extends\\\"\",\r\n \"\\\"Thread\\\"\",\r\n \"\\\"synchronized\\\"\",\r\n \"\\\"return\\\"\",\r\n \"\\\"if\\\"\",\r\n \"\\\"else\\\"\",\r\n \"\\\"while\\\"\",\r\n \"\\\"Xinu\\\"\",\r\n \"\\\"true\\\"\",\r\n \"\\\"false\\\"\",\r\n \"\\\"this\\\"\",\r\n \"\\\"null\\\"\",\r\n \"\\\"new\\\"\",\r\n \"\\\"int\\\"\",\r\n \"\\\"boolean\\\"\",\r\n \"\\\"//\\\"\",\r\n \"\",\r\n \"\\\"/*\\\"\",\r\n \"\",\r\n \"\\\"*/\\\"\",\r\n \"\\\"*/\\\"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n };\r\n\r\n}","title":""},{"docid":"6feed7f5541b810d8fd7bb11de915fda","score":"0.5325525","text":"public interface CMMConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 6;\n /** RegularExpression Id. */\n int FORMAL_COMMENT = 7;\n /** RegularExpression Id. */\n int MULTI_LINE_COMMENT = 8;\n /** RegularExpression Id. */\n int IF = 9;\n /** RegularExpression Id. */\n int ELSE = 10;\n /** RegularExpression Id. */\n int WHILE = 11;\n /** RegularExpression Id. */\n int DO = 12;\n /** RegularExpression Id. */\n int INT = 13;\n /** RegularExpression Id. */\n int REAL = 14;\n /** RegularExpression Id. */\n int CHAR = 15;\n /** RegularExpression Id. */\n int VOID = 16;\n /** RegularExpression Id. */\n int FOR = 17;\n /** RegularExpression Id. */\n int PRINT = 18;\n /** RegularExpression Id. */\n int SCAN = 19;\n /** RegularExpression Id. */\n int BREAK = 20;\n /** RegularExpression Id. */\n int CONTINUE = 21;\n /** RegularExpression Id. */\n int RETURN = 22;\n /** RegularExpression Id. */\n int INTEGER_LITERAL = 23;\n /** RegularExpression Id. */\n int DECIMAL_LITERAL = 24;\n /** RegularExpression Id. */\n int HEX_LITERAL = 25;\n /** RegularExpression Id. */\n int REAL_LITERAL = 26;\n /** RegularExpression Id. */\n int EXPONENT = 27;\n /** RegularExpression Id. */\n int CHARACTER_LITERAL = 28;\n /** RegularExpression Id. */\n int STRING_LITERAL = 29;\n /** RegularExpression Id. */\n int IDENTIFIER = 30;\n /** RegularExpression Id. */\n int LETTER = 31;\n /** RegularExpression Id. */\n int DIGIT = 32;\n /** RegularExpression Id. */\n int LPAREN = 33;\n /** RegularExpression Id. */\n int RPAREN = 34;\n /** RegularExpression Id. */\n int LBRACE = 35;\n /** RegularExpression Id. */\n int RBRACE = 36;\n /** RegularExpression Id. */\n int LBRACKET = 37;\n /** RegularExpression Id. */\n int RBRACKET = 38;\n /** RegularExpression Id. */\n int SEMICOLON = 39;\n /** RegularExpression Id. */\n int COMMA = 40;\n /** RegularExpression Id. */\n int DOT = 41;\n /** RegularExpression Id. */\n int UNDERSCORE = 42;\n /** RegularExpression Id. */\n int ASSIGN = 43;\n /** RegularExpression Id. */\n int PLUS = 44;\n /** RegularExpression Id. */\n int MINUS = 45;\n /** RegularExpression Id. */\n int TIMES = 46;\n /** RegularExpression Id. */\n int DIVIDE = 47;\n /** RegularExpression Id. */\n int MOD = 48;\n /** RegularExpression Id. */\n int BIT_OR = 49;\n /** RegularExpression Id. */\n int BIT_AND = 50;\n /** RegularExpression Id. */\n int XOR = 51;\n /** RegularExpression Id. */\n int TILDE = 52;\n /** RegularExpression Id. */\n int EQ = 53;\n /** RegularExpression Id. */\n int NEQ = 54;\n /** RegularExpression Id. */\n int GT = 55;\n /** RegularExpression Id. */\n int LT = 56;\n /** RegularExpression Id. */\n int GE = 57;\n /** RegularExpression Id. */\n int LE = 58;\n /** RegularExpression Id. */\n int SC_OR = 59;\n /** RegularExpression Id. */\n int SC_AND = 60;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\",\n \"\",\n \"\",\n \"\\\"if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"while\\\"\",\n \"\\\"do\\\"\",\n \"\\\"int\\\"\",\n \"\\\"real\\\"\",\n \"\\\"char\\\"\",\n \"\\\"void\\\"\",\n \"\\\"for\\\"\",\n \"\\\"print\\\"\",\n \"\\\"scan\\\"\",\n \"\\\"break\\\"\",\n \"\\\"continue\\\"\",\n \"\\\"return\\\"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\"_\\\"\",\n \"\\\"=\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"|\\\"\",\n \"\\\"&\\\"\",\n \"\\\"^\\\"\",\n \"\\\"~\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<>\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\">=\\\"\",\n \"\\\"<=\\\"\",\n \"\\\"||\\\"\",\n \"\\\"&&\\\"\",\n };\n\n}","title":""},{"docid":"cc4b3eb64639584a1b334b9f89667d0d","score":"0.5299606","text":"public interface JaccParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int ABSTRACT = 6;\n /** RegularExpression Id. */\n int BOOLEAN = 7;\n /** RegularExpression Id. */\n int BREAK = 8;\n /** RegularExpression Id. */\n int BYTE = 9;\n /** RegularExpression Id. */\n int CASE = 10;\n /** RegularExpression Id. */\n int CATCH = 11;\n /** RegularExpression Id. */\n int CHAR = 12;\n /** RegularExpression Id. */\n int CLASS = 13;\n /** RegularExpression Id. */\n int CONST = 14;\n /** RegularExpression Id. */\n int CONTINUE = 15;\n /** RegularExpression Id. */\n int _DEFAULT = 16;\n /** RegularExpression Id. */\n int DO = 17;\n /** RegularExpression Id. */\n int DOUBLE = 18;\n /** RegularExpression Id. */\n int ELSE = 19;\n /** RegularExpression Id. */\n int EXTENDS = 20;\n /** RegularExpression Id. */\n int FALSE = 21;\n /** RegularExpression Id. */\n int FINAL = 22;\n /** RegularExpression Id. */\n int FINALLY = 23;\n /** RegularExpression Id. */\n int FLOAT = 24;\n /** RegularExpression Id. */\n int FOR = 25;\n /** RegularExpression Id. */\n int GOTO = 26;\n /** RegularExpression Id. */\n int IF = 27;\n /** RegularExpression Id. */\n int IMPLEMENTS = 28;\n /** RegularExpression Id. */\n int IMPORT = 29;\n /** RegularExpression Id. */\n int INSTANCEOF = 30;\n /** RegularExpression Id. */\n int INT = 31;\n /** RegularExpression Id. */\n int INTERFACE = 32;\n /** RegularExpression Id. */\n int LONG = 33;\n /** RegularExpression Id. */\n int NATIVE = 34;\n /** RegularExpression Id. */\n int NEW = 35;\n /** RegularExpression Id. */\n int NULL = 36;\n /** RegularExpression Id. */\n int PACKAGE = 37;\n /** RegularExpression Id. */\n int PRIVATE = 38;\n /** RegularExpression Id. */\n int PROTECTED = 39;\n /** RegularExpression Id. */\n int PUBLIC = 40;\n /** RegularExpression Id. */\n int RETURN = 41;\n /** RegularExpression Id. */\n int SHORT = 42;\n /** RegularExpression Id. */\n int STATIC = 43;\n /** RegularExpression Id. */\n int SUPER = 44;\n /** RegularExpression Id. */\n int SWITCH = 45;\n /** RegularExpression Id. */\n int SYNCHRONIZED = 46;\n /** RegularExpression Id. */\n int THIS = 47;\n /** RegularExpression Id. */\n int THROW = 48;\n /** RegularExpression Id. */\n int THROWS = 49;\n /** RegularExpression Id. */\n int TRANSIENT = 50;\n /** RegularExpression Id. */\n int TRUE = 51;\n /** RegularExpression Id. */\n int TRY = 52;\n /** RegularExpression Id. */\n int VOID = 53;\n /** RegularExpression Id. */\n int VOLATILE = 54;\n /** RegularExpression Id. */\n int WHILE = 55;\n /** RegularExpression Id. */\n int DECIMAL_LITERAL = 56;\n /** RegularExpression Id. */\n int IDENTIFIER = 57;\n /** RegularExpression Id. */\n int LPAREN = 58;\n /** RegularExpression Id. */\n int RPAREN = 59;\n /** RegularExpression Id. */\n int LBRACE = 60;\n /** RegularExpression Id. */\n int RBRACE = 61;\n /** RegularExpression Id. */\n int LBRACKET = 62;\n /** RegularExpression Id. */\n int RBRACKET = 63;\n /** RegularExpression Id. */\n int SEMICOLON = 64;\n /** RegularExpression Id. */\n int COMMA = 65;\n /** RegularExpression Id. */\n int DOT = 66;\n /** RegularExpression Id. */\n int ASSIGN = 67;\n /** RegularExpression Id. */\n int GT = 68;\n /** RegularExpression Id. */\n int LT = 69;\n /** RegularExpression Id. */\n int BANG = 70;\n /** RegularExpression Id. */\n int TILDE = 71;\n /** RegularExpression Id. */\n int HOOK = 72;\n /** RegularExpression Id. */\n int COLON = 73;\n /** RegularExpression Id. */\n int EQ = 74;\n /** RegularExpression Id. */\n int LE = 75;\n /** RegularExpression Id. */\n int GE = 76;\n /** RegularExpression Id. */\n int NE = 77;\n /** RegularExpression Id. */\n int SC_OR = 78;\n /** RegularExpression Id. */\n int SC_AND = 79;\n /** RegularExpression Id. */\n int PLUS = 80;\n /** RegularExpression Id. */\n int MINUS = 81;\n /** RegularExpression Id. */\n int STAR = 82;\n /** RegularExpression Id. */\n int SLASH = 83;\n /** RegularExpression Id. */\n int REM = 84;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"abstract\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"break\\\"\",\n \"\\\"byte\\\"\",\n \"\\\"case\\\"\",\n \"\\\"catch\\\"\",\n \"\\\"char\\\"\",\n \"\\\"class\\\"\",\n \"\\\"const\\\"\",\n \"\\\"continue\\\"\",\n \"\\\"default\\\"\",\n \"\\\"do\\\"\",\n \"\\\"double\\\"\",\n \"\\\"else\\\"\",\n \"\\\"extends\\\"\",\n \"\\\"false\\\"\",\n \"\\\"final\\\"\",\n \"\\\"finally\\\"\",\n \"\\\"float\\\"\",\n \"\\\"for\\\"\",\n \"\\\"goto\\\"\",\n \"\\\"if\\\"\",\n \"\\\"implements\\\"\",\n \"\\\"import\\\"\",\n \"\\\"instanceof\\\"\",\n \"\\\"int\\\"\",\n \"\\\"interface\\\"\",\n \"\\\"long\\\"\",\n \"\\\"native\\\"\",\n \"\\\"new\\\"\",\n \"\\\"null\\\"\",\n \"\\\"package\\\"\",\n \"\\\"private\\\"\",\n \"\\\"protected\\\"\",\n \"\\\"public\\\"\",\n \"\\\"return\\\"\",\n \"\\\"short\\\"\",\n \"\\\"static\\\"\",\n \"\\\"super\\\"\",\n \"\\\"switch\\\"\",\n \"\\\"synchronized\\\"\",\n \"\\\"this\\\"\",\n \"\\\"throw\\\"\",\n \"\\\"throws\\\"\",\n \"\\\"transient\\\"\",\n \"\\\"true\\\"\",\n \"\\\"try\\\"\",\n \"\\\"void\\\"\",\n \"\\\"volatile\\\"\",\n \"\\\"while\\\"\",\n \"\",\n \"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\"=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\"!\\\"\",\n \"\\\"~\\\"\",\n \"\\\"?\\\"\",\n \"\\\":\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"||\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n };\n\n}","title":""},{"docid":"493affac6a6e5e629936557e9fa8514e","score":"0.5298417","text":"private int yyr19() {\n return 50;\n }","title":""},{"docid":"e057e9b6c3adc0bdcf801b014ebbe60c","score":"0.5278873","text":"public interface QueryParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int WORD = 4;\n /** RegularExpression Id. */\n int LP = 5;\n /** RegularExpression Id. */\n int RP = 6;\n /** RegularExpression Id. */\n int QUOTE = 7;\n /** RegularExpression Id. */\n int OP_AND = 8;\n /** RegularExpression Id. */\n int OP_OR = 9;\n /** RegularExpression Id. */\n int OP_NOT = 10;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"\\\\\\\"\\\"\",\n \"\",\n \"\",\n \"\",\n };\n\n}","title":""},{"docid":"eec659090b39de4a82d36faa468fb7fa","score":"0.5266568","text":"public interface EG1Constants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int OPEN = 5;\n /** RegularExpression Id. */\n int CLOSE = 6;\n /** RegularExpression Id. */\n int DEFINE = 7;\n /** RegularExpression Id. */\n int DOMAIN = 8;\n /** RegularExpression Id. */\n int DOMAIN_LABEL = 9;\n /** RegularExpression Id. */\n int REQUIREMENTS = 10;\n /** RegularExpression Id. */\n int REQUIREMENT_LABELS = 11;\n /** RegularExpression Id. */\n int TYPES = 12;\n /** RegularExpression Id. */\n int PREDICATES = 13;\n /** RegularExpression Id. */\n int PROBLEM = 14;\n /** RegularExpression Id. */\n int TYPE_IDENT = 15;\n /** RegularExpression Id. */\n int VAR = 16;\n /** RegularExpression Id. */\n int ACTION = 17;\n /** RegularExpression Id. */\n int PARAMETERS = 18;\n /** RegularExpression Id. */\n int PRECONDITION = 19;\n /** RegularExpression Id. */\n int CONSTRAINTS = 20;\n /** RegularExpression Id. */\n int PREFERENCE = 21;\n /** RegularExpression Id. */\n int EFFECT = 22;\n /** RegularExpression Id. */\n int OBJECTS = 23;\n /** RegularExpression Id. */\n int GOAL = 24;\n /** RegularExpression Id. */\n int INIT = 25;\n /** RegularExpression Id. */\n int AND = 26;\n /** RegularExpression Id. */\n int NOT = 27;\n /** RegularExpression Id. */\n int NUMBER = 28;\n /** RegularExpression Id. */\n int NAME = 29;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 30;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"define\\\"\",\n \"\\\"domain\\\"\",\n \"\\\":domain\\\"\",\n \"\\\":requirements\\\"\",\n \"\\\":typing :constraints :preferences\\\"\",\n \"\\\":types\\\"\",\n \"\\\":predicates\\\"\",\n \"\\\"problem\\\"\",\n \"\\\"-\\\"\",\n \"\",\n \"\\\":action\\\"\",\n \"\\\":parameters\\\"\",\n \"\\\":precondition\\\"\",\n \"\\\":constraints\\\"\",\n \"\\\"preference\\\"\",\n \"\\\":effect\\\"\",\n \"\\\":objects\\\"\",\n \"\\\":goal\\\"\",\n \"\\\":init\\\"\",\n \"\\\"and\\\"\",\n \"\\\"not\\\"\",\n \"\",\n \"\",\n \"\",\n };\n\n}","title":""},{"docid":"f143e9b900cadd3967940ce9942874b3","score":"0.5265535","text":"public interface TargetTableParserConstants {\r\n\r\n /** End of File. */\r\n int EOF = 0;\r\n /** RegularExpression Id. */\r\n int MULTI_LINE_COMMENT = 4;\r\n /** RegularExpression Id. */\r\n int SINGLE_LINE_COMMENT = 7;\r\n /** RegularExpression Id. */\r\n int SEMICOLON = 8;\r\n /** RegularExpression Id. */\r\n int SINGLE_QUOTE = 9;\r\n /** RegularExpression Id. */\r\n int OPEN_PAREN = 10;\r\n /** RegularExpression Id. */\r\n int CLOSE_PAREN = 11;\r\n /** RegularExpression Id. */\r\n int COMMA = 12;\r\n /** RegularExpression Id. */\r\n int HYPHEN = 13;\r\n /** RegularExpression Id. */\r\n int ASTERISK = 14;\r\n /** RegularExpression Id. */\r\n int INTO = 15;\r\n /** RegularExpression Id. */\r\n int SET = 16;\r\n /** RegularExpression Id. */\r\n int NOT = 17;\r\n /** RegularExpression Id. */\r\n int FROM = 18;\r\n /** RegularExpression Id. */\r\n int AS = 19;\r\n /** RegularExpression Id. */\r\n int BY = 20;\r\n /** RegularExpression Id. */\r\n int WHERE = 21;\r\n /** RegularExpression Id. */\r\n int ALL = 22;\r\n /** RegularExpression Id. */\r\n int TABLE = 23;\r\n /** RegularExpression Id. */\r\n int CASESPECIFIC = 24;\r\n /** RegularExpression Id. */\r\n int CHARACTER = 25;\r\n /** RegularExpression Id. */\r\n int UPPERCASE = 26;\r\n /** RegularExpression Id. */\r\n int NULL = 27;\r\n /** RegularExpression Id. */\r\n int TO = 28;\r\n /** RegularExpression Id. */\r\n int LITERAL_INTEGER = 29;\r\n /** RegularExpression Id. */\r\n int BLOB = 30;\r\n /** RegularExpression Id. */\r\n int BYTE = 31;\r\n /** RegularExpression Id. */\r\n int VARBYTE = 32;\r\n /** RegularExpression Id. */\r\n int BIGINT = 33;\r\n /** RegularExpression Id. */\r\n int BYTEINT = 34;\r\n /** RegularExpression Id. */\r\n int DATE = 35;\r\n /** RegularExpression Id. */\r\n int DECIMAL = 36;\r\n /** RegularExpression Id. */\r\n int DOUBLE = 37;\r\n /** RegularExpression Id. */\r\n int PRECISION = 38;\r\n /** RegularExpression Id. */\r\n int FLOAT = 39;\r\n /** RegularExpression Id. */\r\n int INTEGER = 40;\r\n /** RegularExpression Id. */\r\n int NUMBER = 41;\r\n /** RegularExpression Id. */\r\n int NUMERIC = 42;\r\n /** RegularExpression Id. */\r\n int REAL = 43;\r\n /** RegularExpression Id. */\r\n int SMALLINT = 44;\r\n /** RegularExpression Id. */\r\n int TIME = 45;\r\n /** RegularExpression Id. */\r\n int TIMESTAMP = 46;\r\n /** RegularExpression Id. */\r\n int INTERVAL = 47;\r\n /** RegularExpression Id. */\r\n int DAY = 48;\r\n /** RegularExpression Id. */\r\n int HOUR = 49;\r\n /** RegularExpression Id. */\r\n int MINUTE = 50;\r\n /** RegularExpression Id. */\r\n int SECOND = 51;\r\n /** RegularExpression Id. */\r\n int MONTH = 52;\r\n /** RegularExpression Id. */\r\n int YEAR = 53;\r\n /** RegularExpression Id. */\r\n int CHAR = 54;\r\n /** RegularExpression Id. */\r\n int CLOB = 55;\r\n /** RegularExpression Id. */\r\n int VARYING = 56;\r\n /** RegularExpression Id. */\r\n int LONG = 57;\r\n /** RegularExpression Id. */\r\n int VARCHAR = 58;\r\n /** RegularExpression Id. */\r\n int GRAPHIC = 59;\r\n /** RegularExpression Id. */\r\n int VARGRAPHIC = 60;\r\n /** RegularExpression Id. */\r\n int UPDATE = 61;\r\n /** RegularExpression Id. */\r\n int INSERT = 62;\r\n /** RegularExpression Id. */\r\n int MERGE = 63;\r\n /** RegularExpression Id. */\r\n int DELETE = 64;\r\n /** RegularExpression Id. */\r\n int CREATE = 65;\r\n /** RegularExpression Id. */\r\n int CT = 66;\r\n /** RegularExpression Id. */\r\n int MULTISET = 67;\r\n /** RegularExpression Id. */\r\n int GLOBAL = 68;\r\n /** RegularExpression Id. */\r\n int TEMPORARY = 69;\r\n /** RegularExpression Id. */\r\n int VOLATILE = 70;\r\n /** RegularExpression Id. */\r\n int USING = 71;\r\n /** RegularExpression Id. */\r\n int DEFERRED = 72;\r\n /** RegularExpression Id. */\r\n int LOCATOR = 73;\r\n /** RegularExpression Id. */\r\n int NAME = 74;\r\n /** RegularExpression Id. */\r\n int LOCKING = 75;\r\n /** RegularExpression Id. */\r\n int DATABASE = 77;\r\n /** RegularExpression Id. */\r\n int TABLE_LCK = 78;\r\n /** RegularExpression Id. */\r\n int VIEW = 79;\r\n /** RegularExpression Id. */\r\n int ROW = 80;\r\n /** RegularExpression Id. */\r\n int FOR = 81;\r\n /** RegularExpression Id. */\r\n int IN = 82;\r\n /** RegularExpression Id. */\r\n int ACCESS = 83;\r\n /** RegularExpression Id. */\r\n int EXCLUSIVE = 84;\r\n /** RegularExpression Id. */\r\n int SHARE = 85;\r\n /** RegularExpression Id. */\r\n int READ = 86;\r\n /** RegularExpression Id. */\r\n int OVERRIDE = 87;\r\n /** RegularExpression Id. */\r\n int WRITE = 88;\r\n /** RegularExpression Id. */\r\n int CHECKSUM = 89;\r\n /** RegularExpression Id. */\r\n int DATABASE_OBJECT_NAME = 90;\r\n /** RegularExpression Id. */\r\n int OBJECT_NAME = 91;\r\n /** RegularExpression Id. */\r\n int CURRENT = 92;\r\n /** RegularExpression Id. */\r\n int VALIDTIME = 93;\r\n /** RegularExpression Id. */\r\n int SEQUENCED = 94;\r\n /** RegularExpression Id. */\r\n int NONSEQUENCED = 95;\r\n /** RegularExpression Id. */\r\n int NONTEMPORAL = 96;\r\n /** RegularExpression Id. */\r\n int PERIOD = 97;\r\n /** RegularExpression Id. */\r\n int UNTIL_CHANGED = 98;\r\n /** RegularExpression Id. */\r\n int UNTIL_CLOSED = 99;\r\n /** RegularExpression Id. */\r\n int PERIOD_BOUND = 100;\r\n /** RegularExpression Id. */\r\n int MODE = 101;\r\n /** RegularExpression Id. */\r\n int NOWAIT = 102;\r\n /** RegularExpression Id. */\r\n int IDENTIFIER = 103;\r\n\r\n /** Lexical state. */\r\n int DEFAULT = 0;\r\n /** Lexical state. */\r\n int ML_COMMENT_STATE = 1;\r\n /** Lexical state. */\r\n int LOCKING_STATE = 2;\r\n\r\n /** Literal token values. */\r\n String[] tokenImage = {\r\n \"\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\",\r\n \"\\\"/*\\\"\",\r\n \"\\\"*/\\\"\",\r\n \"\",\r\n \"\",\r\n \"\\\";\\\"\",\r\n \"\\\"\\\\\\'\\\"\",\r\n \"\\\"(\\\"\",\r\n \"\\\")\\\"\",\r\n \"\\\",\\\"\",\r\n \"\\\"-\\\"\",\r\n \"\\\"*\\\"\",\r\n \"\\\"into\\\"\",\r\n \"\\\"set\\\"\",\r\n \"\\\"not\\\"\",\r\n \"\\\"from\\\"\",\r\n \"\\\"as\\\"\",\r\n \"\\\"by\\\"\",\r\n \"\\\"where\\\"\",\r\n \"\\\"all\\\"\",\r\n \"\\\"table\\\"\",\r\n \"\\\"casespecific\\\"\",\r\n \"\\\"character\\\"\",\r\n \"\\\"uppercase\\\"\",\r\n \"\\\"null\\\"\",\r\n \"\\\"to\\\"\",\r\n \"\",\r\n \"\\\"blob\\\"\",\r\n \"\\\"byte\\\"\",\r\n \"\\\"varbyte\\\"\",\r\n \"\\\"bigint\\\"\",\r\n \"\\\"byteint\\\"\",\r\n \"\\\"date\\\"\",\r\n \"\\\"decimal\\\"\",\r\n \"\\\"double\\\"\",\r\n \"\\\"precision\\\"\",\r\n \"\\\"float\\\"\",\r\n \"\\\"integer\\\"\",\r\n \"\\\"number\\\"\",\r\n \"\\\"numeric\\\"\",\r\n \"\\\"real\\\"\",\r\n \"\\\"smallint\\\"\",\r\n \"\\\"time\\\"\",\r\n \"\\\"timestamp\\\"\",\r\n \"\\\"interval\\\"\",\r\n \"\\\"day\\\"\",\r\n \"\\\"hour\\\"\",\r\n \"\\\"minute\\\"\",\r\n \"\\\"second\\\"\",\r\n \"\\\"month\\\"\",\r\n \"\\\"year\\\"\",\r\n \"\\\"char\\\"\",\r\n \"\\\"clob\\\"\",\r\n \"\\\"varying\\\"\",\r\n \"\\\"long\\\"\",\r\n \"\\\"varchar\\\"\",\r\n \"\\\"graphic\\\"\",\r\n \"\\\"vargraphic\\\"\",\r\n \"\",\r\n \"\",\r\n \"\\\"merge\\\"\",\r\n \"\",\r\n \"\\\"create\\\"\",\r\n \"\\\"ct\\\"\",\r\n \"\\\"multiset\\\"\",\r\n \"\\\"global\\\"\",\r\n \"\\\"temporary\\\"\",\r\n \"\\\"volatile\\\"\",\r\n \"\\\"using\\\"\",\r\n \"\\\"deferred\\\"\",\r\n \"\\\"locator\\\"\",\r\n \"\\\"name\\\"\",\r\n \"\",\r\n \"\",\r\n \"\\\"database\\\"\",\r\n \"\\\"table\\\"\",\r\n \"\\\"view\\\"\",\r\n \"\\\"row\\\"\",\r\n \"\\\"for\\\"\",\r\n \"\\\"in\\\"\",\r\n \"\\\"access\\\"\",\r\n \"\",\r\n \"\\\"share\\\"\",\r\n \"\\\"read\\\"\",\r\n \"\\\"override\\\"\",\r\n \"\\\"write\\\"\",\r\n \"\\\"checksum\\\"\",\r\n \"\",\r\n \"\",\r\n \"\\\"current\\\"\",\r\n \"\\\"validtime\\\"\",\r\n \"\\\"sequenced\\\"\",\r\n \"\\\"nonsequenced\\\"\",\r\n \"\\\"nontemporal\\\"\",\r\n \"\\\"period\\\"\",\r\n \"\\\"until_changed\\\"\",\r\n \"\\\"until_closed\\\"\",\r\n \"\",\r\n \"\\\"mode\\\"\",\r\n \"\\\"nowait\\\"\",\r\n \"\",\r\n };\r\n\r\n}","title":""},{"docid":"ed8344cab406eacc9ccf69e8e626c275","score":"0.5255661","text":"T visitRelationalexpression(lengBasicParser.RelationalexpressionContext ctx);","title":""},{"docid":"c85c50672fbbe17eeb84981ac99a8833","score":"0.52505696","text":"public PlSql_Parser(PlSqlTokenManager tm) {\n token_source = tm;\n token = new Token();\n jj_ntk = -1;\n jj_gen = 0;\n for (int i = 0; i < 241; i++) jj_la1[i] = -1;\n for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();\n }","title":""},{"docid":"4e82fd18f5df85b17b7e2c0a905a4012","score":"0.5230243","text":"public interface BibtextGrammarConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int LB = 5;\n /** RegularExpression Id. */\n int RB = 6;\n /** RegularExpression Id. */\n int ARTICLE = 7;\n /** RegularExpression Id. */\n int BOOK = 8;\n /** RegularExpression Id. */\n int BOOKLET = 9;\n /** RegularExpression Id. */\n int CONFERENCE = 10;\n /** RegularExpression Id. */\n int INBOOK = 11;\n /** RegularExpression Id. */\n int INCOLLECTION = 12;\n /** RegularExpression Id. */\n int INPROCEEDINGS = 13;\n /** RegularExpression Id. */\n int MANUAL = 14;\n /** RegularExpression Id. */\n int MASTERSTHESIS = 15;\n /** RegularExpression Id. */\n int MISC = 16;\n /** RegularExpression Id. */\n int PHDTHESIS = 17;\n /** RegularExpression Id. */\n int PROCEEDINGS = 18;\n /** RegularExpression Id. */\n int TECHREPORT = 19;\n /** RegularExpression Id. */\n int UNPUBLISHED = 20;\n /** RegularExpression Id. */\n int AUTHOR = 21;\n /** RegularExpression Id. */\n int JOURNAL = 22;\n /** RegularExpression Id. */\n int TITLE = 23;\n /** RegularExpression Id. */\n int YEAR = 24;\n /** RegularExpression Id. */\n int MONTH = 25;\n /** RegularExpression Id. */\n int NUMBER = 26;\n /** RegularExpression Id. */\n int PAGES = 27;\n /** RegularExpression Id. */\n int VOLUME = 28;\n /** RegularExpression Id. */\n int PUBLISHER = 29;\n /** RegularExpression Id. */\n int DOI = 30;\n /** RegularExpression Id. */\n int NOTE = 31;\n /** RegularExpression Id. */\n int KEY = 32;\n /** RegularExpression Id. */\n int EDITOR = 33;\n /** RegularExpression Id. */\n int SERIES = 34;\n /** RegularExpression Id. */\n int ADDRESS = 35;\n /** RegularExpression Id. */\n int EDITION = 36;\n /** RegularExpression Id. */\n int URL = 37;\n /** RegularExpression Id. */\n int HOWPUBLISHED = 38;\n /** RegularExpression Id. */\n int CHAPTER = 39;\n /** RegularExpression Id. */\n int BOOKTITLE = 40;\n /** RegularExpression Id. */\n int TYPE = 41;\n /** RegularExpression Id. */\n int ORGANIZATION = 42;\n /** RegularExpression Id. */\n int SCHOOL = 43;\n /** RegularExpression Id. */\n int INSTITUTION = 44;\n /** RegularExpression Id. */\n int WORD = 45;\n /** RegularExpression Id. */\n int CONSTANT = 46;\n /** RegularExpression Id. */\n int ID = 47;\n /** RegularExpression Id. */\n int LETTERSNUMBERS = 48;\n /** RegularExpression Id. */\n int LETTER = 49;\n /** RegularExpression Id. */\n int LOWER = 50;\n /** RegularExpression Id. */\n int UPPER = 51;\n /** RegularExpression Id. */\n int DIGIT = 52;\n /** RegularExpression Id. */\n int COMMA = 53;\n /** RegularExpression Id. */\n int SEMICOLON = 54;\n /** RegularExpression Id. */\n int DASH = 55;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"article\\\"\",\n \"\\\"book\\\"\",\n \"\\\"booklet\\\"\",\n \"\\\"conference\\\"\",\n \"\\\"inbook\\\"\",\n \"\\\"incollection\\\"\",\n \"\\\"inproceedings\\\"\",\n \"\\\"manual\\\"\",\n \"\\\"mastersthesis\\\"\",\n \"\\\"misc\\\"\",\n \"\\\"phdthesis\\\"\",\n \"\\\"proceedings\\\"\",\n \"\\\"techreport\\\"\",\n \"\\\"unpublished\\\"\",\n \"\\\"Author\\\"\",\n \"\\\"Journal\\\"\",\n \"\\\"Title\\\"\",\n \"\\\"Year\\\"\",\n \"\\\"Month\\\"\",\n \"\\\"Number\\\"\",\n \"\\\"Pages\\\"\",\n \"\\\"Volume\\\"\",\n \"\\\"Publisher\\\"\",\n \"\\\"Doi\\\"\",\n \"\\\"Note\\\"\",\n \"\\\"Key\\\"\",\n \"\\\"Editor\\\"\",\n \"\\\"Series\\\"\",\n \"\\\"Address\\\"\",\n \"\\\"Edition\\\"\",\n \"\\\"Url\\\"\",\n \"\\\"Howpublished\\\"\",\n \"\\\"Chapter\\\"\",\n \"\\\"Booktitle\\\"\",\n \"\\\"Type\\\"\",\n \"\\\"Organization\\\"\",\n \"\\\"School\\\"\",\n \"\\\"Institution\\\"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\\\"@\\\"\",\n \"\\\"=\\\"\",\n \"\\\"-\\\"\",\n \"\\\".\\\"\",\n \"\\\",\\\"\",\n \"\\\"\\\\\\'\\\"\",\n \"\\\":\\\"\",\n \"\\\"/\\\"\",\n };\n\n}","title":""},{"docid":"d8ca35719143ee75b61930930e42fc3d","score":"0.52300596","text":"final public void MethodDeclarationLookahead() throws ParseException {\r\n Modifier();\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case STATIC:\r\n YoyooStatic jjtn001 = new YoyooStatic(JJTSTATIC);\r\n boolean jjtc001 = true;\r\n jjtree.openNodeScope(jjtn001);\r\n jjtreeOpenNodeScope(jjtn001);\r\n try {\r\n jj_consume_token(STATIC);\r\n } finally {\r\n if (jjtc001) {\r\n jjtree.closeNodeScope(jjtn001, true);\r\n jjtreeCloseNodeScope(jjtn001);\r\n }\r\n }\r\n break;\r\n default:\r\n jj_la1[20] = jj_gen;\r\n ;\r\n }\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case ABSTRACT:\r\n YoyooAbstract jjtn002 = new YoyooAbstract(JJTABSTRACT);\r\n boolean jjtc002 = true;\r\n jjtree.openNodeScope(jjtn002);\r\n jjtreeOpenNodeScope(jjtn002);\r\n try {\r\n jj_consume_token(ABSTRACT);\r\n } finally {\r\n if (jjtc002) {\r\n jjtree.closeNodeScope(jjtn002, true);\r\n jjtreeCloseNodeScope(jjtn002);\r\n }\r\n }\r\n break;\r\n default:\r\n jj_la1[21] = jj_gen;\r\n ;\r\n }\r\n ResultType();\r\n jj_consume_token(IDENTIFIER);\r\n jj_consume_token(LPAREN);\r\n }","title":""},{"docid":"21bbcf89723dec95861d5becff352030","score":"0.52059364","text":"final public void CastLookahead() throws ParseException {\r\n if (jj_2_17(2)) {\r\n jj_consume_token(LPAREN);\r\n PrimitiveType();\r\n } else if (jj_2_18(2147483647)) {\r\n jj_consume_token(LPAREN);\r\n Type();\r\n jj_consume_token(LBRACKET);\r\n jj_consume_token(RBRACKET);\r\n } else {\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case LPAREN:\r\n jj_consume_token(LPAREN);\r\n Type();\r\n jj_consume_token(RPAREN);\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case 117:\r\n jj_consume_token(117);\r\n break;\r\n case BANG:\r\n jj_consume_token(BANG);\r\n break;\r\n case LPAREN:\r\n jj_consume_token(LPAREN);\r\n break;\r\n case IDENTIFIER:\r\n jj_consume_token(IDENTIFIER);\r\n break;\r\n case THIS:\r\n jj_consume_token(THIS);\r\n break;\r\n case SUPER:\r\n jj_consume_token(SUPER);\r\n break;\r\n case NEW:\r\n jj_consume_token(NEW);\r\n break;\r\n case FALSE:\r\n case NULL:\r\n case TRUE:\r\n case INTEGER_LITERAL:\r\n case FLOATING_POINT_LITERAL:\r\n case CHARACTER_LITERAL:\r\n case STRING_LITERAL:\r\n case MULTILINE_STRING_LITERAL:\r\n case SLASH:\r\n Literal();\r\n break;\r\n default:\r\n jj_la1[69] = jj_gen;\r\n jj_consume_token(-1);\r\n throw new ParseException();\r\n }\r\n break;\r\n default:\r\n jj_la1[70] = jj_gen;\r\n jj_consume_token(-1);\r\n throw new ParseException();\r\n }\r\n }\r\n }","title":""},{"docid":"cec3fd4000ab6032f1eb585008e40b82","score":"0.5189631","text":"private int yyr25() {\n return yypStatements();\n }","title":""},{"docid":"2f2277df26aef9b4e3cbb36fda159dd7","score":"0.51759714","text":"Token next(char endOfAtom) throws ParseException {\n/* 222 */ return next(endOfAtom, false);\n/* */ }","title":""},{"docid":"7485821bb2efad4afd95033230287eeb","score":"0.51687694","text":"private int yyr29() {\n yysp -= 5;\n return yypStatement();\n }","title":""},{"docid":"f59f32072182c3a2bea23ba66d84503b","score":"0.5158212","text":"T visitLogicalorexpression(lengBasicParser.LogicalorexpressionContext ctx);","title":""},{"docid":"a211b33f09ba8d13e1eefc8c03ba9c9b","score":"0.5139663","text":"@Test\n\tpublic void test34()\n\t{\n\t\tGrammar grammar = new Grammar(\"start: reverse|reversed|\\\"reverse the order of\\\" a list\", debugFlag);\n\t\tgrammar.addGlobalAlternative(\"reverse\", \"reversing\");\n\t\tassertEquals(\n\t\t\t1,\n\t\t\tparses(\n\t\t\t\tgrammar,\n\t\t\t\t\"reversing the order of a list\"\n\t\t\t)\n\t\t);\n\t}","title":""},{"docid":"dcae0293e80ea9c8d4fa2ccc883bc595","score":"0.5139211","text":"T visitInclusiveorexpression(lengBasicParser.InclusiveorexpressionContext ctx);","title":""},{"docid":"7f0ca6a64477683a1ec670adf4fa4039","score":"0.5135843","text":"public final void mT__33() throws RecognitionException {\n try {\n int _type = T__33;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // unql.g:28:7: ( 'END' )\n // unql.g:28:9: 'END'\n {\n match(\"END\"); \n\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n \t// do for sure before leaving\n }\n }","title":""},{"docid":"d5a929533e4876f66e2c8b7954e97709","score":"0.5135418","text":"public interface Token\n extends Text,\n Tokens {\n\n /**\n * the leftmost parsed element, related to this token in the string\n * @param text the string\n * @return token\n */\n @Override\n default Token leftMostIn(final String text) {\n final Token ret;\n if (text.contains(this.toSource())) {\n ret = this;\n } else {\n ret = new Absence();\n }\n return ret;\n }\n\n @Override\n default Tokens exclude(final Tokens tokens) {\n return tokens.contains(this) ?\n new Empty() :\n this;\n }\n\n @Override\n default boolean contains(final Token token) {\n return this.getClass()\n .equals(token.getClass()) && this.toSource()\n .equals(token.toSource());\n }\n\n /**\n * if this text is contained in the parameter, then\n * @param text parameter\n * @return text is preceding to first occurrence\n */\n default String precedingIn(final Source text) {\n return text.precedingThe(this.toSource());\n }\n\n /**\n * @param text parameter\n * if this text is contained in the parameter, then\n * @return text is following to first occurrence\n */\n default Sense followingIn(final Source text) {\n return text.followingThe(this.toSource());\n }\n\n default int length() {\n return this.toSource()\n .length();\n }\n\n /**\n * first position of this element in the string\n * @param text parameter\n * @return position\n */\n default int firstPositionIn(final String text) {\n return text.indexOf(this.toSource());\n }\n\n /**\n * by default recognizing Text is a failed recognition\n * @param unrecognized following text\n * @return failed\n */\n default Sense concat(final Unrecognized unrecognized) {\n return new Failed(this,\n new Source(unrecognized.toSource()));\n }\n\n /**\n * leftmost element in the string, either this, or parameter. if both\n * positions are equals, returns longer one. if neither element is exist,\n * then returns Empty token\n * @param parsed parameter\n * @param text where to search elements\n * @return left most element\n */\n default Token leftMost(final Token parsed,\n final String text) {\n final int thisPosition = this.firstPositionIn(text);\n final int parsedPosition = parsed.firstPositionIn(text);\n if (thisPosition == -1 && parsedPosition == -1) {\n return new Absence();\n } else if (thisPosition == -1) {\n return parsed;\n } else if (parsedPosition == -1) {\n return this;\n } else if (thisPosition > parsedPosition) {\n return parsed;\n } else if (parsedPosition > thisPosition) {\n return this;\n } else if (this.length() > parsed.length()) {\n return this;\n } else {\n return parsed;\n }\n }\n}","title":""},{"docid":"63a73d414976a6d67822980329859052","score":"0.5135131","text":"T visitLogicalandexpression(lengBasicParser.LogicalandexpressionContext ctx);","title":""},{"docid":"cb2b85f7df07d5bb254e3177db9d2fc5","score":"0.5115665","text":"public final void ruleEnumLiteralDeclaration() throws RecognitionException {\n Token otherlv_0=null;\n Token otherlv_1=null;\n\n try {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1795:27: ( ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )? ) )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1796:2: ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )? )\n {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1796:2: ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )? )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1797:3: ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )?\n {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1797:3: ( (otherlv_0= RULE_ID ) )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1798:4: (otherlv_0= RULE_ID )\n {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1798:4: (otherlv_0= RULE_ID )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1799:5: otherlv_0= RULE_ID\n {\n\n \t\t\t\t\tmarkLeaf(elementTypeProvider.getEnumLiteralDeclaration_EnumLiteralEEnumLiteralCrossReference_0_0ElementType());\n \t\t\t\t\n otherlv_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_RULE_ID_in_ruleEnumLiteralDeclaration5205); \n\n \t\t\t\t\tdoneLeaf(otherlv_0);\n \t\t\t\t\n\n }\n\n\n }\n\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1808:3: (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )?\n int alt48=2;\n int LA48_0 = input.LA(1);\n\n if ( (LA48_0==30) ) {\n alt48=1;\n }\n switch (alt48) {\n case 1 :\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1809:4: otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) )\n {\n\n \t\t\t\tmarkLeaf(elementTypeProvider.getEnumLiteralDeclaration_EqualsSignKeyword_1_0ElementType());\n \t\t\t\n otherlv_1=(Token)match(input,30,FollowSets000.FOLLOW_30_in_ruleEnumLiteralDeclaration5236); \n\n \t\t\t\tdoneLeaf(otherlv_1);\n \t\t\t\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1816:4: ( (lv_literal_2_0= ruleKeyword ) )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1817:5: (lv_literal_2_0= ruleKeyword )\n {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1817:5: (lv_literal_2_0= ruleKeyword )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1818:6: lv_literal_2_0= ruleKeyword\n {\n\n \t\t\t\t\t\tmarkComposite(elementTypeProvider.getEnumLiteralDeclaration_LiteralKeywordParserRuleCall_1_1_0ElementType());\n \t\t\t\t\t\n pushFollow(FollowSets000.FOLLOW_ruleKeyword_in_ruleEnumLiteralDeclaration5268);\n ruleKeyword();\n\n state._fsp--;\n\n\n \t\t\t\t\t\tdoneComposite();\n \t\t\t\t\t\n\n }\n\n\n }\n\n\n }\n break;\n\n }\n\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return ;\n }","title":""},{"docid":"a3503b8e79d882f2420b479e81baf653","score":"0.51067674","text":"protected void enterGrammar(Production node) throws ParseException {\n }","title":""},{"docid":"2cb8df231aadc904bb1fd5ddc0d3eacf","score":"0.51067543","text":"private final JessToken finishToken(int paramInt, StringBuffer paramStringBuffer)\n/* */ throws JessException\n/* */ {\n/* 215 */ JessToken localJessToken = new JessToken();\n/* 216 */ localJessToken.m_lineno = this.m_line;\n/* */ \n/* 218 */ switch (paramInt)\n/* */ {\n/* */ \n/* */ case 34: \n/* 222 */ localJessToken.m_ttype = 2;\n/* 223 */ localJessToken.m_sval = paramStringBuffer.toString();\n/* 224 */ break;\n/* */ \n/* */ \n/* */ case 40: \n/* 228 */ localJessToken.m_ttype = 40;\n/* 229 */ localJessToken.m_sval = \"(\";\n/* 230 */ break;\n/* */ \n/* */ case 41: \n/* 233 */ localJessToken.m_ttype = 41;\n/* 234 */ localJessToken.m_sval = \")\";\n/* 235 */ break;\n/* */ \n/* */ case 38: \n/* 238 */ localJessToken.m_ttype = 38;\n/* 239 */ localJessToken.m_sval = \"&\";\n/* 240 */ break;\n/* */ \n/* */ case 126: \n/* 243 */ localJessToken.m_ttype = 126;\n/* 244 */ localJessToken.m_sval = \"~\";\n/* 245 */ break;\n/* */ \n/* */ case 124: \n/* 248 */ localJessToken.m_ttype = paramInt;\n/* 249 */ localJessToken.m_sval = \"|\";\n/* 250 */ break;\n/* */ \n/* */ case 61: \n/* 253 */ localJessToken.m_ttype = 61;\n/* 254 */ localJessToken.m_sval = \"=\";\n/* 255 */ break;\n/* */ \n/* */ \n/* */ case 10: \n/* 259 */ localJessToken.m_ttype = 1;\n/* 260 */ localJessToken.m_sval = \"CRLF\";\n/* 261 */ break;\n/* */ \n/* */ \n/* */ case -1: \n/* 265 */ if (paramStringBuffer.length() == 0)\n/* */ {\n/* 267 */ localJessToken.m_ttype = 0;\n/* 268 */ localJessToken.m_sval = \"EOF\";\n/* */ }\n/* */ else {\n/* 271 */ return finishToken(0, paramStringBuffer);\n/* */ }\n/* */ break;\n/* */ case 0: \n/* 275 */ String str = paramStringBuffer.toString();\n/* 276 */ int i = str.charAt(0);\n/* */ \n/* */ \n/* 279 */ if (i == 63)\n/* */ {\n/* 281 */ localJessToken.m_ttype = 8;\n/* 282 */ if (str.length() > 1) {\n/* 283 */ localJessToken.m_sval = str.substring(1);\n/* */ } else {\n/* 285 */ localJessToken.m_sval = RU.gensym(\"_blank_\");\n/* */ }\n/* */ \n/* */ \n/* */ }\n/* 290 */ else if ((i == 36) && (str.length() > 1) && (str.charAt(1) == '?'))\n/* */ {\n/* */ \n/* 293 */ localJessToken.m_ttype = 8192;\n/* 294 */ if (str.length() > 2) {\n/* 295 */ localJessToken.m_sval = str.substring(2);\n/* */ } else {\n/* 297 */ localJessToken.m_sval = RU.gensym(\"_blank_mf\");\n/* */ }\n/* */ \n/* */ \n/* */ }\n/* 302 */ else if ((str.length() == 1) && ((i == 45) || (i == 46) || (i == 43)))\n/* */ {\n/* 304 */ localJessToken.m_ttype = 1;\n/* 305 */ localJessToken.m_sval = str;\n/* */ \n/* */ \n/* */ }\n/* 309 */ else if (isAnInteger(str))\n/* */ {\n/* */ \n/* */ try\n/* */ {\n/* 314 */ int j = Integer.parseInt(str, 10);\n/* 315 */ localJessToken.m_ttype = 4;\n/* 316 */ localJessToken.m_nval = j;\n/* */ \n/* */ }\n/* */ catch (NumberFormatException localNumberFormatException1) {}\n/* */ \n/* */ }\n/* */ else\n/* */ {\n/* */ try\n/* */ {\n/* 326 */ double d = Double.valueOf(str).doubleValue();\n/* 327 */ localJessToken.m_ttype = 32;\n/* 328 */ localJessToken.m_nval = d;\n/* */ \n/* */ }\n/* */ catch (NumberFormatException localNumberFormatException2)\n/* */ {\n/* */ \n/* 334 */ localJessToken.m_ttype = 1;\n/* 335 */ localJessToken.m_sval = str;\n/* */ }\n/* */ }\n/* */ break;\n/* 339 */ default: throw new JessException(\"Tokenizer.finishToken\", \"Impossible tag:\", (char)paramInt); }\n/* */ \n/* 341 */ return localJessToken;\n/* */ }","title":""},{"docid":"43b14def744f4a2e66a268ed1beeaaf2","score":"0.51020676","text":"public final void mT__30() throws RecognitionException {\n try {\n int _type = T__30;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // /Users/Samy/Git_Telecom/Compilation2k18/Expr.g:9:7: ( ':' )\n // /Users/Samy/Git_Telecom/Compilation2k18/Expr.g:9:9: ':'\n {\n match(':'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }","title":""},{"docid":"592e99d59a1e68a2e2ff6a444eb4d429","score":"0.51018703","text":"public Token next() throws ParseException {\n/* 204 */ return next(false, false);\n/* */ }","title":""},{"docid":"e10781aa3a002415382e4847e4b575db","score":"0.5086245","text":"public final void mT__31() throws RecognitionException {\r\n try {\r\n int _type = T__31;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // src/Little.g:12:7: ( ';' )\r\n // src/Little.g:12:9: ';'\r\n {\r\n match(';'); \r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }","title":""},{"docid":"d54d7b5634dab7c5e1c96ac4ba377451","score":"0.5085547","text":"public abstract Token parse(MatchResult result) throws ParseException;","title":""},{"docid":"929cecd8aa403a61aee0621743237f7d","score":"0.5081841","text":"public final void mT__31() throws RecognitionException {\n try {\n int _type = T__31;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.featuremodel/src-gen/org/xtext/featuremodel/parser/antlr/internal/InternalFeatureModel.g:31:7: ( '' )\n // ../org.xtext.featuremodel/src-gen/org/xtext/featuremodel/parser/antlr/internal/InternalFeatureModel.g:31:9: ''\n {\n match(\"\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }","title":""},{"docid":"215d1a04e7656b40976de95b77930cb0","score":"0.50729555","text":"public interface Literal extends SelectStatementWater, SpecialNamesParagraphWater, CICSStatementWater, PrimaryOperand, InvokeStatementWater, StopLabel {\n}","title":""},{"docid":"353983ef9cdf251531b6007f57055188","score":"0.50718975","text":"@Override\n\tpublic String toAntlr() {\n\t\tString antlr = \"\";\n\t\tfor(ExpressionTerm argument : expressionTerms) {\n\t\t\tantlr += argument.toAntlr();\n\t\t}\n\t\tif(instruction)antlr += \"\\n;\";\n\t\t// TODO Write from arguments\n\t\treturn antlr;\n\t}","title":""},{"docid":"8458d160aec590695d950c4ff05d6935","score":"0.5070875","text":"public interface MimirJSqlParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int K_AS = 5;\n /** RegularExpression Id. */\n int K_DIRECT = 6;\n /** RegularExpression Id. */\n int K_UNCERTAIN = 7;\n /** RegularExpression Id. */\n int K_ANALYZE = 8;\n /** RegularExpression Id. */\n int K_EXPLAIN = 9;\n /** RegularExpression Id. */\n int K_ASSUME = 10;\n /** RegularExpression Id. */\n int K_VIEW = 11;\n /** RegularExpression Id. */\n int K_LENS = 12;\n /** RegularExpression Id. */\n int K_ADAPTIVE = 13;\n /** RegularExpression Id. */\n int K_SCHEMA = 14;\n /** RegularExpression Id. */\n int K_LET = 15;\n /** RegularExpression Id. */\n int K_LOAD = 16;\n /** RegularExpression Id. */\n int K_PLOT = 17;\n /** RegularExpression Id. */\n int K_ALTER = 18;\n /** RegularExpression Id. */\n int K_SAVE = 19;\n /** RegularExpression Id. */\n int K_RENAME = 20;\n /** RegularExpression Id. */\n int K_PRAGMA = 21;\n /** RegularExpression Id. */\n int K_MATERIALIZE = 22;\n /** RegularExpression Id. */\n int K_BY = 23;\n /** RegularExpression Id. */\n int K_DO = 24;\n /** RegularExpression Id. */\n int K_IF = 25;\n /** RegularExpression Id. */\n int K_IS = 26;\n /** RegularExpression Id. */\n int K_IN = 27;\n /** RegularExpression Id. */\n int K_OR = 28;\n /** RegularExpression Id. */\n int K_OF = 29;\n /** RegularExpression Id. */\n int K_ON = 30;\n /** RegularExpression Id. */\n int K_ALL = 31;\n /** RegularExpression Id. */\n int K_AND = 32;\n /** RegularExpression Id. */\n int K_ANY = 33;\n /** RegularExpression Id. */\n int K_KEY = 34;\n /** RegularExpression Id. */\n int K_NOT = 35;\n /** RegularExpression Id. */\n int K_SET = 36;\n /** RegularExpression Id. */\n int K_ASC = 37;\n /** RegularExpression Id. */\n int K_TOP = 38;\n /** RegularExpression Id. */\n int K_END = 39;\n /** RegularExpression Id. */\n int K_DESC = 40;\n /** RegularExpression Id. */\n int K_INTO = 41;\n /** RegularExpression Id. */\n int K_NULL = 42;\n /** RegularExpression Id. */\n int K_LIKE = 43;\n /** RegularExpression Id. */\n int K_DROP = 44;\n /** RegularExpression Id. */\n int K_JOIN = 45;\n /** RegularExpression Id. */\n int K_LEFT = 46;\n /** RegularExpression Id. */\n int K_FROM = 47;\n /** RegularExpression Id. */\n int K_OPEN = 48;\n /** RegularExpression Id. */\n int K_CASE = 49;\n /** RegularExpression Id. */\n int K_WHEN = 50;\n /** RegularExpression Id. */\n int K_THEN = 51;\n /** RegularExpression Id. */\n int K_ELSE = 52;\n /** RegularExpression Id. */\n int K_SOME = 53;\n /** RegularExpression Id. */\n int K_FULL = 54;\n /** RegularExpression Id. */\n int K_WITH = 55;\n /** RegularExpression Id. */\n int K_TABLE = 56;\n /** RegularExpression Id. */\n int K_WHERE = 57;\n /** RegularExpression Id. */\n int K_USING = 58;\n /** RegularExpression Id. */\n int K_UNION = 59;\n /** RegularExpression Id. */\n int K_GROUP = 60;\n /** RegularExpression Id. */\n int K_BEGIN = 61;\n /** RegularExpression Id. */\n int K_INDEX = 62;\n /** RegularExpression Id. */\n int K_INNER = 63;\n /** RegularExpression Id. */\n int K_LIMIT = 64;\n /** RegularExpression Id. */\n int K_OUTER = 65;\n /** RegularExpression Id. */\n int K_ORDER = 66;\n /** RegularExpression Id. */\n int K_RIGHT = 67;\n /** RegularExpression Id. */\n int K_DELETE = 68;\n /** RegularExpression Id. */\n int K_CREATE = 69;\n /** RegularExpression Id. */\n int K_SELECT = 70;\n /** RegularExpression Id. */\n int K_CAST = 71;\n /** RegularExpression Id. */\n int K_PROVENANCE = 72;\n /** RegularExpression Id. */\n int K_OFFSET = 73;\n /** RegularExpression Id. */\n int K_EXISTS = 74;\n /** RegularExpression Id. */\n int K_HAVING = 75;\n /** RegularExpression Id. */\n int K_INSERT = 76;\n /** RegularExpression Id. */\n int K_UPDATE = 77;\n /** RegularExpression Id. */\n int K_VALUES = 78;\n /** RegularExpression Id. */\n int K_ESCAPE = 79;\n /** RegularExpression Id. */\n int K_PRIMARY = 80;\n /** RegularExpression Id. */\n int K_NATURAL = 81;\n /** RegularExpression Id. */\n int K_REPLACE = 82;\n /** RegularExpression Id. */\n int K_BETWEEN = 83;\n /** RegularExpression Id. */\n int K_TRUNCATE = 84;\n /** RegularExpression Id. */\n int K_DISTINCT = 85;\n /** RegularExpression Id. */\n int K_INTERSECT = 86;\n /** RegularExpression Id. */\n int K_FEEDBACK = 87;\n /** RegularExpression Id. */\n int K_EXTRACT = 88;\n /** RegularExpression Id. */\n int K_ASSIGNMENTS = 89;\n /** RegularExpression Id. */\n int S_DOUBLE = 90;\n /** RegularExpression Id. */\n int S_INTEGER = 91;\n /** RegularExpression Id. */\n int DIGIT = 92;\n /** RegularExpression Id. */\n int LINE_COMMENT = 93;\n /** RegularExpression Id. */\n int MULTI_LINE_COMMENT = 94;\n /** RegularExpression Id. */\n int S_IDENTIFIER = 95;\n /** RegularExpression Id. */\n int LETTER = 96;\n /** RegularExpression Id. */\n int SPECIAL_CHARS = 97;\n /** RegularExpression Id. */\n int S_CHAR_LITERAL = 98;\n /** RegularExpression Id. */\n int S_QUOTED_IDENTIFIER = 99;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"AS\\\"\",\n \"\\\"DIRECT\\\"\",\n \"\\\"UNCERTAIN\\\"\",\n \"\\\"ANALYZE\\\"\",\n \"\\\"EXPLAIN\\\"\",\n \"\\\"ASSUME\\\"\",\n \"\\\"VIEW\\\"\",\n \"\\\"LENS\\\"\",\n \"\\\"ADAPTIVE\\\"\",\n \"\\\"SCHEMA\\\"\",\n \"\\\"LET\\\"\",\n \"\\\"LOAD\\\"\",\n \"\\\"PLOT\\\"\",\n \"\\\"ALTER\\\"\",\n \"\\\"SAVE\\\"\",\n \"\\\"RENAME\\\"\",\n \"\\\"PRAGMA\\\"\",\n \"\\\"MATERIALIZE\\\"\",\n \"\\\"BY\\\"\",\n \"\\\"DO\\\"\",\n \"\\\"IF\\\"\",\n \"\\\"IS\\\"\",\n \"\\\"IN\\\"\",\n \"\\\"OR\\\"\",\n \"\\\"OF\\\"\",\n \"\\\"ON\\\"\",\n \"\\\"ALL\\\"\",\n \"\\\"AND\\\"\",\n \"\\\"ANY\\\"\",\n \"\\\"KEY\\\"\",\n \"\\\"NOT\\\"\",\n \"\\\"SET\\\"\",\n \"\\\"ASC\\\"\",\n \"\\\"TOP\\\"\",\n \"\\\"END\\\"\",\n \"\\\"DESC\\\"\",\n \"\\\"INTO\\\"\",\n \"\\\"NULL\\\"\",\n \"\\\"LIKE\\\"\",\n \"\\\"DROP\\\"\",\n \"\\\"JOIN\\\"\",\n \"\\\"LEFT\\\"\",\n \"\\\"FROM\\\"\",\n \"\\\"OPEN\\\"\",\n \"\\\"CASE\\\"\",\n \"\\\"WHEN\\\"\",\n \"\\\"THEN\\\"\",\n \"\\\"ELSE\\\"\",\n \"\\\"SOME\\\"\",\n \"\\\"FULL\\\"\",\n \"\\\"WITH\\\"\",\n \"\\\"TABLE\\\"\",\n \"\\\"WHERE\\\"\",\n \"\\\"USING\\\"\",\n \"\\\"UNION\\\"\",\n \"\\\"GROUP\\\"\",\n \"\\\"BEGIN\\\"\",\n \"\\\"INDEX\\\"\",\n \"\\\"INNER\\\"\",\n \"\\\"LIMIT\\\"\",\n \"\\\"OUTER\\\"\",\n \"\\\"ORDER\\\"\",\n \"\\\"RIGHT\\\"\",\n \"\\\"DELETE\\\"\",\n \"\\\"CREATE\\\"\",\n \"\\\"SELECT\\\"\",\n \"\\\"CAST\\\"\",\n \"\\\"PROVENANCE\\\"\",\n \"\\\"OFFSET\\\"\",\n \"\\\"EXISTS\\\"\",\n \"\\\"HAVING\\\"\",\n \"\\\"INSERT\\\"\",\n \"\\\"UPDATE\\\"\",\n \"\\\"VALUES\\\"\",\n \"\\\"ESCAPE\\\"\",\n \"\\\"PRIMARY\\\"\",\n \"\\\"NATURAL\\\"\",\n \"\\\"REPLACE\\\"\",\n \"\\\"BETWEEN\\\"\",\n \"\\\"TRUNCATE\\\"\",\n \"\\\"DISTINCT\\\"\",\n \"\\\"INTERSECT\\\"\",\n \"\\\"FEEDBACK\\\"\",\n \"\\\"EXTRACT\\\"\",\n \"\\\"ASSIGNMENTS\\\"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\\\";\\\"\",\n \"\\\":\\\"\",\n \"\\\"(\\\"\",\n \"\\\",\\\"\",\n \"\\\")\\\"\",\n \"\\\"=\\\"\",\n \"\\\".\\\"\",\n \"\\\"*\\\"\",\n \"\\\"?\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\">=\\\"\",\n \"\\\"<=\\\"\",\n \"\\\"<>\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"@@\\\"\",\n \"\\\"||\\\"\",\n \"\\\"|\\\"\",\n \"\\\"&\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"/\\\"\",\n \"\\\"^\\\"\",\n \"\\\"{d\\\"\",\n \"\\\"}\\\"\",\n \"\\\"{t\\\"\",\n \"\\\"{ts\\\"\",\n \"\\\"{fn\\\"\",\n };\n\n}","title":""},{"docid":"05f8a16c220e68057e0f6b725baac9e3","score":"0.5065117","text":"private int yyr51() {\n return 107;\n }","title":""},{"docid":"4450d89f303b78381b23a2fd18046d14","score":"0.5056176","text":"public Token next() {\n\t\t\n\t\tint state = 0;\n\t\tStringBuilder lexeme = new StringBuilder();\n\t\tint startLine = source.line;\n\t\tint startColumn = source.column;\n\t\t\n\t\twhile (true) {\n\t\t\tswitch (state) {\n\t\t\tcase 0:\n\t\t\t\tif (source.atEOF) {\n\t\t\t\t\treturn new Token(source.line, source.column, TokenType.EOF, null);\n\t\t\t\t// State 1 deals with the NUM 0\n\t\t\t\t} else if (source.current == '0') {\n\t\t\t\t\tstartLine = source.line;\n\t\t\t\t\tstartColumn = source.column;\n\t\t\t\t\tlexeme.append(source.current);\n\t\t\t\t\tsource.advance();\n\t\t\t\t\tstate = 1;\n\t\t\t\t// State 2 deals with all the other NUMs\n\t\t\t\t} else if (Character.isDigit(source.current)) {\n\t\t\t\t\tstartLine = source.line;\n\t\t\t\t\tstartColumn = source.column;\n\t\t\t\t\tlexeme.append(source.current);\n\t\t\t\t\tsource.advance();\n\t\t\t\t\tstate = 2;\n\t\t\t\t// State 3 deals with keywords and identifiers\n\t\t\t\t} else if (Character.isAlphabetic(source.current)) {\n\t\t\t\t\tstartLine = source.line;\n\t\t\t\t\tstartColumn = source.column;\n\t\t\t\t\tlexeme.append(source.current);\n\t\t\t\t\tsource.advance();\n\t\t\t\t\tstate = 3;\n\t\t\t // States 4-7 deal with comments\n\t\t\t\t} else if (source.current == '/') {\n\t\t\t\t\tstate = 4;\n\t\t\t\t\tsource.advance();\n\t\t\t\t// State 8 deals with operators and punctuation\n\t\t\t\t} else if (\"+-*;.:(),\".contains(String.valueOf(source.current))) {\n\t\t\t\t\tstate = 8;\n\t\t\t\t\tlexeme.append(source.current);\n\t\t\t\t\tsource.advance();\n\t\t\t\t// State 9 deals with <= and <> as well as <\n\t\t\t\t} else if (source.current == '<') {\n\t\t\t\t\tstartLine = source.line;\n\t\t\t\t\tstartColumn = source.column;\n\t\t\t\t\tstate = 9;\n\t\t\t\t\tsource.advance();\n\t\t\t\t// State 10 deals with >= and >\n\t\t\t\t} else if (source.current == '>') {\n\t\t\t\t\tstartLine = source.line;\n\t\t\t\t\tstartColumn = source.column;\n\t\t\t\t\tstate = 10;\n\t\t\t\t\tsource.advance();\n\t\t\t\t// States 11-12 deal with string literal\n\t\t\t\t} else if (source.current == '\"') {\n\t\t\t\t\tstartLine = source.line;\n\t\t\t\t\tstartColumn = source.column;\n\t\t\t\t\tstate = 11;\n\t\t\t\t\tsource.advance();\n\t\t\t\t// States 13-14 deal with equal operator ==\n\t\t\t\t} else if (source.current == '=') {\n\t\t\t\t\tstartLine = source.line;\n\t\t\t\t\tstartColumn = source.column;\n\t\t\t\t\tstate = 13;\n\t\t\t\t\tsource.advance();\n\t\t\t\t} else if (Character.isWhitespace(source.current)) {\n\t\t\t\t\tsource.advance();\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"Unexpected character '\" + source.current + \"' at line \" + source.line + \" column \" + source.column + \" was skipped.\");\n\t\t\t\t\tsource.advance();\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t\t\n\t\t\tcase 1:\n\t\t\t\treturn new Token(startLine, startColumn, TokenType.NUM, lexeme.toString());\n\t\t\t\t\n\t\t\tcase 2:\n\t\t\t\tif (source.atEOF || !Character.isDigit(source.current)) {\n\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.NUM, lexeme.toString());\n\t\t\t\t} else {\n\t\t\t\t\tlexeme.append(source.current);\n\t\t\t\t\tsource.advance();\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 3:\n\t\t\t\t// a list of legal characters to signal the end of lexeme\n\t\t\t\tString end_chars = \"+-*;.=/ \\t\\n:(),<>\\\"\";\n\t\t\t\t\n\t\t\t\t// Alphabets, digits, and underscores are parts of legal identifier\n\t\t\t\tif (Character.isAlphabetic(source.current) || Character.isDigit(source.current) || source.current == '_') {\n\t\t\t\t\tlexeme.append(source.current);\n\t\t\t\t\tsource.advance();\n\t\t\t\t// This case is the end of token\n\t\t\t\t} else if (end_chars.contains(String.valueOf(source.current))) {\n\t\t\t\t\tString lex = lexeme.toString();\n\t\t\t\t\t\n\t\t\t\t\tif (keywords.containsKey(lex))\n\t\t\t\t\t\treturn new Token(startLine, startColumn, keywords.get(lex), null);\n\t\t\t\t\telse\n\t\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.ID, lex);\n\t\t\t\t// If there is a illegal character, print an error message\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"Unexpected character '\" + source.current + \"' at line \" + source.line + \" column \" + source.column + \" was skipped.\");\n\t\t\t\t\tsource.advance();\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 4:\n\t\t\t\tif (source.current == '/') {\n\t\t\t\t\tstate = 5;\n\t\t\t\t\tsource.advance();\n\t\t\t\t}\n\t\t\t\telse if (source.current == '*') {\n\t\t\t\t\tstate = 6;\n\t\t\t\t\tsource.advance();\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.println(\"You have to use // for a one-line comment.\");\n\t\t\t\t\tstate = 0;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 5:\n\t\t\t\tif (source.current == '\\n')\n\t\t\t\t\tstate = 0;\n\t\t\t\tsource.advance();\n\t\t\t\tbreak;\n\t\t\tcase 6:\n\t\t\t\tif (source.current == '*')\n\t\t\t\t\tstate = 7;\n\t\t\t\telse if (source.atEOF) {\n\t\t\t\t\tSystem.out.println(\"Comment has to be closed with '*/' before EOF\");\n\t\t\t\t\tstate = 0;\n\t\t\t\t}\n\t\t\t\tsource.advance();\n\t\t\t\tbreak;\n\t\t\tcase 7:\n\t\t\t\tif (source.current == '/')\n\t\t\t\t\tstate = 0;\n\t\t\t\telse if (source.current == '*')\n\t\t\t\t\tstate = 7;\n\t\t\t\telse if (source.atEOF) {\n\t\t\t\t\tSystem.out.println(\"Comment has to be closed with '*/' before EOF\");\n\t\t\t\t\tstate = 0;\n\t\t\t\t} else\n\t\t\t\t\tstate = 6;\n\t\t\t\tsource.advance();\n\t\t\t\tbreak;\n\t\t\tcase 8:\n\t\t\t\tString lex = lexeme.toString();\n\t\t\t\treturn new Token(startLine, startColumn, opsAndPunct.get(lex), null);\n\t\t\tcase 9:\n\t\t\t\tif (source.current == '=') {\n\t\t\t\t\tsource.advance();\n\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.LE, null);\n\t\t\t\t}\n\t\t\t\telse if (source.current == '>') {\n\t\t\t\t\tsource.advance();\n\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.NE, null);\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.LT, null);\n\t\t\tcase 10:\n\t\t\t\tif (source.current == '=') {\n\t\t\t\t\tsource.advance();\n\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.GE, null);\n\t\t\t\t} else \n\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.GT, null);\n\t\t\tcase 11:\n\t\t\t\tif (source.current == '\"')\n\t\t\t\t\tstate = 12;\n\t\t\t\telse if (source.current == '\\n')\n\t\t\t\t\tSystem.out.println(\"String literal has to end with \\\"\");\n\t\t\t\t\t// System.exit(1); // Lexical error does not exit the program?\n\t\t\t\telse\n\t\t\t\t\tlexeme.append(source.current);\n\t\t\t\tsource.advance();\n\t\t\t\tbreak;\n\t\t\tcase 12:\n\t\t\t\tif (source.current == '\"') {\n\t\t\t\t\tstate = 11;\n\t\t\t\t\t// Two quotation marks (\"\") is considered a \" in the string literal\n\t\t\t\t\tlexeme.append('\"');\n\t\t\t\t\tsource.advance();\n\t\t\t\t} else \n\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.STRING, lexeme.toString());\n\t\t\t\tbreak;\n\t\t\tcase 13:\n\t\t\t\tif (source.current == '=') {\n\t\t\t\t\tstate = 14;\n\t\t\t\t\tsource.advance();\n\t\t\t\t} else\n\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.ASSIGN, null);\n\t\t\t\tbreak;\n\t\t\tcase 14:\n\t\t\t\treturn new Token(startLine, startColumn, TokenType.EQ, null);\n\t\t\tdefault:\n\t\t\t\t// This part will NOT be executed. The error will be thrown just in case.\n\t\t\t\tthrow new RuntimeException(\"Unreachable. Something is wrong with the lexer.\");\n\t\t\t}\n\t\t}\n\t}","title":""},{"docid":"64016b855a7d5889305fe2ec9ea33896","score":"0.50475615","text":"@Override\r\n\t public boolean matchStatement(LinkedList tokens) {\r\n\t\tboolean match = true;\r\n\t\tToken token = null;\r\n\t\tIterator it = tokens.iterator();\r\n\t\twhile (it.hasNext()) {\r\n\t\t token = it.next();\r\n\t\t switch (token.getString()) {\r\n\t\t case \"(\":\r\n\t\t case \")\":\r\n\t\t\tmatch = false;\r\n\t\t\tbreak;\r\n\t\t }\r\n\t\t}\r\n\t\treturn match;\r\n\t }","title":""},{"docid":"32cf09528cc0b15edf9de2bfe0c01cfc","score":"0.50305325","text":"T visitAndexpression(lengBasicParser.AndexpressionContext ctx);","title":""},{"docid":"fcd05a13dd6c27126180cfe47fb9e40b","score":"0.50302964","text":"public interface ITokens {\n /* terminals */\n public static final int SHORT = 66;\n public static final int BOOL = 64;\n public static final int PRN_LEFT = 60;\n public static final int BIT_LM = 39;\n public static final int NUM_DIV_ASSIGN = 48;\n public static final int BIT_RM = 40;\n public static final int SEMI = 15;\n public static final int NEXT = 8;\n public static final int COMMA = 14;\n public static final int BIT_LM_ASSIGN = 53;\n public static final int BIT_AND = 35;\n public static final int BRC_RIGHT = 57;\n public static final int INTEGER = 67;\n public static final int BIT_XOR = 38;\n public static final int DOUBLE = 70;\n public static final int LGC_CNE = 26;\n public static final int LOOP = 7;\n public static final int TEXT = 73;\n public static final int LGC_CGT = 22;\n public static final int VAR = 4;\n public static final int LGC_AND = 18;\n public static final int BIT_AND_ASSIGN = 50;\n public static final int NUM_MOD_ASSIGN = 49;\n public static final int FLOAT = 69;\n public static final int QUESTION_COLON = 17;\n public static final int NUM_SUB_ASSIGN = 46;\n public static final int LGC_CGE = 24;\n public static final int INCLUDE = 2;\n public static final int BIT_XOR_ASSIGN = 52;\n public static final int CHARS = 71;\n public static final int LONG = 68;\n public static final int QUESTION = 16;\n public static final int LGC_CLT = 21;\n public static final int ASSIGN = 42;\n public static final int NUM_POW = 10;\n public static final int BIT_NOT = 37;\n public static final int NUM_SUB = 28;\n public static final int BIT_OR = 36;\n public static final int BIT_ZRM_ASSIGN = 55;\n public static final int LGC_CLE = 23;\n public static final int ELSE = 6;\n public static final int BREAK = 9;\n public static final int DOT = 12;\n public static final int ECHO = 3;\n public static final int NUM_ADD1 = 32;\n public static final int NULL = 63;\n public static final int LGC_AND_ASSIGN = 43;\n public static final int EOF = 0;\n public static final int LGC_NOT = 20;\n public static final int NUM_MUL = 29;\n public static final int LABEL = 72;\n public static final int LGC_CEE = 25;\n public static final int BIT_ZRM = 41;\n public static final int NUM_MOD = 31;\n public static final int BRK_RIGHT = 59;\n public static final int HOLD_TAIL = 62;\n public static final int NUM_ADD_ASSIGN = 45;\n public static final int BRC_LEFT = 56;\n public static final int error = 1;\n public static final int IF = 5;\n public static final int PRN_RIGHT = 61;\n public static final int NUM_MUL_ASSIGN = 47;\n public static final int COLON = 13;\n public static final int MERGE = 11;\n public static final int NUM_ADD = 27;\n public static final int NUM_DIV = 30;\n public static final int NUM_SUB1 = 33;\n public static final int NUM_NGT = 34;\n public static final int LGC_OR_ASSIGN = 44;\n public static final int BYTE = 65;\n public static final int LGC_OR = 19;\n public static final int BIT_OR_ASSIGN = 51;\n public static final int BIT_RM_ASSIGN = 54;\n public static final int BRK_LEFT = 58;\n}","title":""},{"docid":"cbd4285e29fae6be2b02e5734cb33c3a","score":"0.5030275","text":"public String visit(VarDeclaration n, String argu) throws RuntimeException{\n String _ret=null;\n\n\t String filename=previousprogram.get(1)+\".ll\";\n\t BufferedWriter bw=null;\n\t try{\n\t\t File f=new File(filename);\n\t\t /*if(!file.exists()){\n\t\t\tfile.createNewFile();\n\t\t }*/\n\t\t FileWriter fw=new FileWriter(f,true);\n\t\t\t\t\n\t\t bw=new BufferedWriter(fw);\n\t }\n\t catch (IOException e) {\n e.printStackTrace();\n }\n\n\n\n String type=n.f0.accept(this, argu);\n String name=n.f1.accept(this, argu);\n\t //System.out.println(\"TYPE and NAME=\"+type+name);\n\n n.f2.accept(this, argu);\n\t program.add(\";\");\n\n\t try{\n\n\t\t\n\t\tbw.flush();\n\t\tbw.close();\n\t }\n\t catch (IOException e) {\n e.printStackTrace();\n }\n return _ret;\n }","title":""},{"docid":"99b8484edd08cad66b4f8447e0792042","score":"0.5022795","text":"public interface IntASTStatement extends IntASTNode {\n \n}","title":""},{"docid":"649a5ee4b28110c3dd9faf9866a21a19","score":"0.50166416","text":"private void compileStatement(){\n tokenizer.advance();\n\n //siguiente '}'\n if (tokenizer.tokenType() == JackTokenizer.SYMBOL && tokenizer.symbol() == '}'){\n tokenizer.pointerBack();\n return;\n }\n\n //siguiente caso 'let'|'if'|'while'|'do'|'return'\n if (tokenizer.tokenType() != JackTokenizer.KEYWORD){\n error(\"keyword\");\n }else {\n switch (tokenizer.keyWord()){\n case JackTokenizer.LET:compileLet();break;\n case JackTokenizer.IF:compileIf();break;\n case JackTokenizer.WHILE:compilesWhile();break;\n case JackTokenizer.DO:compileDo();break;\n case JackTokenizer.RETURN:compileReturn();break;\n default:error(\"'let'|'if'|'while'|'do'|'return'\");\n }\n }\n\n compileStatement();\n }","title":""},{"docid":"8a8e7c7c89ca2b8c8a44e09299fb43ac","score":"0.50135607","text":"public final void mT__31() throws RecognitionException {\n try {\n int _type = T__31;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // /Users/Samy/Git_Telecom/Compilation2k18/Expr.g:10:7: ( ',' )\n // /Users/Samy/Git_Telecom/Compilation2k18/Expr.g:10:9: ','\n {\n match(','); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }","title":""},{"docid":"00d4eafc1efd116a161847cfc30cce5f","score":"0.500551","text":"private Token match(Token.Kind kind) {\n\t\tcheckNotEof();\n\t\tToken token = tokens.get(index++);\n\t\tif (token.kind != kind) {\n\t\t\tsyntaxError(\"expecting \\\"\" + kind + \"\\\" here\", token);\n\t\t}\n\t\treturn token;\n\t}","title":""},{"docid":"bf5aae8a4dc11a7a0bdbc6e3053a7eed","score":"0.4989482","text":"public String visit(TypeDeclaration n, String argu) throws Exception {\n System.out.println(\"TypeDeclaration :\");\n return n.f0.accept(this, null);\n }","title":""},{"docid":"701d28da13ab2f40b90e8f8c92b1b808","score":"0.4988934","text":"protected Node exitTokenDeclaration(Production node)\n throws ParseException {\n\n return node;\n }","title":""},{"docid":"973eb7f660097fe032b3a2bcff74880b","score":"0.49843964","text":"public String visit(AssignmentStatement n, String argu) {\n String _ret=null;\n\t String filename=previousprogram.get(1)+\".ll\";\n\t BufferedWriter bw=null;\n\t try{\n\t\t File f=new File(filename);\n\t\t /*if(!file.exists()){\n\t\t\tfile.createNewFile();\n\t\t }*/\n\t\t FileWriter fw=new FileWriter(f,true);\n\t\t\t\t\n\t\t bw=new BufferedWriter(fw);\n\t }\n\t catch (IOException e) {\n e.printStackTrace();\n }\n\n\n\n\t String type1,type2;\n\t type1=n.f0.accept(this,argu);\n\t String name1=program.get(program.size()-1);\n\t try{\n\t\t/*bw.write(\"%_\"+numregister+\" = load \");\n\t\tnumregister++;\n\t\tif(type1==\"int\"){\n\t\t\tbw.write(\"i32, i32* %\"+program.get(program.size()-1)+\"\\n\");\n\t\t}*/\n\t\tbw.flush();\n\t }\n\t catch (IOException e) {\n e.printStackTrace();\n }\n\n n.f1.accept(this, argu);\n\t program.add(\"=\");\n type2=n.f2.accept(this, argu);//o typos toy antikeimenoy einai type1\n\t \n\t try{\n\t\tbw.write(\"store \");\n\t\tif(isNumeric(program.get(program.size()-1))&&program.get(program.size()-2)==\"=\"){\n\t\t\tif(program.get(program.size()-1)==\"]\"){\n\t\t\t\t\tbw.write(\"i32 %_\"+(numregister-1)+\", i32* %\"+(numregister-1)+\"\\n\");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tbw.write(\"i32 \"+program.get(program.size()-1)+\", i32* %\"+program.get(program.size()-3)+\"\\n\");\n\t\t\t}\n\t\t}\n\t\telse{\n\t\t\tif(type1==\"int\"||type1==\"int[]\"){\n\t\t\t\tif(program.get(program.size()-1)==\"]\"){\n\t\t\t\t\tbw.write(\"i32 %_\"+(numregister-1)+\", i32* %\"+(numregister-4)+\"\\n\");\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tbw.write(\"i32 %_\"+(numregister-1)+\", i32* %\"+name1+\"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tbw.flush();\n\t }\n\t catch (IOException e) {\n e.printStackTrace();\n }\n\n\t \n n.f3.accept(this, argu);\n\t program.add(\";\");\n\t\n return _ret;\n }","title":""},{"docid":"448fde94221a81c69491098c2a9b9027","score":"0.49797532","text":"public interface IDLParserConstants {\r\n\r\n /** End of File. */\r\n int EOF = 0;\r\n /** RegularExpression Id. */\r\n int ID = 24;\r\n /** RegularExpression Id. */\r\n int OCTALINT = 25;\r\n /** RegularExpression Id. */\r\n int DECIMALINT = 26;\r\n /** RegularExpression Id. */\r\n int HEXADECIMALINT = 27;\r\n /** RegularExpression Id. */\r\n int FLOATONE = 28;\r\n /** RegularExpression Id. */\r\n int FLOATTWO = 29;\r\n /** RegularExpression Id. */\r\n int CHARACTER = 30;\r\n /** RegularExpression Id. */\r\n int STRING = 31;\r\n\r\n /** Lexical state. */\r\n int DEFAULT = 0;\r\n\r\n /** Literal token values. */\r\n String[] tokenImage = {\r\n \"\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\\\"\\\\n\\\"\",\r\n \"\\\"\\\\r\\\"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\\\";\\\"\",\r\n \"\\\"module\\\"\",\r\n \"\\\"{\\\"\",\r\n \"\\\"}\\\"\",\r\n \"\\\"struct\\\"\",\r\n \"\\\",\\\"\",\r\n \"\\\"[\\\"\",\r\n \"\\\"]\\\"\",\r\n \"\\\"float\\\"\",\r\n \"\\\"double\\\"\",\r\n \"\\\"long\\\"\",\r\n \"\\\"short\\\"\",\r\n \"\\\"unsigned\\\"\",\r\n \"\\\"char\\\"\",\r\n \"\\\"boolean\\\"\",\r\n \"\\\"octet\\\"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n };\r\n\r\n}","title":""},{"docid":"e44042db2551f72be7d50e3ade6aaf9e","score":"0.4974882","text":"public final void ruleEnumLiteralDeclaration() throws RecognitionException {\n Token otherlv_0=null;\n Token otherlv_1=null;\n\n try {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1883:27: ( ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )? ) )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1884:2: ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )? )\n {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1884:2: ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )? )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1885:3: ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )?\n {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1885:3: ( (otherlv_0= RULE_ID ) )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1886:4: (otherlv_0= RULE_ID )\n {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1886:4: (otherlv_0= RULE_ID )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1887:5: otherlv_0= RULE_ID\n {\n\n \t\t\t\t\tmarkLeaf(elementTypeProvider.getEnumLiteralDeclaration_EnumLiteralEEnumLiteralCrossReference_0_0ElementType());\n \t\t\t\t\n otherlv_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_RULE_ID_in_ruleEnumLiteralDeclaration5441); \n\n \t\t\t\t\tdoneLeaf(otherlv_0);\n \t\t\t\t\n\n }\n\n\n }\n\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1896:3: (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )?\n int alt50=2;\n int LA50_0 = input.LA(1);\n\n if ( (LA50_0==30) ) {\n alt50=1;\n }\n switch (alt50) {\n case 1 :\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1897:4: otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) )\n {\n\n \t\t\t\tmarkLeaf(elementTypeProvider.getEnumLiteralDeclaration_EqualsSignKeyword_1_0ElementType());\n \t\t\t\n otherlv_1=(Token)match(input,30,FollowSets000.FOLLOW_30_in_ruleEnumLiteralDeclaration5472); \n\n \t\t\t\tdoneLeaf(otherlv_1);\n \t\t\t\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1904:4: ( (lv_literal_2_0= ruleKeyword ) )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1905:5: (lv_literal_2_0= ruleKeyword )\n {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1905:5: (lv_literal_2_0= ruleKeyword )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1906:6: lv_literal_2_0= ruleKeyword\n {\n\n \t\t\t\t\t\tmarkComposite(elementTypeProvider.getEnumLiteralDeclaration_LiteralKeywordParserRuleCall_1_1_0ElementType());\n \t\t\t\t\t\n pushFollow(FollowSets000.FOLLOW_ruleKeyword_in_ruleEnumLiteralDeclaration5504);\n ruleKeyword();\n\n state._fsp--;\n\n\n \t\t\t\t\t\tdoneComposite();\n \t\t\t\t\t\n\n }\n\n\n }\n\n\n }\n break;\n\n }\n\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return ;\n }","title":""},{"docid":"38755a77c3bad74855e6bca9c3ba7d6c","score":"0.49635845","text":"public Token next() {\n\t\tif (_buffer.isEmpty())\n\t\t\treturn null;\n\n\t\t// TODO: Complete this method\n\t\t// START YOUR CODE\n\t\tchar firstChar = _buffer.charAt(0);\n\t\tif (firstChar == 'I'){\n\t\t\tif (_buffer.substring(0, 11).equals(\"INSERT INTO\")){\n\t\t\t\tStringBuilder stringBuilder = new StringBuilder();\n\t\t\t\tint pos = 12 ;\n\t\t\t\t//current char (digit) , pointer\n\t\t\t\tchar current = _buffer.charAt(pos);\n\t\t\t\twhile(current!='V'){\n\t\t\t\t\tstringBuilder.append(current);\n\t\t\t\t\tpos++;\n\t\t\t\t\t// if else to handle the out of range bug\n\t\t\t\t\t//make sure the current pointer is not out of bounds\n\t\t\t\t\tif(pos<_buffer.length()){\n\t\t\t\t\t\tcurrent = _buffer.charAt(pos);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.println(stringBuilder.toString());\n\t\t\t\tstringBuilder.setLength(stringBuilder.length()-1);\n\t\t\t\treturn new Token(Token.Type.INSERT_INTO,stringBuilder.toString(),\"INSERT INTO \"+stringBuilder.toString());\n\t\t\t}\n\t\t}\n\n\t\tif (firstChar == 'V'){\n\t\t\tif (_buffer.substring(0, 6 ).equals(\"VALUES\")){\n\n\t\t\t\treturn new Token(Token.Type.VALUES,_buffer.substring(7,_buffer.length()),_buffer);\n\t\t\t}\n\t\t}\n\n\n\n\n\t\t// You are allowed to remove the following 'return null' if necessary\n\t\treturn null;\n\t\t\n\t\t// END YOUR CODE\n\t}","title":""},{"docid":"23f89ec3146c7a11ac5c7d5ee9abd011","score":"0.49534968","text":"public interface CyclParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int OPEN_PAREN = 1;\n /** RegularExpression Id. */\n int CLOSE_PAREN = 2;\n /** RegularExpression Id. */\n int WS = 10;\n /** RegularExpression Id. */\n int CONSTANT_PREFIX = 11;\n /** RegularExpression Id. */\n int SIMPLE_VARIABLE_PREFIX = 12;\n /** RegularExpression Id. */\n int META_VARIABLE_PREFIX = 13;\n /** RegularExpression Id. */\n int GUID_PREFIX = 14;\n /** RegularExpression Id. */\n int TRUE_CONSTANT = 15;\n /** RegularExpression Id. */\n int FALSE_CONSTANT = 16;\n /** RegularExpression Id. */\n int AND_CONSTANT = 17;\n /** RegularExpression Id. */\n int OR_CONSTANT = 18;\n /** RegularExpression Id. */\n int XOR_CONSTANT = 19;\n /** RegularExpression Id. */\n int NOT_CONSTANT = 20;\n /** RegularExpression Id. */\n int EQUIV_CONSTANT = 21;\n /** RegularExpression Id. */\n int IMPLIES_CONSTANT = 22;\n /** RegularExpression Id. */\n int FORALL_CONSTANT = 23;\n /** RegularExpression Id. */\n int THEREEXISTS_CONSTANT = 24;\n /** RegularExpression Id. */\n int THEREEXISTEXACTLY_CONSTANT = 25;\n /** RegularExpression Id. */\n int THEREEXISTATMOST_CONSTANT = 26;\n /** RegularExpression Id. */\n int THEREEXISTATLEAST_CONSTANT = 27;\n /** RegularExpression Id. */\n int EXPANDSUBLFN_CONSTANT = 28;\n /** RegularExpression Id. */\n int SUBLQUOTEFN_CONSTANT = 29;\n /** RegularExpression Id. */\n int TRUE_GUID_CONSTANT = 30;\n /** RegularExpression Id. */\n int FALSE_GUID_CONSTANT = 31;\n /** RegularExpression Id. */\n int AND_GUID_CONSTANT = 32;\n /** RegularExpression Id. */\n int OR_GUID_CONSTANT = 33;\n /** RegularExpression Id. */\n int XOR_GUID_CONSTANT = 34;\n /** RegularExpression Id. */\n int NOT_GUID_CONSTANT = 35;\n /** RegularExpression Id. */\n int EQUIV_GUID_CONSTANT = 36;\n /** RegularExpression Id. */\n int IMPLIES_GUID_CONSTANT = 37;\n /** RegularExpression Id. */\n int FORALL_GUID_CONSTANT = 38;\n /** RegularExpression Id. */\n int THEREEXISTS_GUID_CONSTANT = 39;\n /** RegularExpression Id. */\n int THEREEXISTEXACTLY_GUID_CONSTANT = 40;\n /** RegularExpression Id. */\n int THEREEXISTATMOST_GUID_CONSTANT = 41;\n /** RegularExpression Id. */\n int THEREEXISTATLEAST_GUID_CONSTANT = 42;\n /** RegularExpression Id. */\n int EXPANDSUBLFN_GUID_CONSTANT = 43;\n /** RegularExpression Id. */\n int SUBLQUOTEFN_GUID_CONSTANT = 44;\n /** RegularExpression Id. */\n int TRUE_GUID = 45;\n /** RegularExpression Id. */\n int FALSE_GUID = 46;\n /** RegularExpression Id. */\n int AND_GUID = 47;\n /** RegularExpression Id. */\n int OR_GUID = 48;\n /** RegularExpression Id. */\n int XOR_GUID = 49;\n /** RegularExpression Id. */\n int NOT_GUID = 50;\n /** RegularExpression Id. */\n int EQUIV_GUID = 51;\n /** RegularExpression Id. */\n int IMPLIES_GUID = 52;\n /** RegularExpression Id. */\n int FORALL_GUID = 53;\n /** RegularExpression Id. */\n int THEREEXISTS_GUID = 54;\n /** RegularExpression Id. */\n int THEREEXISTEXACTLY_GUID = 55;\n /** RegularExpression Id. */\n int THEREEXISTATMOST_GUID = 56;\n /** RegularExpression Id. */\n int THEREEXISTATLEAST_GUID = 57;\n /** RegularExpression Id. */\n int EXPANDSUBLFN_GUID = 58;\n /** RegularExpression Id. */\n int SUBLQUOTEFN_GUID = 59;\n /** RegularExpression Id. */\n int INTEGER = 60;\n /** RegularExpression Id. */\n int FLOAT = 61;\n /** RegularExpression Id. */\n int DECIMAL_INT = 62;\n /** RegularExpression Id. */\n int FLOAT_ONE = 63;\n /** RegularExpression Id. */\n int FLOAT_TWO = 64;\n /** RegularExpression Id. */\n int CONSTANT_NAME1 = 65;\n /** RegularExpression Id. */\n int NON_NUMERIC_START_CHAR = 66;\n /** RegularExpression Id. */\n int NUMERIC_START_CHAR = 67;\n /** RegularExpression Id. */\n int VALID_CONSTANT_CHAR = 68;\n /** RegularExpression Id. */\n int CONSTANT_NAME2 = 69;\n /** RegularExpression Id. */\n int CONSTANT_GUID = 70;\n /** RegularExpression Id. */\n int GUID_CHAR = 71;\n /** RegularExpression Id. */\n int CONSTANT_GUID2 = 72;\n /** RegularExpression Id. */\n int SIMPLE_VARIABLE = 73;\n /** RegularExpression Id. */\n int NON_DASH_VARIABLE_CHAR = 74;\n /** RegularExpression Id. */\n int META_VARIABLE = 75;\n /** RegularExpression Id. */\n int NON_DASH_META_VARIABLE_CHAR = 76;\n /** RegularExpression Id. */\n int STRING = 77;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_LINE_COMMENT = 1;\n /** Lexical state. */\n int IN_COMMENT = 2;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"//\\\"\",\n \"\\\";\\\"\",\n \"\\\"/*\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\",\n \"\\\"*/\\\"\",\n \"\",\n \"\",\n \"\\\"#$\\\"\",\n \"\\\"?\\\"\",\n \"\\\":\\\"\",\n \"\\\"#G\\\"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"
\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\\\"\\\\n\\\"\",\r\n \"\\\"\\\\r\\\"\",\r\n \"\\\"\\\\f\\\"\",\r\n \"\\\"(\\\"\",\r\n \"\\\")\\\"\",\r\n \"\\\"[\\\"\",\r\n \"\\\"]\\\"\",\r\n \"\\\"{\\\"\",\r\n \"\\\"}\\\"\",\r\n \"\\\".\\\"\",\r\n \"\\\"-\\\"\",\r\n \"\\\"!\\\"\",\r\n \"\\\"*\\\"\",\r\n \"\\\"/\\\"\",\r\n \"\\\"+\\\"\",\r\n \"\\\"<\\\"\",\r\n \"\\\">\\\"\",\r\n \"\\\"=\\\"\",\r\n \"\\\"==\\\"\",\r\n \"\\\"!=\\\"\",\r\n \"\\\"&&\\\"\",\r\n \"\\\"||\\\"\",\r\n \"\\\",\\\"\",\r\n \"\\\";\\\"\",\r\n \"\\\"public\\\"\",\r\n \"\\\"static\\\"\",\r\n \"\\\"void\\\"\",\r\n \"\\\"main\\\"\",\r\n \"\\\"String\\\"\",\r\n \"\\\"class\\\"\",\r\n \"\\\"extends\\\"\",\r\n \"\\\"Thread\\\"\",\r\n \"\\\"synchronized\\\"\",\r\n \"\\\"return\\\"\",\r\n \"\\\"if\\\"\",\r\n \"\\\"else\\\"\",\r\n \"\\\"while\\\"\",\r\n \"\\\"Xinu\\\"\",\r\n \"\\\"true\\\"\",\r\n \"\\\"false\\\"\",\r\n \"\\\"this\\\"\",\r\n \"\\\"null\\\"\",\r\n \"\\\"new\\\"\",\r\n \"\\\"int\\\"\",\r\n \"\\\"boolean\\\"\",\r\n \"\\\"//\\\"\",\r\n \"\",\r\n \"\\\"/*\\\"\",\r\n \"\",\r\n \"\\\"*/\\\"\",\r\n \"\\\"*/\\\"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n };\r\n\r\n}","title":""},{"docid":"6feed7f5541b810d8fd7bb11de915fda","score":"0.5325525","text":"public interface CMMConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 6;\n /** RegularExpression Id. */\n int FORMAL_COMMENT = 7;\n /** RegularExpression Id. */\n int MULTI_LINE_COMMENT = 8;\n /** RegularExpression Id. */\n int IF = 9;\n /** RegularExpression Id. */\n int ELSE = 10;\n /** RegularExpression Id. */\n int WHILE = 11;\n /** RegularExpression Id. */\n int DO = 12;\n /** RegularExpression Id. */\n int INT = 13;\n /** RegularExpression Id. */\n int REAL = 14;\n /** RegularExpression Id. */\n int CHAR = 15;\n /** RegularExpression Id. */\n int VOID = 16;\n /** RegularExpression Id. */\n int FOR = 17;\n /** RegularExpression Id. */\n int PRINT = 18;\n /** RegularExpression Id. */\n int SCAN = 19;\n /** RegularExpression Id. */\n int BREAK = 20;\n /** RegularExpression Id. */\n int CONTINUE = 21;\n /** RegularExpression Id. */\n int RETURN = 22;\n /** RegularExpression Id. */\n int INTEGER_LITERAL = 23;\n /** RegularExpression Id. */\n int DECIMAL_LITERAL = 24;\n /** RegularExpression Id. */\n int HEX_LITERAL = 25;\n /** RegularExpression Id. */\n int REAL_LITERAL = 26;\n /** RegularExpression Id. */\n int EXPONENT = 27;\n /** RegularExpression Id. */\n int CHARACTER_LITERAL = 28;\n /** RegularExpression Id. */\n int STRING_LITERAL = 29;\n /** RegularExpression Id. */\n int IDENTIFIER = 30;\n /** RegularExpression Id. */\n int LETTER = 31;\n /** RegularExpression Id. */\n int DIGIT = 32;\n /** RegularExpression Id. */\n int LPAREN = 33;\n /** RegularExpression Id. */\n int RPAREN = 34;\n /** RegularExpression Id. */\n int LBRACE = 35;\n /** RegularExpression Id. */\n int RBRACE = 36;\n /** RegularExpression Id. */\n int LBRACKET = 37;\n /** RegularExpression Id. */\n int RBRACKET = 38;\n /** RegularExpression Id. */\n int SEMICOLON = 39;\n /** RegularExpression Id. */\n int COMMA = 40;\n /** RegularExpression Id. */\n int DOT = 41;\n /** RegularExpression Id. */\n int UNDERSCORE = 42;\n /** RegularExpression Id. */\n int ASSIGN = 43;\n /** RegularExpression Id. */\n int PLUS = 44;\n /** RegularExpression Id. */\n int MINUS = 45;\n /** RegularExpression Id. */\n int TIMES = 46;\n /** RegularExpression Id. */\n int DIVIDE = 47;\n /** RegularExpression Id. */\n int MOD = 48;\n /** RegularExpression Id. */\n int BIT_OR = 49;\n /** RegularExpression Id. */\n int BIT_AND = 50;\n /** RegularExpression Id. */\n int XOR = 51;\n /** RegularExpression Id. */\n int TILDE = 52;\n /** RegularExpression Id. */\n int EQ = 53;\n /** RegularExpression Id. */\n int NEQ = 54;\n /** RegularExpression Id. */\n int GT = 55;\n /** RegularExpression Id. */\n int LT = 56;\n /** RegularExpression Id. */\n int GE = 57;\n /** RegularExpression Id. */\n int LE = 58;\n /** RegularExpression Id. */\n int SC_OR = 59;\n /** RegularExpression Id. */\n int SC_AND = 60;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\",\n \"\",\n \"\",\n \"\\\"if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"while\\\"\",\n \"\\\"do\\\"\",\n \"\\\"int\\\"\",\n \"\\\"real\\\"\",\n \"\\\"char\\\"\",\n \"\\\"void\\\"\",\n \"\\\"for\\\"\",\n \"\\\"print\\\"\",\n \"\\\"scan\\\"\",\n \"\\\"break\\\"\",\n \"\\\"continue\\\"\",\n \"\\\"return\\\"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\"_\\\"\",\n \"\\\"=\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"|\\\"\",\n \"\\\"&\\\"\",\n \"\\\"^\\\"\",\n \"\\\"~\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<>\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\">=\\\"\",\n \"\\\"<=\\\"\",\n \"\\\"||\\\"\",\n \"\\\"&&\\\"\",\n };\n\n}","title":""},{"docid":"cc4b3eb64639584a1b334b9f89667d0d","score":"0.5299606","text":"public interface JaccParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int ABSTRACT = 6;\n /** RegularExpression Id. */\n int BOOLEAN = 7;\n /** RegularExpression Id. */\n int BREAK = 8;\n /** RegularExpression Id. */\n int BYTE = 9;\n /** RegularExpression Id. */\n int CASE = 10;\n /** RegularExpression Id. */\n int CATCH = 11;\n /** RegularExpression Id. */\n int CHAR = 12;\n /** RegularExpression Id. */\n int CLASS = 13;\n /** RegularExpression Id. */\n int CONST = 14;\n /** RegularExpression Id. */\n int CONTINUE = 15;\n /** RegularExpression Id. */\n int _DEFAULT = 16;\n /** RegularExpression Id. */\n int DO = 17;\n /** RegularExpression Id. */\n int DOUBLE = 18;\n /** RegularExpression Id. */\n int ELSE = 19;\n /** RegularExpression Id. */\n int EXTENDS = 20;\n /** RegularExpression Id. */\n int FALSE = 21;\n /** RegularExpression Id. */\n int FINAL = 22;\n /** RegularExpression Id. */\n int FINALLY = 23;\n /** RegularExpression Id. */\n int FLOAT = 24;\n /** RegularExpression Id. */\n int FOR = 25;\n /** RegularExpression Id. */\n int GOTO = 26;\n /** RegularExpression Id. */\n int IF = 27;\n /** RegularExpression Id. */\n int IMPLEMENTS = 28;\n /** RegularExpression Id. */\n int IMPORT = 29;\n /** RegularExpression Id. */\n int INSTANCEOF = 30;\n /** RegularExpression Id. */\n int INT = 31;\n /** RegularExpression Id. */\n int INTERFACE = 32;\n /** RegularExpression Id. */\n int LONG = 33;\n /** RegularExpression Id. */\n int NATIVE = 34;\n /** RegularExpression Id. */\n int NEW = 35;\n /** RegularExpression Id. */\n int NULL = 36;\n /** RegularExpression Id. */\n int PACKAGE = 37;\n /** RegularExpression Id. */\n int PRIVATE = 38;\n /** RegularExpression Id. */\n int PROTECTED = 39;\n /** RegularExpression Id. */\n int PUBLIC = 40;\n /** RegularExpression Id. */\n int RETURN = 41;\n /** RegularExpression Id. */\n int SHORT = 42;\n /** RegularExpression Id. */\n int STATIC = 43;\n /** RegularExpression Id. */\n int SUPER = 44;\n /** RegularExpression Id. */\n int SWITCH = 45;\n /** RegularExpression Id. */\n int SYNCHRONIZED = 46;\n /** RegularExpression Id. */\n int THIS = 47;\n /** RegularExpression Id. */\n int THROW = 48;\n /** RegularExpression Id. */\n int THROWS = 49;\n /** RegularExpression Id. */\n int TRANSIENT = 50;\n /** RegularExpression Id. */\n int TRUE = 51;\n /** RegularExpression Id. */\n int TRY = 52;\n /** RegularExpression Id. */\n int VOID = 53;\n /** RegularExpression Id. */\n int VOLATILE = 54;\n /** RegularExpression Id. */\n int WHILE = 55;\n /** RegularExpression Id. */\n int DECIMAL_LITERAL = 56;\n /** RegularExpression Id. */\n int IDENTIFIER = 57;\n /** RegularExpression Id. */\n int LPAREN = 58;\n /** RegularExpression Id. */\n int RPAREN = 59;\n /** RegularExpression Id. */\n int LBRACE = 60;\n /** RegularExpression Id. */\n int RBRACE = 61;\n /** RegularExpression Id. */\n int LBRACKET = 62;\n /** RegularExpression Id. */\n int RBRACKET = 63;\n /** RegularExpression Id. */\n int SEMICOLON = 64;\n /** RegularExpression Id. */\n int COMMA = 65;\n /** RegularExpression Id. */\n int DOT = 66;\n /** RegularExpression Id. */\n int ASSIGN = 67;\n /** RegularExpression Id. */\n int GT = 68;\n /** RegularExpression Id. */\n int LT = 69;\n /** RegularExpression Id. */\n int BANG = 70;\n /** RegularExpression Id. */\n int TILDE = 71;\n /** RegularExpression Id. */\n int HOOK = 72;\n /** RegularExpression Id. */\n int COLON = 73;\n /** RegularExpression Id. */\n int EQ = 74;\n /** RegularExpression Id. */\n int LE = 75;\n /** RegularExpression Id. */\n int GE = 76;\n /** RegularExpression Id. */\n int NE = 77;\n /** RegularExpression Id. */\n int SC_OR = 78;\n /** RegularExpression Id. */\n int SC_AND = 79;\n /** RegularExpression Id. */\n int PLUS = 80;\n /** RegularExpression Id. */\n int MINUS = 81;\n /** RegularExpression Id. */\n int STAR = 82;\n /** RegularExpression Id. */\n int SLASH = 83;\n /** RegularExpression Id. */\n int REM = 84;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"abstract\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"break\\\"\",\n \"\\\"byte\\\"\",\n \"\\\"case\\\"\",\n \"\\\"catch\\\"\",\n \"\\\"char\\\"\",\n \"\\\"class\\\"\",\n \"\\\"const\\\"\",\n \"\\\"continue\\\"\",\n \"\\\"default\\\"\",\n \"\\\"do\\\"\",\n \"\\\"double\\\"\",\n \"\\\"else\\\"\",\n \"\\\"extends\\\"\",\n \"\\\"false\\\"\",\n \"\\\"final\\\"\",\n \"\\\"finally\\\"\",\n \"\\\"float\\\"\",\n \"\\\"for\\\"\",\n \"\\\"goto\\\"\",\n \"\\\"if\\\"\",\n \"\\\"implements\\\"\",\n \"\\\"import\\\"\",\n \"\\\"instanceof\\\"\",\n \"\\\"int\\\"\",\n \"\\\"interface\\\"\",\n \"\\\"long\\\"\",\n \"\\\"native\\\"\",\n \"\\\"new\\\"\",\n \"\\\"null\\\"\",\n \"\\\"package\\\"\",\n \"\\\"private\\\"\",\n \"\\\"protected\\\"\",\n \"\\\"public\\\"\",\n \"\\\"return\\\"\",\n \"\\\"short\\\"\",\n \"\\\"static\\\"\",\n \"\\\"super\\\"\",\n \"\\\"switch\\\"\",\n \"\\\"synchronized\\\"\",\n \"\\\"this\\\"\",\n \"\\\"throw\\\"\",\n \"\\\"throws\\\"\",\n \"\\\"transient\\\"\",\n \"\\\"true\\\"\",\n \"\\\"try\\\"\",\n \"\\\"void\\\"\",\n \"\\\"volatile\\\"\",\n \"\\\"while\\\"\",\n \"\",\n \"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\"=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\"!\\\"\",\n \"\\\"~\\\"\",\n \"\\\"?\\\"\",\n \"\\\":\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"||\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n };\n\n}","title":""},{"docid":"493affac6a6e5e629936557e9fa8514e","score":"0.5298417","text":"private int yyr19() {\n return 50;\n }","title":""},{"docid":"e057e9b6c3adc0bdcf801b014ebbe60c","score":"0.5278873","text":"public interface QueryParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int WORD = 4;\n /** RegularExpression Id. */\n int LP = 5;\n /** RegularExpression Id. */\n int RP = 6;\n /** RegularExpression Id. */\n int QUOTE = 7;\n /** RegularExpression Id. */\n int OP_AND = 8;\n /** RegularExpression Id. */\n int OP_OR = 9;\n /** RegularExpression Id. */\n int OP_NOT = 10;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"\\\\\\\"\\\"\",\n \"\",\n \"\",\n \"\",\n };\n\n}","title":""},{"docid":"eec659090b39de4a82d36faa468fb7fa","score":"0.5266568","text":"public interface EG1Constants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int OPEN = 5;\n /** RegularExpression Id. */\n int CLOSE = 6;\n /** RegularExpression Id. */\n int DEFINE = 7;\n /** RegularExpression Id. */\n int DOMAIN = 8;\n /** RegularExpression Id. */\n int DOMAIN_LABEL = 9;\n /** RegularExpression Id. */\n int REQUIREMENTS = 10;\n /** RegularExpression Id. */\n int REQUIREMENT_LABELS = 11;\n /** RegularExpression Id. */\n int TYPES = 12;\n /** RegularExpression Id. */\n int PREDICATES = 13;\n /** RegularExpression Id. */\n int PROBLEM = 14;\n /** RegularExpression Id. */\n int TYPE_IDENT = 15;\n /** RegularExpression Id. */\n int VAR = 16;\n /** RegularExpression Id. */\n int ACTION = 17;\n /** RegularExpression Id. */\n int PARAMETERS = 18;\n /** RegularExpression Id. */\n int PRECONDITION = 19;\n /** RegularExpression Id. */\n int CONSTRAINTS = 20;\n /** RegularExpression Id. */\n int PREFERENCE = 21;\n /** RegularExpression Id. */\n int EFFECT = 22;\n /** RegularExpression Id. */\n int OBJECTS = 23;\n /** RegularExpression Id. */\n int GOAL = 24;\n /** RegularExpression Id. */\n int INIT = 25;\n /** RegularExpression Id. */\n int AND = 26;\n /** RegularExpression Id. */\n int NOT = 27;\n /** RegularExpression Id. */\n int NUMBER = 28;\n /** RegularExpression Id. */\n int NAME = 29;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 30;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"define\\\"\",\n \"\\\"domain\\\"\",\n \"\\\":domain\\\"\",\n \"\\\":requirements\\\"\",\n \"\\\":typing :constraints :preferences\\\"\",\n \"\\\":types\\\"\",\n \"\\\":predicates\\\"\",\n \"\\\"problem\\\"\",\n \"\\\"-\\\"\",\n \"\",\n \"\\\":action\\\"\",\n \"\\\":parameters\\\"\",\n \"\\\":precondition\\\"\",\n \"\\\":constraints\\\"\",\n \"\\\"preference\\\"\",\n \"\\\":effect\\\"\",\n \"\\\":objects\\\"\",\n \"\\\":goal\\\"\",\n \"\\\":init\\\"\",\n \"\\\"and\\\"\",\n \"\\\"not\\\"\",\n \"\",\n \"\",\n \"\",\n };\n\n}","title":""},{"docid":"f143e9b900cadd3967940ce9942874b3","score":"0.5265535","text":"public interface TargetTableParserConstants {\r\n\r\n /** End of File. */\r\n int EOF = 0;\r\n /** RegularExpression Id. */\r\n int MULTI_LINE_COMMENT = 4;\r\n /** RegularExpression Id. */\r\n int SINGLE_LINE_COMMENT = 7;\r\n /** RegularExpression Id. */\r\n int SEMICOLON = 8;\r\n /** RegularExpression Id. */\r\n int SINGLE_QUOTE = 9;\r\n /** RegularExpression Id. */\r\n int OPEN_PAREN = 10;\r\n /** RegularExpression Id. */\r\n int CLOSE_PAREN = 11;\r\n /** RegularExpression Id. */\r\n int COMMA = 12;\r\n /** RegularExpression Id. */\r\n int HYPHEN = 13;\r\n /** RegularExpression Id. */\r\n int ASTERISK = 14;\r\n /** RegularExpression Id. */\r\n int INTO = 15;\r\n /** RegularExpression Id. */\r\n int SET = 16;\r\n /** RegularExpression Id. */\r\n int NOT = 17;\r\n /** RegularExpression Id. */\r\n int FROM = 18;\r\n /** RegularExpression Id. */\r\n int AS = 19;\r\n /** RegularExpression Id. */\r\n int BY = 20;\r\n /** RegularExpression Id. */\r\n int WHERE = 21;\r\n /** RegularExpression Id. */\r\n int ALL = 22;\r\n /** RegularExpression Id. */\r\n int TABLE = 23;\r\n /** RegularExpression Id. */\r\n int CASESPECIFIC = 24;\r\n /** RegularExpression Id. */\r\n int CHARACTER = 25;\r\n /** RegularExpression Id. */\r\n int UPPERCASE = 26;\r\n /** RegularExpression Id. */\r\n int NULL = 27;\r\n /** RegularExpression Id. */\r\n int TO = 28;\r\n /** RegularExpression Id. */\r\n int LITERAL_INTEGER = 29;\r\n /** RegularExpression Id. */\r\n int BLOB = 30;\r\n /** RegularExpression Id. */\r\n int BYTE = 31;\r\n /** RegularExpression Id. */\r\n int VARBYTE = 32;\r\n /** RegularExpression Id. */\r\n int BIGINT = 33;\r\n /** RegularExpression Id. */\r\n int BYTEINT = 34;\r\n /** RegularExpression Id. */\r\n int DATE = 35;\r\n /** RegularExpression Id. */\r\n int DECIMAL = 36;\r\n /** RegularExpression Id. */\r\n int DOUBLE = 37;\r\n /** RegularExpression Id. */\r\n int PRECISION = 38;\r\n /** RegularExpression Id. */\r\n int FLOAT = 39;\r\n /** RegularExpression Id. */\r\n int INTEGER = 40;\r\n /** RegularExpression Id. */\r\n int NUMBER = 41;\r\n /** RegularExpression Id. */\r\n int NUMERIC = 42;\r\n /** RegularExpression Id. */\r\n int REAL = 43;\r\n /** RegularExpression Id. */\r\n int SMALLINT = 44;\r\n /** RegularExpression Id. */\r\n int TIME = 45;\r\n /** RegularExpression Id. */\r\n int TIMESTAMP = 46;\r\n /** RegularExpression Id. */\r\n int INTERVAL = 47;\r\n /** RegularExpression Id. */\r\n int DAY = 48;\r\n /** RegularExpression Id. */\r\n int HOUR = 49;\r\n /** RegularExpression Id. */\r\n int MINUTE = 50;\r\n /** RegularExpression Id. */\r\n int SECOND = 51;\r\n /** RegularExpression Id. */\r\n int MONTH = 52;\r\n /** RegularExpression Id. */\r\n int YEAR = 53;\r\n /** RegularExpression Id. */\r\n int CHAR = 54;\r\n /** RegularExpression Id. */\r\n int CLOB = 55;\r\n /** RegularExpression Id. */\r\n int VARYING = 56;\r\n /** RegularExpression Id. */\r\n int LONG = 57;\r\n /** RegularExpression Id. */\r\n int VARCHAR = 58;\r\n /** RegularExpression Id. */\r\n int GRAPHIC = 59;\r\n /** RegularExpression Id. */\r\n int VARGRAPHIC = 60;\r\n /** RegularExpression Id. */\r\n int UPDATE = 61;\r\n /** RegularExpression Id. */\r\n int INSERT = 62;\r\n /** RegularExpression Id. */\r\n int MERGE = 63;\r\n /** RegularExpression Id. */\r\n int DELETE = 64;\r\n /** RegularExpression Id. */\r\n int CREATE = 65;\r\n /** RegularExpression Id. */\r\n int CT = 66;\r\n /** RegularExpression Id. */\r\n int MULTISET = 67;\r\n /** RegularExpression Id. */\r\n int GLOBAL = 68;\r\n /** RegularExpression Id. */\r\n int TEMPORARY = 69;\r\n /** RegularExpression Id. */\r\n int VOLATILE = 70;\r\n /** RegularExpression Id. */\r\n int USING = 71;\r\n /** RegularExpression Id. */\r\n int DEFERRED = 72;\r\n /** RegularExpression Id. */\r\n int LOCATOR = 73;\r\n /** RegularExpression Id. */\r\n int NAME = 74;\r\n /** RegularExpression Id. */\r\n int LOCKING = 75;\r\n /** RegularExpression Id. */\r\n int DATABASE = 77;\r\n /** RegularExpression Id. */\r\n int TABLE_LCK = 78;\r\n /** RegularExpression Id. */\r\n int VIEW = 79;\r\n /** RegularExpression Id. */\r\n int ROW = 80;\r\n /** RegularExpression Id. */\r\n int FOR = 81;\r\n /** RegularExpression Id. */\r\n int IN = 82;\r\n /** RegularExpression Id. */\r\n int ACCESS = 83;\r\n /** RegularExpression Id. */\r\n int EXCLUSIVE = 84;\r\n /** RegularExpression Id. */\r\n int SHARE = 85;\r\n /** RegularExpression Id. */\r\n int READ = 86;\r\n /** RegularExpression Id. */\r\n int OVERRIDE = 87;\r\n /** RegularExpression Id. */\r\n int WRITE = 88;\r\n /** RegularExpression Id. */\r\n int CHECKSUM = 89;\r\n /** RegularExpression Id. */\r\n int DATABASE_OBJECT_NAME = 90;\r\n /** RegularExpression Id. */\r\n int OBJECT_NAME = 91;\r\n /** RegularExpression Id. */\r\n int CURRENT = 92;\r\n /** RegularExpression Id. */\r\n int VALIDTIME = 93;\r\n /** RegularExpression Id. */\r\n int SEQUENCED = 94;\r\n /** RegularExpression Id. */\r\n int NONSEQUENCED = 95;\r\n /** RegularExpression Id. */\r\n int NONTEMPORAL = 96;\r\n /** RegularExpression Id. */\r\n int PERIOD = 97;\r\n /** RegularExpression Id. */\r\n int UNTIL_CHANGED = 98;\r\n /** RegularExpression Id. */\r\n int UNTIL_CLOSED = 99;\r\n /** RegularExpression Id. */\r\n int PERIOD_BOUND = 100;\r\n /** RegularExpression Id. */\r\n int MODE = 101;\r\n /** RegularExpression Id. */\r\n int NOWAIT = 102;\r\n /** RegularExpression Id. */\r\n int IDENTIFIER = 103;\r\n\r\n /** Lexical state. */\r\n int DEFAULT = 0;\r\n /** Lexical state. */\r\n int ML_COMMENT_STATE = 1;\r\n /** Lexical state. */\r\n int LOCKING_STATE = 2;\r\n\r\n /** Literal token values. */\r\n String[] tokenImage = {\r\n \"\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\",\r\n \"\\\"/*\\\"\",\r\n \"\\\"*/\\\"\",\r\n \"\",\r\n \"\",\r\n \"\\\";\\\"\",\r\n \"\\\"\\\\\\'\\\"\",\r\n \"\\\"(\\\"\",\r\n \"\\\")\\\"\",\r\n \"\\\",\\\"\",\r\n \"\\\"-\\\"\",\r\n \"\\\"*\\\"\",\r\n \"\\\"into\\\"\",\r\n \"\\\"set\\\"\",\r\n \"\\\"not\\\"\",\r\n \"\\\"from\\\"\",\r\n \"\\\"as\\\"\",\r\n \"\\\"by\\\"\",\r\n \"\\\"where\\\"\",\r\n \"\\\"all\\\"\",\r\n \"\\\"table\\\"\",\r\n \"\\\"casespecific\\\"\",\r\n \"\\\"character\\\"\",\r\n \"\\\"uppercase\\\"\",\r\n \"\\\"null\\\"\",\r\n \"\\\"to\\\"\",\r\n \"\",\r\n \"\\\"blob\\\"\",\r\n \"\\\"byte\\\"\",\r\n \"\\\"varbyte\\\"\",\r\n \"\\\"bigint\\\"\",\r\n \"\\\"byteint\\\"\",\r\n \"\\\"date\\\"\",\r\n \"\\\"decimal\\\"\",\r\n \"\\\"double\\\"\",\r\n \"\\\"precision\\\"\",\r\n \"\\\"float\\\"\",\r\n \"\\\"integer\\\"\",\r\n \"\\\"number\\\"\",\r\n \"\\\"numeric\\\"\",\r\n \"\\\"real\\\"\",\r\n \"\\\"smallint\\\"\",\r\n \"\\\"time\\\"\",\r\n \"\\\"timestamp\\\"\",\r\n \"\\\"interval\\\"\",\r\n \"\\\"day\\\"\",\r\n \"\\\"hour\\\"\",\r\n \"\\\"minute\\\"\",\r\n \"\\\"second\\\"\",\r\n \"\\\"month\\\"\",\r\n \"\\\"year\\\"\",\r\n \"\\\"char\\\"\",\r\n \"\\\"clob\\\"\",\r\n \"\\\"varying\\\"\",\r\n \"\\\"long\\\"\",\r\n \"\\\"varchar\\\"\",\r\n \"\\\"graphic\\\"\",\r\n \"\\\"vargraphic\\\"\",\r\n \"\",\r\n \"\",\r\n \"\\\"merge\\\"\",\r\n \"\",\r\n \"\\\"create\\\"\",\r\n \"\\\"ct\\\"\",\r\n \"\\\"multiset\\\"\",\r\n \"\\\"global\\\"\",\r\n \"\\\"temporary\\\"\",\r\n \"\\\"volatile\\\"\",\r\n \"\\\"using\\\"\",\r\n \"\\\"deferred\\\"\",\r\n \"\\\"locator\\\"\",\r\n \"\\\"name\\\"\",\r\n \"\",\r\n \"\",\r\n \"\\\"database\\\"\",\r\n \"\\\"table\\\"\",\r\n \"\\\"view\\\"\",\r\n \"\\\"row\\\"\",\r\n \"\\\"for\\\"\",\r\n \"\\\"in\\\"\",\r\n \"\\\"access\\\"\",\r\n \"\",\r\n \"\\\"share\\\"\",\r\n \"\\\"read\\\"\",\r\n \"\\\"override\\\"\",\r\n \"\\\"write\\\"\",\r\n \"\\\"checksum\\\"\",\r\n \"\",\r\n \"\",\r\n \"\\\"current\\\"\",\r\n \"\\\"validtime\\\"\",\r\n \"\\\"sequenced\\\"\",\r\n \"\\\"nonsequenced\\\"\",\r\n \"\\\"nontemporal\\\"\",\r\n \"\\\"period\\\"\",\r\n \"\\\"until_changed\\\"\",\r\n \"\\\"until_closed\\\"\",\r\n \"\",\r\n \"\\\"mode\\\"\",\r\n \"\\\"nowait\\\"\",\r\n \"\",\r\n };\r\n\r\n}","title":""},{"docid":"ed8344cab406eacc9ccf69e8e626c275","score":"0.5255661","text":"T visitRelationalexpression(lengBasicParser.RelationalexpressionContext ctx);","title":""},{"docid":"c85c50672fbbe17eeb84981ac99a8833","score":"0.52505696","text":"public PlSql_Parser(PlSqlTokenManager tm) {\n token_source = tm;\n token = new Token();\n jj_ntk = -1;\n jj_gen = 0;\n for (int i = 0; i < 241; i++) jj_la1[i] = -1;\n for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();\n }","title":""},{"docid":"4e82fd18f5df85b17b7e2c0a905a4012","score":"0.5230243","text":"public interface BibtextGrammarConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int LB = 5;\n /** RegularExpression Id. */\n int RB = 6;\n /** RegularExpression Id. */\n int ARTICLE = 7;\n /** RegularExpression Id. */\n int BOOK = 8;\n /** RegularExpression Id. */\n int BOOKLET = 9;\n /** RegularExpression Id. */\n int CONFERENCE = 10;\n /** RegularExpression Id. */\n int INBOOK = 11;\n /** RegularExpression Id. */\n int INCOLLECTION = 12;\n /** RegularExpression Id. */\n int INPROCEEDINGS = 13;\n /** RegularExpression Id. */\n int MANUAL = 14;\n /** RegularExpression Id. */\n int MASTERSTHESIS = 15;\n /** RegularExpression Id. */\n int MISC = 16;\n /** RegularExpression Id. */\n int PHDTHESIS = 17;\n /** RegularExpression Id. */\n int PROCEEDINGS = 18;\n /** RegularExpression Id. */\n int TECHREPORT = 19;\n /** RegularExpression Id. */\n int UNPUBLISHED = 20;\n /** RegularExpression Id. */\n int AUTHOR = 21;\n /** RegularExpression Id. */\n int JOURNAL = 22;\n /** RegularExpression Id. */\n int TITLE = 23;\n /** RegularExpression Id. */\n int YEAR = 24;\n /** RegularExpression Id. */\n int MONTH = 25;\n /** RegularExpression Id. */\n int NUMBER = 26;\n /** RegularExpression Id. */\n int PAGES = 27;\n /** RegularExpression Id. */\n int VOLUME = 28;\n /** RegularExpression Id. */\n int PUBLISHER = 29;\n /** RegularExpression Id. */\n int DOI = 30;\n /** RegularExpression Id. */\n int NOTE = 31;\n /** RegularExpression Id. */\n int KEY = 32;\n /** RegularExpression Id. */\n int EDITOR = 33;\n /** RegularExpression Id. */\n int SERIES = 34;\n /** RegularExpression Id. */\n int ADDRESS = 35;\n /** RegularExpression Id. */\n int EDITION = 36;\n /** RegularExpression Id. */\n int URL = 37;\n /** RegularExpression Id. */\n int HOWPUBLISHED = 38;\n /** RegularExpression Id. */\n int CHAPTER = 39;\n /** RegularExpression Id. */\n int BOOKTITLE = 40;\n /** RegularExpression Id. */\n int TYPE = 41;\n /** RegularExpression Id. */\n int ORGANIZATION = 42;\n /** RegularExpression Id. */\n int SCHOOL = 43;\n /** RegularExpression Id. */\n int INSTITUTION = 44;\n /** RegularExpression Id. */\n int WORD = 45;\n /** RegularExpression Id. */\n int CONSTANT = 46;\n /** RegularExpression Id. */\n int ID = 47;\n /** RegularExpression Id. */\n int LETTERSNUMBERS = 48;\n /** RegularExpression Id. */\n int LETTER = 49;\n /** RegularExpression Id. */\n int LOWER = 50;\n /** RegularExpression Id. */\n int UPPER = 51;\n /** RegularExpression Id. */\n int DIGIT = 52;\n /** RegularExpression Id. */\n int COMMA = 53;\n /** RegularExpression Id. */\n int SEMICOLON = 54;\n /** RegularExpression Id. */\n int DASH = 55;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"article\\\"\",\n \"\\\"book\\\"\",\n \"\\\"booklet\\\"\",\n \"\\\"conference\\\"\",\n \"\\\"inbook\\\"\",\n \"\\\"incollection\\\"\",\n \"\\\"inproceedings\\\"\",\n \"\\\"manual\\\"\",\n \"\\\"mastersthesis\\\"\",\n \"\\\"misc\\\"\",\n \"\\\"phdthesis\\\"\",\n \"\\\"proceedings\\\"\",\n \"\\\"techreport\\\"\",\n \"\\\"unpublished\\\"\",\n \"\\\"Author\\\"\",\n \"\\\"Journal\\\"\",\n \"\\\"Title\\\"\",\n \"\\\"Year\\\"\",\n \"\\\"Month\\\"\",\n \"\\\"Number\\\"\",\n \"\\\"Pages\\\"\",\n \"\\\"Volume\\\"\",\n \"\\\"Publisher\\\"\",\n \"\\\"Doi\\\"\",\n \"\\\"Note\\\"\",\n \"\\\"Key\\\"\",\n \"\\\"Editor\\\"\",\n \"\\\"Series\\\"\",\n \"\\\"Address\\\"\",\n \"\\\"Edition\\\"\",\n \"\\\"Url\\\"\",\n \"\\\"Howpublished\\\"\",\n \"\\\"Chapter\\\"\",\n \"\\\"Booktitle\\\"\",\n \"\\\"Type\\\"\",\n \"\\\"Organization\\\"\",\n \"\\\"School\\\"\",\n \"\\\"Institution\\\"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\\\"@\\\"\",\n \"\\\"=\\\"\",\n \"\\\"-\\\"\",\n \"\\\".\\\"\",\n \"\\\",\\\"\",\n \"\\\"\\\\\\'\\\"\",\n \"\\\":\\\"\",\n \"\\\"/\\\"\",\n };\n\n}","title":""},{"docid":"d8ca35719143ee75b61930930e42fc3d","score":"0.52300596","text":"final public void MethodDeclarationLookahead() throws ParseException {\r\n Modifier();\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case STATIC:\r\n YoyooStatic jjtn001 = new YoyooStatic(JJTSTATIC);\r\n boolean jjtc001 = true;\r\n jjtree.openNodeScope(jjtn001);\r\n jjtreeOpenNodeScope(jjtn001);\r\n try {\r\n jj_consume_token(STATIC);\r\n } finally {\r\n if (jjtc001) {\r\n jjtree.closeNodeScope(jjtn001, true);\r\n jjtreeCloseNodeScope(jjtn001);\r\n }\r\n }\r\n break;\r\n default:\r\n jj_la1[20] = jj_gen;\r\n ;\r\n }\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case ABSTRACT:\r\n YoyooAbstract jjtn002 = new YoyooAbstract(JJTABSTRACT);\r\n boolean jjtc002 = true;\r\n jjtree.openNodeScope(jjtn002);\r\n jjtreeOpenNodeScope(jjtn002);\r\n try {\r\n jj_consume_token(ABSTRACT);\r\n } finally {\r\n if (jjtc002) {\r\n jjtree.closeNodeScope(jjtn002, true);\r\n jjtreeCloseNodeScope(jjtn002);\r\n }\r\n }\r\n break;\r\n default:\r\n jj_la1[21] = jj_gen;\r\n ;\r\n }\r\n ResultType();\r\n jj_consume_token(IDENTIFIER);\r\n jj_consume_token(LPAREN);\r\n }","title":""},{"docid":"21bbcf89723dec95861d5becff352030","score":"0.52059364","text":"final public void CastLookahead() throws ParseException {\r\n if (jj_2_17(2)) {\r\n jj_consume_token(LPAREN);\r\n PrimitiveType();\r\n } else if (jj_2_18(2147483647)) {\r\n jj_consume_token(LPAREN);\r\n Type();\r\n jj_consume_token(LBRACKET);\r\n jj_consume_token(RBRACKET);\r\n } else {\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case LPAREN:\r\n jj_consume_token(LPAREN);\r\n Type();\r\n jj_consume_token(RPAREN);\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case 117:\r\n jj_consume_token(117);\r\n break;\r\n case BANG:\r\n jj_consume_token(BANG);\r\n break;\r\n case LPAREN:\r\n jj_consume_token(LPAREN);\r\n break;\r\n case IDENTIFIER:\r\n jj_consume_token(IDENTIFIER);\r\n break;\r\n case THIS:\r\n jj_consume_token(THIS);\r\n break;\r\n case SUPER:\r\n jj_consume_token(SUPER);\r\n break;\r\n case NEW:\r\n jj_consume_token(NEW);\r\n break;\r\n case FALSE:\r\n case NULL:\r\n case TRUE:\r\n case INTEGER_LITERAL:\r\n case FLOATING_POINT_LITERAL:\r\n case CHARACTER_LITERAL:\r\n case STRING_LITERAL:\r\n case MULTILINE_STRING_LITERAL:\r\n case SLASH:\r\n Literal();\r\n break;\r\n default:\r\n jj_la1[69] = jj_gen;\r\n jj_consume_token(-1);\r\n throw new ParseException();\r\n }\r\n break;\r\n default:\r\n jj_la1[70] = jj_gen;\r\n jj_consume_token(-1);\r\n throw new ParseException();\r\n }\r\n }\r\n }","title":""},{"docid":"cec3fd4000ab6032f1eb585008e40b82","score":"0.5189631","text":"private int yyr25() {\n return yypStatements();\n }","title":""},{"docid":"2f2277df26aef9b4e3cbb36fda159dd7","score":"0.51759714","text":"Token next(char endOfAtom) throws ParseException {\n/* 222 */ return next(endOfAtom, false);\n/* */ }","title":""},{"docid":"7485821bb2efad4afd95033230287eeb","score":"0.51687694","text":"private int yyr29() {\n yysp -= 5;\n return yypStatement();\n }","title":""},{"docid":"f59f32072182c3a2bea23ba66d84503b","score":"0.5158212","text":"T visitLogicalorexpression(lengBasicParser.LogicalorexpressionContext ctx);","title":""},{"docid":"a211b33f09ba8d13e1eefc8c03ba9c9b","score":"0.5139663","text":"@Test\n\tpublic void test34()\n\t{\n\t\tGrammar grammar = new Grammar(\"start: reverse|reversed|\\\"reverse the order of\\\" a list\", debugFlag);\n\t\tgrammar.addGlobalAlternative(\"reverse\", \"reversing\");\n\t\tassertEquals(\n\t\t\t1,\n\t\t\tparses(\n\t\t\t\tgrammar,\n\t\t\t\t\"reversing the order of a list\"\n\t\t\t)\n\t\t);\n\t}","title":""},{"docid":"dcae0293e80ea9c8d4fa2ccc883bc595","score":"0.5139211","text":"T visitInclusiveorexpression(lengBasicParser.InclusiveorexpressionContext ctx);","title":""},{"docid":"7f0ca6a64477683a1ec670adf4fa4039","score":"0.5135843","text":"public final void mT__33() throws RecognitionException {\n try {\n int _type = T__33;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // unql.g:28:7: ( 'END' )\n // unql.g:28:9: 'END'\n {\n match(\"END\"); \n\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n \t// do for sure before leaving\n }\n }","title":""},{"docid":"d5a929533e4876f66e2c8b7954e97709","score":"0.5135418","text":"public interface Token\n extends Text,\n Tokens {\n\n /**\n * the leftmost parsed element, related to this token in the string\n * @param text the string\n * @return token\n */\n @Override\n default Token leftMostIn(final String text) {\n final Token ret;\n if (text.contains(this.toSource())) {\n ret = this;\n } else {\n ret = new Absence();\n }\n return ret;\n }\n\n @Override\n default Tokens exclude(final Tokens tokens) {\n return tokens.contains(this) ?\n new Empty() :\n this;\n }\n\n @Override\n default boolean contains(final Token token) {\n return this.getClass()\n .equals(token.getClass()) && this.toSource()\n .equals(token.toSource());\n }\n\n /**\n * if this text is contained in the parameter, then\n * @param text parameter\n * @return text is preceding to first occurrence\n */\n default String precedingIn(final Source text) {\n return text.precedingThe(this.toSource());\n }\n\n /**\n * @param text parameter\n * if this text is contained in the parameter, then\n * @return text is following to first occurrence\n */\n default Sense followingIn(final Source text) {\n return text.followingThe(this.toSource());\n }\n\n default int length() {\n return this.toSource()\n .length();\n }\n\n /**\n * first position of this element in the string\n * @param text parameter\n * @return position\n */\n default int firstPositionIn(final String text) {\n return text.indexOf(this.toSource());\n }\n\n /**\n * by default recognizing Text is a failed recognition\n * @param unrecognized following text\n * @return failed\n */\n default Sense concat(final Unrecognized unrecognized) {\n return new Failed(this,\n new Source(unrecognized.toSource()));\n }\n\n /**\n * leftmost element in the string, either this, or parameter. if both\n * positions are equals, returns longer one. if neither element is exist,\n * then returns Empty token\n * @param parsed parameter\n * @param text where to search elements\n * @return left most element\n */\n default Token leftMost(final Token parsed,\n final String text) {\n final int thisPosition = this.firstPositionIn(text);\n final int parsedPosition = parsed.firstPositionIn(text);\n if (thisPosition == -1 && parsedPosition == -1) {\n return new Absence();\n } else if (thisPosition == -1) {\n return parsed;\n } else if (parsedPosition == -1) {\n return this;\n } else if (thisPosition > parsedPosition) {\n return parsed;\n } else if (parsedPosition > thisPosition) {\n return this;\n } else if (this.length() > parsed.length()) {\n return this;\n } else {\n return parsed;\n }\n }\n}","title":""},{"docid":"63a73d414976a6d67822980329859052","score":"0.5135131","text":"T visitLogicalandexpression(lengBasicParser.LogicalandexpressionContext ctx);","title":""},{"docid":"cb2b85f7df07d5bb254e3177db9d2fc5","score":"0.5115665","text":"public final void ruleEnumLiteralDeclaration() throws RecognitionException {\n Token otherlv_0=null;\n Token otherlv_1=null;\n\n try {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1795:27: ( ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )? ) )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1796:2: ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )? )\n {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1796:2: ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )? )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1797:3: ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )?\n {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1797:3: ( (otherlv_0= RULE_ID ) )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1798:4: (otherlv_0= RULE_ID )\n {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1798:4: (otherlv_0= RULE_ID )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1799:5: otherlv_0= RULE_ID\n {\n\n \t\t\t\t\tmarkLeaf(elementTypeProvider.getEnumLiteralDeclaration_EnumLiteralEEnumLiteralCrossReference_0_0ElementType());\n \t\t\t\t\n otherlv_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_RULE_ID_in_ruleEnumLiteralDeclaration5205); \n\n \t\t\t\t\tdoneLeaf(otherlv_0);\n \t\t\t\t\n\n }\n\n\n }\n\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1808:3: (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )?\n int alt48=2;\n int LA48_0 = input.LA(1);\n\n if ( (LA48_0==30) ) {\n alt48=1;\n }\n switch (alt48) {\n case 1 :\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1809:4: otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) )\n {\n\n \t\t\t\tmarkLeaf(elementTypeProvider.getEnumLiteralDeclaration_EqualsSignKeyword_1_0ElementType());\n \t\t\t\n otherlv_1=(Token)match(input,30,FollowSets000.FOLLOW_30_in_ruleEnumLiteralDeclaration5236); \n\n \t\t\t\tdoneLeaf(otherlv_1);\n \t\t\t\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1816:4: ( (lv_literal_2_0= ruleKeyword ) )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1817:5: (lv_literal_2_0= ruleKeyword )\n {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1817:5: (lv_literal_2_0= ruleKeyword )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1818:6: lv_literal_2_0= ruleKeyword\n {\n\n \t\t\t\t\t\tmarkComposite(elementTypeProvider.getEnumLiteralDeclaration_LiteralKeywordParserRuleCall_1_1_0ElementType());\n \t\t\t\t\t\n pushFollow(FollowSets000.FOLLOW_ruleKeyword_in_ruleEnumLiteralDeclaration5268);\n ruleKeyword();\n\n state._fsp--;\n\n\n \t\t\t\t\t\tdoneComposite();\n \t\t\t\t\t\n\n }\n\n\n }\n\n\n }\n break;\n\n }\n\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return ;\n }","title":""},{"docid":"a3503b8e79d882f2420b479e81baf653","score":"0.51067674","text":"protected void enterGrammar(Production node) throws ParseException {\n }","title":""},{"docid":"2cb8df231aadc904bb1fd5ddc0d3eacf","score":"0.51067543","text":"private final JessToken finishToken(int paramInt, StringBuffer paramStringBuffer)\n/* */ throws JessException\n/* */ {\n/* 215 */ JessToken localJessToken = new JessToken();\n/* 216 */ localJessToken.m_lineno = this.m_line;\n/* */ \n/* 218 */ switch (paramInt)\n/* */ {\n/* */ \n/* */ case 34: \n/* 222 */ localJessToken.m_ttype = 2;\n/* 223 */ localJessToken.m_sval = paramStringBuffer.toString();\n/* 224 */ break;\n/* */ \n/* */ \n/* */ case 40: \n/* 228 */ localJessToken.m_ttype = 40;\n/* 229 */ localJessToken.m_sval = \"(\";\n/* 230 */ break;\n/* */ \n/* */ case 41: \n/* 233 */ localJessToken.m_ttype = 41;\n/* 234 */ localJessToken.m_sval = \")\";\n/* 235 */ break;\n/* */ \n/* */ case 38: \n/* 238 */ localJessToken.m_ttype = 38;\n/* 239 */ localJessToken.m_sval = \"&\";\n/* 240 */ break;\n/* */ \n/* */ case 126: \n/* 243 */ localJessToken.m_ttype = 126;\n/* 244 */ localJessToken.m_sval = \"~\";\n/* 245 */ break;\n/* */ \n/* */ case 124: \n/* 248 */ localJessToken.m_ttype = paramInt;\n/* 249 */ localJessToken.m_sval = \"|\";\n/* 250 */ break;\n/* */ \n/* */ case 61: \n/* 253 */ localJessToken.m_ttype = 61;\n/* 254 */ localJessToken.m_sval = \"=\";\n/* 255 */ break;\n/* */ \n/* */ \n/* */ case 10: \n/* 259 */ localJessToken.m_ttype = 1;\n/* 260 */ localJessToken.m_sval = \"CRLF\";\n/* 261 */ break;\n/* */ \n/* */ \n/* */ case -1: \n/* 265 */ if (paramStringBuffer.length() == 0)\n/* */ {\n/* 267 */ localJessToken.m_ttype = 0;\n/* 268 */ localJessToken.m_sval = \"EOF\";\n/* */ }\n/* */ else {\n/* 271 */ return finishToken(0, paramStringBuffer);\n/* */ }\n/* */ break;\n/* */ case 0: \n/* 275 */ String str = paramStringBuffer.toString();\n/* 276 */ int i = str.charAt(0);\n/* */ \n/* */ \n/* 279 */ if (i == 63)\n/* */ {\n/* 281 */ localJessToken.m_ttype = 8;\n/* 282 */ if (str.length() > 1) {\n/* 283 */ localJessToken.m_sval = str.substring(1);\n/* */ } else {\n/* 285 */ localJessToken.m_sval = RU.gensym(\"_blank_\");\n/* */ }\n/* */ \n/* */ \n/* */ }\n/* 290 */ else if ((i == 36) && (str.length() > 1) && (str.charAt(1) == '?'))\n/* */ {\n/* */ \n/* 293 */ localJessToken.m_ttype = 8192;\n/* 294 */ if (str.length() > 2) {\n/* 295 */ localJessToken.m_sval = str.substring(2);\n/* */ } else {\n/* 297 */ localJessToken.m_sval = RU.gensym(\"_blank_mf\");\n/* */ }\n/* */ \n/* */ \n/* */ }\n/* 302 */ else if ((str.length() == 1) && ((i == 45) || (i == 46) || (i == 43)))\n/* */ {\n/* 304 */ localJessToken.m_ttype = 1;\n/* 305 */ localJessToken.m_sval = str;\n/* */ \n/* */ \n/* */ }\n/* 309 */ else if (isAnInteger(str))\n/* */ {\n/* */ \n/* */ try\n/* */ {\n/* 314 */ int j = Integer.parseInt(str, 10);\n/* 315 */ localJessToken.m_ttype = 4;\n/* 316 */ localJessToken.m_nval = j;\n/* */ \n/* */ }\n/* */ catch (NumberFormatException localNumberFormatException1) {}\n/* */ \n/* */ }\n/* */ else\n/* */ {\n/* */ try\n/* */ {\n/* 326 */ double d = Double.valueOf(str).doubleValue();\n/* 327 */ localJessToken.m_ttype = 32;\n/* 328 */ localJessToken.m_nval = d;\n/* */ \n/* */ }\n/* */ catch (NumberFormatException localNumberFormatException2)\n/* */ {\n/* */ \n/* 334 */ localJessToken.m_ttype = 1;\n/* 335 */ localJessToken.m_sval = str;\n/* */ }\n/* */ }\n/* */ break;\n/* 339 */ default: throw new JessException(\"Tokenizer.finishToken\", \"Impossible tag:\", (char)paramInt); }\n/* */ \n/* 341 */ return localJessToken;\n/* */ }","title":""},{"docid":"43b14def744f4a2e66a268ed1beeaaf2","score":"0.51020676","text":"public final void mT__30() throws RecognitionException {\n try {\n int _type = T__30;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // /Users/Samy/Git_Telecom/Compilation2k18/Expr.g:9:7: ( ':' )\n // /Users/Samy/Git_Telecom/Compilation2k18/Expr.g:9:9: ':'\n {\n match(':'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }","title":""},{"docid":"592e99d59a1e68a2e2ff6a444eb4d429","score":"0.51018703","text":"public Token next() throws ParseException {\n/* 204 */ return next(false, false);\n/* */ }","title":""},{"docid":"e10781aa3a002415382e4847e4b575db","score":"0.5086245","text":"public final void mT__31() throws RecognitionException {\r\n try {\r\n int _type = T__31;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // src/Little.g:12:7: ( ';' )\r\n // src/Little.g:12:9: ';'\r\n {\r\n match(';'); \r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }","title":""},{"docid":"d54d7b5634dab7c5e1c96ac4ba377451","score":"0.5085547","text":"public abstract Token parse(MatchResult result) throws ParseException;","title":""},{"docid":"929cecd8aa403a61aee0621743237f7d","score":"0.5081841","text":"public final void mT__31() throws RecognitionException {\n try {\n int _type = T__31;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.featuremodel/src-gen/org/xtext/featuremodel/parser/antlr/internal/InternalFeatureModel.g:31:7: ( '' )\n // ../org.xtext.featuremodel/src-gen/org/xtext/featuremodel/parser/antlr/internal/InternalFeatureModel.g:31:9: ''\n {\n match(\"\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }","title":""},{"docid":"215d1a04e7656b40976de95b77930cb0","score":"0.50729555","text":"public interface Literal extends SelectStatementWater, SpecialNamesParagraphWater, CICSStatementWater, PrimaryOperand, InvokeStatementWater, StopLabel {\n}","title":""},{"docid":"353983ef9cdf251531b6007f57055188","score":"0.50718975","text":"@Override\n\tpublic String toAntlr() {\n\t\tString antlr = \"\";\n\t\tfor(ExpressionTerm argument : expressionTerms) {\n\t\t\tantlr += argument.toAntlr();\n\t\t}\n\t\tif(instruction)antlr += \"\\n;\";\n\t\t// TODO Write from arguments\n\t\treturn antlr;\n\t}","title":""},{"docid":"8458d160aec590695d950c4ff05d6935","score":"0.5070875","text":"public interface MimirJSqlParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int K_AS = 5;\n /** RegularExpression Id. */\n int K_DIRECT = 6;\n /** RegularExpression Id. */\n int K_UNCERTAIN = 7;\n /** RegularExpression Id. */\n int K_ANALYZE = 8;\n /** RegularExpression Id. */\n int K_EXPLAIN = 9;\n /** RegularExpression Id. */\n int K_ASSUME = 10;\n /** RegularExpression Id. */\n int K_VIEW = 11;\n /** RegularExpression Id. */\n int K_LENS = 12;\n /** RegularExpression Id. */\n int K_ADAPTIVE = 13;\n /** RegularExpression Id. */\n int K_SCHEMA = 14;\n /** RegularExpression Id. */\n int K_LET = 15;\n /** RegularExpression Id. */\n int K_LOAD = 16;\n /** RegularExpression Id. */\n int K_PLOT = 17;\n /** RegularExpression Id. */\n int K_ALTER = 18;\n /** RegularExpression Id. */\n int K_SAVE = 19;\n /** RegularExpression Id. */\n int K_RENAME = 20;\n /** RegularExpression Id. */\n int K_PRAGMA = 21;\n /** RegularExpression Id. */\n int K_MATERIALIZE = 22;\n /** RegularExpression Id. */\n int K_BY = 23;\n /** RegularExpression Id. */\n int K_DO = 24;\n /** RegularExpression Id. */\n int K_IF = 25;\n /** RegularExpression Id. */\n int K_IS = 26;\n /** RegularExpression Id. */\n int K_IN = 27;\n /** RegularExpression Id. */\n int K_OR = 28;\n /** RegularExpression Id. */\n int K_OF = 29;\n /** RegularExpression Id. */\n int K_ON = 30;\n /** RegularExpression Id. */\n int K_ALL = 31;\n /** RegularExpression Id. */\n int K_AND = 32;\n /** RegularExpression Id. */\n int K_ANY = 33;\n /** RegularExpression Id. */\n int K_KEY = 34;\n /** RegularExpression Id. */\n int K_NOT = 35;\n /** RegularExpression Id. */\n int K_SET = 36;\n /** RegularExpression Id. */\n int K_ASC = 37;\n /** RegularExpression Id. */\n int K_TOP = 38;\n /** RegularExpression Id. */\n int K_END = 39;\n /** RegularExpression Id. */\n int K_DESC = 40;\n /** RegularExpression Id. */\n int K_INTO = 41;\n /** RegularExpression Id. */\n int K_NULL = 42;\n /** RegularExpression Id. */\n int K_LIKE = 43;\n /** RegularExpression Id. */\n int K_DROP = 44;\n /** RegularExpression Id. */\n int K_JOIN = 45;\n /** RegularExpression Id. */\n int K_LEFT = 46;\n /** RegularExpression Id. */\n int K_FROM = 47;\n /** RegularExpression Id. */\n int K_OPEN = 48;\n /** RegularExpression Id. */\n int K_CASE = 49;\n /** RegularExpression Id. */\n int K_WHEN = 50;\n /** RegularExpression Id. */\n int K_THEN = 51;\n /** RegularExpression Id. */\n int K_ELSE = 52;\n /** RegularExpression Id. */\n int K_SOME = 53;\n /** RegularExpression Id. */\n int K_FULL = 54;\n /** RegularExpression Id. */\n int K_WITH = 55;\n /** RegularExpression Id. */\n int K_TABLE = 56;\n /** RegularExpression Id. */\n int K_WHERE = 57;\n /** RegularExpression Id. */\n int K_USING = 58;\n /** RegularExpression Id. */\n int K_UNION = 59;\n /** RegularExpression Id. */\n int K_GROUP = 60;\n /** RegularExpression Id. */\n int K_BEGIN = 61;\n /** RegularExpression Id. */\n int K_INDEX = 62;\n /** RegularExpression Id. */\n int K_INNER = 63;\n /** RegularExpression Id. */\n int K_LIMIT = 64;\n /** RegularExpression Id. */\n int K_OUTER = 65;\n /** RegularExpression Id. */\n int K_ORDER = 66;\n /** RegularExpression Id. */\n int K_RIGHT = 67;\n /** RegularExpression Id. */\n int K_DELETE = 68;\n /** RegularExpression Id. */\n int K_CREATE = 69;\n /** RegularExpression Id. */\n int K_SELECT = 70;\n /** RegularExpression Id. */\n int K_CAST = 71;\n /** RegularExpression Id. */\n int K_PROVENANCE = 72;\n /** RegularExpression Id. */\n int K_OFFSET = 73;\n /** RegularExpression Id. */\n int K_EXISTS = 74;\n /** RegularExpression Id. */\n int K_HAVING = 75;\n /** RegularExpression Id. */\n int K_INSERT = 76;\n /** RegularExpression Id. */\n int K_UPDATE = 77;\n /** RegularExpression Id. */\n int K_VALUES = 78;\n /** RegularExpression Id. */\n int K_ESCAPE = 79;\n /** RegularExpression Id. */\n int K_PRIMARY = 80;\n /** RegularExpression Id. */\n int K_NATURAL = 81;\n /** RegularExpression Id. */\n int K_REPLACE = 82;\n /** RegularExpression Id. */\n int K_BETWEEN = 83;\n /** RegularExpression Id. */\n int K_TRUNCATE = 84;\n /** RegularExpression Id. */\n int K_DISTINCT = 85;\n /** RegularExpression Id. */\n int K_INTERSECT = 86;\n /** RegularExpression Id. */\n int K_FEEDBACK = 87;\n /** RegularExpression Id. */\n int K_EXTRACT = 88;\n /** RegularExpression Id. */\n int K_ASSIGNMENTS = 89;\n /** RegularExpression Id. */\n int S_DOUBLE = 90;\n /** RegularExpression Id. */\n int S_INTEGER = 91;\n /** RegularExpression Id. */\n int DIGIT = 92;\n /** RegularExpression Id. */\n int LINE_COMMENT = 93;\n /** RegularExpression Id. */\n int MULTI_LINE_COMMENT = 94;\n /** RegularExpression Id. */\n int S_IDENTIFIER = 95;\n /** RegularExpression Id. */\n int LETTER = 96;\n /** RegularExpression Id. */\n int SPECIAL_CHARS = 97;\n /** RegularExpression Id. */\n int S_CHAR_LITERAL = 98;\n /** RegularExpression Id. */\n int S_QUOTED_IDENTIFIER = 99;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"AS\\\"\",\n \"\\\"DIRECT\\\"\",\n \"\\\"UNCERTAIN\\\"\",\n \"\\\"ANALYZE\\\"\",\n \"\\\"EXPLAIN\\\"\",\n \"\\\"ASSUME\\\"\",\n \"\\\"VIEW\\\"\",\n \"\\\"LENS\\\"\",\n \"\\\"ADAPTIVE\\\"\",\n \"\\\"SCHEMA\\\"\",\n \"\\\"LET\\\"\",\n \"\\\"LOAD\\\"\",\n \"\\\"PLOT\\\"\",\n \"\\\"ALTER\\\"\",\n \"\\\"SAVE\\\"\",\n \"\\\"RENAME\\\"\",\n \"\\\"PRAGMA\\\"\",\n \"\\\"MATERIALIZE\\\"\",\n \"\\\"BY\\\"\",\n \"\\\"DO\\\"\",\n \"\\\"IF\\\"\",\n \"\\\"IS\\\"\",\n \"\\\"IN\\\"\",\n \"\\\"OR\\\"\",\n \"\\\"OF\\\"\",\n \"\\\"ON\\\"\",\n \"\\\"ALL\\\"\",\n \"\\\"AND\\\"\",\n \"\\\"ANY\\\"\",\n \"\\\"KEY\\\"\",\n \"\\\"NOT\\\"\",\n \"\\\"SET\\\"\",\n \"\\\"ASC\\\"\",\n \"\\\"TOP\\\"\",\n \"\\\"END\\\"\",\n \"\\\"DESC\\\"\",\n \"\\\"INTO\\\"\",\n \"\\\"NULL\\\"\",\n \"\\\"LIKE\\\"\",\n \"\\\"DROP\\\"\",\n \"\\\"JOIN\\\"\",\n \"\\\"LEFT\\\"\",\n \"\\\"FROM\\\"\",\n \"\\\"OPEN\\\"\",\n \"\\\"CASE\\\"\",\n \"\\\"WHEN\\\"\",\n \"\\\"THEN\\\"\",\n \"\\\"ELSE\\\"\",\n \"\\\"SOME\\\"\",\n \"\\\"FULL\\\"\",\n \"\\\"WITH\\\"\",\n \"\\\"TABLE\\\"\",\n \"\\\"WHERE\\\"\",\n \"\\\"USING\\\"\",\n \"\\\"UNION\\\"\",\n \"\\\"GROUP\\\"\",\n \"\\\"BEGIN\\\"\",\n \"\\\"INDEX\\\"\",\n \"\\\"INNER\\\"\",\n \"\\\"LIMIT\\\"\",\n \"\\\"OUTER\\\"\",\n \"\\\"ORDER\\\"\",\n \"\\\"RIGHT\\\"\",\n \"\\\"DELETE\\\"\",\n \"\\\"CREATE\\\"\",\n \"\\\"SELECT\\\"\",\n \"\\\"CAST\\\"\",\n \"\\\"PROVENANCE\\\"\",\n \"\\\"OFFSET\\\"\",\n \"\\\"EXISTS\\\"\",\n \"\\\"HAVING\\\"\",\n \"\\\"INSERT\\\"\",\n \"\\\"UPDATE\\\"\",\n \"\\\"VALUES\\\"\",\n \"\\\"ESCAPE\\\"\",\n \"\\\"PRIMARY\\\"\",\n \"\\\"NATURAL\\\"\",\n \"\\\"REPLACE\\\"\",\n \"\\\"BETWEEN\\\"\",\n \"\\\"TRUNCATE\\\"\",\n \"\\\"DISTINCT\\\"\",\n \"\\\"INTERSECT\\\"\",\n \"\\\"FEEDBACK\\\"\",\n \"\\\"EXTRACT\\\"\",\n \"\\\"ASSIGNMENTS\\\"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\\\";\\\"\",\n \"\\\":\\\"\",\n \"\\\"(\\\"\",\n \"\\\",\\\"\",\n \"\\\")\\\"\",\n \"\\\"=\\\"\",\n \"\\\".\\\"\",\n \"\\\"*\\\"\",\n \"\\\"?\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\">=\\\"\",\n \"\\\"<=\\\"\",\n \"\\\"<>\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"@@\\\"\",\n \"\\\"||\\\"\",\n \"\\\"|\\\"\",\n \"\\\"&\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"/\\\"\",\n \"\\\"^\\\"\",\n \"\\\"{d\\\"\",\n \"\\\"}\\\"\",\n \"\\\"{t\\\"\",\n \"\\\"{ts\\\"\",\n \"\\\"{fn\\\"\",\n };\n\n}","title":""},{"docid":"05f8a16c220e68057e0f6b725baac9e3","score":"0.5065117","text":"private int yyr51() {\n return 107;\n }","title":""},{"docid":"4450d89f303b78381b23a2fd18046d14","score":"0.5056176","text":"public Token next() {\n\t\t\n\t\tint state = 0;\n\t\tStringBuilder lexeme = new StringBuilder();\n\t\tint startLine = source.line;\n\t\tint startColumn = source.column;\n\t\t\n\t\twhile (true) {\n\t\t\tswitch (state) {\n\t\t\tcase 0:\n\t\t\t\tif (source.atEOF) {\n\t\t\t\t\treturn new Token(source.line, source.column, TokenType.EOF, null);\n\t\t\t\t// State 1 deals with the NUM 0\n\t\t\t\t} else if (source.current == '0') {\n\t\t\t\t\tstartLine = source.line;\n\t\t\t\t\tstartColumn = source.column;\n\t\t\t\t\tlexeme.append(source.current);\n\t\t\t\t\tsource.advance();\n\t\t\t\t\tstate = 1;\n\t\t\t\t// State 2 deals with all the other NUMs\n\t\t\t\t} else if (Character.isDigit(source.current)) {\n\t\t\t\t\tstartLine = source.line;\n\t\t\t\t\tstartColumn = source.column;\n\t\t\t\t\tlexeme.append(source.current);\n\t\t\t\t\tsource.advance();\n\t\t\t\t\tstate = 2;\n\t\t\t\t// State 3 deals with keywords and identifiers\n\t\t\t\t} else if (Character.isAlphabetic(source.current)) {\n\t\t\t\t\tstartLine = source.line;\n\t\t\t\t\tstartColumn = source.column;\n\t\t\t\t\tlexeme.append(source.current);\n\t\t\t\t\tsource.advance();\n\t\t\t\t\tstate = 3;\n\t\t\t // States 4-7 deal with comments\n\t\t\t\t} else if (source.current == '/') {\n\t\t\t\t\tstate = 4;\n\t\t\t\t\tsource.advance();\n\t\t\t\t// State 8 deals with operators and punctuation\n\t\t\t\t} else if (\"+-*;.:(),\".contains(String.valueOf(source.current))) {\n\t\t\t\t\tstate = 8;\n\t\t\t\t\tlexeme.append(source.current);\n\t\t\t\t\tsource.advance();\n\t\t\t\t// State 9 deals with <= and <> as well as <\n\t\t\t\t} else if (source.current == '<') {\n\t\t\t\t\tstartLine = source.line;\n\t\t\t\t\tstartColumn = source.column;\n\t\t\t\t\tstate = 9;\n\t\t\t\t\tsource.advance();\n\t\t\t\t// State 10 deals with >= and >\n\t\t\t\t} else if (source.current == '>') {\n\t\t\t\t\tstartLine = source.line;\n\t\t\t\t\tstartColumn = source.column;\n\t\t\t\t\tstate = 10;\n\t\t\t\t\tsource.advance();\n\t\t\t\t// States 11-12 deal with string literal\n\t\t\t\t} else if (source.current == '\"') {\n\t\t\t\t\tstartLine = source.line;\n\t\t\t\t\tstartColumn = source.column;\n\t\t\t\t\tstate = 11;\n\t\t\t\t\tsource.advance();\n\t\t\t\t// States 13-14 deal with equal operator ==\n\t\t\t\t} else if (source.current == '=') {\n\t\t\t\t\tstartLine = source.line;\n\t\t\t\t\tstartColumn = source.column;\n\t\t\t\t\tstate = 13;\n\t\t\t\t\tsource.advance();\n\t\t\t\t} else if (Character.isWhitespace(source.current)) {\n\t\t\t\t\tsource.advance();\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"Unexpected character '\" + source.current + \"' at line \" + source.line + \" column \" + source.column + \" was skipped.\");\n\t\t\t\t\tsource.advance();\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t\t\n\t\t\tcase 1:\n\t\t\t\treturn new Token(startLine, startColumn, TokenType.NUM, lexeme.toString());\n\t\t\t\t\n\t\t\tcase 2:\n\t\t\t\tif (source.atEOF || !Character.isDigit(source.current)) {\n\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.NUM, lexeme.toString());\n\t\t\t\t} else {\n\t\t\t\t\tlexeme.append(source.current);\n\t\t\t\t\tsource.advance();\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 3:\n\t\t\t\t// a list of legal characters to signal the end of lexeme\n\t\t\t\tString end_chars = \"+-*;.=/ \\t\\n:(),<>\\\"\";\n\t\t\t\t\n\t\t\t\t// Alphabets, digits, and underscores are parts of legal identifier\n\t\t\t\tif (Character.isAlphabetic(source.current) || Character.isDigit(source.current) || source.current == '_') {\n\t\t\t\t\tlexeme.append(source.current);\n\t\t\t\t\tsource.advance();\n\t\t\t\t// This case is the end of token\n\t\t\t\t} else if (end_chars.contains(String.valueOf(source.current))) {\n\t\t\t\t\tString lex = lexeme.toString();\n\t\t\t\t\t\n\t\t\t\t\tif (keywords.containsKey(lex))\n\t\t\t\t\t\treturn new Token(startLine, startColumn, keywords.get(lex), null);\n\t\t\t\t\telse\n\t\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.ID, lex);\n\t\t\t\t// If there is a illegal character, print an error message\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"Unexpected character '\" + source.current + \"' at line \" + source.line + \" column \" + source.column + \" was skipped.\");\n\t\t\t\t\tsource.advance();\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 4:\n\t\t\t\tif (source.current == '/') {\n\t\t\t\t\tstate = 5;\n\t\t\t\t\tsource.advance();\n\t\t\t\t}\n\t\t\t\telse if (source.current == '*') {\n\t\t\t\t\tstate = 6;\n\t\t\t\t\tsource.advance();\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.println(\"You have to use // for a one-line comment.\");\n\t\t\t\t\tstate = 0;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 5:\n\t\t\t\tif (source.current == '\\n')\n\t\t\t\t\tstate = 0;\n\t\t\t\tsource.advance();\n\t\t\t\tbreak;\n\t\t\tcase 6:\n\t\t\t\tif (source.current == '*')\n\t\t\t\t\tstate = 7;\n\t\t\t\telse if (source.atEOF) {\n\t\t\t\t\tSystem.out.println(\"Comment has to be closed with '*/' before EOF\");\n\t\t\t\t\tstate = 0;\n\t\t\t\t}\n\t\t\t\tsource.advance();\n\t\t\t\tbreak;\n\t\t\tcase 7:\n\t\t\t\tif (source.current == '/')\n\t\t\t\t\tstate = 0;\n\t\t\t\telse if (source.current == '*')\n\t\t\t\t\tstate = 7;\n\t\t\t\telse if (source.atEOF) {\n\t\t\t\t\tSystem.out.println(\"Comment has to be closed with '*/' before EOF\");\n\t\t\t\t\tstate = 0;\n\t\t\t\t} else\n\t\t\t\t\tstate = 6;\n\t\t\t\tsource.advance();\n\t\t\t\tbreak;\n\t\t\tcase 8:\n\t\t\t\tString lex = lexeme.toString();\n\t\t\t\treturn new Token(startLine, startColumn, opsAndPunct.get(lex), null);\n\t\t\tcase 9:\n\t\t\t\tif (source.current == '=') {\n\t\t\t\t\tsource.advance();\n\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.LE, null);\n\t\t\t\t}\n\t\t\t\telse if (source.current == '>') {\n\t\t\t\t\tsource.advance();\n\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.NE, null);\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.LT, null);\n\t\t\tcase 10:\n\t\t\t\tif (source.current == '=') {\n\t\t\t\t\tsource.advance();\n\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.GE, null);\n\t\t\t\t} else \n\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.GT, null);\n\t\t\tcase 11:\n\t\t\t\tif (source.current == '\"')\n\t\t\t\t\tstate = 12;\n\t\t\t\telse if (source.current == '\\n')\n\t\t\t\t\tSystem.out.println(\"String literal has to end with \\\"\");\n\t\t\t\t\t// System.exit(1); // Lexical error does not exit the program?\n\t\t\t\telse\n\t\t\t\t\tlexeme.append(source.current);\n\t\t\t\tsource.advance();\n\t\t\t\tbreak;\n\t\t\tcase 12:\n\t\t\t\tif (source.current == '\"') {\n\t\t\t\t\tstate = 11;\n\t\t\t\t\t// Two quotation marks (\"\") is considered a \" in the string literal\n\t\t\t\t\tlexeme.append('\"');\n\t\t\t\t\tsource.advance();\n\t\t\t\t} else \n\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.STRING, lexeme.toString());\n\t\t\t\tbreak;\n\t\t\tcase 13:\n\t\t\t\tif (source.current == '=') {\n\t\t\t\t\tstate = 14;\n\t\t\t\t\tsource.advance();\n\t\t\t\t} else\n\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.ASSIGN, null);\n\t\t\t\tbreak;\n\t\t\tcase 14:\n\t\t\t\treturn new Token(startLine, startColumn, TokenType.EQ, null);\n\t\t\tdefault:\n\t\t\t\t// This part will NOT be executed. The error will be thrown just in case.\n\t\t\t\tthrow new RuntimeException(\"Unreachable. Something is wrong with the lexer.\");\n\t\t\t}\n\t\t}\n\t}","title":""},{"docid":"64016b855a7d5889305fe2ec9ea33896","score":"0.50475615","text":"@Override\r\n\t public boolean matchStatement(LinkedList tokens) {\r\n\t\tboolean match = true;\r\n\t\tToken token = null;\r\n\t\tIterator it = tokens.iterator();\r\n\t\twhile (it.hasNext()) {\r\n\t\t token = it.next();\r\n\t\t switch (token.getString()) {\r\n\t\t case \"(\":\r\n\t\t case \")\":\r\n\t\t\tmatch = false;\r\n\t\t\tbreak;\r\n\t\t }\r\n\t\t}\r\n\t\treturn match;\r\n\t }","title":""},{"docid":"32cf09528cc0b15edf9de2bfe0c01cfc","score":"0.50305325","text":"T visitAndexpression(lengBasicParser.AndexpressionContext ctx);","title":""},{"docid":"fcd05a13dd6c27126180cfe47fb9e40b","score":"0.50302964","text":"public interface ITokens {\n /* terminals */\n public static final int SHORT = 66;\n public static final int BOOL = 64;\n public static final int PRN_LEFT = 60;\n public static final int BIT_LM = 39;\n public static final int NUM_DIV_ASSIGN = 48;\n public static final int BIT_RM = 40;\n public static final int SEMI = 15;\n public static final int NEXT = 8;\n public static final int COMMA = 14;\n public static final int BIT_LM_ASSIGN = 53;\n public static final int BIT_AND = 35;\n public static final int BRC_RIGHT = 57;\n public static final int INTEGER = 67;\n public static final int BIT_XOR = 38;\n public static final int DOUBLE = 70;\n public static final int LGC_CNE = 26;\n public static final int LOOP = 7;\n public static final int TEXT = 73;\n public static final int LGC_CGT = 22;\n public static final int VAR = 4;\n public static final int LGC_AND = 18;\n public static final int BIT_AND_ASSIGN = 50;\n public static final int NUM_MOD_ASSIGN = 49;\n public static final int FLOAT = 69;\n public static final int QUESTION_COLON = 17;\n public static final int NUM_SUB_ASSIGN = 46;\n public static final int LGC_CGE = 24;\n public static final int INCLUDE = 2;\n public static final int BIT_XOR_ASSIGN = 52;\n public static final int CHARS = 71;\n public static final int LONG = 68;\n public static final int QUESTION = 16;\n public static final int LGC_CLT = 21;\n public static final int ASSIGN = 42;\n public static final int NUM_POW = 10;\n public static final int BIT_NOT = 37;\n public static final int NUM_SUB = 28;\n public static final int BIT_OR = 36;\n public static final int BIT_ZRM_ASSIGN = 55;\n public static final int LGC_CLE = 23;\n public static final int ELSE = 6;\n public static final int BREAK = 9;\n public static final int DOT = 12;\n public static final int ECHO = 3;\n public static final int NUM_ADD1 = 32;\n public static final int NULL = 63;\n public static final int LGC_AND_ASSIGN = 43;\n public static final int EOF = 0;\n public static final int LGC_NOT = 20;\n public static final int NUM_MUL = 29;\n public static final int LABEL = 72;\n public static final int LGC_CEE = 25;\n public static final int BIT_ZRM = 41;\n public static final int NUM_MOD = 31;\n public static final int BRK_RIGHT = 59;\n public static final int HOLD_TAIL = 62;\n public static final int NUM_ADD_ASSIGN = 45;\n public static final int BRC_LEFT = 56;\n public static final int error = 1;\n public static final int IF = 5;\n public static final int PRN_RIGHT = 61;\n public static final int NUM_MUL_ASSIGN = 47;\n public static final int COLON = 13;\n public static final int MERGE = 11;\n public static final int NUM_ADD = 27;\n public static final int NUM_DIV = 30;\n public static final int NUM_SUB1 = 33;\n public static final int NUM_NGT = 34;\n public static final int LGC_OR_ASSIGN = 44;\n public static final int BYTE = 65;\n public static final int LGC_OR = 19;\n public static final int BIT_OR_ASSIGN = 51;\n public static final int BIT_RM_ASSIGN = 54;\n public static final int BRK_LEFT = 58;\n}","title":""},{"docid":"cbd4285e29fae6be2b02e5734cb33c3a","score":"0.5030275","text":"public String visit(VarDeclaration n, String argu) throws RuntimeException{\n String _ret=null;\n\n\t String filename=previousprogram.get(1)+\".ll\";\n\t BufferedWriter bw=null;\n\t try{\n\t\t File f=new File(filename);\n\t\t /*if(!file.exists()){\n\t\t\tfile.createNewFile();\n\t\t }*/\n\t\t FileWriter fw=new FileWriter(f,true);\n\t\t\t\t\n\t\t bw=new BufferedWriter(fw);\n\t }\n\t catch (IOException e) {\n e.printStackTrace();\n }\n\n\n\n String type=n.f0.accept(this, argu);\n String name=n.f1.accept(this, argu);\n\t //System.out.println(\"TYPE and NAME=\"+type+name);\n\n n.f2.accept(this, argu);\n\t program.add(\";\");\n\n\t try{\n\n\t\t\n\t\tbw.flush();\n\t\tbw.close();\n\t }\n\t catch (IOException e) {\n e.printStackTrace();\n }\n return _ret;\n }","title":""},{"docid":"99b8484edd08cad66b4f8447e0792042","score":"0.5022795","text":"public interface IntASTStatement extends IntASTNode {\n \n}","title":""},{"docid":"649a5ee4b28110c3dd9faf9866a21a19","score":"0.50166416","text":"private void compileStatement(){\n tokenizer.advance();\n\n //siguiente '}'\n if (tokenizer.tokenType() == JackTokenizer.SYMBOL && tokenizer.symbol() == '}'){\n tokenizer.pointerBack();\n return;\n }\n\n //siguiente caso 'let'|'if'|'while'|'do'|'return'\n if (tokenizer.tokenType() != JackTokenizer.KEYWORD){\n error(\"keyword\");\n }else {\n switch (tokenizer.keyWord()){\n case JackTokenizer.LET:compileLet();break;\n case JackTokenizer.IF:compileIf();break;\n case JackTokenizer.WHILE:compilesWhile();break;\n case JackTokenizer.DO:compileDo();break;\n case JackTokenizer.RETURN:compileReturn();break;\n default:error(\"'let'|'if'|'while'|'do'|'return'\");\n }\n }\n\n compileStatement();\n }","title":""},{"docid":"8a8e7c7c89ca2b8c8a44e09299fb43ac","score":"0.50135607","text":"public final void mT__31() throws RecognitionException {\n try {\n int _type = T__31;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // /Users/Samy/Git_Telecom/Compilation2k18/Expr.g:10:7: ( ',' )\n // /Users/Samy/Git_Telecom/Compilation2k18/Expr.g:10:9: ','\n {\n match(','); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }","title":""},{"docid":"00d4eafc1efd116a161847cfc30cce5f","score":"0.500551","text":"private Token match(Token.Kind kind) {\n\t\tcheckNotEof();\n\t\tToken token = tokens.get(index++);\n\t\tif (token.kind != kind) {\n\t\t\tsyntaxError(\"expecting \\\"\" + kind + \"\\\" here\", token);\n\t\t}\n\t\treturn token;\n\t}","title":""},{"docid":"bf5aae8a4dc11a7a0bdbc6e3053a7eed","score":"0.4989482","text":"public String visit(TypeDeclaration n, String argu) throws Exception {\n System.out.println(\"TypeDeclaration :\");\n return n.f0.accept(this, null);\n }","title":""},{"docid":"701d28da13ab2f40b90e8f8c92b1b808","score":"0.4988934","text":"protected Node exitTokenDeclaration(Production node)\n throws ParseException {\n\n return node;\n }","title":""},{"docid":"973eb7f660097fe032b3a2bcff74880b","score":"0.49843964","text":"public String visit(AssignmentStatement n, String argu) {\n String _ret=null;\n\t String filename=previousprogram.get(1)+\".ll\";\n\t BufferedWriter bw=null;\n\t try{\n\t\t File f=new File(filename);\n\t\t /*if(!file.exists()){\n\t\t\tfile.createNewFile();\n\t\t }*/\n\t\t FileWriter fw=new FileWriter(f,true);\n\t\t\t\t\n\t\t bw=new BufferedWriter(fw);\n\t }\n\t catch (IOException e) {\n e.printStackTrace();\n }\n\n\n\n\t String type1,type2;\n\t type1=n.f0.accept(this,argu);\n\t String name1=program.get(program.size()-1);\n\t try{\n\t\t/*bw.write(\"%_\"+numregister+\" = load \");\n\t\tnumregister++;\n\t\tif(type1==\"int\"){\n\t\t\tbw.write(\"i32, i32* %\"+program.get(program.size()-1)+\"\\n\");\n\t\t}*/\n\t\tbw.flush();\n\t }\n\t catch (IOException e) {\n e.printStackTrace();\n }\n\n n.f1.accept(this, argu);\n\t program.add(\"=\");\n type2=n.f2.accept(this, argu);//o typos toy antikeimenoy einai type1\n\t \n\t try{\n\t\tbw.write(\"store \");\n\t\tif(isNumeric(program.get(program.size()-1))&&program.get(program.size()-2)==\"=\"){\n\t\t\tif(program.get(program.size()-1)==\"]\"){\n\t\t\t\t\tbw.write(\"i32 %_\"+(numregister-1)+\", i32* %\"+(numregister-1)+\"\\n\");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tbw.write(\"i32 \"+program.get(program.size()-1)+\", i32* %\"+program.get(program.size()-3)+\"\\n\");\n\t\t\t}\n\t\t}\n\t\telse{\n\t\t\tif(type1==\"int\"||type1==\"int[]\"){\n\t\t\t\tif(program.get(program.size()-1)==\"]\"){\n\t\t\t\t\tbw.write(\"i32 %_\"+(numregister-1)+\", i32* %\"+(numregister-4)+\"\\n\");\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tbw.write(\"i32 %_\"+(numregister-1)+\", i32* %\"+name1+\"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tbw.flush();\n\t }\n\t catch (IOException e) {\n e.printStackTrace();\n }\n\n\t \n n.f3.accept(this, argu);\n\t program.add(\";\");\n\t\n return _ret;\n }","title":""},{"docid":"448fde94221a81c69491098c2a9b9027","score":"0.49797532","text":"public interface IDLParserConstants {\r\n\r\n /** End of File. */\r\n int EOF = 0;\r\n /** RegularExpression Id. */\r\n int ID = 24;\r\n /** RegularExpression Id. */\r\n int OCTALINT = 25;\r\n /** RegularExpression Id. */\r\n int DECIMALINT = 26;\r\n /** RegularExpression Id. */\r\n int HEXADECIMALINT = 27;\r\n /** RegularExpression Id. */\r\n int FLOATONE = 28;\r\n /** RegularExpression Id. */\r\n int FLOATTWO = 29;\r\n /** RegularExpression Id. */\r\n int CHARACTER = 30;\r\n /** RegularExpression Id. */\r\n int STRING = 31;\r\n\r\n /** Lexical state. */\r\n int DEFAULT = 0;\r\n\r\n /** Literal token values. */\r\n String[] tokenImage = {\r\n \"\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\\\"\\\\n\\\"\",\r\n \"\\\"\\\\r\\\"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\\\";\\\"\",\r\n \"\\\"module\\\"\",\r\n \"\\\"{\\\"\",\r\n \"\\\"}\\\"\",\r\n \"\\\"struct\\\"\",\r\n \"\\\",\\\"\",\r\n \"\\\"[\\\"\",\r\n \"\\\"]\\\"\",\r\n \"\\\"float\\\"\",\r\n \"\\\"double\\\"\",\r\n \"\\\"long\\\"\",\r\n \"\\\"short\\\"\",\r\n \"\\\"unsigned\\\"\",\r\n \"\\\"char\\\"\",\r\n \"\\\"boolean\\\"\",\r\n \"\\\"octet\\\"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n };\r\n\r\n}","title":""},{"docid":"e44042db2551f72be7d50e3ade6aaf9e","score":"0.4974882","text":"public final void ruleEnumLiteralDeclaration() throws RecognitionException {\n Token otherlv_0=null;\n Token otherlv_1=null;\n\n try {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1883:27: ( ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )? ) )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1884:2: ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )? )\n {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1884:2: ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )? )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1885:3: ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )?\n {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1885:3: ( (otherlv_0= RULE_ID ) )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1886:4: (otherlv_0= RULE_ID )\n {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1886:4: (otherlv_0= RULE_ID )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1887:5: otherlv_0= RULE_ID\n {\n\n \t\t\t\t\tmarkLeaf(elementTypeProvider.getEnumLiteralDeclaration_EnumLiteralEEnumLiteralCrossReference_0_0ElementType());\n \t\t\t\t\n otherlv_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_RULE_ID_in_ruleEnumLiteralDeclaration5441); \n\n \t\t\t\t\tdoneLeaf(otherlv_0);\n \t\t\t\t\n\n }\n\n\n }\n\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1896:3: (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )?\n int alt50=2;\n int LA50_0 = input.LA(1);\n\n if ( (LA50_0==30) ) {\n alt50=1;\n }\n switch (alt50) {\n case 1 :\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1897:4: otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) )\n {\n\n \t\t\t\tmarkLeaf(elementTypeProvider.getEnumLiteralDeclaration_EqualsSignKeyword_1_0ElementType());\n \t\t\t\n otherlv_1=(Token)match(input,30,FollowSets000.FOLLOW_30_in_ruleEnumLiteralDeclaration5472); \n\n \t\t\t\tdoneLeaf(otherlv_1);\n \t\t\t\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1904:4: ( (lv_literal_2_0= ruleKeyword ) )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1905:5: (lv_literal_2_0= ruleKeyword )\n {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1905:5: (lv_literal_2_0= ruleKeyword )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1906:6: lv_literal_2_0= ruleKeyword\n {\n\n \t\t\t\t\t\tmarkComposite(elementTypeProvider.getEnumLiteralDeclaration_LiteralKeywordParserRuleCall_1_1_0ElementType());\n \t\t\t\t\t\n pushFollow(FollowSets000.FOLLOW_ruleKeyword_in_ruleEnumLiteralDeclaration5504);\n ruleKeyword();\n\n state._fsp--;\n\n\n \t\t\t\t\t\tdoneComposite();\n \t\t\t\t\t\n\n }\n\n\n }\n\n\n }\n break;\n\n }\n\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return ;\n }","title":""},{"docid":"38755a77c3bad74855e6bca9c3ba7d6c","score":"0.49635845","text":"public Token next() {\n\t\tif (_buffer.isEmpty())\n\t\t\treturn null;\n\n\t\t// TODO: Complete this method\n\t\t// START YOUR CODE\n\t\tchar firstChar = _buffer.charAt(0);\n\t\tif (firstChar == 'I'){\n\t\t\tif (_buffer.substring(0, 11).equals(\"INSERT INTO\")){\n\t\t\t\tStringBuilder stringBuilder = new StringBuilder();\n\t\t\t\tint pos = 12 ;\n\t\t\t\t//current char (digit) , pointer\n\t\t\t\tchar current = _buffer.charAt(pos);\n\t\t\t\twhile(current!='V'){\n\t\t\t\t\tstringBuilder.append(current);\n\t\t\t\t\tpos++;\n\t\t\t\t\t// if else to handle the out of range bug\n\t\t\t\t\t//make sure the current pointer is not out of bounds\n\t\t\t\t\tif(pos<_buffer.length()){\n\t\t\t\t\t\tcurrent = _buffer.charAt(pos);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.println(stringBuilder.toString());\n\t\t\t\tstringBuilder.setLength(stringBuilder.length()-1);\n\t\t\t\treturn new Token(Token.Type.INSERT_INTO,stringBuilder.toString(),\"INSERT INTO \"+stringBuilder.toString());\n\t\t\t}\n\t\t}\n\n\t\tif (firstChar == 'V'){\n\t\t\tif (_buffer.substring(0, 6 ).equals(\"VALUES\")){\n\n\t\t\t\treturn new Token(Token.Type.VALUES,_buffer.substring(7,_buffer.length()),_buffer);\n\t\t\t}\n\t\t}\n\n\n\n\n\t\t// You are allowed to remove the following 'return null' if necessary\n\t\treturn null;\n\t\t\n\t\t// END YOUR CODE\n\t}","title":""},{"docid":"23f89ec3146c7a11ac5c7d5ee9abd011","score":"0.49534968","text":"public interface CyclParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int OPEN_PAREN = 1;\n /** RegularExpression Id. */\n int CLOSE_PAREN = 2;\n /** RegularExpression Id. */\n int WS = 10;\n /** RegularExpression Id. */\n int CONSTANT_PREFIX = 11;\n /** RegularExpression Id. */\n int SIMPLE_VARIABLE_PREFIX = 12;\n /** RegularExpression Id. */\n int META_VARIABLE_PREFIX = 13;\n /** RegularExpression Id. */\n int GUID_PREFIX = 14;\n /** RegularExpression Id. */\n int TRUE_CONSTANT = 15;\n /** RegularExpression Id. */\n int FALSE_CONSTANT = 16;\n /** RegularExpression Id. */\n int AND_CONSTANT = 17;\n /** RegularExpression Id. */\n int OR_CONSTANT = 18;\n /** RegularExpression Id. */\n int XOR_CONSTANT = 19;\n /** RegularExpression Id. */\n int NOT_CONSTANT = 20;\n /** RegularExpression Id. */\n int EQUIV_CONSTANT = 21;\n /** RegularExpression Id. */\n int IMPLIES_CONSTANT = 22;\n /** RegularExpression Id. */\n int FORALL_CONSTANT = 23;\n /** RegularExpression Id. */\n int THEREEXISTS_CONSTANT = 24;\n /** RegularExpression Id. */\n int THEREEXISTEXACTLY_CONSTANT = 25;\n /** RegularExpression Id. */\n int THEREEXISTATMOST_CONSTANT = 26;\n /** RegularExpression Id. */\n int THEREEXISTATLEAST_CONSTANT = 27;\n /** RegularExpression Id. */\n int EXPANDSUBLFN_CONSTANT = 28;\n /** RegularExpression Id. */\n int SUBLQUOTEFN_CONSTANT = 29;\n /** RegularExpression Id. */\n int TRUE_GUID_CONSTANT = 30;\n /** RegularExpression Id. */\n int FALSE_GUID_CONSTANT = 31;\n /** RegularExpression Id. */\n int AND_GUID_CONSTANT = 32;\n /** RegularExpression Id. */\n int OR_GUID_CONSTANT = 33;\n /** RegularExpression Id. */\n int XOR_GUID_CONSTANT = 34;\n /** RegularExpression Id. */\n int NOT_GUID_CONSTANT = 35;\n /** RegularExpression Id. */\n int EQUIV_GUID_CONSTANT = 36;\n /** RegularExpression Id. */\n int IMPLIES_GUID_CONSTANT = 37;\n /** RegularExpression Id. */\n int FORALL_GUID_CONSTANT = 38;\n /** RegularExpression Id. */\n int THEREEXISTS_GUID_CONSTANT = 39;\n /** RegularExpression Id. */\n int THEREEXISTEXACTLY_GUID_CONSTANT = 40;\n /** RegularExpression Id. */\n int THEREEXISTATMOST_GUID_CONSTANT = 41;\n /** RegularExpression Id. */\n int THEREEXISTATLEAST_GUID_CONSTANT = 42;\n /** RegularExpression Id. */\n int EXPANDSUBLFN_GUID_CONSTANT = 43;\n /** RegularExpression Id. */\n int SUBLQUOTEFN_GUID_CONSTANT = 44;\n /** RegularExpression Id. */\n int TRUE_GUID = 45;\n /** RegularExpression Id. */\n int FALSE_GUID = 46;\n /** RegularExpression Id. */\n int AND_GUID = 47;\n /** RegularExpression Id. */\n int OR_GUID = 48;\n /** RegularExpression Id. */\n int XOR_GUID = 49;\n /** RegularExpression Id. */\n int NOT_GUID = 50;\n /** RegularExpression Id. */\n int EQUIV_GUID = 51;\n /** RegularExpression Id. */\n int IMPLIES_GUID = 52;\n /** RegularExpression Id. */\n int FORALL_GUID = 53;\n /** RegularExpression Id. */\n int THEREEXISTS_GUID = 54;\n /** RegularExpression Id. */\n int THEREEXISTEXACTLY_GUID = 55;\n /** RegularExpression Id. */\n int THEREEXISTATMOST_GUID = 56;\n /** RegularExpression Id. */\n int THEREEXISTATLEAST_GUID = 57;\n /** RegularExpression Id. */\n int EXPANDSUBLFN_GUID = 58;\n /** RegularExpression Id. */\n int SUBLQUOTEFN_GUID = 59;\n /** RegularExpression Id. */\n int INTEGER = 60;\n /** RegularExpression Id. */\n int FLOAT = 61;\n /** RegularExpression Id. */\n int DECIMAL_INT = 62;\n /** RegularExpression Id. */\n int FLOAT_ONE = 63;\n /** RegularExpression Id. */\n int FLOAT_TWO = 64;\n /** RegularExpression Id. */\n int CONSTANT_NAME1 = 65;\n /** RegularExpression Id. */\n int NON_NUMERIC_START_CHAR = 66;\n /** RegularExpression Id. */\n int NUMERIC_START_CHAR = 67;\n /** RegularExpression Id. */\n int VALID_CONSTANT_CHAR = 68;\n /** RegularExpression Id. */\n int CONSTANT_NAME2 = 69;\n /** RegularExpression Id. */\n int CONSTANT_GUID = 70;\n /** RegularExpression Id. */\n int GUID_CHAR = 71;\n /** RegularExpression Id. */\n int CONSTANT_GUID2 = 72;\n /** RegularExpression Id. */\n int SIMPLE_VARIABLE = 73;\n /** RegularExpression Id. */\n int NON_DASH_VARIABLE_CHAR = 74;\n /** RegularExpression Id. */\n int META_VARIABLE = 75;\n /** RegularExpression Id. */\n int NON_DASH_META_VARIABLE_CHAR = 76;\n /** RegularExpression Id. */\n int STRING = 77;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_LINE_COMMENT = 1;\n /** Lexical state. */\n int IN_COMMENT = 2;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"//\\\"\",\n \"\\\";\\\"\",\n \"\\\"/*\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\",\n \"\\\"*/\\\"\",\n \"\",\n \"\",\n \"\\\"#$\\\"\",\n \"\\\"?\\\"\",\n \"\\\":\\\"\",\n \"\\\"#G\\\"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"
\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\\\"\\\\n\\\"\",\r\n \"\\\"\\\\r\\\"\",\r\n \"\\\"\\\\f\\\"\",\r\n \"\\\"(\\\"\",\r\n \"\\\")\\\"\",\r\n \"\\\"[\\\"\",\r\n \"\\\"]\\\"\",\r\n \"\\\"{\\\"\",\r\n \"\\\"}\\\"\",\r\n \"\\\".\\\"\",\r\n \"\\\"-\\\"\",\r\n \"\\\"!\\\"\",\r\n \"\\\"*\\\"\",\r\n \"\\\"/\\\"\",\r\n \"\\\"+\\\"\",\r\n \"\\\"<\\\"\",\r\n \"\\\">\\\"\",\r\n \"\\\"=\\\"\",\r\n \"\\\"==\\\"\",\r\n \"\\\"!=\\\"\",\r\n \"\\\"&&\\\"\",\r\n \"\\\"||\\\"\",\r\n \"\\\",\\\"\",\r\n \"\\\";\\\"\",\r\n \"\\\"public\\\"\",\r\n \"\\\"static\\\"\",\r\n \"\\\"void\\\"\",\r\n \"\\\"main\\\"\",\r\n \"\\\"String\\\"\",\r\n \"\\\"class\\\"\",\r\n \"\\\"extends\\\"\",\r\n \"\\\"Thread\\\"\",\r\n \"\\\"synchronized\\\"\",\r\n \"\\\"return\\\"\",\r\n \"\\\"if\\\"\",\r\n \"\\\"else\\\"\",\r\n \"\\\"while\\\"\",\r\n \"\\\"Xinu\\\"\",\r\n \"\\\"true\\\"\",\r\n \"\\\"false\\\"\",\r\n \"\\\"this\\\"\",\r\n \"\\\"null\\\"\",\r\n \"\\\"new\\\"\",\r\n \"\\\"int\\\"\",\r\n \"\\\"boolean\\\"\",\r\n \"\\\"//\\\"\",\r\n \"\",\r\n \"\\\"/*\\\"\",\r\n \"\",\r\n \"\\\"*/\\\"\",\r\n \"\\\"*/\\\"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n };\r\n\r\n}","title":""},{"docid":"6feed7f5541b810d8fd7bb11de915fda","score":"0.5325525","text":"public interface CMMConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 6;\n /** RegularExpression Id. */\n int FORMAL_COMMENT = 7;\n /** RegularExpression Id. */\n int MULTI_LINE_COMMENT = 8;\n /** RegularExpression Id. */\n int IF = 9;\n /** RegularExpression Id. */\n int ELSE = 10;\n /** RegularExpression Id. */\n int WHILE = 11;\n /** RegularExpression Id. */\n int DO = 12;\n /** RegularExpression Id. */\n int INT = 13;\n /** RegularExpression Id. */\n int REAL = 14;\n /** RegularExpression Id. */\n int CHAR = 15;\n /** RegularExpression Id. */\n int VOID = 16;\n /** RegularExpression Id. */\n int FOR = 17;\n /** RegularExpression Id. */\n int PRINT = 18;\n /** RegularExpression Id. */\n int SCAN = 19;\n /** RegularExpression Id. */\n int BREAK = 20;\n /** RegularExpression Id. */\n int CONTINUE = 21;\n /** RegularExpression Id. */\n int RETURN = 22;\n /** RegularExpression Id. */\n int INTEGER_LITERAL = 23;\n /** RegularExpression Id. */\n int DECIMAL_LITERAL = 24;\n /** RegularExpression Id. */\n int HEX_LITERAL = 25;\n /** RegularExpression Id. */\n int REAL_LITERAL = 26;\n /** RegularExpression Id. */\n int EXPONENT = 27;\n /** RegularExpression Id. */\n int CHARACTER_LITERAL = 28;\n /** RegularExpression Id. */\n int STRING_LITERAL = 29;\n /** RegularExpression Id. */\n int IDENTIFIER = 30;\n /** RegularExpression Id. */\n int LETTER = 31;\n /** RegularExpression Id. */\n int DIGIT = 32;\n /** RegularExpression Id. */\n int LPAREN = 33;\n /** RegularExpression Id. */\n int RPAREN = 34;\n /** RegularExpression Id. */\n int LBRACE = 35;\n /** RegularExpression Id. */\n int RBRACE = 36;\n /** RegularExpression Id. */\n int LBRACKET = 37;\n /** RegularExpression Id. */\n int RBRACKET = 38;\n /** RegularExpression Id. */\n int SEMICOLON = 39;\n /** RegularExpression Id. */\n int COMMA = 40;\n /** RegularExpression Id. */\n int DOT = 41;\n /** RegularExpression Id. */\n int UNDERSCORE = 42;\n /** RegularExpression Id. */\n int ASSIGN = 43;\n /** RegularExpression Id. */\n int PLUS = 44;\n /** RegularExpression Id. */\n int MINUS = 45;\n /** RegularExpression Id. */\n int TIMES = 46;\n /** RegularExpression Id. */\n int DIVIDE = 47;\n /** RegularExpression Id. */\n int MOD = 48;\n /** RegularExpression Id. */\n int BIT_OR = 49;\n /** RegularExpression Id. */\n int BIT_AND = 50;\n /** RegularExpression Id. */\n int XOR = 51;\n /** RegularExpression Id. */\n int TILDE = 52;\n /** RegularExpression Id. */\n int EQ = 53;\n /** RegularExpression Id. */\n int NEQ = 54;\n /** RegularExpression Id. */\n int GT = 55;\n /** RegularExpression Id. */\n int LT = 56;\n /** RegularExpression Id. */\n int GE = 57;\n /** RegularExpression Id. */\n int LE = 58;\n /** RegularExpression Id. */\n int SC_OR = 59;\n /** RegularExpression Id. */\n int SC_AND = 60;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\",\n \"\",\n \"\",\n \"\\\"if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"while\\\"\",\n \"\\\"do\\\"\",\n \"\\\"int\\\"\",\n \"\\\"real\\\"\",\n \"\\\"char\\\"\",\n \"\\\"void\\\"\",\n \"\\\"for\\\"\",\n \"\\\"print\\\"\",\n \"\\\"scan\\\"\",\n \"\\\"break\\\"\",\n \"\\\"continue\\\"\",\n \"\\\"return\\\"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\"_\\\"\",\n \"\\\"=\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"|\\\"\",\n \"\\\"&\\\"\",\n \"\\\"^\\\"\",\n \"\\\"~\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<>\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\">=\\\"\",\n \"\\\"<=\\\"\",\n \"\\\"||\\\"\",\n \"\\\"&&\\\"\",\n };\n\n}","title":""},{"docid":"cc4b3eb64639584a1b334b9f89667d0d","score":"0.5299606","text":"public interface JaccParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int ABSTRACT = 6;\n /** RegularExpression Id. */\n int BOOLEAN = 7;\n /** RegularExpression Id. */\n int BREAK = 8;\n /** RegularExpression Id. */\n int BYTE = 9;\n /** RegularExpression Id. */\n int CASE = 10;\n /** RegularExpression Id. */\n int CATCH = 11;\n /** RegularExpression Id. */\n int CHAR = 12;\n /** RegularExpression Id. */\n int CLASS = 13;\n /** RegularExpression Id. */\n int CONST = 14;\n /** RegularExpression Id. */\n int CONTINUE = 15;\n /** RegularExpression Id. */\n int _DEFAULT = 16;\n /** RegularExpression Id. */\n int DO = 17;\n /** RegularExpression Id. */\n int DOUBLE = 18;\n /** RegularExpression Id. */\n int ELSE = 19;\n /** RegularExpression Id. */\n int EXTENDS = 20;\n /** RegularExpression Id. */\n int FALSE = 21;\n /** RegularExpression Id. */\n int FINAL = 22;\n /** RegularExpression Id. */\n int FINALLY = 23;\n /** RegularExpression Id. */\n int FLOAT = 24;\n /** RegularExpression Id. */\n int FOR = 25;\n /** RegularExpression Id. */\n int GOTO = 26;\n /** RegularExpression Id. */\n int IF = 27;\n /** RegularExpression Id. */\n int IMPLEMENTS = 28;\n /** RegularExpression Id. */\n int IMPORT = 29;\n /** RegularExpression Id. */\n int INSTANCEOF = 30;\n /** RegularExpression Id. */\n int INT = 31;\n /** RegularExpression Id. */\n int INTERFACE = 32;\n /** RegularExpression Id. */\n int LONG = 33;\n /** RegularExpression Id. */\n int NATIVE = 34;\n /** RegularExpression Id. */\n int NEW = 35;\n /** RegularExpression Id. */\n int NULL = 36;\n /** RegularExpression Id. */\n int PACKAGE = 37;\n /** RegularExpression Id. */\n int PRIVATE = 38;\n /** RegularExpression Id. */\n int PROTECTED = 39;\n /** RegularExpression Id. */\n int PUBLIC = 40;\n /** RegularExpression Id. */\n int RETURN = 41;\n /** RegularExpression Id. */\n int SHORT = 42;\n /** RegularExpression Id. */\n int STATIC = 43;\n /** RegularExpression Id. */\n int SUPER = 44;\n /** RegularExpression Id. */\n int SWITCH = 45;\n /** RegularExpression Id. */\n int SYNCHRONIZED = 46;\n /** RegularExpression Id. */\n int THIS = 47;\n /** RegularExpression Id. */\n int THROW = 48;\n /** RegularExpression Id. */\n int THROWS = 49;\n /** RegularExpression Id. */\n int TRANSIENT = 50;\n /** RegularExpression Id. */\n int TRUE = 51;\n /** RegularExpression Id. */\n int TRY = 52;\n /** RegularExpression Id. */\n int VOID = 53;\n /** RegularExpression Id. */\n int VOLATILE = 54;\n /** RegularExpression Id. */\n int WHILE = 55;\n /** RegularExpression Id. */\n int DECIMAL_LITERAL = 56;\n /** RegularExpression Id. */\n int IDENTIFIER = 57;\n /** RegularExpression Id. */\n int LPAREN = 58;\n /** RegularExpression Id. */\n int RPAREN = 59;\n /** RegularExpression Id. */\n int LBRACE = 60;\n /** RegularExpression Id. */\n int RBRACE = 61;\n /** RegularExpression Id. */\n int LBRACKET = 62;\n /** RegularExpression Id. */\n int RBRACKET = 63;\n /** RegularExpression Id. */\n int SEMICOLON = 64;\n /** RegularExpression Id. */\n int COMMA = 65;\n /** RegularExpression Id. */\n int DOT = 66;\n /** RegularExpression Id. */\n int ASSIGN = 67;\n /** RegularExpression Id. */\n int GT = 68;\n /** RegularExpression Id. */\n int LT = 69;\n /** RegularExpression Id. */\n int BANG = 70;\n /** RegularExpression Id. */\n int TILDE = 71;\n /** RegularExpression Id. */\n int HOOK = 72;\n /** RegularExpression Id. */\n int COLON = 73;\n /** RegularExpression Id. */\n int EQ = 74;\n /** RegularExpression Id. */\n int LE = 75;\n /** RegularExpression Id. */\n int GE = 76;\n /** RegularExpression Id. */\n int NE = 77;\n /** RegularExpression Id. */\n int SC_OR = 78;\n /** RegularExpression Id. */\n int SC_AND = 79;\n /** RegularExpression Id. */\n int PLUS = 80;\n /** RegularExpression Id. */\n int MINUS = 81;\n /** RegularExpression Id. */\n int STAR = 82;\n /** RegularExpression Id. */\n int SLASH = 83;\n /** RegularExpression Id. */\n int REM = 84;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"abstract\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"break\\\"\",\n \"\\\"byte\\\"\",\n \"\\\"case\\\"\",\n \"\\\"catch\\\"\",\n \"\\\"char\\\"\",\n \"\\\"class\\\"\",\n \"\\\"const\\\"\",\n \"\\\"continue\\\"\",\n \"\\\"default\\\"\",\n \"\\\"do\\\"\",\n \"\\\"double\\\"\",\n \"\\\"else\\\"\",\n \"\\\"extends\\\"\",\n \"\\\"false\\\"\",\n \"\\\"final\\\"\",\n \"\\\"finally\\\"\",\n \"\\\"float\\\"\",\n \"\\\"for\\\"\",\n \"\\\"goto\\\"\",\n \"\\\"if\\\"\",\n \"\\\"implements\\\"\",\n \"\\\"import\\\"\",\n \"\\\"instanceof\\\"\",\n \"\\\"int\\\"\",\n \"\\\"interface\\\"\",\n \"\\\"long\\\"\",\n \"\\\"native\\\"\",\n \"\\\"new\\\"\",\n \"\\\"null\\\"\",\n \"\\\"package\\\"\",\n \"\\\"private\\\"\",\n \"\\\"protected\\\"\",\n \"\\\"public\\\"\",\n \"\\\"return\\\"\",\n \"\\\"short\\\"\",\n \"\\\"static\\\"\",\n \"\\\"super\\\"\",\n \"\\\"switch\\\"\",\n \"\\\"synchronized\\\"\",\n \"\\\"this\\\"\",\n \"\\\"throw\\\"\",\n \"\\\"throws\\\"\",\n \"\\\"transient\\\"\",\n \"\\\"true\\\"\",\n \"\\\"try\\\"\",\n \"\\\"void\\\"\",\n \"\\\"volatile\\\"\",\n \"\\\"while\\\"\",\n \"\",\n \"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\"=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\"!\\\"\",\n \"\\\"~\\\"\",\n \"\\\"?\\\"\",\n \"\\\":\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"||\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n };\n\n}","title":""},{"docid":"493affac6a6e5e629936557e9fa8514e","score":"0.5298417","text":"private int yyr19() {\n return 50;\n }","title":""},{"docid":"e057e9b6c3adc0bdcf801b014ebbe60c","score":"0.5278873","text":"public interface QueryParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int WORD = 4;\n /** RegularExpression Id. */\n int LP = 5;\n /** RegularExpression Id. */\n int RP = 6;\n /** RegularExpression Id. */\n int QUOTE = 7;\n /** RegularExpression Id. */\n int OP_AND = 8;\n /** RegularExpression Id. */\n int OP_OR = 9;\n /** RegularExpression Id. */\n int OP_NOT = 10;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"\\\\\\\"\\\"\",\n \"\",\n \"\",\n \"\",\n };\n\n}","title":""},{"docid":"eec659090b39de4a82d36faa468fb7fa","score":"0.5266568","text":"public interface EG1Constants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int OPEN = 5;\n /** RegularExpression Id. */\n int CLOSE = 6;\n /** RegularExpression Id. */\n int DEFINE = 7;\n /** RegularExpression Id. */\n int DOMAIN = 8;\n /** RegularExpression Id. */\n int DOMAIN_LABEL = 9;\n /** RegularExpression Id. */\n int REQUIREMENTS = 10;\n /** RegularExpression Id. */\n int REQUIREMENT_LABELS = 11;\n /** RegularExpression Id. */\n int TYPES = 12;\n /** RegularExpression Id. */\n int PREDICATES = 13;\n /** RegularExpression Id. */\n int PROBLEM = 14;\n /** RegularExpression Id. */\n int TYPE_IDENT = 15;\n /** RegularExpression Id. */\n int VAR = 16;\n /** RegularExpression Id. */\n int ACTION = 17;\n /** RegularExpression Id. */\n int PARAMETERS = 18;\n /** RegularExpression Id. */\n int PRECONDITION = 19;\n /** RegularExpression Id. */\n int CONSTRAINTS = 20;\n /** RegularExpression Id. */\n int PREFERENCE = 21;\n /** RegularExpression Id. */\n int EFFECT = 22;\n /** RegularExpression Id. */\n int OBJECTS = 23;\n /** RegularExpression Id. */\n int GOAL = 24;\n /** RegularExpression Id. */\n int INIT = 25;\n /** RegularExpression Id. */\n int AND = 26;\n /** RegularExpression Id. */\n int NOT = 27;\n /** RegularExpression Id. */\n int NUMBER = 28;\n /** RegularExpression Id. */\n int NAME = 29;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 30;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"define\\\"\",\n \"\\\"domain\\\"\",\n \"\\\":domain\\\"\",\n \"\\\":requirements\\\"\",\n \"\\\":typing :constraints :preferences\\\"\",\n \"\\\":types\\\"\",\n \"\\\":predicates\\\"\",\n \"\\\"problem\\\"\",\n \"\\\"-\\\"\",\n \"\",\n \"\\\":action\\\"\",\n \"\\\":parameters\\\"\",\n \"\\\":precondition\\\"\",\n \"\\\":constraints\\\"\",\n \"\\\"preference\\\"\",\n \"\\\":effect\\\"\",\n \"\\\":objects\\\"\",\n \"\\\":goal\\\"\",\n \"\\\":init\\\"\",\n \"\\\"and\\\"\",\n \"\\\"not\\\"\",\n \"\",\n \"\",\n \"\",\n };\n\n}","title":""},{"docid":"f143e9b900cadd3967940ce9942874b3","score":"0.5265535","text":"public interface TargetTableParserConstants {\r\n\r\n /** End of File. */\r\n int EOF = 0;\r\n /** RegularExpression Id. */\r\n int MULTI_LINE_COMMENT = 4;\r\n /** RegularExpression Id. */\r\n int SINGLE_LINE_COMMENT = 7;\r\n /** RegularExpression Id. */\r\n int SEMICOLON = 8;\r\n /** RegularExpression Id. */\r\n int SINGLE_QUOTE = 9;\r\n /** RegularExpression Id. */\r\n int OPEN_PAREN = 10;\r\n /** RegularExpression Id. */\r\n int CLOSE_PAREN = 11;\r\n /** RegularExpression Id. */\r\n int COMMA = 12;\r\n /** RegularExpression Id. */\r\n int HYPHEN = 13;\r\n /** RegularExpression Id. */\r\n int ASTERISK = 14;\r\n /** RegularExpression Id. */\r\n int INTO = 15;\r\n /** RegularExpression Id. */\r\n int SET = 16;\r\n /** RegularExpression Id. */\r\n int NOT = 17;\r\n /** RegularExpression Id. */\r\n int FROM = 18;\r\n /** RegularExpression Id. */\r\n int AS = 19;\r\n /** RegularExpression Id. */\r\n int BY = 20;\r\n /** RegularExpression Id. */\r\n int WHERE = 21;\r\n /** RegularExpression Id. */\r\n int ALL = 22;\r\n /** RegularExpression Id. */\r\n int TABLE = 23;\r\n /** RegularExpression Id. */\r\n int CASESPECIFIC = 24;\r\n /** RegularExpression Id. */\r\n int CHARACTER = 25;\r\n /** RegularExpression Id. */\r\n int UPPERCASE = 26;\r\n /** RegularExpression Id. */\r\n int NULL = 27;\r\n /** RegularExpression Id. */\r\n int TO = 28;\r\n /** RegularExpression Id. */\r\n int LITERAL_INTEGER = 29;\r\n /** RegularExpression Id. */\r\n int BLOB = 30;\r\n /** RegularExpression Id. */\r\n int BYTE = 31;\r\n /** RegularExpression Id. */\r\n int VARBYTE = 32;\r\n /** RegularExpression Id. */\r\n int BIGINT = 33;\r\n /** RegularExpression Id. */\r\n int BYTEINT = 34;\r\n /** RegularExpression Id. */\r\n int DATE = 35;\r\n /** RegularExpression Id. */\r\n int DECIMAL = 36;\r\n /** RegularExpression Id. */\r\n int DOUBLE = 37;\r\n /** RegularExpression Id. */\r\n int PRECISION = 38;\r\n /** RegularExpression Id. */\r\n int FLOAT = 39;\r\n /** RegularExpression Id. */\r\n int INTEGER = 40;\r\n /** RegularExpression Id. */\r\n int NUMBER = 41;\r\n /** RegularExpression Id. */\r\n int NUMERIC = 42;\r\n /** RegularExpression Id. */\r\n int REAL = 43;\r\n /** RegularExpression Id. */\r\n int SMALLINT = 44;\r\n /** RegularExpression Id. */\r\n int TIME = 45;\r\n /** RegularExpression Id. */\r\n int TIMESTAMP = 46;\r\n /** RegularExpression Id. */\r\n int INTERVAL = 47;\r\n /** RegularExpression Id. */\r\n int DAY = 48;\r\n /** RegularExpression Id. */\r\n int HOUR = 49;\r\n /** RegularExpression Id. */\r\n int MINUTE = 50;\r\n /** RegularExpression Id. */\r\n int SECOND = 51;\r\n /** RegularExpression Id. */\r\n int MONTH = 52;\r\n /** RegularExpression Id. */\r\n int YEAR = 53;\r\n /** RegularExpression Id. */\r\n int CHAR = 54;\r\n /** RegularExpression Id. */\r\n int CLOB = 55;\r\n /** RegularExpression Id. */\r\n int VARYING = 56;\r\n /** RegularExpression Id. */\r\n int LONG = 57;\r\n /** RegularExpression Id. */\r\n int VARCHAR = 58;\r\n /** RegularExpression Id. */\r\n int GRAPHIC = 59;\r\n /** RegularExpression Id. */\r\n int VARGRAPHIC = 60;\r\n /** RegularExpression Id. */\r\n int UPDATE = 61;\r\n /** RegularExpression Id. */\r\n int INSERT = 62;\r\n /** RegularExpression Id. */\r\n int MERGE = 63;\r\n /** RegularExpression Id. */\r\n int DELETE = 64;\r\n /** RegularExpression Id. */\r\n int CREATE = 65;\r\n /** RegularExpression Id. */\r\n int CT = 66;\r\n /** RegularExpression Id. */\r\n int MULTISET = 67;\r\n /** RegularExpression Id. */\r\n int GLOBAL = 68;\r\n /** RegularExpression Id. */\r\n int TEMPORARY = 69;\r\n /** RegularExpression Id. */\r\n int VOLATILE = 70;\r\n /** RegularExpression Id. */\r\n int USING = 71;\r\n /** RegularExpression Id. */\r\n int DEFERRED = 72;\r\n /** RegularExpression Id. */\r\n int LOCATOR = 73;\r\n /** RegularExpression Id. */\r\n int NAME = 74;\r\n /** RegularExpression Id. */\r\n int LOCKING = 75;\r\n /** RegularExpression Id. */\r\n int DATABASE = 77;\r\n /** RegularExpression Id. */\r\n int TABLE_LCK = 78;\r\n /** RegularExpression Id. */\r\n int VIEW = 79;\r\n /** RegularExpression Id. */\r\n int ROW = 80;\r\n /** RegularExpression Id. */\r\n int FOR = 81;\r\n /** RegularExpression Id. */\r\n int IN = 82;\r\n /** RegularExpression Id. */\r\n int ACCESS = 83;\r\n /** RegularExpression Id. */\r\n int EXCLUSIVE = 84;\r\n /** RegularExpression Id. */\r\n int SHARE = 85;\r\n /** RegularExpression Id. */\r\n int READ = 86;\r\n /** RegularExpression Id. */\r\n int OVERRIDE = 87;\r\n /** RegularExpression Id. */\r\n int WRITE = 88;\r\n /** RegularExpression Id. */\r\n int CHECKSUM = 89;\r\n /** RegularExpression Id. */\r\n int DATABASE_OBJECT_NAME = 90;\r\n /** RegularExpression Id. */\r\n int OBJECT_NAME = 91;\r\n /** RegularExpression Id. */\r\n int CURRENT = 92;\r\n /** RegularExpression Id. */\r\n int VALIDTIME = 93;\r\n /** RegularExpression Id. */\r\n int SEQUENCED = 94;\r\n /** RegularExpression Id. */\r\n int NONSEQUENCED = 95;\r\n /** RegularExpression Id. */\r\n int NONTEMPORAL = 96;\r\n /** RegularExpression Id. */\r\n int PERIOD = 97;\r\n /** RegularExpression Id. */\r\n int UNTIL_CHANGED = 98;\r\n /** RegularExpression Id. */\r\n int UNTIL_CLOSED = 99;\r\n /** RegularExpression Id. */\r\n int PERIOD_BOUND = 100;\r\n /** RegularExpression Id. */\r\n int MODE = 101;\r\n /** RegularExpression Id. */\r\n int NOWAIT = 102;\r\n /** RegularExpression Id. */\r\n int IDENTIFIER = 103;\r\n\r\n /** Lexical state. */\r\n int DEFAULT = 0;\r\n /** Lexical state. */\r\n int ML_COMMENT_STATE = 1;\r\n /** Lexical state. */\r\n int LOCKING_STATE = 2;\r\n\r\n /** Literal token values. */\r\n String[] tokenImage = {\r\n \"\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\",\r\n \"\\\"/*\\\"\",\r\n \"\\\"*/\\\"\",\r\n \"\",\r\n \"\",\r\n \"\\\";\\\"\",\r\n \"\\\"\\\\\\'\\\"\",\r\n \"\\\"(\\\"\",\r\n \"\\\")\\\"\",\r\n \"\\\",\\\"\",\r\n \"\\\"-\\\"\",\r\n \"\\\"*\\\"\",\r\n \"\\\"into\\\"\",\r\n \"\\\"set\\\"\",\r\n \"\\\"not\\\"\",\r\n \"\\\"from\\\"\",\r\n \"\\\"as\\\"\",\r\n \"\\\"by\\\"\",\r\n \"\\\"where\\\"\",\r\n \"\\\"all\\\"\",\r\n \"\\\"table\\\"\",\r\n \"\\\"casespecific\\\"\",\r\n \"\\\"character\\\"\",\r\n \"\\\"uppercase\\\"\",\r\n \"\\\"null\\\"\",\r\n \"\\\"to\\\"\",\r\n \"\",\r\n \"\\\"blob\\\"\",\r\n \"\\\"byte\\\"\",\r\n \"\\\"varbyte\\\"\",\r\n \"\\\"bigint\\\"\",\r\n \"\\\"byteint\\\"\",\r\n \"\\\"date\\\"\",\r\n \"\\\"decimal\\\"\",\r\n \"\\\"double\\\"\",\r\n \"\\\"precision\\\"\",\r\n \"\\\"float\\\"\",\r\n \"\\\"integer\\\"\",\r\n \"\\\"number\\\"\",\r\n \"\\\"numeric\\\"\",\r\n \"\\\"real\\\"\",\r\n \"\\\"smallint\\\"\",\r\n \"\\\"time\\\"\",\r\n \"\\\"timestamp\\\"\",\r\n \"\\\"interval\\\"\",\r\n \"\\\"day\\\"\",\r\n \"\\\"hour\\\"\",\r\n \"\\\"minute\\\"\",\r\n \"\\\"second\\\"\",\r\n \"\\\"month\\\"\",\r\n \"\\\"year\\\"\",\r\n \"\\\"char\\\"\",\r\n \"\\\"clob\\\"\",\r\n \"\\\"varying\\\"\",\r\n \"\\\"long\\\"\",\r\n \"\\\"varchar\\\"\",\r\n \"\\\"graphic\\\"\",\r\n \"\\\"vargraphic\\\"\",\r\n \"\",\r\n \"\",\r\n \"\\\"merge\\\"\",\r\n \"\",\r\n \"\\\"create\\\"\",\r\n \"\\\"ct\\\"\",\r\n \"\\\"multiset\\\"\",\r\n \"\\\"global\\\"\",\r\n \"\\\"temporary\\\"\",\r\n \"\\\"volatile\\\"\",\r\n \"\\\"using\\\"\",\r\n \"\\\"deferred\\\"\",\r\n \"\\\"locator\\\"\",\r\n \"\\\"name\\\"\",\r\n \"\",\r\n \"\",\r\n \"\\\"database\\\"\",\r\n \"\\\"table\\\"\",\r\n \"\\\"view\\\"\",\r\n \"\\\"row\\\"\",\r\n \"\\\"for\\\"\",\r\n \"\\\"in\\\"\",\r\n \"\\\"access\\\"\",\r\n \"\",\r\n \"\\\"share\\\"\",\r\n \"\\\"read\\\"\",\r\n \"\\\"override\\\"\",\r\n \"\\\"write\\\"\",\r\n \"\\\"checksum\\\"\",\r\n \"\",\r\n \"\",\r\n \"\\\"current\\\"\",\r\n \"\\\"validtime\\\"\",\r\n \"\\\"sequenced\\\"\",\r\n \"\\\"nonsequenced\\\"\",\r\n \"\\\"nontemporal\\\"\",\r\n \"\\\"period\\\"\",\r\n \"\\\"until_changed\\\"\",\r\n \"\\\"until_closed\\\"\",\r\n \"\",\r\n \"\\\"mode\\\"\",\r\n \"\\\"nowait\\\"\",\r\n \"\",\r\n };\r\n\r\n}","title":""},{"docid":"ed8344cab406eacc9ccf69e8e626c275","score":"0.5255661","text":"T visitRelationalexpression(lengBasicParser.RelationalexpressionContext ctx);","title":""},{"docid":"c85c50672fbbe17eeb84981ac99a8833","score":"0.52505696","text":"public PlSql_Parser(PlSqlTokenManager tm) {\n token_source = tm;\n token = new Token();\n jj_ntk = -1;\n jj_gen = 0;\n for (int i = 0; i < 241; i++) jj_la1[i] = -1;\n for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();\n }","title":""},{"docid":"4e82fd18f5df85b17b7e2c0a905a4012","score":"0.5230243","text":"public interface BibtextGrammarConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int LB = 5;\n /** RegularExpression Id. */\n int RB = 6;\n /** RegularExpression Id. */\n int ARTICLE = 7;\n /** RegularExpression Id. */\n int BOOK = 8;\n /** RegularExpression Id. */\n int BOOKLET = 9;\n /** RegularExpression Id. */\n int CONFERENCE = 10;\n /** RegularExpression Id. */\n int INBOOK = 11;\n /** RegularExpression Id. */\n int INCOLLECTION = 12;\n /** RegularExpression Id. */\n int INPROCEEDINGS = 13;\n /** RegularExpression Id. */\n int MANUAL = 14;\n /** RegularExpression Id. */\n int MASTERSTHESIS = 15;\n /** RegularExpression Id. */\n int MISC = 16;\n /** RegularExpression Id. */\n int PHDTHESIS = 17;\n /** RegularExpression Id. */\n int PROCEEDINGS = 18;\n /** RegularExpression Id. */\n int TECHREPORT = 19;\n /** RegularExpression Id. */\n int UNPUBLISHED = 20;\n /** RegularExpression Id. */\n int AUTHOR = 21;\n /** RegularExpression Id. */\n int JOURNAL = 22;\n /** RegularExpression Id. */\n int TITLE = 23;\n /** RegularExpression Id. */\n int YEAR = 24;\n /** RegularExpression Id. */\n int MONTH = 25;\n /** RegularExpression Id. */\n int NUMBER = 26;\n /** RegularExpression Id. */\n int PAGES = 27;\n /** RegularExpression Id. */\n int VOLUME = 28;\n /** RegularExpression Id. */\n int PUBLISHER = 29;\n /** RegularExpression Id. */\n int DOI = 30;\n /** RegularExpression Id. */\n int NOTE = 31;\n /** RegularExpression Id. */\n int KEY = 32;\n /** RegularExpression Id. */\n int EDITOR = 33;\n /** RegularExpression Id. */\n int SERIES = 34;\n /** RegularExpression Id. */\n int ADDRESS = 35;\n /** RegularExpression Id. */\n int EDITION = 36;\n /** RegularExpression Id. */\n int URL = 37;\n /** RegularExpression Id. */\n int HOWPUBLISHED = 38;\n /** RegularExpression Id. */\n int CHAPTER = 39;\n /** RegularExpression Id. */\n int BOOKTITLE = 40;\n /** RegularExpression Id. */\n int TYPE = 41;\n /** RegularExpression Id. */\n int ORGANIZATION = 42;\n /** RegularExpression Id. */\n int SCHOOL = 43;\n /** RegularExpression Id. */\n int INSTITUTION = 44;\n /** RegularExpression Id. */\n int WORD = 45;\n /** RegularExpression Id. */\n int CONSTANT = 46;\n /** RegularExpression Id. */\n int ID = 47;\n /** RegularExpression Id. */\n int LETTERSNUMBERS = 48;\n /** RegularExpression Id. */\n int LETTER = 49;\n /** RegularExpression Id. */\n int LOWER = 50;\n /** RegularExpression Id. */\n int UPPER = 51;\n /** RegularExpression Id. */\n int DIGIT = 52;\n /** RegularExpression Id. */\n int COMMA = 53;\n /** RegularExpression Id. */\n int SEMICOLON = 54;\n /** RegularExpression Id. */\n int DASH = 55;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"article\\\"\",\n \"\\\"book\\\"\",\n \"\\\"booklet\\\"\",\n \"\\\"conference\\\"\",\n \"\\\"inbook\\\"\",\n \"\\\"incollection\\\"\",\n \"\\\"inproceedings\\\"\",\n \"\\\"manual\\\"\",\n \"\\\"mastersthesis\\\"\",\n \"\\\"misc\\\"\",\n \"\\\"phdthesis\\\"\",\n \"\\\"proceedings\\\"\",\n \"\\\"techreport\\\"\",\n \"\\\"unpublished\\\"\",\n \"\\\"Author\\\"\",\n \"\\\"Journal\\\"\",\n \"\\\"Title\\\"\",\n \"\\\"Year\\\"\",\n \"\\\"Month\\\"\",\n \"\\\"Number\\\"\",\n \"\\\"Pages\\\"\",\n \"\\\"Volume\\\"\",\n \"\\\"Publisher\\\"\",\n \"\\\"Doi\\\"\",\n \"\\\"Note\\\"\",\n \"\\\"Key\\\"\",\n \"\\\"Editor\\\"\",\n \"\\\"Series\\\"\",\n \"\\\"Address\\\"\",\n \"\\\"Edition\\\"\",\n \"\\\"Url\\\"\",\n \"\\\"Howpublished\\\"\",\n \"\\\"Chapter\\\"\",\n \"\\\"Booktitle\\\"\",\n \"\\\"Type\\\"\",\n \"\\\"Organization\\\"\",\n \"\\\"School\\\"\",\n \"\\\"Institution\\\"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\\\"@\\\"\",\n \"\\\"=\\\"\",\n \"\\\"-\\\"\",\n \"\\\".\\\"\",\n \"\\\",\\\"\",\n \"\\\"\\\\\\'\\\"\",\n \"\\\":\\\"\",\n \"\\\"/\\\"\",\n };\n\n}","title":""},{"docid":"d8ca35719143ee75b61930930e42fc3d","score":"0.52300596","text":"final public void MethodDeclarationLookahead() throws ParseException {\r\n Modifier();\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case STATIC:\r\n YoyooStatic jjtn001 = new YoyooStatic(JJTSTATIC);\r\n boolean jjtc001 = true;\r\n jjtree.openNodeScope(jjtn001);\r\n jjtreeOpenNodeScope(jjtn001);\r\n try {\r\n jj_consume_token(STATIC);\r\n } finally {\r\n if (jjtc001) {\r\n jjtree.closeNodeScope(jjtn001, true);\r\n jjtreeCloseNodeScope(jjtn001);\r\n }\r\n }\r\n break;\r\n default:\r\n jj_la1[20] = jj_gen;\r\n ;\r\n }\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case ABSTRACT:\r\n YoyooAbstract jjtn002 = new YoyooAbstract(JJTABSTRACT);\r\n boolean jjtc002 = true;\r\n jjtree.openNodeScope(jjtn002);\r\n jjtreeOpenNodeScope(jjtn002);\r\n try {\r\n jj_consume_token(ABSTRACT);\r\n } finally {\r\n if (jjtc002) {\r\n jjtree.closeNodeScope(jjtn002, true);\r\n jjtreeCloseNodeScope(jjtn002);\r\n }\r\n }\r\n break;\r\n default:\r\n jj_la1[21] = jj_gen;\r\n ;\r\n }\r\n ResultType();\r\n jj_consume_token(IDENTIFIER);\r\n jj_consume_token(LPAREN);\r\n }","title":""},{"docid":"21bbcf89723dec95861d5becff352030","score":"0.52059364","text":"final public void CastLookahead() throws ParseException {\r\n if (jj_2_17(2)) {\r\n jj_consume_token(LPAREN);\r\n PrimitiveType();\r\n } else if (jj_2_18(2147483647)) {\r\n jj_consume_token(LPAREN);\r\n Type();\r\n jj_consume_token(LBRACKET);\r\n jj_consume_token(RBRACKET);\r\n } else {\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case LPAREN:\r\n jj_consume_token(LPAREN);\r\n Type();\r\n jj_consume_token(RPAREN);\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case 117:\r\n jj_consume_token(117);\r\n break;\r\n case BANG:\r\n jj_consume_token(BANG);\r\n break;\r\n case LPAREN:\r\n jj_consume_token(LPAREN);\r\n break;\r\n case IDENTIFIER:\r\n jj_consume_token(IDENTIFIER);\r\n break;\r\n case THIS:\r\n jj_consume_token(THIS);\r\n break;\r\n case SUPER:\r\n jj_consume_token(SUPER);\r\n break;\r\n case NEW:\r\n jj_consume_token(NEW);\r\n break;\r\n case FALSE:\r\n case NULL:\r\n case TRUE:\r\n case INTEGER_LITERAL:\r\n case FLOATING_POINT_LITERAL:\r\n case CHARACTER_LITERAL:\r\n case STRING_LITERAL:\r\n case MULTILINE_STRING_LITERAL:\r\n case SLASH:\r\n Literal();\r\n break;\r\n default:\r\n jj_la1[69] = jj_gen;\r\n jj_consume_token(-1);\r\n throw new ParseException();\r\n }\r\n break;\r\n default:\r\n jj_la1[70] = jj_gen;\r\n jj_consume_token(-1);\r\n throw new ParseException();\r\n }\r\n }\r\n }","title":""},{"docid":"cec3fd4000ab6032f1eb585008e40b82","score":"0.5189631","text":"private int yyr25() {\n return yypStatements();\n }","title":""},{"docid":"2f2277df26aef9b4e3cbb36fda159dd7","score":"0.51759714","text":"Token next(char endOfAtom) throws ParseException {\n/* 222 */ return next(endOfAtom, false);\n/* */ }","title":""},{"docid":"7485821bb2efad4afd95033230287eeb","score":"0.51687694","text":"private int yyr29() {\n yysp -= 5;\n return yypStatement();\n }","title":""},{"docid":"f59f32072182c3a2bea23ba66d84503b","score":"0.5158212","text":"T visitLogicalorexpression(lengBasicParser.LogicalorexpressionContext ctx);","title":""},{"docid":"a211b33f09ba8d13e1eefc8c03ba9c9b","score":"0.5139663","text":"@Test\n\tpublic void test34()\n\t{\n\t\tGrammar grammar = new Grammar(\"start: reverse|reversed|\\\"reverse the order of\\\" a list\", debugFlag);\n\t\tgrammar.addGlobalAlternative(\"reverse\", \"reversing\");\n\t\tassertEquals(\n\t\t\t1,\n\t\t\tparses(\n\t\t\t\tgrammar,\n\t\t\t\t\"reversing the order of a list\"\n\t\t\t)\n\t\t);\n\t}","title":""},{"docid":"dcae0293e80ea9c8d4fa2ccc883bc595","score":"0.5139211","text":"T visitInclusiveorexpression(lengBasicParser.InclusiveorexpressionContext ctx);","title":""},{"docid":"7f0ca6a64477683a1ec670adf4fa4039","score":"0.5135843","text":"public final void mT__33() throws RecognitionException {\n try {\n int _type = T__33;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // unql.g:28:7: ( 'END' )\n // unql.g:28:9: 'END'\n {\n match(\"END\"); \n\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n \t// do for sure before leaving\n }\n }","title":""},{"docid":"d5a929533e4876f66e2c8b7954e97709","score":"0.5135418","text":"public interface Token\n extends Text,\n Tokens {\n\n /**\n * the leftmost parsed element, related to this token in the string\n * @param text the string\n * @return token\n */\n @Override\n default Token leftMostIn(final String text) {\n final Token ret;\n if (text.contains(this.toSource())) {\n ret = this;\n } else {\n ret = new Absence();\n }\n return ret;\n }\n\n @Override\n default Tokens exclude(final Tokens tokens) {\n return tokens.contains(this) ?\n new Empty() :\n this;\n }\n\n @Override\n default boolean contains(final Token token) {\n return this.getClass()\n .equals(token.getClass()) && this.toSource()\n .equals(token.toSource());\n }\n\n /**\n * if this text is contained in the parameter, then\n * @param text parameter\n * @return text is preceding to first occurrence\n */\n default String precedingIn(final Source text) {\n return text.precedingThe(this.toSource());\n }\n\n /**\n * @param text parameter\n * if this text is contained in the parameter, then\n * @return text is following to first occurrence\n */\n default Sense followingIn(final Source text) {\n return text.followingThe(this.toSource());\n }\n\n default int length() {\n return this.toSource()\n .length();\n }\n\n /**\n * first position of this element in the string\n * @param text parameter\n * @return position\n */\n default int firstPositionIn(final String text) {\n return text.indexOf(this.toSource());\n }\n\n /**\n * by default recognizing Text is a failed recognition\n * @param unrecognized following text\n * @return failed\n */\n default Sense concat(final Unrecognized unrecognized) {\n return new Failed(this,\n new Source(unrecognized.toSource()));\n }\n\n /**\n * leftmost element in the string, either this, or parameter. if both\n * positions are equals, returns longer one. if neither element is exist,\n * then returns Empty token\n * @param parsed parameter\n * @param text where to search elements\n * @return left most element\n */\n default Token leftMost(final Token parsed,\n final String text) {\n final int thisPosition = this.firstPositionIn(text);\n final int parsedPosition = parsed.firstPositionIn(text);\n if (thisPosition == -1 && parsedPosition == -1) {\n return new Absence();\n } else if (thisPosition == -1) {\n return parsed;\n } else if (parsedPosition == -1) {\n return this;\n } else if (thisPosition > parsedPosition) {\n return parsed;\n } else if (parsedPosition > thisPosition) {\n return this;\n } else if (this.length() > parsed.length()) {\n return this;\n } else {\n return parsed;\n }\n }\n}","title":""},{"docid":"63a73d414976a6d67822980329859052","score":"0.5135131","text":"T visitLogicalandexpression(lengBasicParser.LogicalandexpressionContext ctx);","title":""},{"docid":"cb2b85f7df07d5bb254e3177db9d2fc5","score":"0.5115665","text":"public final void ruleEnumLiteralDeclaration() throws RecognitionException {\n Token otherlv_0=null;\n Token otherlv_1=null;\n\n try {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1795:27: ( ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )? ) )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1796:2: ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )? )\n {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1796:2: ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )? )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1797:3: ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )?\n {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1797:3: ( (otherlv_0= RULE_ID ) )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1798:4: (otherlv_0= RULE_ID )\n {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1798:4: (otherlv_0= RULE_ID )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1799:5: otherlv_0= RULE_ID\n {\n\n \t\t\t\t\tmarkLeaf(elementTypeProvider.getEnumLiteralDeclaration_EnumLiteralEEnumLiteralCrossReference_0_0ElementType());\n \t\t\t\t\n otherlv_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_RULE_ID_in_ruleEnumLiteralDeclaration5205); \n\n \t\t\t\t\tdoneLeaf(otherlv_0);\n \t\t\t\t\n\n }\n\n\n }\n\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1808:3: (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )?\n int alt48=2;\n int LA48_0 = input.LA(1);\n\n if ( (LA48_0==30) ) {\n alt48=1;\n }\n switch (alt48) {\n case 1 :\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1809:4: otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) )\n {\n\n \t\t\t\tmarkLeaf(elementTypeProvider.getEnumLiteralDeclaration_EqualsSignKeyword_1_0ElementType());\n \t\t\t\n otherlv_1=(Token)match(input,30,FollowSets000.FOLLOW_30_in_ruleEnumLiteralDeclaration5236); \n\n \t\t\t\tdoneLeaf(otherlv_1);\n \t\t\t\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1816:4: ( (lv_literal_2_0= ruleKeyword ) )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1817:5: (lv_literal_2_0= ruleKeyword )\n {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1817:5: (lv_literal_2_0= ruleKeyword )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1818:6: lv_literal_2_0= ruleKeyword\n {\n\n \t\t\t\t\t\tmarkComposite(elementTypeProvider.getEnumLiteralDeclaration_LiteralKeywordParserRuleCall_1_1_0ElementType());\n \t\t\t\t\t\n pushFollow(FollowSets000.FOLLOW_ruleKeyword_in_ruleEnumLiteralDeclaration5268);\n ruleKeyword();\n\n state._fsp--;\n\n\n \t\t\t\t\t\tdoneComposite();\n \t\t\t\t\t\n\n }\n\n\n }\n\n\n }\n break;\n\n }\n\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return ;\n }","title":""},{"docid":"a3503b8e79d882f2420b479e81baf653","score":"0.51067674","text":"protected void enterGrammar(Production node) throws ParseException {\n }","title":""},{"docid":"2cb8df231aadc904bb1fd5ddc0d3eacf","score":"0.51067543","text":"private final JessToken finishToken(int paramInt, StringBuffer paramStringBuffer)\n/* */ throws JessException\n/* */ {\n/* 215 */ JessToken localJessToken = new JessToken();\n/* 216 */ localJessToken.m_lineno = this.m_line;\n/* */ \n/* 218 */ switch (paramInt)\n/* */ {\n/* */ \n/* */ case 34: \n/* 222 */ localJessToken.m_ttype = 2;\n/* 223 */ localJessToken.m_sval = paramStringBuffer.toString();\n/* 224 */ break;\n/* */ \n/* */ \n/* */ case 40: \n/* 228 */ localJessToken.m_ttype = 40;\n/* 229 */ localJessToken.m_sval = \"(\";\n/* 230 */ break;\n/* */ \n/* */ case 41: \n/* 233 */ localJessToken.m_ttype = 41;\n/* 234 */ localJessToken.m_sval = \")\";\n/* 235 */ break;\n/* */ \n/* */ case 38: \n/* 238 */ localJessToken.m_ttype = 38;\n/* 239 */ localJessToken.m_sval = \"&\";\n/* 240 */ break;\n/* */ \n/* */ case 126: \n/* 243 */ localJessToken.m_ttype = 126;\n/* 244 */ localJessToken.m_sval = \"~\";\n/* 245 */ break;\n/* */ \n/* */ case 124: \n/* 248 */ localJessToken.m_ttype = paramInt;\n/* 249 */ localJessToken.m_sval = \"|\";\n/* 250 */ break;\n/* */ \n/* */ case 61: \n/* 253 */ localJessToken.m_ttype = 61;\n/* 254 */ localJessToken.m_sval = \"=\";\n/* 255 */ break;\n/* */ \n/* */ \n/* */ case 10: \n/* 259 */ localJessToken.m_ttype = 1;\n/* 260 */ localJessToken.m_sval = \"CRLF\";\n/* 261 */ break;\n/* */ \n/* */ \n/* */ case -1: \n/* 265 */ if (paramStringBuffer.length() == 0)\n/* */ {\n/* 267 */ localJessToken.m_ttype = 0;\n/* 268 */ localJessToken.m_sval = \"EOF\";\n/* */ }\n/* */ else {\n/* 271 */ return finishToken(0, paramStringBuffer);\n/* */ }\n/* */ break;\n/* */ case 0: \n/* 275 */ String str = paramStringBuffer.toString();\n/* 276 */ int i = str.charAt(0);\n/* */ \n/* */ \n/* 279 */ if (i == 63)\n/* */ {\n/* 281 */ localJessToken.m_ttype = 8;\n/* 282 */ if (str.length() > 1) {\n/* 283 */ localJessToken.m_sval = str.substring(1);\n/* */ } else {\n/* 285 */ localJessToken.m_sval = RU.gensym(\"_blank_\");\n/* */ }\n/* */ \n/* */ \n/* */ }\n/* 290 */ else if ((i == 36) && (str.length() > 1) && (str.charAt(1) == '?'))\n/* */ {\n/* */ \n/* 293 */ localJessToken.m_ttype = 8192;\n/* 294 */ if (str.length() > 2) {\n/* 295 */ localJessToken.m_sval = str.substring(2);\n/* */ } else {\n/* 297 */ localJessToken.m_sval = RU.gensym(\"_blank_mf\");\n/* */ }\n/* */ \n/* */ \n/* */ }\n/* 302 */ else if ((str.length() == 1) && ((i == 45) || (i == 46) || (i == 43)))\n/* */ {\n/* 304 */ localJessToken.m_ttype = 1;\n/* 305 */ localJessToken.m_sval = str;\n/* */ \n/* */ \n/* */ }\n/* 309 */ else if (isAnInteger(str))\n/* */ {\n/* */ \n/* */ try\n/* */ {\n/* 314 */ int j = Integer.parseInt(str, 10);\n/* 315 */ localJessToken.m_ttype = 4;\n/* 316 */ localJessToken.m_nval = j;\n/* */ \n/* */ }\n/* */ catch (NumberFormatException localNumberFormatException1) {}\n/* */ \n/* */ }\n/* */ else\n/* */ {\n/* */ try\n/* */ {\n/* 326 */ double d = Double.valueOf(str).doubleValue();\n/* 327 */ localJessToken.m_ttype = 32;\n/* 328 */ localJessToken.m_nval = d;\n/* */ \n/* */ }\n/* */ catch (NumberFormatException localNumberFormatException2)\n/* */ {\n/* */ \n/* 334 */ localJessToken.m_ttype = 1;\n/* 335 */ localJessToken.m_sval = str;\n/* */ }\n/* */ }\n/* */ break;\n/* 339 */ default: throw new JessException(\"Tokenizer.finishToken\", \"Impossible tag:\", (char)paramInt); }\n/* */ \n/* 341 */ return localJessToken;\n/* */ }","title":""},{"docid":"43b14def744f4a2e66a268ed1beeaaf2","score":"0.51020676","text":"public final void mT__30() throws RecognitionException {\n try {\n int _type = T__30;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // /Users/Samy/Git_Telecom/Compilation2k18/Expr.g:9:7: ( ':' )\n // /Users/Samy/Git_Telecom/Compilation2k18/Expr.g:9:9: ':'\n {\n match(':'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }","title":""},{"docid":"592e99d59a1e68a2e2ff6a444eb4d429","score":"0.51018703","text":"public Token next() throws ParseException {\n/* 204 */ return next(false, false);\n/* */ }","title":""},{"docid":"e10781aa3a002415382e4847e4b575db","score":"0.5086245","text":"public final void mT__31() throws RecognitionException {\r\n try {\r\n int _type = T__31;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // src/Little.g:12:7: ( ';' )\r\n // src/Little.g:12:9: ';'\r\n {\r\n match(';'); \r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }","title":""},{"docid":"d54d7b5634dab7c5e1c96ac4ba377451","score":"0.5085547","text":"public abstract Token parse(MatchResult result) throws ParseException;","title":""},{"docid":"929cecd8aa403a61aee0621743237f7d","score":"0.5081841","text":"public final void mT__31() throws RecognitionException {\n try {\n int _type = T__31;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.featuremodel/src-gen/org/xtext/featuremodel/parser/antlr/internal/InternalFeatureModel.g:31:7: ( '' )\n // ../org.xtext.featuremodel/src-gen/org/xtext/featuremodel/parser/antlr/internal/InternalFeatureModel.g:31:9: ''\n {\n match(\"\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }","title":""},{"docid":"215d1a04e7656b40976de95b77930cb0","score":"0.50729555","text":"public interface Literal extends SelectStatementWater, SpecialNamesParagraphWater, CICSStatementWater, PrimaryOperand, InvokeStatementWater, StopLabel {\n}","title":""},{"docid":"353983ef9cdf251531b6007f57055188","score":"0.50718975","text":"@Override\n\tpublic String toAntlr() {\n\t\tString antlr = \"\";\n\t\tfor(ExpressionTerm argument : expressionTerms) {\n\t\t\tantlr += argument.toAntlr();\n\t\t}\n\t\tif(instruction)antlr += \"\\n;\";\n\t\t// TODO Write from arguments\n\t\treturn antlr;\n\t}","title":""},{"docid":"8458d160aec590695d950c4ff05d6935","score":"0.5070875","text":"public interface MimirJSqlParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int K_AS = 5;\n /** RegularExpression Id. */\n int K_DIRECT = 6;\n /** RegularExpression Id. */\n int K_UNCERTAIN = 7;\n /** RegularExpression Id. */\n int K_ANALYZE = 8;\n /** RegularExpression Id. */\n int K_EXPLAIN = 9;\n /** RegularExpression Id. */\n int K_ASSUME = 10;\n /** RegularExpression Id. */\n int K_VIEW = 11;\n /** RegularExpression Id. */\n int K_LENS = 12;\n /** RegularExpression Id. */\n int K_ADAPTIVE = 13;\n /** RegularExpression Id. */\n int K_SCHEMA = 14;\n /** RegularExpression Id. */\n int K_LET = 15;\n /** RegularExpression Id. */\n int K_LOAD = 16;\n /** RegularExpression Id. */\n int K_PLOT = 17;\n /** RegularExpression Id. */\n int K_ALTER = 18;\n /** RegularExpression Id. */\n int K_SAVE = 19;\n /** RegularExpression Id. */\n int K_RENAME = 20;\n /** RegularExpression Id. */\n int K_PRAGMA = 21;\n /** RegularExpression Id. */\n int K_MATERIALIZE = 22;\n /** RegularExpression Id. */\n int K_BY = 23;\n /** RegularExpression Id. */\n int K_DO = 24;\n /** RegularExpression Id. */\n int K_IF = 25;\n /** RegularExpression Id. */\n int K_IS = 26;\n /** RegularExpression Id. */\n int K_IN = 27;\n /** RegularExpression Id. */\n int K_OR = 28;\n /** RegularExpression Id. */\n int K_OF = 29;\n /** RegularExpression Id. */\n int K_ON = 30;\n /** RegularExpression Id. */\n int K_ALL = 31;\n /** RegularExpression Id. */\n int K_AND = 32;\n /** RegularExpression Id. */\n int K_ANY = 33;\n /** RegularExpression Id. */\n int K_KEY = 34;\n /** RegularExpression Id. */\n int K_NOT = 35;\n /** RegularExpression Id. */\n int K_SET = 36;\n /** RegularExpression Id. */\n int K_ASC = 37;\n /** RegularExpression Id. */\n int K_TOP = 38;\n /** RegularExpression Id. */\n int K_END = 39;\n /** RegularExpression Id. */\n int K_DESC = 40;\n /** RegularExpression Id. */\n int K_INTO = 41;\n /** RegularExpression Id. */\n int K_NULL = 42;\n /** RegularExpression Id. */\n int K_LIKE = 43;\n /** RegularExpression Id. */\n int K_DROP = 44;\n /** RegularExpression Id. */\n int K_JOIN = 45;\n /** RegularExpression Id. */\n int K_LEFT = 46;\n /** RegularExpression Id. */\n int K_FROM = 47;\n /** RegularExpression Id. */\n int K_OPEN = 48;\n /** RegularExpression Id. */\n int K_CASE = 49;\n /** RegularExpression Id. */\n int K_WHEN = 50;\n /** RegularExpression Id. */\n int K_THEN = 51;\n /** RegularExpression Id. */\n int K_ELSE = 52;\n /** RegularExpression Id. */\n int K_SOME = 53;\n /** RegularExpression Id. */\n int K_FULL = 54;\n /** RegularExpression Id. */\n int K_WITH = 55;\n /** RegularExpression Id. */\n int K_TABLE = 56;\n /** RegularExpression Id. */\n int K_WHERE = 57;\n /** RegularExpression Id. */\n int K_USING = 58;\n /** RegularExpression Id. */\n int K_UNION = 59;\n /** RegularExpression Id. */\n int K_GROUP = 60;\n /** RegularExpression Id. */\n int K_BEGIN = 61;\n /** RegularExpression Id. */\n int K_INDEX = 62;\n /** RegularExpression Id. */\n int K_INNER = 63;\n /** RegularExpression Id. */\n int K_LIMIT = 64;\n /** RegularExpression Id. */\n int K_OUTER = 65;\n /** RegularExpression Id. */\n int K_ORDER = 66;\n /** RegularExpression Id. */\n int K_RIGHT = 67;\n /** RegularExpression Id. */\n int K_DELETE = 68;\n /** RegularExpression Id. */\n int K_CREATE = 69;\n /** RegularExpression Id. */\n int K_SELECT = 70;\n /** RegularExpression Id. */\n int K_CAST = 71;\n /** RegularExpression Id. */\n int K_PROVENANCE = 72;\n /** RegularExpression Id. */\n int K_OFFSET = 73;\n /** RegularExpression Id. */\n int K_EXISTS = 74;\n /** RegularExpression Id. */\n int K_HAVING = 75;\n /** RegularExpression Id. */\n int K_INSERT = 76;\n /** RegularExpression Id. */\n int K_UPDATE = 77;\n /** RegularExpression Id. */\n int K_VALUES = 78;\n /** RegularExpression Id. */\n int K_ESCAPE = 79;\n /** RegularExpression Id. */\n int K_PRIMARY = 80;\n /** RegularExpression Id. */\n int K_NATURAL = 81;\n /** RegularExpression Id. */\n int K_REPLACE = 82;\n /** RegularExpression Id. */\n int K_BETWEEN = 83;\n /** RegularExpression Id. */\n int K_TRUNCATE = 84;\n /** RegularExpression Id. */\n int K_DISTINCT = 85;\n /** RegularExpression Id. */\n int K_INTERSECT = 86;\n /** RegularExpression Id. */\n int K_FEEDBACK = 87;\n /** RegularExpression Id. */\n int K_EXTRACT = 88;\n /** RegularExpression Id. */\n int K_ASSIGNMENTS = 89;\n /** RegularExpression Id. */\n int S_DOUBLE = 90;\n /** RegularExpression Id. */\n int S_INTEGER = 91;\n /** RegularExpression Id. */\n int DIGIT = 92;\n /** RegularExpression Id. */\n int LINE_COMMENT = 93;\n /** RegularExpression Id. */\n int MULTI_LINE_COMMENT = 94;\n /** RegularExpression Id. */\n int S_IDENTIFIER = 95;\n /** RegularExpression Id. */\n int LETTER = 96;\n /** RegularExpression Id. */\n int SPECIAL_CHARS = 97;\n /** RegularExpression Id. */\n int S_CHAR_LITERAL = 98;\n /** RegularExpression Id. */\n int S_QUOTED_IDENTIFIER = 99;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"AS\\\"\",\n \"\\\"DIRECT\\\"\",\n \"\\\"UNCERTAIN\\\"\",\n \"\\\"ANALYZE\\\"\",\n \"\\\"EXPLAIN\\\"\",\n \"\\\"ASSUME\\\"\",\n \"\\\"VIEW\\\"\",\n \"\\\"LENS\\\"\",\n \"\\\"ADAPTIVE\\\"\",\n \"\\\"SCHEMA\\\"\",\n \"\\\"LET\\\"\",\n \"\\\"LOAD\\\"\",\n \"\\\"PLOT\\\"\",\n \"\\\"ALTER\\\"\",\n \"\\\"SAVE\\\"\",\n \"\\\"RENAME\\\"\",\n \"\\\"PRAGMA\\\"\",\n \"\\\"MATERIALIZE\\\"\",\n \"\\\"BY\\\"\",\n \"\\\"DO\\\"\",\n \"\\\"IF\\\"\",\n \"\\\"IS\\\"\",\n \"\\\"IN\\\"\",\n \"\\\"OR\\\"\",\n \"\\\"OF\\\"\",\n \"\\\"ON\\\"\",\n \"\\\"ALL\\\"\",\n \"\\\"AND\\\"\",\n \"\\\"ANY\\\"\",\n \"\\\"KEY\\\"\",\n \"\\\"NOT\\\"\",\n \"\\\"SET\\\"\",\n \"\\\"ASC\\\"\",\n \"\\\"TOP\\\"\",\n \"\\\"END\\\"\",\n \"\\\"DESC\\\"\",\n \"\\\"INTO\\\"\",\n \"\\\"NULL\\\"\",\n \"\\\"LIKE\\\"\",\n \"\\\"DROP\\\"\",\n \"\\\"JOIN\\\"\",\n \"\\\"LEFT\\\"\",\n \"\\\"FROM\\\"\",\n \"\\\"OPEN\\\"\",\n \"\\\"CASE\\\"\",\n \"\\\"WHEN\\\"\",\n \"\\\"THEN\\\"\",\n \"\\\"ELSE\\\"\",\n \"\\\"SOME\\\"\",\n \"\\\"FULL\\\"\",\n \"\\\"WITH\\\"\",\n \"\\\"TABLE\\\"\",\n \"\\\"WHERE\\\"\",\n \"\\\"USING\\\"\",\n \"\\\"UNION\\\"\",\n \"\\\"GROUP\\\"\",\n \"\\\"BEGIN\\\"\",\n \"\\\"INDEX\\\"\",\n \"\\\"INNER\\\"\",\n \"\\\"LIMIT\\\"\",\n \"\\\"OUTER\\\"\",\n \"\\\"ORDER\\\"\",\n \"\\\"RIGHT\\\"\",\n \"\\\"DELETE\\\"\",\n \"\\\"CREATE\\\"\",\n \"\\\"SELECT\\\"\",\n \"\\\"CAST\\\"\",\n \"\\\"PROVENANCE\\\"\",\n \"\\\"OFFSET\\\"\",\n \"\\\"EXISTS\\\"\",\n \"\\\"HAVING\\\"\",\n \"\\\"INSERT\\\"\",\n \"\\\"UPDATE\\\"\",\n \"\\\"VALUES\\\"\",\n \"\\\"ESCAPE\\\"\",\n \"\\\"PRIMARY\\\"\",\n \"\\\"NATURAL\\\"\",\n \"\\\"REPLACE\\\"\",\n \"\\\"BETWEEN\\\"\",\n \"\\\"TRUNCATE\\\"\",\n \"\\\"DISTINCT\\\"\",\n \"\\\"INTERSECT\\\"\",\n \"\\\"FEEDBACK\\\"\",\n \"\\\"EXTRACT\\\"\",\n \"\\\"ASSIGNMENTS\\\"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\\\";\\\"\",\n \"\\\":\\\"\",\n \"\\\"(\\\"\",\n \"\\\",\\\"\",\n \"\\\")\\\"\",\n \"\\\"=\\\"\",\n \"\\\".\\\"\",\n \"\\\"*\\\"\",\n \"\\\"?\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\">=\\\"\",\n \"\\\"<=\\\"\",\n \"\\\"<>\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"@@\\\"\",\n \"\\\"||\\\"\",\n \"\\\"|\\\"\",\n \"\\\"&\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"/\\\"\",\n \"\\\"^\\\"\",\n \"\\\"{d\\\"\",\n \"\\\"}\\\"\",\n \"\\\"{t\\\"\",\n \"\\\"{ts\\\"\",\n \"\\\"{fn\\\"\",\n };\n\n}","title":""},{"docid":"05f8a16c220e68057e0f6b725baac9e3","score":"0.5065117","text":"private int yyr51() {\n return 107;\n }","title":""},{"docid":"4450d89f303b78381b23a2fd18046d14","score":"0.5056176","text":"public Token next() {\n\t\t\n\t\tint state = 0;\n\t\tStringBuilder lexeme = new StringBuilder();\n\t\tint startLine = source.line;\n\t\tint startColumn = source.column;\n\t\t\n\t\twhile (true) {\n\t\t\tswitch (state) {\n\t\t\tcase 0:\n\t\t\t\tif (source.atEOF) {\n\t\t\t\t\treturn new Token(source.line, source.column, TokenType.EOF, null);\n\t\t\t\t// State 1 deals with the NUM 0\n\t\t\t\t} else if (source.current == '0') {\n\t\t\t\t\tstartLine = source.line;\n\t\t\t\t\tstartColumn = source.column;\n\t\t\t\t\tlexeme.append(source.current);\n\t\t\t\t\tsource.advance();\n\t\t\t\t\tstate = 1;\n\t\t\t\t// State 2 deals with all the other NUMs\n\t\t\t\t} else if (Character.isDigit(source.current)) {\n\t\t\t\t\tstartLine = source.line;\n\t\t\t\t\tstartColumn = source.column;\n\t\t\t\t\tlexeme.append(source.current);\n\t\t\t\t\tsource.advance();\n\t\t\t\t\tstate = 2;\n\t\t\t\t// State 3 deals with keywords and identifiers\n\t\t\t\t} else if (Character.isAlphabetic(source.current)) {\n\t\t\t\t\tstartLine = source.line;\n\t\t\t\t\tstartColumn = source.column;\n\t\t\t\t\tlexeme.append(source.current);\n\t\t\t\t\tsource.advance();\n\t\t\t\t\tstate = 3;\n\t\t\t // States 4-7 deal with comments\n\t\t\t\t} else if (source.current == '/') {\n\t\t\t\t\tstate = 4;\n\t\t\t\t\tsource.advance();\n\t\t\t\t// State 8 deals with operators and punctuation\n\t\t\t\t} else if (\"+-*;.:(),\".contains(String.valueOf(source.current))) {\n\t\t\t\t\tstate = 8;\n\t\t\t\t\tlexeme.append(source.current);\n\t\t\t\t\tsource.advance();\n\t\t\t\t// State 9 deals with <= and <> as well as <\n\t\t\t\t} else if (source.current == '<') {\n\t\t\t\t\tstartLine = source.line;\n\t\t\t\t\tstartColumn = source.column;\n\t\t\t\t\tstate = 9;\n\t\t\t\t\tsource.advance();\n\t\t\t\t// State 10 deals with >= and >\n\t\t\t\t} else if (source.current == '>') {\n\t\t\t\t\tstartLine = source.line;\n\t\t\t\t\tstartColumn = source.column;\n\t\t\t\t\tstate = 10;\n\t\t\t\t\tsource.advance();\n\t\t\t\t// States 11-12 deal with string literal\n\t\t\t\t} else if (source.current == '\"') {\n\t\t\t\t\tstartLine = source.line;\n\t\t\t\t\tstartColumn = source.column;\n\t\t\t\t\tstate = 11;\n\t\t\t\t\tsource.advance();\n\t\t\t\t// States 13-14 deal with equal operator ==\n\t\t\t\t} else if (source.current == '=') {\n\t\t\t\t\tstartLine = source.line;\n\t\t\t\t\tstartColumn = source.column;\n\t\t\t\t\tstate = 13;\n\t\t\t\t\tsource.advance();\n\t\t\t\t} else if (Character.isWhitespace(source.current)) {\n\t\t\t\t\tsource.advance();\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"Unexpected character '\" + source.current + \"' at line \" + source.line + \" column \" + source.column + \" was skipped.\");\n\t\t\t\t\tsource.advance();\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t\t\n\t\t\tcase 1:\n\t\t\t\treturn new Token(startLine, startColumn, TokenType.NUM, lexeme.toString());\n\t\t\t\t\n\t\t\tcase 2:\n\t\t\t\tif (source.atEOF || !Character.isDigit(source.current)) {\n\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.NUM, lexeme.toString());\n\t\t\t\t} else {\n\t\t\t\t\tlexeme.append(source.current);\n\t\t\t\t\tsource.advance();\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 3:\n\t\t\t\t// a list of legal characters to signal the end of lexeme\n\t\t\t\tString end_chars = \"+-*;.=/ \\t\\n:(),<>\\\"\";\n\t\t\t\t\n\t\t\t\t// Alphabets, digits, and underscores are parts of legal identifier\n\t\t\t\tif (Character.isAlphabetic(source.current) || Character.isDigit(source.current) || source.current == '_') {\n\t\t\t\t\tlexeme.append(source.current);\n\t\t\t\t\tsource.advance();\n\t\t\t\t// This case is the end of token\n\t\t\t\t} else if (end_chars.contains(String.valueOf(source.current))) {\n\t\t\t\t\tString lex = lexeme.toString();\n\t\t\t\t\t\n\t\t\t\t\tif (keywords.containsKey(lex))\n\t\t\t\t\t\treturn new Token(startLine, startColumn, keywords.get(lex), null);\n\t\t\t\t\telse\n\t\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.ID, lex);\n\t\t\t\t// If there is a illegal character, print an error message\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"Unexpected character '\" + source.current + \"' at line \" + source.line + \" column \" + source.column + \" was skipped.\");\n\t\t\t\t\tsource.advance();\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 4:\n\t\t\t\tif (source.current == '/') {\n\t\t\t\t\tstate = 5;\n\t\t\t\t\tsource.advance();\n\t\t\t\t}\n\t\t\t\telse if (source.current == '*') {\n\t\t\t\t\tstate = 6;\n\t\t\t\t\tsource.advance();\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.println(\"You have to use // for a one-line comment.\");\n\t\t\t\t\tstate = 0;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 5:\n\t\t\t\tif (source.current == '\\n')\n\t\t\t\t\tstate = 0;\n\t\t\t\tsource.advance();\n\t\t\t\tbreak;\n\t\t\tcase 6:\n\t\t\t\tif (source.current == '*')\n\t\t\t\t\tstate = 7;\n\t\t\t\telse if (source.atEOF) {\n\t\t\t\t\tSystem.out.println(\"Comment has to be closed with '*/' before EOF\");\n\t\t\t\t\tstate = 0;\n\t\t\t\t}\n\t\t\t\tsource.advance();\n\t\t\t\tbreak;\n\t\t\tcase 7:\n\t\t\t\tif (source.current == '/')\n\t\t\t\t\tstate = 0;\n\t\t\t\telse if (source.current == '*')\n\t\t\t\t\tstate = 7;\n\t\t\t\telse if (source.atEOF) {\n\t\t\t\t\tSystem.out.println(\"Comment has to be closed with '*/' before EOF\");\n\t\t\t\t\tstate = 0;\n\t\t\t\t} else\n\t\t\t\t\tstate = 6;\n\t\t\t\tsource.advance();\n\t\t\t\tbreak;\n\t\t\tcase 8:\n\t\t\t\tString lex = lexeme.toString();\n\t\t\t\treturn new Token(startLine, startColumn, opsAndPunct.get(lex), null);\n\t\t\tcase 9:\n\t\t\t\tif (source.current == '=') {\n\t\t\t\t\tsource.advance();\n\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.LE, null);\n\t\t\t\t}\n\t\t\t\telse if (source.current == '>') {\n\t\t\t\t\tsource.advance();\n\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.NE, null);\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.LT, null);\n\t\t\tcase 10:\n\t\t\t\tif (source.current == '=') {\n\t\t\t\t\tsource.advance();\n\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.GE, null);\n\t\t\t\t} else \n\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.GT, null);\n\t\t\tcase 11:\n\t\t\t\tif (source.current == '\"')\n\t\t\t\t\tstate = 12;\n\t\t\t\telse if (source.current == '\\n')\n\t\t\t\t\tSystem.out.println(\"String literal has to end with \\\"\");\n\t\t\t\t\t// System.exit(1); // Lexical error does not exit the program?\n\t\t\t\telse\n\t\t\t\t\tlexeme.append(source.current);\n\t\t\t\tsource.advance();\n\t\t\t\tbreak;\n\t\t\tcase 12:\n\t\t\t\tif (source.current == '\"') {\n\t\t\t\t\tstate = 11;\n\t\t\t\t\t// Two quotation marks (\"\") is considered a \" in the string literal\n\t\t\t\t\tlexeme.append('\"');\n\t\t\t\t\tsource.advance();\n\t\t\t\t} else \n\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.STRING, lexeme.toString());\n\t\t\t\tbreak;\n\t\t\tcase 13:\n\t\t\t\tif (source.current == '=') {\n\t\t\t\t\tstate = 14;\n\t\t\t\t\tsource.advance();\n\t\t\t\t} else\n\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.ASSIGN, null);\n\t\t\t\tbreak;\n\t\t\tcase 14:\n\t\t\t\treturn new Token(startLine, startColumn, TokenType.EQ, null);\n\t\t\tdefault:\n\t\t\t\t// This part will NOT be executed. The error will be thrown just in case.\n\t\t\t\tthrow new RuntimeException(\"Unreachable. Something is wrong with the lexer.\");\n\t\t\t}\n\t\t}\n\t}","title":""},{"docid":"64016b855a7d5889305fe2ec9ea33896","score":"0.50475615","text":"@Override\r\n\t public boolean matchStatement(LinkedList tokens) {\r\n\t\tboolean match = true;\r\n\t\tToken token = null;\r\n\t\tIterator it = tokens.iterator();\r\n\t\twhile (it.hasNext()) {\r\n\t\t token = it.next();\r\n\t\t switch (token.getString()) {\r\n\t\t case \"(\":\r\n\t\t case \")\":\r\n\t\t\tmatch = false;\r\n\t\t\tbreak;\r\n\t\t }\r\n\t\t}\r\n\t\treturn match;\r\n\t }","title":""},{"docid":"32cf09528cc0b15edf9de2bfe0c01cfc","score":"0.50305325","text":"T visitAndexpression(lengBasicParser.AndexpressionContext ctx);","title":""},{"docid":"fcd05a13dd6c27126180cfe47fb9e40b","score":"0.50302964","text":"public interface ITokens {\n /* terminals */\n public static final int SHORT = 66;\n public static final int BOOL = 64;\n public static final int PRN_LEFT = 60;\n public static final int BIT_LM = 39;\n public static final int NUM_DIV_ASSIGN = 48;\n public static final int BIT_RM = 40;\n public static final int SEMI = 15;\n public static final int NEXT = 8;\n public static final int COMMA = 14;\n public static final int BIT_LM_ASSIGN = 53;\n public static final int BIT_AND = 35;\n public static final int BRC_RIGHT = 57;\n public static final int INTEGER = 67;\n public static final int BIT_XOR = 38;\n public static final int DOUBLE = 70;\n public static final int LGC_CNE = 26;\n public static final int LOOP = 7;\n public static final int TEXT = 73;\n public static final int LGC_CGT = 22;\n public static final int VAR = 4;\n public static final int LGC_AND = 18;\n public static final int BIT_AND_ASSIGN = 50;\n public static final int NUM_MOD_ASSIGN = 49;\n public static final int FLOAT = 69;\n public static final int QUESTION_COLON = 17;\n public static final int NUM_SUB_ASSIGN = 46;\n public static final int LGC_CGE = 24;\n public static final int INCLUDE = 2;\n public static final int BIT_XOR_ASSIGN = 52;\n public static final int CHARS = 71;\n public static final int LONG = 68;\n public static final int QUESTION = 16;\n public static final int LGC_CLT = 21;\n public static final int ASSIGN = 42;\n public static final int NUM_POW = 10;\n public static final int BIT_NOT = 37;\n public static final int NUM_SUB = 28;\n public static final int BIT_OR = 36;\n public static final int BIT_ZRM_ASSIGN = 55;\n public static final int LGC_CLE = 23;\n public static final int ELSE = 6;\n public static final int BREAK = 9;\n public static final int DOT = 12;\n public static final int ECHO = 3;\n public static final int NUM_ADD1 = 32;\n public static final int NULL = 63;\n public static final int LGC_AND_ASSIGN = 43;\n public static final int EOF = 0;\n public static final int LGC_NOT = 20;\n public static final int NUM_MUL = 29;\n public static final int LABEL = 72;\n public static final int LGC_CEE = 25;\n public static final int BIT_ZRM = 41;\n public static final int NUM_MOD = 31;\n public static final int BRK_RIGHT = 59;\n public static final int HOLD_TAIL = 62;\n public static final int NUM_ADD_ASSIGN = 45;\n public static final int BRC_LEFT = 56;\n public static final int error = 1;\n public static final int IF = 5;\n public static final int PRN_RIGHT = 61;\n public static final int NUM_MUL_ASSIGN = 47;\n public static final int COLON = 13;\n public static final int MERGE = 11;\n public static final int NUM_ADD = 27;\n public static final int NUM_DIV = 30;\n public static final int NUM_SUB1 = 33;\n public static final int NUM_NGT = 34;\n public static final int LGC_OR_ASSIGN = 44;\n public static final int BYTE = 65;\n public static final int LGC_OR = 19;\n public static final int BIT_OR_ASSIGN = 51;\n public static final int BIT_RM_ASSIGN = 54;\n public static final int BRK_LEFT = 58;\n}","title":""},{"docid":"cbd4285e29fae6be2b02e5734cb33c3a","score":"0.5030275","text":"public String visit(VarDeclaration n, String argu) throws RuntimeException{\n String _ret=null;\n\n\t String filename=previousprogram.get(1)+\".ll\";\n\t BufferedWriter bw=null;\n\t try{\n\t\t File f=new File(filename);\n\t\t /*if(!file.exists()){\n\t\t\tfile.createNewFile();\n\t\t }*/\n\t\t FileWriter fw=new FileWriter(f,true);\n\t\t\t\t\n\t\t bw=new BufferedWriter(fw);\n\t }\n\t catch (IOException e) {\n e.printStackTrace();\n }\n\n\n\n String type=n.f0.accept(this, argu);\n String name=n.f1.accept(this, argu);\n\t //System.out.println(\"TYPE and NAME=\"+type+name);\n\n n.f2.accept(this, argu);\n\t program.add(\";\");\n\n\t try{\n\n\t\t\n\t\tbw.flush();\n\t\tbw.close();\n\t }\n\t catch (IOException e) {\n e.printStackTrace();\n }\n return _ret;\n }","title":""},{"docid":"99b8484edd08cad66b4f8447e0792042","score":"0.5022795","text":"public interface IntASTStatement extends IntASTNode {\n \n}","title":""},{"docid":"649a5ee4b28110c3dd9faf9866a21a19","score":"0.50166416","text":"private void compileStatement(){\n tokenizer.advance();\n\n //siguiente '}'\n if (tokenizer.tokenType() == JackTokenizer.SYMBOL && tokenizer.symbol() == '}'){\n tokenizer.pointerBack();\n return;\n }\n\n //siguiente caso 'let'|'if'|'while'|'do'|'return'\n if (tokenizer.tokenType() != JackTokenizer.KEYWORD){\n error(\"keyword\");\n }else {\n switch (tokenizer.keyWord()){\n case JackTokenizer.LET:compileLet();break;\n case JackTokenizer.IF:compileIf();break;\n case JackTokenizer.WHILE:compilesWhile();break;\n case JackTokenizer.DO:compileDo();break;\n case JackTokenizer.RETURN:compileReturn();break;\n default:error(\"'let'|'if'|'while'|'do'|'return'\");\n }\n }\n\n compileStatement();\n }","title":""},{"docid":"8a8e7c7c89ca2b8c8a44e09299fb43ac","score":"0.50135607","text":"public final void mT__31() throws RecognitionException {\n try {\n int _type = T__31;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // /Users/Samy/Git_Telecom/Compilation2k18/Expr.g:10:7: ( ',' )\n // /Users/Samy/Git_Telecom/Compilation2k18/Expr.g:10:9: ','\n {\n match(','); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }","title":""},{"docid":"00d4eafc1efd116a161847cfc30cce5f","score":"0.500551","text":"private Token match(Token.Kind kind) {\n\t\tcheckNotEof();\n\t\tToken token = tokens.get(index++);\n\t\tif (token.kind != kind) {\n\t\t\tsyntaxError(\"expecting \\\"\" + kind + \"\\\" here\", token);\n\t\t}\n\t\treturn token;\n\t}","title":""},{"docid":"bf5aae8a4dc11a7a0bdbc6e3053a7eed","score":"0.4989482","text":"public String visit(TypeDeclaration n, String argu) throws Exception {\n System.out.println(\"TypeDeclaration :\");\n return n.f0.accept(this, null);\n }","title":""},{"docid":"701d28da13ab2f40b90e8f8c92b1b808","score":"0.4988934","text":"protected Node exitTokenDeclaration(Production node)\n throws ParseException {\n\n return node;\n }","title":""},{"docid":"973eb7f660097fe032b3a2bcff74880b","score":"0.49843964","text":"public String visit(AssignmentStatement n, String argu) {\n String _ret=null;\n\t String filename=previousprogram.get(1)+\".ll\";\n\t BufferedWriter bw=null;\n\t try{\n\t\t File f=new File(filename);\n\t\t /*if(!file.exists()){\n\t\t\tfile.createNewFile();\n\t\t }*/\n\t\t FileWriter fw=new FileWriter(f,true);\n\t\t\t\t\n\t\t bw=new BufferedWriter(fw);\n\t }\n\t catch (IOException e) {\n e.printStackTrace();\n }\n\n\n\n\t String type1,type2;\n\t type1=n.f0.accept(this,argu);\n\t String name1=program.get(program.size()-1);\n\t try{\n\t\t/*bw.write(\"%_\"+numregister+\" = load \");\n\t\tnumregister++;\n\t\tif(type1==\"int\"){\n\t\t\tbw.write(\"i32, i32* %\"+program.get(program.size()-1)+\"\\n\");\n\t\t}*/\n\t\tbw.flush();\n\t }\n\t catch (IOException e) {\n e.printStackTrace();\n }\n\n n.f1.accept(this, argu);\n\t program.add(\"=\");\n type2=n.f2.accept(this, argu);//o typos toy antikeimenoy einai type1\n\t \n\t try{\n\t\tbw.write(\"store \");\n\t\tif(isNumeric(program.get(program.size()-1))&&program.get(program.size()-2)==\"=\"){\n\t\t\tif(program.get(program.size()-1)==\"]\"){\n\t\t\t\t\tbw.write(\"i32 %_\"+(numregister-1)+\", i32* %\"+(numregister-1)+\"\\n\");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tbw.write(\"i32 \"+program.get(program.size()-1)+\", i32* %\"+program.get(program.size()-3)+\"\\n\");\n\t\t\t}\n\t\t}\n\t\telse{\n\t\t\tif(type1==\"int\"||type1==\"int[]\"){\n\t\t\t\tif(program.get(program.size()-1)==\"]\"){\n\t\t\t\t\tbw.write(\"i32 %_\"+(numregister-1)+\", i32* %\"+(numregister-4)+\"\\n\");\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tbw.write(\"i32 %_\"+(numregister-1)+\", i32* %\"+name1+\"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tbw.flush();\n\t }\n\t catch (IOException e) {\n e.printStackTrace();\n }\n\n\t \n n.f3.accept(this, argu);\n\t program.add(\";\");\n\t\n return _ret;\n }","title":""},{"docid":"448fde94221a81c69491098c2a9b9027","score":"0.49797532","text":"public interface IDLParserConstants {\r\n\r\n /** End of File. */\r\n int EOF = 0;\r\n /** RegularExpression Id. */\r\n int ID = 24;\r\n /** RegularExpression Id. */\r\n int OCTALINT = 25;\r\n /** RegularExpression Id. */\r\n int DECIMALINT = 26;\r\n /** RegularExpression Id. */\r\n int HEXADECIMALINT = 27;\r\n /** RegularExpression Id. */\r\n int FLOATONE = 28;\r\n /** RegularExpression Id. */\r\n int FLOATTWO = 29;\r\n /** RegularExpression Id. */\r\n int CHARACTER = 30;\r\n /** RegularExpression Id. */\r\n int STRING = 31;\r\n\r\n /** Lexical state. */\r\n int DEFAULT = 0;\r\n\r\n /** Literal token values. */\r\n String[] tokenImage = {\r\n \"\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\\\"\\\\n\\\"\",\r\n \"\\\"\\\\r\\\"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\\\";\\\"\",\r\n \"\\\"module\\\"\",\r\n \"\\\"{\\\"\",\r\n \"\\\"}\\\"\",\r\n \"\\\"struct\\\"\",\r\n \"\\\",\\\"\",\r\n \"\\\"[\\\"\",\r\n \"\\\"]\\\"\",\r\n \"\\\"float\\\"\",\r\n \"\\\"double\\\"\",\r\n \"\\\"long\\\"\",\r\n \"\\\"short\\\"\",\r\n \"\\\"unsigned\\\"\",\r\n \"\\\"char\\\"\",\r\n \"\\\"boolean\\\"\",\r\n \"\\\"octet\\\"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n };\r\n\r\n}","title":""},{"docid":"e44042db2551f72be7d50e3ade6aaf9e","score":"0.4974882","text":"public final void ruleEnumLiteralDeclaration() throws RecognitionException {\n Token otherlv_0=null;\n Token otherlv_1=null;\n\n try {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1883:27: ( ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )? ) )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1884:2: ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )? )\n {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1884:2: ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )? )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1885:3: ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )?\n {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1885:3: ( (otherlv_0= RULE_ID ) )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1886:4: (otherlv_0= RULE_ID )\n {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1886:4: (otherlv_0= RULE_ID )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1887:5: otherlv_0= RULE_ID\n {\n\n \t\t\t\t\tmarkLeaf(elementTypeProvider.getEnumLiteralDeclaration_EnumLiteralEEnumLiteralCrossReference_0_0ElementType());\n \t\t\t\t\n otherlv_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_RULE_ID_in_ruleEnumLiteralDeclaration5441); \n\n \t\t\t\t\tdoneLeaf(otherlv_0);\n \t\t\t\t\n\n }\n\n\n }\n\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1896:3: (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )?\n int alt50=2;\n int LA50_0 = input.LA(1);\n\n if ( (LA50_0==30) ) {\n alt50=1;\n }\n switch (alt50) {\n case 1 :\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1897:4: otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) )\n {\n\n \t\t\t\tmarkLeaf(elementTypeProvider.getEnumLiteralDeclaration_EqualsSignKeyword_1_0ElementType());\n \t\t\t\n otherlv_1=(Token)match(input,30,FollowSets000.FOLLOW_30_in_ruleEnumLiteralDeclaration5472); \n\n \t\t\t\tdoneLeaf(otherlv_1);\n \t\t\t\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1904:4: ( (lv_literal_2_0= ruleKeyword ) )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1905:5: (lv_literal_2_0= ruleKeyword )\n {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1905:5: (lv_literal_2_0= ruleKeyword )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1906:6: lv_literal_2_0= ruleKeyword\n {\n\n \t\t\t\t\t\tmarkComposite(elementTypeProvider.getEnumLiteralDeclaration_LiteralKeywordParserRuleCall_1_1_0ElementType());\n \t\t\t\t\t\n pushFollow(FollowSets000.FOLLOW_ruleKeyword_in_ruleEnumLiteralDeclaration5504);\n ruleKeyword();\n\n state._fsp--;\n\n\n \t\t\t\t\t\tdoneComposite();\n \t\t\t\t\t\n\n }\n\n\n }\n\n\n }\n break;\n\n }\n\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return ;\n }","title":""},{"docid":"38755a77c3bad74855e6bca9c3ba7d6c","score":"0.49635845","text":"public Token next() {\n\t\tif (_buffer.isEmpty())\n\t\t\treturn null;\n\n\t\t// TODO: Complete this method\n\t\t// START YOUR CODE\n\t\tchar firstChar = _buffer.charAt(0);\n\t\tif (firstChar == 'I'){\n\t\t\tif (_buffer.substring(0, 11).equals(\"INSERT INTO\")){\n\t\t\t\tStringBuilder stringBuilder = new StringBuilder();\n\t\t\t\tint pos = 12 ;\n\t\t\t\t//current char (digit) , pointer\n\t\t\t\tchar current = _buffer.charAt(pos);\n\t\t\t\twhile(current!='V'){\n\t\t\t\t\tstringBuilder.append(current);\n\t\t\t\t\tpos++;\n\t\t\t\t\t// if else to handle the out of range bug\n\t\t\t\t\t//make sure the current pointer is not out of bounds\n\t\t\t\t\tif(pos<_buffer.length()){\n\t\t\t\t\t\tcurrent = _buffer.charAt(pos);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.println(stringBuilder.toString());\n\t\t\t\tstringBuilder.setLength(stringBuilder.length()-1);\n\t\t\t\treturn new Token(Token.Type.INSERT_INTO,stringBuilder.toString(),\"INSERT INTO \"+stringBuilder.toString());\n\t\t\t}\n\t\t}\n\n\t\tif (firstChar == 'V'){\n\t\t\tif (_buffer.substring(0, 6 ).equals(\"VALUES\")){\n\n\t\t\t\treturn new Token(Token.Type.VALUES,_buffer.substring(7,_buffer.length()),_buffer);\n\t\t\t}\n\t\t}\n\n\n\n\n\t\t// You are allowed to remove the following 'return null' if necessary\n\t\treturn null;\n\t\t\n\t\t// END YOUR CODE\n\t}","title":""},{"docid":"23f89ec3146c7a11ac5c7d5ee9abd011","score":"0.49534968","text":"public interface CyclParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int OPEN_PAREN = 1;\n /** RegularExpression Id. */\n int CLOSE_PAREN = 2;\n /** RegularExpression Id. */\n int WS = 10;\n /** RegularExpression Id. */\n int CONSTANT_PREFIX = 11;\n /** RegularExpression Id. */\n int SIMPLE_VARIABLE_PREFIX = 12;\n /** RegularExpression Id. */\n int META_VARIABLE_PREFIX = 13;\n /** RegularExpression Id. */\n int GUID_PREFIX = 14;\n /** RegularExpression Id. */\n int TRUE_CONSTANT = 15;\n /** RegularExpression Id. */\n int FALSE_CONSTANT = 16;\n /** RegularExpression Id. */\n int AND_CONSTANT = 17;\n /** RegularExpression Id. */\n int OR_CONSTANT = 18;\n /** RegularExpression Id. */\n int XOR_CONSTANT = 19;\n /** RegularExpression Id. */\n int NOT_CONSTANT = 20;\n /** RegularExpression Id. */\n int EQUIV_CONSTANT = 21;\n /** RegularExpression Id. */\n int IMPLIES_CONSTANT = 22;\n /** RegularExpression Id. */\n int FORALL_CONSTANT = 23;\n /** RegularExpression Id. */\n int THEREEXISTS_CONSTANT = 24;\n /** RegularExpression Id. */\n int THEREEXISTEXACTLY_CONSTANT = 25;\n /** RegularExpression Id. */\n int THEREEXISTATMOST_CONSTANT = 26;\n /** RegularExpression Id. */\n int THEREEXISTATLEAST_CONSTANT = 27;\n /** RegularExpression Id. */\n int EXPANDSUBLFN_CONSTANT = 28;\n /** RegularExpression Id. */\n int SUBLQUOTEFN_CONSTANT = 29;\n /** RegularExpression Id. */\n int TRUE_GUID_CONSTANT = 30;\n /** RegularExpression Id. */\n int FALSE_GUID_CONSTANT = 31;\n /** RegularExpression Id. */\n int AND_GUID_CONSTANT = 32;\n /** RegularExpression Id. */\n int OR_GUID_CONSTANT = 33;\n /** RegularExpression Id. */\n int XOR_GUID_CONSTANT = 34;\n /** RegularExpression Id. */\n int NOT_GUID_CONSTANT = 35;\n /** RegularExpression Id. */\n int EQUIV_GUID_CONSTANT = 36;\n /** RegularExpression Id. */\n int IMPLIES_GUID_CONSTANT = 37;\n /** RegularExpression Id. */\n int FORALL_GUID_CONSTANT = 38;\n /** RegularExpression Id. */\n int THEREEXISTS_GUID_CONSTANT = 39;\n /** RegularExpression Id. */\n int THEREEXISTEXACTLY_GUID_CONSTANT = 40;\n /** RegularExpression Id. */\n int THEREEXISTATMOST_GUID_CONSTANT = 41;\n /** RegularExpression Id. */\n int THEREEXISTATLEAST_GUID_CONSTANT = 42;\n /** RegularExpression Id. */\n int EXPANDSUBLFN_GUID_CONSTANT = 43;\n /** RegularExpression Id. */\n int SUBLQUOTEFN_GUID_CONSTANT = 44;\n /** RegularExpression Id. */\n int TRUE_GUID = 45;\n /** RegularExpression Id. */\n int FALSE_GUID = 46;\n /** RegularExpression Id. */\n int AND_GUID = 47;\n /** RegularExpression Id. */\n int OR_GUID = 48;\n /** RegularExpression Id. */\n int XOR_GUID = 49;\n /** RegularExpression Id. */\n int NOT_GUID = 50;\n /** RegularExpression Id. */\n int EQUIV_GUID = 51;\n /** RegularExpression Id. */\n int IMPLIES_GUID = 52;\n /** RegularExpression Id. */\n int FORALL_GUID = 53;\n /** RegularExpression Id. */\n int THEREEXISTS_GUID = 54;\n /** RegularExpression Id. */\n int THEREEXISTEXACTLY_GUID = 55;\n /** RegularExpression Id. */\n int THEREEXISTATMOST_GUID = 56;\n /** RegularExpression Id. */\n int THEREEXISTATLEAST_GUID = 57;\n /** RegularExpression Id. */\n int EXPANDSUBLFN_GUID = 58;\n /** RegularExpression Id. */\n int SUBLQUOTEFN_GUID = 59;\n /** RegularExpression Id. */\n int INTEGER = 60;\n /** RegularExpression Id. */\n int FLOAT = 61;\n /** RegularExpression Id. */\n int DECIMAL_INT = 62;\n /** RegularExpression Id. */\n int FLOAT_ONE = 63;\n /** RegularExpression Id. */\n int FLOAT_TWO = 64;\n /** RegularExpression Id. */\n int CONSTANT_NAME1 = 65;\n /** RegularExpression Id. */\n int NON_NUMERIC_START_CHAR = 66;\n /** RegularExpression Id. */\n int NUMERIC_START_CHAR = 67;\n /** RegularExpression Id. */\n int VALID_CONSTANT_CHAR = 68;\n /** RegularExpression Id. */\n int CONSTANT_NAME2 = 69;\n /** RegularExpression Id. */\n int CONSTANT_GUID = 70;\n /** RegularExpression Id. */\n int GUID_CHAR = 71;\n /** RegularExpression Id. */\n int CONSTANT_GUID2 = 72;\n /** RegularExpression Id. */\n int SIMPLE_VARIABLE = 73;\n /** RegularExpression Id. */\n int NON_DASH_VARIABLE_CHAR = 74;\n /** RegularExpression Id. */\n int META_VARIABLE = 75;\n /** RegularExpression Id. */\n int NON_DASH_META_VARIABLE_CHAR = 76;\n /** RegularExpression Id. */\n int STRING = 77;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_LINE_COMMENT = 1;\n /** Lexical state. */\n int IN_COMMENT = 2;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"//\\\"\",\n \"\\\";\\\"\",\n \"\\\"/*\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\",\n \"\\\"*/\\\"\",\n \"\",\n \"\",\n \"\\\"#$\\\"\",\n \"\\\"?\\\"\",\n \"\\\":\\\"\",\n \"\\\"#G\\\"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"
\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\\\"\\\\n\\\"\",\r\n \"\\\"\\\\r\\\"\",\r\n \"\\\"\\\\f\\\"\",\r\n \"\\\"(\\\"\",\r\n \"\\\")\\\"\",\r\n \"\\\"[\\\"\",\r\n \"\\\"]\\\"\",\r\n \"\\\"{\\\"\",\r\n \"\\\"}\\\"\",\r\n \"\\\".\\\"\",\r\n \"\\\"-\\\"\",\r\n \"\\\"!\\\"\",\r\n \"\\\"*\\\"\",\r\n \"\\\"/\\\"\",\r\n \"\\\"+\\\"\",\r\n \"\\\"<\\\"\",\r\n \"\\\">\\\"\",\r\n \"\\\"=\\\"\",\r\n \"\\\"==\\\"\",\r\n \"\\\"!=\\\"\",\r\n \"\\\"&&\\\"\",\r\n \"\\\"||\\\"\",\r\n \"\\\",\\\"\",\r\n \"\\\";\\\"\",\r\n \"\\\"public\\\"\",\r\n \"\\\"static\\\"\",\r\n \"\\\"void\\\"\",\r\n \"\\\"main\\\"\",\r\n \"\\\"String\\\"\",\r\n \"\\\"class\\\"\",\r\n \"\\\"extends\\\"\",\r\n \"\\\"Thread\\\"\",\r\n \"\\\"synchronized\\\"\",\r\n \"\\\"return\\\"\",\r\n \"\\\"if\\\"\",\r\n \"\\\"else\\\"\",\r\n \"\\\"while\\\"\",\r\n \"\\\"Xinu\\\"\",\r\n \"\\\"true\\\"\",\r\n \"\\\"false\\\"\",\r\n \"\\\"this\\\"\",\r\n \"\\\"null\\\"\",\r\n \"\\\"new\\\"\",\r\n \"\\\"int\\\"\",\r\n \"\\\"boolean\\\"\",\r\n \"\\\"//\\\"\",\r\n \"\",\r\n \"\\\"/*\\\"\",\r\n \"\",\r\n \"\\\"*/\\\"\",\r\n \"\\\"*/\\\"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n };\r\n\r\n}","title":""},{"docid":"6feed7f5541b810d8fd7bb11de915fda","score":"0.5325525","text":"public interface CMMConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 6;\n /** RegularExpression Id. */\n int FORMAL_COMMENT = 7;\n /** RegularExpression Id. */\n int MULTI_LINE_COMMENT = 8;\n /** RegularExpression Id. */\n int IF = 9;\n /** RegularExpression Id. */\n int ELSE = 10;\n /** RegularExpression Id. */\n int WHILE = 11;\n /** RegularExpression Id. */\n int DO = 12;\n /** RegularExpression Id. */\n int INT = 13;\n /** RegularExpression Id. */\n int REAL = 14;\n /** RegularExpression Id. */\n int CHAR = 15;\n /** RegularExpression Id. */\n int VOID = 16;\n /** RegularExpression Id. */\n int FOR = 17;\n /** RegularExpression Id. */\n int PRINT = 18;\n /** RegularExpression Id. */\n int SCAN = 19;\n /** RegularExpression Id. */\n int BREAK = 20;\n /** RegularExpression Id. */\n int CONTINUE = 21;\n /** RegularExpression Id. */\n int RETURN = 22;\n /** RegularExpression Id. */\n int INTEGER_LITERAL = 23;\n /** RegularExpression Id. */\n int DECIMAL_LITERAL = 24;\n /** RegularExpression Id. */\n int HEX_LITERAL = 25;\n /** RegularExpression Id. */\n int REAL_LITERAL = 26;\n /** RegularExpression Id. */\n int EXPONENT = 27;\n /** RegularExpression Id. */\n int CHARACTER_LITERAL = 28;\n /** RegularExpression Id. */\n int STRING_LITERAL = 29;\n /** RegularExpression Id. */\n int IDENTIFIER = 30;\n /** RegularExpression Id. */\n int LETTER = 31;\n /** RegularExpression Id. */\n int DIGIT = 32;\n /** RegularExpression Id. */\n int LPAREN = 33;\n /** RegularExpression Id. */\n int RPAREN = 34;\n /** RegularExpression Id. */\n int LBRACE = 35;\n /** RegularExpression Id. */\n int RBRACE = 36;\n /** RegularExpression Id. */\n int LBRACKET = 37;\n /** RegularExpression Id. */\n int RBRACKET = 38;\n /** RegularExpression Id. */\n int SEMICOLON = 39;\n /** RegularExpression Id. */\n int COMMA = 40;\n /** RegularExpression Id. */\n int DOT = 41;\n /** RegularExpression Id. */\n int UNDERSCORE = 42;\n /** RegularExpression Id. */\n int ASSIGN = 43;\n /** RegularExpression Id. */\n int PLUS = 44;\n /** RegularExpression Id. */\n int MINUS = 45;\n /** RegularExpression Id. */\n int TIMES = 46;\n /** RegularExpression Id. */\n int DIVIDE = 47;\n /** RegularExpression Id. */\n int MOD = 48;\n /** RegularExpression Id. */\n int BIT_OR = 49;\n /** RegularExpression Id. */\n int BIT_AND = 50;\n /** RegularExpression Id. */\n int XOR = 51;\n /** RegularExpression Id. */\n int TILDE = 52;\n /** RegularExpression Id. */\n int EQ = 53;\n /** RegularExpression Id. */\n int NEQ = 54;\n /** RegularExpression Id. */\n int GT = 55;\n /** RegularExpression Id. */\n int LT = 56;\n /** RegularExpression Id. */\n int GE = 57;\n /** RegularExpression Id. */\n int LE = 58;\n /** RegularExpression Id. */\n int SC_OR = 59;\n /** RegularExpression Id. */\n int SC_AND = 60;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\",\n \"\",\n \"\",\n \"\\\"if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"while\\\"\",\n \"\\\"do\\\"\",\n \"\\\"int\\\"\",\n \"\\\"real\\\"\",\n \"\\\"char\\\"\",\n \"\\\"void\\\"\",\n \"\\\"for\\\"\",\n \"\\\"print\\\"\",\n \"\\\"scan\\\"\",\n \"\\\"break\\\"\",\n \"\\\"continue\\\"\",\n \"\\\"return\\\"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\"_\\\"\",\n \"\\\"=\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"|\\\"\",\n \"\\\"&\\\"\",\n \"\\\"^\\\"\",\n \"\\\"~\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<>\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\">=\\\"\",\n \"\\\"<=\\\"\",\n \"\\\"||\\\"\",\n \"\\\"&&\\\"\",\n };\n\n}","title":""},{"docid":"cc4b3eb64639584a1b334b9f89667d0d","score":"0.5299606","text":"public interface JaccParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int ABSTRACT = 6;\n /** RegularExpression Id. */\n int BOOLEAN = 7;\n /** RegularExpression Id. */\n int BREAK = 8;\n /** RegularExpression Id. */\n int BYTE = 9;\n /** RegularExpression Id. */\n int CASE = 10;\n /** RegularExpression Id. */\n int CATCH = 11;\n /** RegularExpression Id. */\n int CHAR = 12;\n /** RegularExpression Id. */\n int CLASS = 13;\n /** RegularExpression Id. */\n int CONST = 14;\n /** RegularExpression Id. */\n int CONTINUE = 15;\n /** RegularExpression Id. */\n int _DEFAULT = 16;\n /** RegularExpression Id. */\n int DO = 17;\n /** RegularExpression Id. */\n int DOUBLE = 18;\n /** RegularExpression Id. */\n int ELSE = 19;\n /** RegularExpression Id. */\n int EXTENDS = 20;\n /** RegularExpression Id. */\n int FALSE = 21;\n /** RegularExpression Id. */\n int FINAL = 22;\n /** RegularExpression Id. */\n int FINALLY = 23;\n /** RegularExpression Id. */\n int FLOAT = 24;\n /** RegularExpression Id. */\n int FOR = 25;\n /** RegularExpression Id. */\n int GOTO = 26;\n /** RegularExpression Id. */\n int IF = 27;\n /** RegularExpression Id. */\n int IMPLEMENTS = 28;\n /** RegularExpression Id. */\n int IMPORT = 29;\n /** RegularExpression Id. */\n int INSTANCEOF = 30;\n /** RegularExpression Id. */\n int INT = 31;\n /** RegularExpression Id. */\n int INTERFACE = 32;\n /** RegularExpression Id. */\n int LONG = 33;\n /** RegularExpression Id. */\n int NATIVE = 34;\n /** RegularExpression Id. */\n int NEW = 35;\n /** RegularExpression Id. */\n int NULL = 36;\n /** RegularExpression Id. */\n int PACKAGE = 37;\n /** RegularExpression Id. */\n int PRIVATE = 38;\n /** RegularExpression Id. */\n int PROTECTED = 39;\n /** RegularExpression Id. */\n int PUBLIC = 40;\n /** RegularExpression Id. */\n int RETURN = 41;\n /** RegularExpression Id. */\n int SHORT = 42;\n /** RegularExpression Id. */\n int STATIC = 43;\n /** RegularExpression Id. */\n int SUPER = 44;\n /** RegularExpression Id. */\n int SWITCH = 45;\n /** RegularExpression Id. */\n int SYNCHRONIZED = 46;\n /** RegularExpression Id. */\n int THIS = 47;\n /** RegularExpression Id. */\n int THROW = 48;\n /** RegularExpression Id. */\n int THROWS = 49;\n /** RegularExpression Id. */\n int TRANSIENT = 50;\n /** RegularExpression Id. */\n int TRUE = 51;\n /** RegularExpression Id. */\n int TRY = 52;\n /** RegularExpression Id. */\n int VOID = 53;\n /** RegularExpression Id. */\n int VOLATILE = 54;\n /** RegularExpression Id. */\n int WHILE = 55;\n /** RegularExpression Id. */\n int DECIMAL_LITERAL = 56;\n /** RegularExpression Id. */\n int IDENTIFIER = 57;\n /** RegularExpression Id. */\n int LPAREN = 58;\n /** RegularExpression Id. */\n int RPAREN = 59;\n /** RegularExpression Id. */\n int LBRACE = 60;\n /** RegularExpression Id. */\n int RBRACE = 61;\n /** RegularExpression Id. */\n int LBRACKET = 62;\n /** RegularExpression Id. */\n int RBRACKET = 63;\n /** RegularExpression Id. */\n int SEMICOLON = 64;\n /** RegularExpression Id. */\n int COMMA = 65;\n /** RegularExpression Id. */\n int DOT = 66;\n /** RegularExpression Id. */\n int ASSIGN = 67;\n /** RegularExpression Id. */\n int GT = 68;\n /** RegularExpression Id. */\n int LT = 69;\n /** RegularExpression Id. */\n int BANG = 70;\n /** RegularExpression Id. */\n int TILDE = 71;\n /** RegularExpression Id. */\n int HOOK = 72;\n /** RegularExpression Id. */\n int COLON = 73;\n /** RegularExpression Id. */\n int EQ = 74;\n /** RegularExpression Id. */\n int LE = 75;\n /** RegularExpression Id. */\n int GE = 76;\n /** RegularExpression Id. */\n int NE = 77;\n /** RegularExpression Id. */\n int SC_OR = 78;\n /** RegularExpression Id. */\n int SC_AND = 79;\n /** RegularExpression Id. */\n int PLUS = 80;\n /** RegularExpression Id. */\n int MINUS = 81;\n /** RegularExpression Id. */\n int STAR = 82;\n /** RegularExpression Id. */\n int SLASH = 83;\n /** RegularExpression Id. */\n int REM = 84;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"abstract\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"break\\\"\",\n \"\\\"byte\\\"\",\n \"\\\"case\\\"\",\n \"\\\"catch\\\"\",\n \"\\\"char\\\"\",\n \"\\\"class\\\"\",\n \"\\\"const\\\"\",\n \"\\\"continue\\\"\",\n \"\\\"default\\\"\",\n \"\\\"do\\\"\",\n \"\\\"double\\\"\",\n \"\\\"else\\\"\",\n \"\\\"extends\\\"\",\n \"\\\"false\\\"\",\n \"\\\"final\\\"\",\n \"\\\"finally\\\"\",\n \"\\\"float\\\"\",\n \"\\\"for\\\"\",\n \"\\\"goto\\\"\",\n \"\\\"if\\\"\",\n \"\\\"implements\\\"\",\n \"\\\"import\\\"\",\n \"\\\"instanceof\\\"\",\n \"\\\"int\\\"\",\n \"\\\"interface\\\"\",\n \"\\\"long\\\"\",\n \"\\\"native\\\"\",\n \"\\\"new\\\"\",\n \"\\\"null\\\"\",\n \"\\\"package\\\"\",\n \"\\\"private\\\"\",\n \"\\\"protected\\\"\",\n \"\\\"public\\\"\",\n \"\\\"return\\\"\",\n \"\\\"short\\\"\",\n \"\\\"static\\\"\",\n \"\\\"super\\\"\",\n \"\\\"switch\\\"\",\n \"\\\"synchronized\\\"\",\n \"\\\"this\\\"\",\n \"\\\"throw\\\"\",\n \"\\\"throws\\\"\",\n \"\\\"transient\\\"\",\n \"\\\"true\\\"\",\n \"\\\"try\\\"\",\n \"\\\"void\\\"\",\n \"\\\"volatile\\\"\",\n \"\\\"while\\\"\",\n \"\",\n \"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\"=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\"!\\\"\",\n \"\\\"~\\\"\",\n \"\\\"?\\\"\",\n \"\\\":\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"||\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n };\n\n}","title":""},{"docid":"493affac6a6e5e629936557e9fa8514e","score":"0.5298417","text":"private int yyr19() {\n return 50;\n }","title":""},{"docid":"e057e9b6c3adc0bdcf801b014ebbe60c","score":"0.5278873","text":"public interface QueryParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int WORD = 4;\n /** RegularExpression Id. */\n int LP = 5;\n /** RegularExpression Id. */\n int RP = 6;\n /** RegularExpression Id. */\n int QUOTE = 7;\n /** RegularExpression Id. */\n int OP_AND = 8;\n /** RegularExpression Id. */\n int OP_OR = 9;\n /** RegularExpression Id. */\n int OP_NOT = 10;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"\\\\\\\"\\\"\",\n \"\",\n \"\",\n \"\",\n };\n\n}","title":""},{"docid":"eec659090b39de4a82d36faa468fb7fa","score":"0.5266568","text":"public interface EG1Constants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int OPEN = 5;\n /** RegularExpression Id. */\n int CLOSE = 6;\n /** RegularExpression Id. */\n int DEFINE = 7;\n /** RegularExpression Id. */\n int DOMAIN = 8;\n /** RegularExpression Id. */\n int DOMAIN_LABEL = 9;\n /** RegularExpression Id. */\n int REQUIREMENTS = 10;\n /** RegularExpression Id. */\n int REQUIREMENT_LABELS = 11;\n /** RegularExpression Id. */\n int TYPES = 12;\n /** RegularExpression Id. */\n int PREDICATES = 13;\n /** RegularExpression Id. */\n int PROBLEM = 14;\n /** RegularExpression Id. */\n int TYPE_IDENT = 15;\n /** RegularExpression Id. */\n int VAR = 16;\n /** RegularExpression Id. */\n int ACTION = 17;\n /** RegularExpression Id. */\n int PARAMETERS = 18;\n /** RegularExpression Id. */\n int PRECONDITION = 19;\n /** RegularExpression Id. */\n int CONSTRAINTS = 20;\n /** RegularExpression Id. */\n int PREFERENCE = 21;\n /** RegularExpression Id. */\n int EFFECT = 22;\n /** RegularExpression Id. */\n int OBJECTS = 23;\n /** RegularExpression Id. */\n int GOAL = 24;\n /** RegularExpression Id. */\n int INIT = 25;\n /** RegularExpression Id. */\n int AND = 26;\n /** RegularExpression Id. */\n int NOT = 27;\n /** RegularExpression Id. */\n int NUMBER = 28;\n /** RegularExpression Id. */\n int NAME = 29;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 30;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"define\\\"\",\n \"\\\"domain\\\"\",\n \"\\\":domain\\\"\",\n \"\\\":requirements\\\"\",\n \"\\\":typing :constraints :preferences\\\"\",\n \"\\\":types\\\"\",\n \"\\\":predicates\\\"\",\n \"\\\"problem\\\"\",\n \"\\\"-\\\"\",\n \"\",\n \"\\\":action\\\"\",\n \"\\\":parameters\\\"\",\n \"\\\":precondition\\\"\",\n \"\\\":constraints\\\"\",\n \"\\\"preference\\\"\",\n \"\\\":effect\\\"\",\n \"\\\":objects\\\"\",\n \"\\\":goal\\\"\",\n \"\\\":init\\\"\",\n \"\\\"and\\\"\",\n \"\\\"not\\\"\",\n \"\",\n \"\",\n \"\",\n };\n\n}","title":""},{"docid":"f143e9b900cadd3967940ce9942874b3","score":"0.5265535","text":"public interface TargetTableParserConstants {\r\n\r\n /** End of File. */\r\n int EOF = 0;\r\n /** RegularExpression Id. */\r\n int MULTI_LINE_COMMENT = 4;\r\n /** RegularExpression Id. */\r\n int SINGLE_LINE_COMMENT = 7;\r\n /** RegularExpression Id. */\r\n int SEMICOLON = 8;\r\n /** RegularExpression Id. */\r\n int SINGLE_QUOTE = 9;\r\n /** RegularExpression Id. */\r\n int OPEN_PAREN = 10;\r\n /** RegularExpression Id. */\r\n int CLOSE_PAREN = 11;\r\n /** RegularExpression Id. */\r\n int COMMA = 12;\r\n /** RegularExpression Id. */\r\n int HYPHEN = 13;\r\n /** RegularExpression Id. */\r\n int ASTERISK = 14;\r\n /** RegularExpression Id. */\r\n int INTO = 15;\r\n /** RegularExpression Id. */\r\n int SET = 16;\r\n /** RegularExpression Id. */\r\n int NOT = 17;\r\n /** RegularExpression Id. */\r\n int FROM = 18;\r\n /** RegularExpression Id. */\r\n int AS = 19;\r\n /** RegularExpression Id. */\r\n int BY = 20;\r\n /** RegularExpression Id. */\r\n int WHERE = 21;\r\n /** RegularExpression Id. */\r\n int ALL = 22;\r\n /** RegularExpression Id. */\r\n int TABLE = 23;\r\n /** RegularExpression Id. */\r\n int CASESPECIFIC = 24;\r\n /** RegularExpression Id. */\r\n int CHARACTER = 25;\r\n /** RegularExpression Id. */\r\n int UPPERCASE = 26;\r\n /** RegularExpression Id. */\r\n int NULL = 27;\r\n /** RegularExpression Id. */\r\n int TO = 28;\r\n /** RegularExpression Id. */\r\n int LITERAL_INTEGER = 29;\r\n /** RegularExpression Id. */\r\n int BLOB = 30;\r\n /** RegularExpression Id. */\r\n int BYTE = 31;\r\n /** RegularExpression Id. */\r\n int VARBYTE = 32;\r\n /** RegularExpression Id. */\r\n int BIGINT = 33;\r\n /** RegularExpression Id. */\r\n int BYTEINT = 34;\r\n /** RegularExpression Id. */\r\n int DATE = 35;\r\n /** RegularExpression Id. */\r\n int DECIMAL = 36;\r\n /** RegularExpression Id. */\r\n int DOUBLE = 37;\r\n /** RegularExpression Id. */\r\n int PRECISION = 38;\r\n /** RegularExpression Id. */\r\n int FLOAT = 39;\r\n /** RegularExpression Id. */\r\n int INTEGER = 40;\r\n /** RegularExpression Id. */\r\n int NUMBER = 41;\r\n /** RegularExpression Id. */\r\n int NUMERIC = 42;\r\n /** RegularExpression Id. */\r\n int REAL = 43;\r\n /** RegularExpression Id. */\r\n int SMALLINT = 44;\r\n /** RegularExpression Id. */\r\n int TIME = 45;\r\n /** RegularExpression Id. */\r\n int TIMESTAMP = 46;\r\n /** RegularExpression Id. */\r\n int INTERVAL = 47;\r\n /** RegularExpression Id. */\r\n int DAY = 48;\r\n /** RegularExpression Id. */\r\n int HOUR = 49;\r\n /** RegularExpression Id. */\r\n int MINUTE = 50;\r\n /** RegularExpression Id. */\r\n int SECOND = 51;\r\n /** RegularExpression Id. */\r\n int MONTH = 52;\r\n /** RegularExpression Id. */\r\n int YEAR = 53;\r\n /** RegularExpression Id. */\r\n int CHAR = 54;\r\n /** RegularExpression Id. */\r\n int CLOB = 55;\r\n /** RegularExpression Id. */\r\n int VARYING = 56;\r\n /** RegularExpression Id. */\r\n int LONG = 57;\r\n /** RegularExpression Id. */\r\n int VARCHAR = 58;\r\n /** RegularExpression Id. */\r\n int GRAPHIC = 59;\r\n /** RegularExpression Id. */\r\n int VARGRAPHIC = 60;\r\n /** RegularExpression Id. */\r\n int UPDATE = 61;\r\n /** RegularExpression Id. */\r\n int INSERT = 62;\r\n /** RegularExpression Id. */\r\n int MERGE = 63;\r\n /** RegularExpression Id. */\r\n int DELETE = 64;\r\n /** RegularExpression Id. */\r\n int CREATE = 65;\r\n /** RegularExpression Id. */\r\n int CT = 66;\r\n /** RegularExpression Id. */\r\n int MULTISET = 67;\r\n /** RegularExpression Id. */\r\n int GLOBAL = 68;\r\n /** RegularExpression Id. */\r\n int TEMPORARY = 69;\r\n /** RegularExpression Id. */\r\n int VOLATILE = 70;\r\n /** RegularExpression Id. */\r\n int USING = 71;\r\n /** RegularExpression Id. */\r\n int DEFERRED = 72;\r\n /** RegularExpression Id. */\r\n int LOCATOR = 73;\r\n /** RegularExpression Id. */\r\n int NAME = 74;\r\n /** RegularExpression Id. */\r\n int LOCKING = 75;\r\n /** RegularExpression Id. */\r\n int DATABASE = 77;\r\n /** RegularExpression Id. */\r\n int TABLE_LCK = 78;\r\n /** RegularExpression Id. */\r\n int VIEW = 79;\r\n /** RegularExpression Id. */\r\n int ROW = 80;\r\n /** RegularExpression Id. */\r\n int FOR = 81;\r\n /** RegularExpression Id. */\r\n int IN = 82;\r\n /** RegularExpression Id. */\r\n int ACCESS = 83;\r\n /** RegularExpression Id. */\r\n int EXCLUSIVE = 84;\r\n /** RegularExpression Id. */\r\n int SHARE = 85;\r\n /** RegularExpression Id. */\r\n int READ = 86;\r\n /** RegularExpression Id. */\r\n int OVERRIDE = 87;\r\n /** RegularExpression Id. */\r\n int WRITE = 88;\r\n /** RegularExpression Id. */\r\n int CHECKSUM = 89;\r\n /** RegularExpression Id. */\r\n int DATABASE_OBJECT_NAME = 90;\r\n /** RegularExpression Id. */\r\n int OBJECT_NAME = 91;\r\n /** RegularExpression Id. */\r\n int CURRENT = 92;\r\n /** RegularExpression Id. */\r\n int VALIDTIME = 93;\r\n /** RegularExpression Id. */\r\n int SEQUENCED = 94;\r\n /** RegularExpression Id. */\r\n int NONSEQUENCED = 95;\r\n /** RegularExpression Id. */\r\n int NONTEMPORAL = 96;\r\n /** RegularExpression Id. */\r\n int PERIOD = 97;\r\n /** RegularExpression Id. */\r\n int UNTIL_CHANGED = 98;\r\n /** RegularExpression Id. */\r\n int UNTIL_CLOSED = 99;\r\n /** RegularExpression Id. */\r\n int PERIOD_BOUND = 100;\r\n /** RegularExpression Id. */\r\n int MODE = 101;\r\n /** RegularExpression Id. */\r\n int NOWAIT = 102;\r\n /** RegularExpression Id. */\r\n int IDENTIFIER = 103;\r\n\r\n /** Lexical state. */\r\n int DEFAULT = 0;\r\n /** Lexical state. */\r\n int ML_COMMENT_STATE = 1;\r\n /** Lexical state. */\r\n int LOCKING_STATE = 2;\r\n\r\n /** Literal token values. */\r\n String[] tokenImage = {\r\n \"\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\",\r\n \"\\\"/*\\\"\",\r\n \"\\\"*/\\\"\",\r\n \"\",\r\n \"\",\r\n \"\\\";\\\"\",\r\n \"\\\"\\\\\\'\\\"\",\r\n \"\\\"(\\\"\",\r\n \"\\\")\\\"\",\r\n \"\\\",\\\"\",\r\n \"\\\"-\\\"\",\r\n \"\\\"*\\\"\",\r\n \"\\\"into\\\"\",\r\n \"\\\"set\\\"\",\r\n \"\\\"not\\\"\",\r\n \"\\\"from\\\"\",\r\n \"\\\"as\\\"\",\r\n \"\\\"by\\\"\",\r\n \"\\\"where\\\"\",\r\n \"\\\"all\\\"\",\r\n \"\\\"table\\\"\",\r\n \"\\\"casespecific\\\"\",\r\n \"\\\"character\\\"\",\r\n \"\\\"uppercase\\\"\",\r\n \"\\\"null\\\"\",\r\n \"\\\"to\\\"\",\r\n \"\",\r\n \"\\\"blob\\\"\",\r\n \"\\\"byte\\\"\",\r\n \"\\\"varbyte\\\"\",\r\n \"\\\"bigint\\\"\",\r\n \"\\\"byteint\\\"\",\r\n \"\\\"date\\\"\",\r\n \"\\\"decimal\\\"\",\r\n \"\\\"double\\\"\",\r\n \"\\\"precision\\\"\",\r\n \"\\\"float\\\"\",\r\n \"\\\"integer\\\"\",\r\n \"\\\"number\\\"\",\r\n \"\\\"numeric\\\"\",\r\n \"\\\"real\\\"\",\r\n \"\\\"smallint\\\"\",\r\n \"\\\"time\\\"\",\r\n \"\\\"timestamp\\\"\",\r\n \"\\\"interval\\\"\",\r\n \"\\\"day\\\"\",\r\n \"\\\"hour\\\"\",\r\n \"\\\"minute\\\"\",\r\n \"\\\"second\\\"\",\r\n \"\\\"month\\\"\",\r\n \"\\\"year\\\"\",\r\n \"\\\"char\\\"\",\r\n \"\\\"clob\\\"\",\r\n \"\\\"varying\\\"\",\r\n \"\\\"long\\\"\",\r\n \"\\\"varchar\\\"\",\r\n \"\\\"graphic\\\"\",\r\n \"\\\"vargraphic\\\"\",\r\n \"\",\r\n \"\",\r\n \"\\\"merge\\\"\",\r\n \"\",\r\n \"\\\"create\\\"\",\r\n \"\\\"ct\\\"\",\r\n \"\\\"multiset\\\"\",\r\n \"\\\"global\\\"\",\r\n \"\\\"temporary\\\"\",\r\n \"\\\"volatile\\\"\",\r\n \"\\\"using\\\"\",\r\n \"\\\"deferred\\\"\",\r\n \"\\\"locator\\\"\",\r\n \"\\\"name\\\"\",\r\n \"\",\r\n \"\",\r\n \"\\\"database\\\"\",\r\n \"\\\"table\\\"\",\r\n \"\\\"view\\\"\",\r\n \"\\\"row\\\"\",\r\n \"\\\"for\\\"\",\r\n \"\\\"in\\\"\",\r\n \"\\\"access\\\"\",\r\n \"\",\r\n \"\\\"share\\\"\",\r\n \"\\\"read\\\"\",\r\n \"\\\"override\\\"\",\r\n \"\\\"write\\\"\",\r\n \"\\\"checksum\\\"\",\r\n \"\",\r\n \"\",\r\n \"\\\"current\\\"\",\r\n \"\\\"validtime\\\"\",\r\n \"\\\"sequenced\\\"\",\r\n \"\\\"nonsequenced\\\"\",\r\n \"\\\"nontemporal\\\"\",\r\n \"\\\"period\\\"\",\r\n \"\\\"until_changed\\\"\",\r\n \"\\\"until_closed\\\"\",\r\n \"\",\r\n \"\\\"mode\\\"\",\r\n \"\\\"nowait\\\"\",\r\n \"\",\r\n };\r\n\r\n}","title":""},{"docid":"ed8344cab406eacc9ccf69e8e626c275","score":"0.5255661","text":"T visitRelationalexpression(lengBasicParser.RelationalexpressionContext ctx);","title":""},{"docid":"c85c50672fbbe17eeb84981ac99a8833","score":"0.52505696","text":"public PlSql_Parser(PlSqlTokenManager tm) {\n token_source = tm;\n token = new Token();\n jj_ntk = -1;\n jj_gen = 0;\n for (int i = 0; i < 241; i++) jj_la1[i] = -1;\n for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();\n }","title":""},{"docid":"4e82fd18f5df85b17b7e2c0a905a4012","score":"0.5230243","text":"public interface BibtextGrammarConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int LB = 5;\n /** RegularExpression Id. */\n int RB = 6;\n /** RegularExpression Id. */\n int ARTICLE = 7;\n /** RegularExpression Id. */\n int BOOK = 8;\n /** RegularExpression Id. */\n int BOOKLET = 9;\n /** RegularExpression Id. */\n int CONFERENCE = 10;\n /** RegularExpression Id. */\n int INBOOK = 11;\n /** RegularExpression Id. */\n int INCOLLECTION = 12;\n /** RegularExpression Id. */\n int INPROCEEDINGS = 13;\n /** RegularExpression Id. */\n int MANUAL = 14;\n /** RegularExpression Id. */\n int MASTERSTHESIS = 15;\n /** RegularExpression Id. */\n int MISC = 16;\n /** RegularExpression Id. */\n int PHDTHESIS = 17;\n /** RegularExpression Id. */\n int PROCEEDINGS = 18;\n /** RegularExpression Id. */\n int TECHREPORT = 19;\n /** RegularExpression Id. */\n int UNPUBLISHED = 20;\n /** RegularExpression Id. */\n int AUTHOR = 21;\n /** RegularExpression Id. */\n int JOURNAL = 22;\n /** RegularExpression Id. */\n int TITLE = 23;\n /** RegularExpression Id. */\n int YEAR = 24;\n /** RegularExpression Id. */\n int MONTH = 25;\n /** RegularExpression Id. */\n int NUMBER = 26;\n /** RegularExpression Id. */\n int PAGES = 27;\n /** RegularExpression Id. */\n int VOLUME = 28;\n /** RegularExpression Id. */\n int PUBLISHER = 29;\n /** RegularExpression Id. */\n int DOI = 30;\n /** RegularExpression Id. */\n int NOTE = 31;\n /** RegularExpression Id. */\n int KEY = 32;\n /** RegularExpression Id. */\n int EDITOR = 33;\n /** RegularExpression Id. */\n int SERIES = 34;\n /** RegularExpression Id. */\n int ADDRESS = 35;\n /** RegularExpression Id. */\n int EDITION = 36;\n /** RegularExpression Id. */\n int URL = 37;\n /** RegularExpression Id. */\n int HOWPUBLISHED = 38;\n /** RegularExpression Id. */\n int CHAPTER = 39;\n /** RegularExpression Id. */\n int BOOKTITLE = 40;\n /** RegularExpression Id. */\n int TYPE = 41;\n /** RegularExpression Id. */\n int ORGANIZATION = 42;\n /** RegularExpression Id. */\n int SCHOOL = 43;\n /** RegularExpression Id. */\n int INSTITUTION = 44;\n /** RegularExpression Id. */\n int WORD = 45;\n /** RegularExpression Id. */\n int CONSTANT = 46;\n /** RegularExpression Id. */\n int ID = 47;\n /** RegularExpression Id. */\n int LETTERSNUMBERS = 48;\n /** RegularExpression Id. */\n int LETTER = 49;\n /** RegularExpression Id. */\n int LOWER = 50;\n /** RegularExpression Id. */\n int UPPER = 51;\n /** RegularExpression Id. */\n int DIGIT = 52;\n /** RegularExpression Id. */\n int COMMA = 53;\n /** RegularExpression Id. */\n int SEMICOLON = 54;\n /** RegularExpression Id. */\n int DASH = 55;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"article\\\"\",\n \"\\\"book\\\"\",\n \"\\\"booklet\\\"\",\n \"\\\"conference\\\"\",\n \"\\\"inbook\\\"\",\n \"\\\"incollection\\\"\",\n \"\\\"inproceedings\\\"\",\n \"\\\"manual\\\"\",\n \"\\\"mastersthesis\\\"\",\n \"\\\"misc\\\"\",\n \"\\\"phdthesis\\\"\",\n \"\\\"proceedings\\\"\",\n \"\\\"techreport\\\"\",\n \"\\\"unpublished\\\"\",\n \"\\\"Author\\\"\",\n \"\\\"Journal\\\"\",\n \"\\\"Title\\\"\",\n \"\\\"Year\\\"\",\n \"\\\"Month\\\"\",\n \"\\\"Number\\\"\",\n \"\\\"Pages\\\"\",\n \"\\\"Volume\\\"\",\n \"\\\"Publisher\\\"\",\n \"\\\"Doi\\\"\",\n \"\\\"Note\\\"\",\n \"\\\"Key\\\"\",\n \"\\\"Editor\\\"\",\n \"\\\"Series\\\"\",\n \"\\\"Address\\\"\",\n \"\\\"Edition\\\"\",\n \"\\\"Url\\\"\",\n \"\\\"Howpublished\\\"\",\n \"\\\"Chapter\\\"\",\n \"\\\"Booktitle\\\"\",\n \"\\\"Type\\\"\",\n \"\\\"Organization\\\"\",\n \"\\\"School\\\"\",\n \"\\\"Institution\\\"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\\\"@\\\"\",\n \"\\\"=\\\"\",\n \"\\\"-\\\"\",\n \"\\\".\\\"\",\n \"\\\",\\\"\",\n \"\\\"\\\\\\'\\\"\",\n \"\\\":\\\"\",\n \"\\\"/\\\"\",\n };\n\n}","title":""},{"docid":"d8ca35719143ee75b61930930e42fc3d","score":"0.52300596","text":"final public void MethodDeclarationLookahead() throws ParseException {\r\n Modifier();\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case STATIC:\r\n YoyooStatic jjtn001 = new YoyooStatic(JJTSTATIC);\r\n boolean jjtc001 = true;\r\n jjtree.openNodeScope(jjtn001);\r\n jjtreeOpenNodeScope(jjtn001);\r\n try {\r\n jj_consume_token(STATIC);\r\n } finally {\r\n if (jjtc001) {\r\n jjtree.closeNodeScope(jjtn001, true);\r\n jjtreeCloseNodeScope(jjtn001);\r\n }\r\n }\r\n break;\r\n default:\r\n jj_la1[20] = jj_gen;\r\n ;\r\n }\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case ABSTRACT:\r\n YoyooAbstract jjtn002 = new YoyooAbstract(JJTABSTRACT);\r\n boolean jjtc002 = true;\r\n jjtree.openNodeScope(jjtn002);\r\n jjtreeOpenNodeScope(jjtn002);\r\n try {\r\n jj_consume_token(ABSTRACT);\r\n } finally {\r\n if (jjtc002) {\r\n jjtree.closeNodeScope(jjtn002, true);\r\n jjtreeCloseNodeScope(jjtn002);\r\n }\r\n }\r\n break;\r\n default:\r\n jj_la1[21] = jj_gen;\r\n ;\r\n }\r\n ResultType();\r\n jj_consume_token(IDENTIFIER);\r\n jj_consume_token(LPAREN);\r\n }","title":""},{"docid":"21bbcf89723dec95861d5becff352030","score":"0.52059364","text":"final public void CastLookahead() throws ParseException {\r\n if (jj_2_17(2)) {\r\n jj_consume_token(LPAREN);\r\n PrimitiveType();\r\n } else if (jj_2_18(2147483647)) {\r\n jj_consume_token(LPAREN);\r\n Type();\r\n jj_consume_token(LBRACKET);\r\n jj_consume_token(RBRACKET);\r\n } else {\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case LPAREN:\r\n jj_consume_token(LPAREN);\r\n Type();\r\n jj_consume_token(RPAREN);\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case 117:\r\n jj_consume_token(117);\r\n break;\r\n case BANG:\r\n jj_consume_token(BANG);\r\n break;\r\n case LPAREN:\r\n jj_consume_token(LPAREN);\r\n break;\r\n case IDENTIFIER:\r\n jj_consume_token(IDENTIFIER);\r\n break;\r\n case THIS:\r\n jj_consume_token(THIS);\r\n break;\r\n case SUPER:\r\n jj_consume_token(SUPER);\r\n break;\r\n case NEW:\r\n jj_consume_token(NEW);\r\n break;\r\n case FALSE:\r\n case NULL:\r\n case TRUE:\r\n case INTEGER_LITERAL:\r\n case FLOATING_POINT_LITERAL:\r\n case CHARACTER_LITERAL:\r\n case STRING_LITERAL:\r\n case MULTILINE_STRING_LITERAL:\r\n case SLASH:\r\n Literal();\r\n break;\r\n default:\r\n jj_la1[69] = jj_gen;\r\n jj_consume_token(-1);\r\n throw new ParseException();\r\n }\r\n break;\r\n default:\r\n jj_la1[70] = jj_gen;\r\n jj_consume_token(-1);\r\n throw new ParseException();\r\n }\r\n }\r\n }","title":""},{"docid":"cec3fd4000ab6032f1eb585008e40b82","score":"0.5189631","text":"private int yyr25() {\n return yypStatements();\n }","title":""},{"docid":"2f2277df26aef9b4e3cbb36fda159dd7","score":"0.51759714","text":"Token next(char endOfAtom) throws ParseException {\n/* 222 */ return next(endOfAtom, false);\n/* */ }","title":""},{"docid":"7485821bb2efad4afd95033230287eeb","score":"0.51687694","text":"private int yyr29() {\n yysp -= 5;\n return yypStatement();\n }","title":""},{"docid":"f59f32072182c3a2bea23ba66d84503b","score":"0.5158212","text":"T visitLogicalorexpression(lengBasicParser.LogicalorexpressionContext ctx);","title":""},{"docid":"a211b33f09ba8d13e1eefc8c03ba9c9b","score":"0.5139663","text":"@Test\n\tpublic void test34()\n\t{\n\t\tGrammar grammar = new Grammar(\"start: reverse|reversed|\\\"reverse the order of\\\" a list\", debugFlag);\n\t\tgrammar.addGlobalAlternative(\"reverse\", \"reversing\");\n\t\tassertEquals(\n\t\t\t1,\n\t\t\tparses(\n\t\t\t\tgrammar,\n\t\t\t\t\"reversing the order of a list\"\n\t\t\t)\n\t\t);\n\t}","title":""},{"docid":"dcae0293e80ea9c8d4fa2ccc883bc595","score":"0.5139211","text":"T visitInclusiveorexpression(lengBasicParser.InclusiveorexpressionContext ctx);","title":""},{"docid":"7f0ca6a64477683a1ec670adf4fa4039","score":"0.5135843","text":"public final void mT__33() throws RecognitionException {\n try {\n int _type = T__33;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // unql.g:28:7: ( 'END' )\n // unql.g:28:9: 'END'\n {\n match(\"END\"); \n\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n \t// do for sure before leaving\n }\n }","title":""},{"docid":"d5a929533e4876f66e2c8b7954e97709","score":"0.5135418","text":"public interface Token\n extends Text,\n Tokens {\n\n /**\n * the leftmost parsed element, related to this token in the string\n * @param text the string\n * @return token\n */\n @Override\n default Token leftMostIn(final String text) {\n final Token ret;\n if (text.contains(this.toSource())) {\n ret = this;\n } else {\n ret = new Absence();\n }\n return ret;\n }\n\n @Override\n default Tokens exclude(final Tokens tokens) {\n return tokens.contains(this) ?\n new Empty() :\n this;\n }\n\n @Override\n default boolean contains(final Token token) {\n return this.getClass()\n .equals(token.getClass()) && this.toSource()\n .equals(token.toSource());\n }\n\n /**\n * if this text is contained in the parameter, then\n * @param text parameter\n * @return text is preceding to first occurrence\n */\n default String precedingIn(final Source text) {\n return text.precedingThe(this.toSource());\n }\n\n /**\n * @param text parameter\n * if this text is contained in the parameter, then\n * @return text is following to first occurrence\n */\n default Sense followingIn(final Source text) {\n return text.followingThe(this.toSource());\n }\n\n default int length() {\n return this.toSource()\n .length();\n }\n\n /**\n * first position of this element in the string\n * @param text parameter\n * @return position\n */\n default int firstPositionIn(final String text) {\n return text.indexOf(this.toSource());\n }\n\n /**\n * by default recognizing Text is a failed recognition\n * @param unrecognized following text\n * @return failed\n */\n default Sense concat(final Unrecognized unrecognized) {\n return new Failed(this,\n new Source(unrecognized.toSource()));\n }\n\n /**\n * leftmost element in the string, either this, or parameter. if both\n * positions are equals, returns longer one. if neither element is exist,\n * then returns Empty token\n * @param parsed parameter\n * @param text where to search elements\n * @return left most element\n */\n default Token leftMost(final Token parsed,\n final String text) {\n final int thisPosition = this.firstPositionIn(text);\n final int parsedPosition = parsed.firstPositionIn(text);\n if (thisPosition == -1 && parsedPosition == -1) {\n return new Absence();\n } else if (thisPosition == -1) {\n return parsed;\n } else if (parsedPosition == -1) {\n return this;\n } else if (thisPosition > parsedPosition) {\n return parsed;\n } else if (parsedPosition > thisPosition) {\n return this;\n } else if (this.length() > parsed.length()) {\n return this;\n } else {\n return parsed;\n }\n }\n}","title":""},{"docid":"63a73d414976a6d67822980329859052","score":"0.5135131","text":"T visitLogicalandexpression(lengBasicParser.LogicalandexpressionContext ctx);","title":""},{"docid":"cb2b85f7df07d5bb254e3177db9d2fc5","score":"0.5115665","text":"public final void ruleEnumLiteralDeclaration() throws RecognitionException {\n Token otherlv_0=null;\n Token otherlv_1=null;\n\n try {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1795:27: ( ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )? ) )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1796:2: ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )? )\n {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1796:2: ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )? )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1797:3: ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )?\n {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1797:3: ( (otherlv_0= RULE_ID ) )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1798:4: (otherlv_0= RULE_ID )\n {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1798:4: (otherlv_0= RULE_ID )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1799:5: otherlv_0= RULE_ID\n {\n\n \t\t\t\t\tmarkLeaf(elementTypeProvider.getEnumLiteralDeclaration_EnumLiteralEEnumLiteralCrossReference_0_0ElementType());\n \t\t\t\t\n otherlv_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_RULE_ID_in_ruleEnumLiteralDeclaration5205); \n\n \t\t\t\t\tdoneLeaf(otherlv_0);\n \t\t\t\t\n\n }\n\n\n }\n\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1808:3: (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )?\n int alt48=2;\n int LA48_0 = input.LA(1);\n\n if ( (LA48_0==30) ) {\n alt48=1;\n }\n switch (alt48) {\n case 1 :\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1809:4: otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) )\n {\n\n \t\t\t\tmarkLeaf(elementTypeProvider.getEnumLiteralDeclaration_EqualsSignKeyword_1_0ElementType());\n \t\t\t\n otherlv_1=(Token)match(input,30,FollowSets000.FOLLOW_30_in_ruleEnumLiteralDeclaration5236); \n\n \t\t\t\tdoneLeaf(otherlv_1);\n \t\t\t\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1816:4: ( (lv_literal_2_0= ruleKeyword ) )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1817:5: (lv_literal_2_0= ruleKeyword )\n {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1817:5: (lv_literal_2_0= ruleKeyword )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1818:6: lv_literal_2_0= ruleKeyword\n {\n\n \t\t\t\t\t\tmarkComposite(elementTypeProvider.getEnumLiteralDeclaration_LiteralKeywordParserRuleCall_1_1_0ElementType());\n \t\t\t\t\t\n pushFollow(FollowSets000.FOLLOW_ruleKeyword_in_ruleEnumLiteralDeclaration5268);\n ruleKeyword();\n\n state._fsp--;\n\n\n \t\t\t\t\t\tdoneComposite();\n \t\t\t\t\t\n\n }\n\n\n }\n\n\n }\n break;\n\n }\n\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return ;\n }","title":""},{"docid":"a3503b8e79d882f2420b479e81baf653","score":"0.51067674","text":"protected void enterGrammar(Production node) throws ParseException {\n }","title":""},{"docid":"2cb8df231aadc904bb1fd5ddc0d3eacf","score":"0.51067543","text":"private final JessToken finishToken(int paramInt, StringBuffer paramStringBuffer)\n/* */ throws JessException\n/* */ {\n/* 215 */ JessToken localJessToken = new JessToken();\n/* 216 */ localJessToken.m_lineno = this.m_line;\n/* */ \n/* 218 */ switch (paramInt)\n/* */ {\n/* */ \n/* */ case 34: \n/* 222 */ localJessToken.m_ttype = 2;\n/* 223 */ localJessToken.m_sval = paramStringBuffer.toString();\n/* 224 */ break;\n/* */ \n/* */ \n/* */ case 40: \n/* 228 */ localJessToken.m_ttype = 40;\n/* 229 */ localJessToken.m_sval = \"(\";\n/* 230 */ break;\n/* */ \n/* */ case 41: \n/* 233 */ localJessToken.m_ttype = 41;\n/* 234 */ localJessToken.m_sval = \")\";\n/* 235 */ break;\n/* */ \n/* */ case 38: \n/* 238 */ localJessToken.m_ttype = 38;\n/* 239 */ localJessToken.m_sval = \"&\";\n/* 240 */ break;\n/* */ \n/* */ case 126: \n/* 243 */ localJessToken.m_ttype = 126;\n/* 244 */ localJessToken.m_sval = \"~\";\n/* 245 */ break;\n/* */ \n/* */ case 124: \n/* 248 */ localJessToken.m_ttype = paramInt;\n/* 249 */ localJessToken.m_sval = \"|\";\n/* 250 */ break;\n/* */ \n/* */ case 61: \n/* 253 */ localJessToken.m_ttype = 61;\n/* 254 */ localJessToken.m_sval = \"=\";\n/* 255 */ break;\n/* */ \n/* */ \n/* */ case 10: \n/* 259 */ localJessToken.m_ttype = 1;\n/* 260 */ localJessToken.m_sval = \"CRLF\";\n/* 261 */ break;\n/* */ \n/* */ \n/* */ case -1: \n/* 265 */ if (paramStringBuffer.length() == 0)\n/* */ {\n/* 267 */ localJessToken.m_ttype = 0;\n/* 268 */ localJessToken.m_sval = \"EOF\";\n/* */ }\n/* */ else {\n/* 271 */ return finishToken(0, paramStringBuffer);\n/* */ }\n/* */ break;\n/* */ case 0: \n/* 275 */ String str = paramStringBuffer.toString();\n/* 276 */ int i = str.charAt(0);\n/* */ \n/* */ \n/* 279 */ if (i == 63)\n/* */ {\n/* 281 */ localJessToken.m_ttype = 8;\n/* 282 */ if (str.length() > 1) {\n/* 283 */ localJessToken.m_sval = str.substring(1);\n/* */ } else {\n/* 285 */ localJessToken.m_sval = RU.gensym(\"_blank_\");\n/* */ }\n/* */ \n/* */ \n/* */ }\n/* 290 */ else if ((i == 36) && (str.length() > 1) && (str.charAt(1) == '?'))\n/* */ {\n/* */ \n/* 293 */ localJessToken.m_ttype = 8192;\n/* 294 */ if (str.length() > 2) {\n/* 295 */ localJessToken.m_sval = str.substring(2);\n/* */ } else {\n/* 297 */ localJessToken.m_sval = RU.gensym(\"_blank_mf\");\n/* */ }\n/* */ \n/* */ \n/* */ }\n/* 302 */ else if ((str.length() == 1) && ((i == 45) || (i == 46) || (i == 43)))\n/* */ {\n/* 304 */ localJessToken.m_ttype = 1;\n/* 305 */ localJessToken.m_sval = str;\n/* */ \n/* */ \n/* */ }\n/* 309 */ else if (isAnInteger(str))\n/* */ {\n/* */ \n/* */ try\n/* */ {\n/* 314 */ int j = Integer.parseInt(str, 10);\n/* 315 */ localJessToken.m_ttype = 4;\n/* 316 */ localJessToken.m_nval = j;\n/* */ \n/* */ }\n/* */ catch (NumberFormatException localNumberFormatException1) {}\n/* */ \n/* */ }\n/* */ else\n/* */ {\n/* */ try\n/* */ {\n/* 326 */ double d = Double.valueOf(str).doubleValue();\n/* 327 */ localJessToken.m_ttype = 32;\n/* 328 */ localJessToken.m_nval = d;\n/* */ \n/* */ }\n/* */ catch (NumberFormatException localNumberFormatException2)\n/* */ {\n/* */ \n/* 334 */ localJessToken.m_ttype = 1;\n/* 335 */ localJessToken.m_sval = str;\n/* */ }\n/* */ }\n/* */ break;\n/* 339 */ default: throw new JessException(\"Tokenizer.finishToken\", \"Impossible tag:\", (char)paramInt); }\n/* */ \n/* 341 */ return localJessToken;\n/* */ }","title":""},{"docid":"43b14def744f4a2e66a268ed1beeaaf2","score":"0.51020676","text":"public final void mT__30() throws RecognitionException {\n try {\n int _type = T__30;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // /Users/Samy/Git_Telecom/Compilation2k18/Expr.g:9:7: ( ':' )\n // /Users/Samy/Git_Telecom/Compilation2k18/Expr.g:9:9: ':'\n {\n match(':'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }","title":""},{"docid":"592e99d59a1e68a2e2ff6a444eb4d429","score":"0.51018703","text":"public Token next() throws ParseException {\n/* 204 */ return next(false, false);\n/* */ }","title":""},{"docid":"e10781aa3a002415382e4847e4b575db","score":"0.5086245","text":"public final void mT__31() throws RecognitionException {\r\n try {\r\n int _type = T__31;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // src/Little.g:12:7: ( ';' )\r\n // src/Little.g:12:9: ';'\r\n {\r\n match(';'); \r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }","title":""},{"docid":"d54d7b5634dab7c5e1c96ac4ba377451","score":"0.5085547","text":"public abstract Token parse(MatchResult result) throws ParseException;","title":""},{"docid":"929cecd8aa403a61aee0621743237f7d","score":"0.5081841","text":"public final void mT__31() throws RecognitionException {\n try {\n int _type = T__31;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.featuremodel/src-gen/org/xtext/featuremodel/parser/antlr/internal/InternalFeatureModel.g:31:7: ( '' )\n // ../org.xtext.featuremodel/src-gen/org/xtext/featuremodel/parser/antlr/internal/InternalFeatureModel.g:31:9: ''\n {\n match(\"\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }","title":""},{"docid":"215d1a04e7656b40976de95b77930cb0","score":"0.50729555","text":"public interface Literal extends SelectStatementWater, SpecialNamesParagraphWater, CICSStatementWater, PrimaryOperand, InvokeStatementWater, StopLabel {\n}","title":""},{"docid":"353983ef9cdf251531b6007f57055188","score":"0.50718975","text":"@Override\n\tpublic String toAntlr() {\n\t\tString antlr = \"\";\n\t\tfor(ExpressionTerm argument : expressionTerms) {\n\t\t\tantlr += argument.toAntlr();\n\t\t}\n\t\tif(instruction)antlr += \"\\n;\";\n\t\t// TODO Write from arguments\n\t\treturn antlr;\n\t}","title":""},{"docid":"8458d160aec590695d950c4ff05d6935","score":"0.5070875","text":"public interface MimirJSqlParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int K_AS = 5;\n /** RegularExpression Id. */\n int K_DIRECT = 6;\n /** RegularExpression Id. */\n int K_UNCERTAIN = 7;\n /** RegularExpression Id. */\n int K_ANALYZE = 8;\n /** RegularExpression Id. */\n int K_EXPLAIN = 9;\n /** RegularExpression Id. */\n int K_ASSUME = 10;\n /** RegularExpression Id. */\n int K_VIEW = 11;\n /** RegularExpression Id. */\n int K_LENS = 12;\n /** RegularExpression Id. */\n int K_ADAPTIVE = 13;\n /** RegularExpression Id. */\n int K_SCHEMA = 14;\n /** RegularExpression Id. */\n int K_LET = 15;\n /** RegularExpression Id. */\n int K_LOAD = 16;\n /** RegularExpression Id. */\n int K_PLOT = 17;\n /** RegularExpression Id. */\n int K_ALTER = 18;\n /** RegularExpression Id. */\n int K_SAVE = 19;\n /** RegularExpression Id. */\n int K_RENAME = 20;\n /** RegularExpression Id. */\n int K_PRAGMA = 21;\n /** RegularExpression Id. */\n int K_MATERIALIZE = 22;\n /** RegularExpression Id. */\n int K_BY = 23;\n /** RegularExpression Id. */\n int K_DO = 24;\n /** RegularExpression Id. */\n int K_IF = 25;\n /** RegularExpression Id. */\n int K_IS = 26;\n /** RegularExpression Id. */\n int K_IN = 27;\n /** RegularExpression Id. */\n int K_OR = 28;\n /** RegularExpression Id. */\n int K_OF = 29;\n /** RegularExpression Id. */\n int K_ON = 30;\n /** RegularExpression Id. */\n int K_ALL = 31;\n /** RegularExpression Id. */\n int K_AND = 32;\n /** RegularExpression Id. */\n int K_ANY = 33;\n /** RegularExpression Id. */\n int K_KEY = 34;\n /** RegularExpression Id. */\n int K_NOT = 35;\n /** RegularExpression Id. */\n int K_SET = 36;\n /** RegularExpression Id. */\n int K_ASC = 37;\n /** RegularExpression Id. */\n int K_TOP = 38;\n /** RegularExpression Id. */\n int K_END = 39;\n /** RegularExpression Id. */\n int K_DESC = 40;\n /** RegularExpression Id. */\n int K_INTO = 41;\n /** RegularExpression Id. */\n int K_NULL = 42;\n /** RegularExpression Id. */\n int K_LIKE = 43;\n /** RegularExpression Id. */\n int K_DROP = 44;\n /** RegularExpression Id. */\n int K_JOIN = 45;\n /** RegularExpression Id. */\n int K_LEFT = 46;\n /** RegularExpression Id. */\n int K_FROM = 47;\n /** RegularExpression Id. */\n int K_OPEN = 48;\n /** RegularExpression Id. */\n int K_CASE = 49;\n /** RegularExpression Id. */\n int K_WHEN = 50;\n /** RegularExpression Id. */\n int K_THEN = 51;\n /** RegularExpression Id. */\n int K_ELSE = 52;\n /** RegularExpression Id. */\n int K_SOME = 53;\n /** RegularExpression Id. */\n int K_FULL = 54;\n /** RegularExpression Id. */\n int K_WITH = 55;\n /** RegularExpression Id. */\n int K_TABLE = 56;\n /** RegularExpression Id. */\n int K_WHERE = 57;\n /** RegularExpression Id. */\n int K_USING = 58;\n /** RegularExpression Id. */\n int K_UNION = 59;\n /** RegularExpression Id. */\n int K_GROUP = 60;\n /** RegularExpression Id. */\n int K_BEGIN = 61;\n /** RegularExpression Id. */\n int K_INDEX = 62;\n /** RegularExpression Id. */\n int K_INNER = 63;\n /** RegularExpression Id. */\n int K_LIMIT = 64;\n /** RegularExpression Id. */\n int K_OUTER = 65;\n /** RegularExpression Id. */\n int K_ORDER = 66;\n /** RegularExpression Id. */\n int K_RIGHT = 67;\n /** RegularExpression Id. */\n int K_DELETE = 68;\n /** RegularExpression Id. */\n int K_CREATE = 69;\n /** RegularExpression Id. */\n int K_SELECT = 70;\n /** RegularExpression Id. */\n int K_CAST = 71;\n /** RegularExpression Id. */\n int K_PROVENANCE = 72;\n /** RegularExpression Id. */\n int K_OFFSET = 73;\n /** RegularExpression Id. */\n int K_EXISTS = 74;\n /** RegularExpression Id. */\n int K_HAVING = 75;\n /** RegularExpression Id. */\n int K_INSERT = 76;\n /** RegularExpression Id. */\n int K_UPDATE = 77;\n /** RegularExpression Id. */\n int K_VALUES = 78;\n /** RegularExpression Id. */\n int K_ESCAPE = 79;\n /** RegularExpression Id. */\n int K_PRIMARY = 80;\n /** RegularExpression Id. */\n int K_NATURAL = 81;\n /** RegularExpression Id. */\n int K_REPLACE = 82;\n /** RegularExpression Id. */\n int K_BETWEEN = 83;\n /** RegularExpression Id. */\n int K_TRUNCATE = 84;\n /** RegularExpression Id. */\n int K_DISTINCT = 85;\n /** RegularExpression Id. */\n int K_INTERSECT = 86;\n /** RegularExpression Id. */\n int K_FEEDBACK = 87;\n /** RegularExpression Id. */\n int K_EXTRACT = 88;\n /** RegularExpression Id. */\n int K_ASSIGNMENTS = 89;\n /** RegularExpression Id. */\n int S_DOUBLE = 90;\n /** RegularExpression Id. */\n int S_INTEGER = 91;\n /** RegularExpression Id. */\n int DIGIT = 92;\n /** RegularExpression Id. */\n int LINE_COMMENT = 93;\n /** RegularExpression Id. */\n int MULTI_LINE_COMMENT = 94;\n /** RegularExpression Id. */\n int S_IDENTIFIER = 95;\n /** RegularExpression Id. */\n int LETTER = 96;\n /** RegularExpression Id. */\n int SPECIAL_CHARS = 97;\n /** RegularExpression Id. */\n int S_CHAR_LITERAL = 98;\n /** RegularExpression Id. */\n int S_QUOTED_IDENTIFIER = 99;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"AS\\\"\",\n \"\\\"DIRECT\\\"\",\n \"\\\"UNCERTAIN\\\"\",\n \"\\\"ANALYZE\\\"\",\n \"\\\"EXPLAIN\\\"\",\n \"\\\"ASSUME\\\"\",\n \"\\\"VIEW\\\"\",\n \"\\\"LENS\\\"\",\n \"\\\"ADAPTIVE\\\"\",\n \"\\\"SCHEMA\\\"\",\n \"\\\"LET\\\"\",\n \"\\\"LOAD\\\"\",\n \"\\\"PLOT\\\"\",\n \"\\\"ALTER\\\"\",\n \"\\\"SAVE\\\"\",\n \"\\\"RENAME\\\"\",\n \"\\\"PRAGMA\\\"\",\n \"\\\"MATERIALIZE\\\"\",\n \"\\\"BY\\\"\",\n \"\\\"DO\\\"\",\n \"\\\"IF\\\"\",\n \"\\\"IS\\\"\",\n \"\\\"IN\\\"\",\n \"\\\"OR\\\"\",\n \"\\\"OF\\\"\",\n \"\\\"ON\\\"\",\n \"\\\"ALL\\\"\",\n \"\\\"AND\\\"\",\n \"\\\"ANY\\\"\",\n \"\\\"KEY\\\"\",\n \"\\\"NOT\\\"\",\n \"\\\"SET\\\"\",\n \"\\\"ASC\\\"\",\n \"\\\"TOP\\\"\",\n \"\\\"END\\\"\",\n \"\\\"DESC\\\"\",\n \"\\\"INTO\\\"\",\n \"\\\"NULL\\\"\",\n \"\\\"LIKE\\\"\",\n \"\\\"DROP\\\"\",\n \"\\\"JOIN\\\"\",\n \"\\\"LEFT\\\"\",\n \"\\\"FROM\\\"\",\n \"\\\"OPEN\\\"\",\n \"\\\"CASE\\\"\",\n \"\\\"WHEN\\\"\",\n \"\\\"THEN\\\"\",\n \"\\\"ELSE\\\"\",\n \"\\\"SOME\\\"\",\n \"\\\"FULL\\\"\",\n \"\\\"WITH\\\"\",\n \"\\\"TABLE\\\"\",\n \"\\\"WHERE\\\"\",\n \"\\\"USING\\\"\",\n \"\\\"UNION\\\"\",\n \"\\\"GROUP\\\"\",\n \"\\\"BEGIN\\\"\",\n \"\\\"INDEX\\\"\",\n \"\\\"INNER\\\"\",\n \"\\\"LIMIT\\\"\",\n \"\\\"OUTER\\\"\",\n \"\\\"ORDER\\\"\",\n \"\\\"RIGHT\\\"\",\n \"\\\"DELETE\\\"\",\n \"\\\"CREATE\\\"\",\n \"\\\"SELECT\\\"\",\n \"\\\"CAST\\\"\",\n \"\\\"PROVENANCE\\\"\",\n \"\\\"OFFSET\\\"\",\n \"\\\"EXISTS\\\"\",\n \"\\\"HAVING\\\"\",\n \"\\\"INSERT\\\"\",\n \"\\\"UPDATE\\\"\",\n \"\\\"VALUES\\\"\",\n \"\\\"ESCAPE\\\"\",\n \"\\\"PRIMARY\\\"\",\n \"\\\"NATURAL\\\"\",\n \"\\\"REPLACE\\\"\",\n \"\\\"BETWEEN\\\"\",\n \"\\\"TRUNCATE\\\"\",\n \"\\\"DISTINCT\\\"\",\n \"\\\"INTERSECT\\\"\",\n \"\\\"FEEDBACK\\\"\",\n \"\\\"EXTRACT\\\"\",\n \"\\\"ASSIGNMENTS\\\"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\\\";\\\"\",\n \"\\\":\\\"\",\n \"\\\"(\\\"\",\n \"\\\",\\\"\",\n \"\\\")\\\"\",\n \"\\\"=\\\"\",\n \"\\\".\\\"\",\n \"\\\"*\\\"\",\n \"\\\"?\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\">=\\\"\",\n \"\\\"<=\\\"\",\n \"\\\"<>\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"@@\\\"\",\n \"\\\"||\\\"\",\n \"\\\"|\\\"\",\n \"\\\"&\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"/\\\"\",\n \"\\\"^\\\"\",\n \"\\\"{d\\\"\",\n \"\\\"}\\\"\",\n \"\\\"{t\\\"\",\n \"\\\"{ts\\\"\",\n \"\\\"{fn\\\"\",\n };\n\n}","title":""},{"docid":"05f8a16c220e68057e0f6b725baac9e3","score":"0.5065117","text":"private int yyr51() {\n return 107;\n }","title":""},{"docid":"4450d89f303b78381b23a2fd18046d14","score":"0.5056176","text":"public Token next() {\n\t\t\n\t\tint state = 0;\n\t\tStringBuilder lexeme = new StringBuilder();\n\t\tint startLine = source.line;\n\t\tint startColumn = source.column;\n\t\t\n\t\twhile (true) {\n\t\t\tswitch (state) {\n\t\t\tcase 0:\n\t\t\t\tif (source.atEOF) {\n\t\t\t\t\treturn new Token(source.line, source.column, TokenType.EOF, null);\n\t\t\t\t// State 1 deals with the NUM 0\n\t\t\t\t} else if (source.current == '0') {\n\t\t\t\t\tstartLine = source.line;\n\t\t\t\t\tstartColumn = source.column;\n\t\t\t\t\tlexeme.append(source.current);\n\t\t\t\t\tsource.advance();\n\t\t\t\t\tstate = 1;\n\t\t\t\t// State 2 deals with all the other NUMs\n\t\t\t\t} else if (Character.isDigit(source.current)) {\n\t\t\t\t\tstartLine = source.line;\n\t\t\t\t\tstartColumn = source.column;\n\t\t\t\t\tlexeme.append(source.current);\n\t\t\t\t\tsource.advance();\n\t\t\t\t\tstate = 2;\n\t\t\t\t// State 3 deals with keywords and identifiers\n\t\t\t\t} else if (Character.isAlphabetic(source.current)) {\n\t\t\t\t\tstartLine = source.line;\n\t\t\t\t\tstartColumn = source.column;\n\t\t\t\t\tlexeme.append(source.current);\n\t\t\t\t\tsource.advance();\n\t\t\t\t\tstate = 3;\n\t\t\t // States 4-7 deal with comments\n\t\t\t\t} else if (source.current == '/') {\n\t\t\t\t\tstate = 4;\n\t\t\t\t\tsource.advance();\n\t\t\t\t// State 8 deals with operators and punctuation\n\t\t\t\t} else if (\"+-*;.:(),\".contains(String.valueOf(source.current))) {\n\t\t\t\t\tstate = 8;\n\t\t\t\t\tlexeme.append(source.current);\n\t\t\t\t\tsource.advance();\n\t\t\t\t// State 9 deals with <= and <> as well as <\n\t\t\t\t} else if (source.current == '<') {\n\t\t\t\t\tstartLine = source.line;\n\t\t\t\t\tstartColumn = source.column;\n\t\t\t\t\tstate = 9;\n\t\t\t\t\tsource.advance();\n\t\t\t\t// State 10 deals with >= and >\n\t\t\t\t} else if (source.current == '>') {\n\t\t\t\t\tstartLine = source.line;\n\t\t\t\t\tstartColumn = source.column;\n\t\t\t\t\tstate = 10;\n\t\t\t\t\tsource.advance();\n\t\t\t\t// States 11-12 deal with string literal\n\t\t\t\t} else if (source.current == '\"') {\n\t\t\t\t\tstartLine = source.line;\n\t\t\t\t\tstartColumn = source.column;\n\t\t\t\t\tstate = 11;\n\t\t\t\t\tsource.advance();\n\t\t\t\t// States 13-14 deal with equal operator ==\n\t\t\t\t} else if (source.current == '=') {\n\t\t\t\t\tstartLine = source.line;\n\t\t\t\t\tstartColumn = source.column;\n\t\t\t\t\tstate = 13;\n\t\t\t\t\tsource.advance();\n\t\t\t\t} else if (Character.isWhitespace(source.current)) {\n\t\t\t\t\tsource.advance();\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"Unexpected character '\" + source.current + \"' at line \" + source.line + \" column \" + source.column + \" was skipped.\");\n\t\t\t\t\tsource.advance();\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t\t\n\t\t\tcase 1:\n\t\t\t\treturn new Token(startLine, startColumn, TokenType.NUM, lexeme.toString());\n\t\t\t\t\n\t\t\tcase 2:\n\t\t\t\tif (source.atEOF || !Character.isDigit(source.current)) {\n\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.NUM, lexeme.toString());\n\t\t\t\t} else {\n\t\t\t\t\tlexeme.append(source.current);\n\t\t\t\t\tsource.advance();\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 3:\n\t\t\t\t// a list of legal characters to signal the end of lexeme\n\t\t\t\tString end_chars = \"+-*;.=/ \\t\\n:(),<>\\\"\";\n\t\t\t\t\n\t\t\t\t// Alphabets, digits, and underscores are parts of legal identifier\n\t\t\t\tif (Character.isAlphabetic(source.current) || Character.isDigit(source.current) || source.current == '_') {\n\t\t\t\t\tlexeme.append(source.current);\n\t\t\t\t\tsource.advance();\n\t\t\t\t// This case is the end of token\n\t\t\t\t} else if (end_chars.contains(String.valueOf(source.current))) {\n\t\t\t\t\tString lex = lexeme.toString();\n\t\t\t\t\t\n\t\t\t\t\tif (keywords.containsKey(lex))\n\t\t\t\t\t\treturn new Token(startLine, startColumn, keywords.get(lex), null);\n\t\t\t\t\telse\n\t\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.ID, lex);\n\t\t\t\t// If there is a illegal character, print an error message\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"Unexpected character '\" + source.current + \"' at line \" + source.line + \" column \" + source.column + \" was skipped.\");\n\t\t\t\t\tsource.advance();\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 4:\n\t\t\t\tif (source.current == '/') {\n\t\t\t\t\tstate = 5;\n\t\t\t\t\tsource.advance();\n\t\t\t\t}\n\t\t\t\telse if (source.current == '*') {\n\t\t\t\t\tstate = 6;\n\t\t\t\t\tsource.advance();\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.println(\"You have to use // for a one-line comment.\");\n\t\t\t\t\tstate = 0;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 5:\n\t\t\t\tif (source.current == '\\n')\n\t\t\t\t\tstate = 0;\n\t\t\t\tsource.advance();\n\t\t\t\tbreak;\n\t\t\tcase 6:\n\t\t\t\tif (source.current == '*')\n\t\t\t\t\tstate = 7;\n\t\t\t\telse if (source.atEOF) {\n\t\t\t\t\tSystem.out.println(\"Comment has to be closed with '*/' before EOF\");\n\t\t\t\t\tstate = 0;\n\t\t\t\t}\n\t\t\t\tsource.advance();\n\t\t\t\tbreak;\n\t\t\tcase 7:\n\t\t\t\tif (source.current == '/')\n\t\t\t\t\tstate = 0;\n\t\t\t\telse if (source.current == '*')\n\t\t\t\t\tstate = 7;\n\t\t\t\telse if (source.atEOF) {\n\t\t\t\t\tSystem.out.println(\"Comment has to be closed with '*/' before EOF\");\n\t\t\t\t\tstate = 0;\n\t\t\t\t} else\n\t\t\t\t\tstate = 6;\n\t\t\t\tsource.advance();\n\t\t\t\tbreak;\n\t\t\tcase 8:\n\t\t\t\tString lex = lexeme.toString();\n\t\t\t\treturn new Token(startLine, startColumn, opsAndPunct.get(lex), null);\n\t\t\tcase 9:\n\t\t\t\tif (source.current == '=') {\n\t\t\t\t\tsource.advance();\n\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.LE, null);\n\t\t\t\t}\n\t\t\t\telse if (source.current == '>') {\n\t\t\t\t\tsource.advance();\n\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.NE, null);\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.LT, null);\n\t\t\tcase 10:\n\t\t\t\tif (source.current == '=') {\n\t\t\t\t\tsource.advance();\n\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.GE, null);\n\t\t\t\t} else \n\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.GT, null);\n\t\t\tcase 11:\n\t\t\t\tif (source.current == '\"')\n\t\t\t\t\tstate = 12;\n\t\t\t\telse if (source.current == '\\n')\n\t\t\t\t\tSystem.out.println(\"String literal has to end with \\\"\");\n\t\t\t\t\t// System.exit(1); // Lexical error does not exit the program?\n\t\t\t\telse\n\t\t\t\t\tlexeme.append(source.current);\n\t\t\t\tsource.advance();\n\t\t\t\tbreak;\n\t\t\tcase 12:\n\t\t\t\tif (source.current == '\"') {\n\t\t\t\t\tstate = 11;\n\t\t\t\t\t// Two quotation marks (\"\") is considered a \" in the string literal\n\t\t\t\t\tlexeme.append('\"');\n\t\t\t\t\tsource.advance();\n\t\t\t\t} else \n\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.STRING, lexeme.toString());\n\t\t\t\tbreak;\n\t\t\tcase 13:\n\t\t\t\tif (source.current == '=') {\n\t\t\t\t\tstate = 14;\n\t\t\t\t\tsource.advance();\n\t\t\t\t} else\n\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.ASSIGN, null);\n\t\t\t\tbreak;\n\t\t\tcase 14:\n\t\t\t\treturn new Token(startLine, startColumn, TokenType.EQ, null);\n\t\t\tdefault:\n\t\t\t\t// This part will NOT be executed. The error will be thrown just in case.\n\t\t\t\tthrow new RuntimeException(\"Unreachable. Something is wrong with the lexer.\");\n\t\t\t}\n\t\t}\n\t}","title":""},{"docid":"64016b855a7d5889305fe2ec9ea33896","score":"0.50475615","text":"@Override\r\n\t public boolean matchStatement(LinkedList tokens) {\r\n\t\tboolean match = true;\r\n\t\tToken token = null;\r\n\t\tIterator it = tokens.iterator();\r\n\t\twhile (it.hasNext()) {\r\n\t\t token = it.next();\r\n\t\t switch (token.getString()) {\r\n\t\t case \"(\":\r\n\t\t case \")\":\r\n\t\t\tmatch = false;\r\n\t\t\tbreak;\r\n\t\t }\r\n\t\t}\r\n\t\treturn match;\r\n\t }","title":""},{"docid":"32cf09528cc0b15edf9de2bfe0c01cfc","score":"0.50305325","text":"T visitAndexpression(lengBasicParser.AndexpressionContext ctx);","title":""},{"docid":"fcd05a13dd6c27126180cfe47fb9e40b","score":"0.50302964","text":"public interface ITokens {\n /* terminals */\n public static final int SHORT = 66;\n public static final int BOOL = 64;\n public static final int PRN_LEFT = 60;\n public static final int BIT_LM = 39;\n public static final int NUM_DIV_ASSIGN = 48;\n public static final int BIT_RM = 40;\n public static final int SEMI = 15;\n public static final int NEXT = 8;\n public static final int COMMA = 14;\n public static final int BIT_LM_ASSIGN = 53;\n public static final int BIT_AND = 35;\n public static final int BRC_RIGHT = 57;\n public static final int INTEGER = 67;\n public static final int BIT_XOR = 38;\n public static final int DOUBLE = 70;\n public static final int LGC_CNE = 26;\n public static final int LOOP = 7;\n public static final int TEXT = 73;\n public static final int LGC_CGT = 22;\n public static final int VAR = 4;\n public static final int LGC_AND = 18;\n public static final int BIT_AND_ASSIGN = 50;\n public static final int NUM_MOD_ASSIGN = 49;\n public static final int FLOAT = 69;\n public static final int QUESTION_COLON = 17;\n public static final int NUM_SUB_ASSIGN = 46;\n public static final int LGC_CGE = 24;\n public static final int INCLUDE = 2;\n public static final int BIT_XOR_ASSIGN = 52;\n public static final int CHARS = 71;\n public static final int LONG = 68;\n public static final int QUESTION = 16;\n public static final int LGC_CLT = 21;\n public static final int ASSIGN = 42;\n public static final int NUM_POW = 10;\n public static final int BIT_NOT = 37;\n public static final int NUM_SUB = 28;\n public static final int BIT_OR = 36;\n public static final int BIT_ZRM_ASSIGN = 55;\n public static final int LGC_CLE = 23;\n public static final int ELSE = 6;\n public static final int BREAK = 9;\n public static final int DOT = 12;\n public static final int ECHO = 3;\n public static final int NUM_ADD1 = 32;\n public static final int NULL = 63;\n public static final int LGC_AND_ASSIGN = 43;\n public static final int EOF = 0;\n public static final int LGC_NOT = 20;\n public static final int NUM_MUL = 29;\n public static final int LABEL = 72;\n public static final int LGC_CEE = 25;\n public static final int BIT_ZRM = 41;\n public static final int NUM_MOD = 31;\n public static final int BRK_RIGHT = 59;\n public static final int HOLD_TAIL = 62;\n public static final int NUM_ADD_ASSIGN = 45;\n public static final int BRC_LEFT = 56;\n public static final int error = 1;\n public static final int IF = 5;\n public static final int PRN_RIGHT = 61;\n public static final int NUM_MUL_ASSIGN = 47;\n public static final int COLON = 13;\n public static final int MERGE = 11;\n public static final int NUM_ADD = 27;\n public static final int NUM_DIV = 30;\n public static final int NUM_SUB1 = 33;\n public static final int NUM_NGT = 34;\n public static final int LGC_OR_ASSIGN = 44;\n public static final int BYTE = 65;\n public static final int LGC_OR = 19;\n public static final int BIT_OR_ASSIGN = 51;\n public static final int BIT_RM_ASSIGN = 54;\n public static final int BRK_LEFT = 58;\n}","title":""},{"docid":"cbd4285e29fae6be2b02e5734cb33c3a","score":"0.5030275","text":"public String visit(VarDeclaration n, String argu) throws RuntimeException{\n String _ret=null;\n\n\t String filename=previousprogram.get(1)+\".ll\";\n\t BufferedWriter bw=null;\n\t try{\n\t\t File f=new File(filename);\n\t\t /*if(!file.exists()){\n\t\t\tfile.createNewFile();\n\t\t }*/\n\t\t FileWriter fw=new FileWriter(f,true);\n\t\t\t\t\n\t\t bw=new BufferedWriter(fw);\n\t }\n\t catch (IOException e) {\n e.printStackTrace();\n }\n\n\n\n String type=n.f0.accept(this, argu);\n String name=n.f1.accept(this, argu);\n\t //System.out.println(\"TYPE and NAME=\"+type+name);\n\n n.f2.accept(this, argu);\n\t program.add(\";\");\n\n\t try{\n\n\t\t\n\t\tbw.flush();\n\t\tbw.close();\n\t }\n\t catch (IOException e) {\n e.printStackTrace();\n }\n return _ret;\n }","title":""},{"docid":"99b8484edd08cad66b4f8447e0792042","score":"0.5022795","text":"public interface IntASTStatement extends IntASTNode {\n \n}","title":""},{"docid":"649a5ee4b28110c3dd9faf9866a21a19","score":"0.50166416","text":"private void compileStatement(){\n tokenizer.advance();\n\n //siguiente '}'\n if (tokenizer.tokenType() == JackTokenizer.SYMBOL && tokenizer.symbol() == '}'){\n tokenizer.pointerBack();\n return;\n }\n\n //siguiente caso 'let'|'if'|'while'|'do'|'return'\n if (tokenizer.tokenType() != JackTokenizer.KEYWORD){\n error(\"keyword\");\n }else {\n switch (tokenizer.keyWord()){\n case JackTokenizer.LET:compileLet();break;\n case JackTokenizer.IF:compileIf();break;\n case JackTokenizer.WHILE:compilesWhile();break;\n case JackTokenizer.DO:compileDo();break;\n case JackTokenizer.RETURN:compileReturn();break;\n default:error(\"'let'|'if'|'while'|'do'|'return'\");\n }\n }\n\n compileStatement();\n }","title":""},{"docid":"8a8e7c7c89ca2b8c8a44e09299fb43ac","score":"0.50135607","text":"public final void mT__31() throws RecognitionException {\n try {\n int _type = T__31;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // /Users/Samy/Git_Telecom/Compilation2k18/Expr.g:10:7: ( ',' )\n // /Users/Samy/Git_Telecom/Compilation2k18/Expr.g:10:9: ','\n {\n match(','); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }","title":""},{"docid":"00d4eafc1efd116a161847cfc30cce5f","score":"0.500551","text":"private Token match(Token.Kind kind) {\n\t\tcheckNotEof();\n\t\tToken token = tokens.get(index++);\n\t\tif (token.kind != kind) {\n\t\t\tsyntaxError(\"expecting \\\"\" + kind + \"\\\" here\", token);\n\t\t}\n\t\treturn token;\n\t}","title":""},{"docid":"bf5aae8a4dc11a7a0bdbc6e3053a7eed","score":"0.4989482","text":"public String visit(TypeDeclaration n, String argu) throws Exception {\n System.out.println(\"TypeDeclaration :\");\n return n.f0.accept(this, null);\n }","title":""},{"docid":"701d28da13ab2f40b90e8f8c92b1b808","score":"0.4988934","text":"protected Node exitTokenDeclaration(Production node)\n throws ParseException {\n\n return node;\n }","title":""},{"docid":"973eb7f660097fe032b3a2bcff74880b","score":"0.49843964","text":"public String visit(AssignmentStatement n, String argu) {\n String _ret=null;\n\t String filename=previousprogram.get(1)+\".ll\";\n\t BufferedWriter bw=null;\n\t try{\n\t\t File f=new File(filename);\n\t\t /*if(!file.exists()){\n\t\t\tfile.createNewFile();\n\t\t }*/\n\t\t FileWriter fw=new FileWriter(f,true);\n\t\t\t\t\n\t\t bw=new BufferedWriter(fw);\n\t }\n\t catch (IOException e) {\n e.printStackTrace();\n }\n\n\n\n\t String type1,type2;\n\t type1=n.f0.accept(this,argu);\n\t String name1=program.get(program.size()-1);\n\t try{\n\t\t/*bw.write(\"%_\"+numregister+\" = load \");\n\t\tnumregister++;\n\t\tif(type1==\"int\"){\n\t\t\tbw.write(\"i32, i32* %\"+program.get(program.size()-1)+\"\\n\");\n\t\t}*/\n\t\tbw.flush();\n\t }\n\t catch (IOException e) {\n e.printStackTrace();\n }\n\n n.f1.accept(this, argu);\n\t program.add(\"=\");\n type2=n.f2.accept(this, argu);//o typos toy antikeimenoy einai type1\n\t \n\t try{\n\t\tbw.write(\"store \");\n\t\tif(isNumeric(program.get(program.size()-1))&&program.get(program.size()-2)==\"=\"){\n\t\t\tif(program.get(program.size()-1)==\"]\"){\n\t\t\t\t\tbw.write(\"i32 %_\"+(numregister-1)+\", i32* %\"+(numregister-1)+\"\\n\");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tbw.write(\"i32 \"+program.get(program.size()-1)+\", i32* %\"+program.get(program.size()-3)+\"\\n\");\n\t\t\t}\n\t\t}\n\t\telse{\n\t\t\tif(type1==\"int\"||type1==\"int[]\"){\n\t\t\t\tif(program.get(program.size()-1)==\"]\"){\n\t\t\t\t\tbw.write(\"i32 %_\"+(numregister-1)+\", i32* %\"+(numregister-4)+\"\\n\");\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tbw.write(\"i32 %_\"+(numregister-1)+\", i32* %\"+name1+\"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tbw.flush();\n\t }\n\t catch (IOException e) {\n e.printStackTrace();\n }\n\n\t \n n.f3.accept(this, argu);\n\t program.add(\";\");\n\t\n return _ret;\n }","title":""},{"docid":"448fde94221a81c69491098c2a9b9027","score":"0.49797532","text":"public interface IDLParserConstants {\r\n\r\n /** End of File. */\r\n int EOF = 0;\r\n /** RegularExpression Id. */\r\n int ID = 24;\r\n /** RegularExpression Id. */\r\n int OCTALINT = 25;\r\n /** RegularExpression Id. */\r\n int DECIMALINT = 26;\r\n /** RegularExpression Id. */\r\n int HEXADECIMALINT = 27;\r\n /** RegularExpression Id. */\r\n int FLOATONE = 28;\r\n /** RegularExpression Id. */\r\n int FLOATTWO = 29;\r\n /** RegularExpression Id. */\r\n int CHARACTER = 30;\r\n /** RegularExpression Id. */\r\n int STRING = 31;\r\n\r\n /** Lexical state. */\r\n int DEFAULT = 0;\r\n\r\n /** Literal token values. */\r\n String[] tokenImage = {\r\n \"\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\\\"\\\\n\\\"\",\r\n \"\\\"\\\\r\\\"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\\\";\\\"\",\r\n \"\\\"module\\\"\",\r\n \"\\\"{\\\"\",\r\n \"\\\"}\\\"\",\r\n \"\\\"struct\\\"\",\r\n \"\\\",\\\"\",\r\n \"\\\"[\\\"\",\r\n \"\\\"]\\\"\",\r\n \"\\\"float\\\"\",\r\n \"\\\"double\\\"\",\r\n \"\\\"long\\\"\",\r\n \"\\\"short\\\"\",\r\n \"\\\"unsigned\\\"\",\r\n \"\\\"char\\\"\",\r\n \"\\\"boolean\\\"\",\r\n \"\\\"octet\\\"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n };\r\n\r\n}","title":""},{"docid":"e44042db2551f72be7d50e3ade6aaf9e","score":"0.4974882","text":"public final void ruleEnumLiteralDeclaration() throws RecognitionException {\n Token otherlv_0=null;\n Token otherlv_1=null;\n\n try {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1883:27: ( ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )? ) )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1884:2: ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )? )\n {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1884:2: ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )? )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1885:3: ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )?\n {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1885:3: ( (otherlv_0= RULE_ID ) )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1886:4: (otherlv_0= RULE_ID )\n {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1886:4: (otherlv_0= RULE_ID )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1887:5: otherlv_0= RULE_ID\n {\n\n \t\t\t\t\tmarkLeaf(elementTypeProvider.getEnumLiteralDeclaration_EnumLiteralEEnumLiteralCrossReference_0_0ElementType());\n \t\t\t\t\n otherlv_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_RULE_ID_in_ruleEnumLiteralDeclaration5441); \n\n \t\t\t\t\tdoneLeaf(otherlv_0);\n \t\t\t\t\n\n }\n\n\n }\n\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1896:3: (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )?\n int alt50=2;\n int LA50_0 = input.LA(1);\n\n if ( (LA50_0==30) ) {\n alt50=1;\n }\n switch (alt50) {\n case 1 :\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1897:4: otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) )\n {\n\n \t\t\t\tmarkLeaf(elementTypeProvider.getEnumLiteralDeclaration_EqualsSignKeyword_1_0ElementType());\n \t\t\t\n otherlv_1=(Token)match(input,30,FollowSets000.FOLLOW_30_in_ruleEnumLiteralDeclaration5472); \n\n \t\t\t\tdoneLeaf(otherlv_1);\n \t\t\t\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1904:4: ( (lv_literal_2_0= ruleKeyword ) )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1905:5: (lv_literal_2_0= ruleKeyword )\n {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1905:5: (lv_literal_2_0= ruleKeyword )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1906:6: lv_literal_2_0= ruleKeyword\n {\n\n \t\t\t\t\t\tmarkComposite(elementTypeProvider.getEnumLiteralDeclaration_LiteralKeywordParserRuleCall_1_1_0ElementType());\n \t\t\t\t\t\n pushFollow(FollowSets000.FOLLOW_ruleKeyword_in_ruleEnumLiteralDeclaration5504);\n ruleKeyword();\n\n state._fsp--;\n\n\n \t\t\t\t\t\tdoneComposite();\n \t\t\t\t\t\n\n }\n\n\n }\n\n\n }\n break;\n\n }\n\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return ;\n }","title":""},{"docid":"38755a77c3bad74855e6bca9c3ba7d6c","score":"0.49635845","text":"public Token next() {\n\t\tif (_buffer.isEmpty())\n\t\t\treturn null;\n\n\t\t// TODO: Complete this method\n\t\t// START YOUR CODE\n\t\tchar firstChar = _buffer.charAt(0);\n\t\tif (firstChar == 'I'){\n\t\t\tif (_buffer.substring(0, 11).equals(\"INSERT INTO\")){\n\t\t\t\tStringBuilder stringBuilder = new StringBuilder();\n\t\t\t\tint pos = 12 ;\n\t\t\t\t//current char (digit) , pointer\n\t\t\t\tchar current = _buffer.charAt(pos);\n\t\t\t\twhile(current!='V'){\n\t\t\t\t\tstringBuilder.append(current);\n\t\t\t\t\tpos++;\n\t\t\t\t\t// if else to handle the out of range bug\n\t\t\t\t\t//make sure the current pointer is not out of bounds\n\t\t\t\t\tif(pos<_buffer.length()){\n\t\t\t\t\t\tcurrent = _buffer.charAt(pos);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.println(stringBuilder.toString());\n\t\t\t\tstringBuilder.setLength(stringBuilder.length()-1);\n\t\t\t\treturn new Token(Token.Type.INSERT_INTO,stringBuilder.toString(),\"INSERT INTO \"+stringBuilder.toString());\n\t\t\t}\n\t\t}\n\n\t\tif (firstChar == 'V'){\n\t\t\tif (_buffer.substring(0, 6 ).equals(\"VALUES\")){\n\n\t\t\t\treturn new Token(Token.Type.VALUES,_buffer.substring(7,_buffer.length()),_buffer);\n\t\t\t}\n\t\t}\n\n\n\n\n\t\t// You are allowed to remove the following 'return null' if necessary\n\t\treturn null;\n\t\t\n\t\t// END YOUR CODE\n\t}","title":""},{"docid":"23f89ec3146c7a11ac5c7d5ee9abd011","score":"0.49534968","text":"public interface CyclParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int OPEN_PAREN = 1;\n /** RegularExpression Id. */\n int CLOSE_PAREN = 2;\n /** RegularExpression Id. */\n int WS = 10;\n /** RegularExpression Id. */\n int CONSTANT_PREFIX = 11;\n /** RegularExpression Id. */\n int SIMPLE_VARIABLE_PREFIX = 12;\n /** RegularExpression Id. */\n int META_VARIABLE_PREFIX = 13;\n /** RegularExpression Id. */\n int GUID_PREFIX = 14;\n /** RegularExpression Id. */\n int TRUE_CONSTANT = 15;\n /** RegularExpression Id. */\n int FALSE_CONSTANT = 16;\n /** RegularExpression Id. */\n int AND_CONSTANT = 17;\n /** RegularExpression Id. */\n int OR_CONSTANT = 18;\n /** RegularExpression Id. */\n int XOR_CONSTANT = 19;\n /** RegularExpression Id. */\n int NOT_CONSTANT = 20;\n /** RegularExpression Id. */\n int EQUIV_CONSTANT = 21;\n /** RegularExpression Id. */\n int IMPLIES_CONSTANT = 22;\n /** RegularExpression Id. */\n int FORALL_CONSTANT = 23;\n /** RegularExpression Id. */\n int THEREEXISTS_CONSTANT = 24;\n /** RegularExpression Id. */\n int THEREEXISTEXACTLY_CONSTANT = 25;\n /** RegularExpression Id. */\n int THEREEXISTATMOST_CONSTANT = 26;\n /** RegularExpression Id. */\n int THEREEXISTATLEAST_CONSTANT = 27;\n /** RegularExpression Id. */\n int EXPANDSUBLFN_CONSTANT = 28;\n /** RegularExpression Id. */\n int SUBLQUOTEFN_CONSTANT = 29;\n /** RegularExpression Id. */\n int TRUE_GUID_CONSTANT = 30;\n /** RegularExpression Id. */\n int FALSE_GUID_CONSTANT = 31;\n /** RegularExpression Id. */\n int AND_GUID_CONSTANT = 32;\n /** RegularExpression Id. */\n int OR_GUID_CONSTANT = 33;\n /** RegularExpression Id. */\n int XOR_GUID_CONSTANT = 34;\n /** RegularExpression Id. */\n int NOT_GUID_CONSTANT = 35;\n /** RegularExpression Id. */\n int EQUIV_GUID_CONSTANT = 36;\n /** RegularExpression Id. */\n int IMPLIES_GUID_CONSTANT = 37;\n /** RegularExpression Id. */\n int FORALL_GUID_CONSTANT = 38;\n /** RegularExpression Id. */\n int THEREEXISTS_GUID_CONSTANT = 39;\n /** RegularExpression Id. */\n int THEREEXISTEXACTLY_GUID_CONSTANT = 40;\n /** RegularExpression Id. */\n int THEREEXISTATMOST_GUID_CONSTANT = 41;\n /** RegularExpression Id. */\n int THEREEXISTATLEAST_GUID_CONSTANT = 42;\n /** RegularExpression Id. */\n int EXPANDSUBLFN_GUID_CONSTANT = 43;\n /** RegularExpression Id. */\n int SUBLQUOTEFN_GUID_CONSTANT = 44;\n /** RegularExpression Id. */\n int TRUE_GUID = 45;\n /** RegularExpression Id. */\n int FALSE_GUID = 46;\n /** RegularExpression Id. */\n int AND_GUID = 47;\n /** RegularExpression Id. */\n int OR_GUID = 48;\n /** RegularExpression Id. */\n int XOR_GUID = 49;\n /** RegularExpression Id. */\n int NOT_GUID = 50;\n /** RegularExpression Id. */\n int EQUIV_GUID = 51;\n /** RegularExpression Id. */\n int IMPLIES_GUID = 52;\n /** RegularExpression Id. */\n int FORALL_GUID = 53;\n /** RegularExpression Id. */\n int THEREEXISTS_GUID = 54;\n /** RegularExpression Id. */\n int THEREEXISTEXACTLY_GUID = 55;\n /** RegularExpression Id. */\n int THEREEXISTATMOST_GUID = 56;\n /** RegularExpression Id. */\n int THEREEXISTATLEAST_GUID = 57;\n /** RegularExpression Id. */\n int EXPANDSUBLFN_GUID = 58;\n /** RegularExpression Id. */\n int SUBLQUOTEFN_GUID = 59;\n /** RegularExpression Id. */\n int INTEGER = 60;\n /** RegularExpression Id. */\n int FLOAT = 61;\n /** RegularExpression Id. */\n int DECIMAL_INT = 62;\n /** RegularExpression Id. */\n int FLOAT_ONE = 63;\n /** RegularExpression Id. */\n int FLOAT_TWO = 64;\n /** RegularExpression Id. */\n int CONSTANT_NAME1 = 65;\n /** RegularExpression Id. */\n int NON_NUMERIC_START_CHAR = 66;\n /** RegularExpression Id. */\n int NUMERIC_START_CHAR = 67;\n /** RegularExpression Id. */\n int VALID_CONSTANT_CHAR = 68;\n /** RegularExpression Id. */\n int CONSTANT_NAME2 = 69;\n /** RegularExpression Id. */\n int CONSTANT_GUID = 70;\n /** RegularExpression Id. */\n int GUID_CHAR = 71;\n /** RegularExpression Id. */\n int CONSTANT_GUID2 = 72;\n /** RegularExpression Id. */\n int SIMPLE_VARIABLE = 73;\n /** RegularExpression Id. */\n int NON_DASH_VARIABLE_CHAR = 74;\n /** RegularExpression Id. */\n int META_VARIABLE = 75;\n /** RegularExpression Id. */\n int NON_DASH_META_VARIABLE_CHAR = 76;\n /** RegularExpression Id. */\n int STRING = 77;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_LINE_COMMENT = 1;\n /** Lexical state. */\n int IN_COMMENT = 2;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"//\\\"\",\n \"\\\";\\\"\",\n \"\\\"/*\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\",\n \"\\\"*/\\\"\",\n \"\",\n \"\",\n \"\\\"#$\\\"\",\n \"\\\"?\\\"\",\n \"\\\":\\\"\",\n \"\\\"#G\\\"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"
\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\\\"\",\n \"\",\n \"\\\"\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\\\"\\\\n\\\"\",\r\n \"\\\"\\\\r\\\"\",\r\n \"\\\"\\\\f\\\"\",\r\n \"\\\"(\\\"\",\r\n \"\\\")\\\"\",\r\n \"\\\"[\\\"\",\r\n \"\\\"]\\\"\",\r\n \"\\\"{\\\"\",\r\n \"\\\"}\\\"\",\r\n \"\\\".\\\"\",\r\n \"\\\"-\\\"\",\r\n \"\\\"!\\\"\",\r\n \"\\\"*\\\"\",\r\n \"\\\"/\\\"\",\r\n \"\\\"+\\\"\",\r\n \"\\\"<\\\"\",\r\n \"\\\">\\\"\",\r\n \"\\\"=\\\"\",\r\n \"\\\"==\\\"\",\r\n \"\\\"!=\\\"\",\r\n \"\\\"&&\\\"\",\r\n \"\\\"||\\\"\",\r\n \"\\\",\\\"\",\r\n \"\\\";\\\"\",\r\n \"\\\"public\\\"\",\r\n \"\\\"static\\\"\",\r\n \"\\\"void\\\"\",\r\n \"\\\"main\\\"\",\r\n \"\\\"String\\\"\",\r\n \"\\\"class\\\"\",\r\n \"\\\"extends\\\"\",\r\n \"\\\"Thread\\\"\",\r\n \"\\\"synchronized\\\"\",\r\n \"\\\"return\\\"\",\r\n \"\\\"if\\\"\",\r\n \"\\\"else\\\"\",\r\n \"\\\"while\\\"\",\r\n \"\\\"Xinu\\\"\",\r\n \"\\\"true\\\"\",\r\n \"\\\"false\\\"\",\r\n \"\\\"this\\\"\",\r\n \"\\\"null\\\"\",\r\n \"\\\"new\\\"\",\r\n \"\\\"int\\\"\",\r\n \"\\\"boolean\\\"\",\r\n \"\\\"//\\\"\",\r\n \"\",\r\n \"\\\"/*\\\"\",\r\n \"\",\r\n \"\\\"*/\\\"\",\r\n \"\\\"*/\\\"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n };\r\n\r\n}","title":""},{"docid":"6feed7f5541b810d8fd7bb11de915fda","score":"0.5325525","text":"public interface CMMConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 6;\n /** RegularExpression Id. */\n int FORMAL_COMMENT = 7;\n /** RegularExpression Id. */\n int MULTI_LINE_COMMENT = 8;\n /** RegularExpression Id. */\n int IF = 9;\n /** RegularExpression Id. */\n int ELSE = 10;\n /** RegularExpression Id. */\n int WHILE = 11;\n /** RegularExpression Id. */\n int DO = 12;\n /** RegularExpression Id. */\n int INT = 13;\n /** RegularExpression Id. */\n int REAL = 14;\n /** RegularExpression Id. */\n int CHAR = 15;\n /** RegularExpression Id. */\n int VOID = 16;\n /** RegularExpression Id. */\n int FOR = 17;\n /** RegularExpression Id. */\n int PRINT = 18;\n /** RegularExpression Id. */\n int SCAN = 19;\n /** RegularExpression Id. */\n int BREAK = 20;\n /** RegularExpression Id. */\n int CONTINUE = 21;\n /** RegularExpression Id. */\n int RETURN = 22;\n /** RegularExpression Id. */\n int INTEGER_LITERAL = 23;\n /** RegularExpression Id. */\n int DECIMAL_LITERAL = 24;\n /** RegularExpression Id. */\n int HEX_LITERAL = 25;\n /** RegularExpression Id. */\n int REAL_LITERAL = 26;\n /** RegularExpression Id. */\n int EXPONENT = 27;\n /** RegularExpression Id. */\n int CHARACTER_LITERAL = 28;\n /** RegularExpression Id. */\n int STRING_LITERAL = 29;\n /** RegularExpression Id. */\n int IDENTIFIER = 30;\n /** RegularExpression Id. */\n int LETTER = 31;\n /** RegularExpression Id. */\n int DIGIT = 32;\n /** RegularExpression Id. */\n int LPAREN = 33;\n /** RegularExpression Id. */\n int RPAREN = 34;\n /** RegularExpression Id. */\n int LBRACE = 35;\n /** RegularExpression Id. */\n int RBRACE = 36;\n /** RegularExpression Id. */\n int LBRACKET = 37;\n /** RegularExpression Id. */\n int RBRACKET = 38;\n /** RegularExpression Id. */\n int SEMICOLON = 39;\n /** RegularExpression Id. */\n int COMMA = 40;\n /** RegularExpression Id. */\n int DOT = 41;\n /** RegularExpression Id. */\n int UNDERSCORE = 42;\n /** RegularExpression Id. */\n int ASSIGN = 43;\n /** RegularExpression Id. */\n int PLUS = 44;\n /** RegularExpression Id. */\n int MINUS = 45;\n /** RegularExpression Id. */\n int TIMES = 46;\n /** RegularExpression Id. */\n int DIVIDE = 47;\n /** RegularExpression Id. */\n int MOD = 48;\n /** RegularExpression Id. */\n int BIT_OR = 49;\n /** RegularExpression Id. */\n int BIT_AND = 50;\n /** RegularExpression Id. */\n int XOR = 51;\n /** RegularExpression Id. */\n int TILDE = 52;\n /** RegularExpression Id. */\n int EQ = 53;\n /** RegularExpression Id. */\n int NEQ = 54;\n /** RegularExpression Id. */\n int GT = 55;\n /** RegularExpression Id. */\n int LT = 56;\n /** RegularExpression Id. */\n int GE = 57;\n /** RegularExpression Id. */\n int LE = 58;\n /** RegularExpression Id. */\n int SC_OR = 59;\n /** RegularExpression Id. */\n int SC_AND = 60;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\",\n \"\",\n \"\",\n \"\\\"if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"while\\\"\",\n \"\\\"do\\\"\",\n \"\\\"int\\\"\",\n \"\\\"real\\\"\",\n \"\\\"char\\\"\",\n \"\\\"void\\\"\",\n \"\\\"for\\\"\",\n \"\\\"print\\\"\",\n \"\\\"scan\\\"\",\n \"\\\"break\\\"\",\n \"\\\"continue\\\"\",\n \"\\\"return\\\"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\"_\\\"\",\n \"\\\"=\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"|\\\"\",\n \"\\\"&\\\"\",\n \"\\\"^\\\"\",\n \"\\\"~\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<>\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\">=\\\"\",\n \"\\\"<=\\\"\",\n \"\\\"||\\\"\",\n \"\\\"&&\\\"\",\n };\n\n}","title":""},{"docid":"cc4b3eb64639584a1b334b9f89667d0d","score":"0.5299606","text":"public interface JaccParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int ABSTRACT = 6;\n /** RegularExpression Id. */\n int BOOLEAN = 7;\n /** RegularExpression Id. */\n int BREAK = 8;\n /** RegularExpression Id. */\n int BYTE = 9;\n /** RegularExpression Id. */\n int CASE = 10;\n /** RegularExpression Id. */\n int CATCH = 11;\n /** RegularExpression Id. */\n int CHAR = 12;\n /** RegularExpression Id. */\n int CLASS = 13;\n /** RegularExpression Id. */\n int CONST = 14;\n /** RegularExpression Id. */\n int CONTINUE = 15;\n /** RegularExpression Id. */\n int _DEFAULT = 16;\n /** RegularExpression Id. */\n int DO = 17;\n /** RegularExpression Id. */\n int DOUBLE = 18;\n /** RegularExpression Id. */\n int ELSE = 19;\n /** RegularExpression Id. */\n int EXTENDS = 20;\n /** RegularExpression Id. */\n int FALSE = 21;\n /** RegularExpression Id. */\n int FINAL = 22;\n /** RegularExpression Id. */\n int FINALLY = 23;\n /** RegularExpression Id. */\n int FLOAT = 24;\n /** RegularExpression Id. */\n int FOR = 25;\n /** RegularExpression Id. */\n int GOTO = 26;\n /** RegularExpression Id. */\n int IF = 27;\n /** RegularExpression Id. */\n int IMPLEMENTS = 28;\n /** RegularExpression Id. */\n int IMPORT = 29;\n /** RegularExpression Id. */\n int INSTANCEOF = 30;\n /** RegularExpression Id. */\n int INT = 31;\n /** RegularExpression Id. */\n int INTERFACE = 32;\n /** RegularExpression Id. */\n int LONG = 33;\n /** RegularExpression Id. */\n int NATIVE = 34;\n /** RegularExpression Id. */\n int NEW = 35;\n /** RegularExpression Id. */\n int NULL = 36;\n /** RegularExpression Id. */\n int PACKAGE = 37;\n /** RegularExpression Id. */\n int PRIVATE = 38;\n /** RegularExpression Id. */\n int PROTECTED = 39;\n /** RegularExpression Id. */\n int PUBLIC = 40;\n /** RegularExpression Id. */\n int RETURN = 41;\n /** RegularExpression Id. */\n int SHORT = 42;\n /** RegularExpression Id. */\n int STATIC = 43;\n /** RegularExpression Id. */\n int SUPER = 44;\n /** RegularExpression Id. */\n int SWITCH = 45;\n /** RegularExpression Id. */\n int SYNCHRONIZED = 46;\n /** RegularExpression Id. */\n int THIS = 47;\n /** RegularExpression Id. */\n int THROW = 48;\n /** RegularExpression Id. */\n int THROWS = 49;\n /** RegularExpression Id. */\n int TRANSIENT = 50;\n /** RegularExpression Id. */\n int TRUE = 51;\n /** RegularExpression Id. */\n int TRY = 52;\n /** RegularExpression Id. */\n int VOID = 53;\n /** RegularExpression Id. */\n int VOLATILE = 54;\n /** RegularExpression Id. */\n int WHILE = 55;\n /** RegularExpression Id. */\n int DECIMAL_LITERAL = 56;\n /** RegularExpression Id. */\n int IDENTIFIER = 57;\n /** RegularExpression Id. */\n int LPAREN = 58;\n /** RegularExpression Id. */\n int RPAREN = 59;\n /** RegularExpression Id. */\n int LBRACE = 60;\n /** RegularExpression Id. */\n int RBRACE = 61;\n /** RegularExpression Id. */\n int LBRACKET = 62;\n /** RegularExpression Id. */\n int RBRACKET = 63;\n /** RegularExpression Id. */\n int SEMICOLON = 64;\n /** RegularExpression Id. */\n int COMMA = 65;\n /** RegularExpression Id. */\n int DOT = 66;\n /** RegularExpression Id. */\n int ASSIGN = 67;\n /** RegularExpression Id. */\n int GT = 68;\n /** RegularExpression Id. */\n int LT = 69;\n /** RegularExpression Id. */\n int BANG = 70;\n /** RegularExpression Id. */\n int TILDE = 71;\n /** RegularExpression Id. */\n int HOOK = 72;\n /** RegularExpression Id. */\n int COLON = 73;\n /** RegularExpression Id. */\n int EQ = 74;\n /** RegularExpression Id. */\n int LE = 75;\n /** RegularExpression Id. */\n int GE = 76;\n /** RegularExpression Id. */\n int NE = 77;\n /** RegularExpression Id. */\n int SC_OR = 78;\n /** RegularExpression Id. */\n int SC_AND = 79;\n /** RegularExpression Id. */\n int PLUS = 80;\n /** RegularExpression Id. */\n int MINUS = 81;\n /** RegularExpression Id. */\n int STAR = 82;\n /** RegularExpression Id. */\n int SLASH = 83;\n /** RegularExpression Id. */\n int REM = 84;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"abstract\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"break\\\"\",\n \"\\\"byte\\\"\",\n \"\\\"case\\\"\",\n \"\\\"catch\\\"\",\n \"\\\"char\\\"\",\n \"\\\"class\\\"\",\n \"\\\"const\\\"\",\n \"\\\"continue\\\"\",\n \"\\\"default\\\"\",\n \"\\\"do\\\"\",\n \"\\\"double\\\"\",\n \"\\\"else\\\"\",\n \"\\\"extends\\\"\",\n \"\\\"false\\\"\",\n \"\\\"final\\\"\",\n \"\\\"finally\\\"\",\n \"\\\"float\\\"\",\n \"\\\"for\\\"\",\n \"\\\"goto\\\"\",\n \"\\\"if\\\"\",\n \"\\\"implements\\\"\",\n \"\\\"import\\\"\",\n \"\\\"instanceof\\\"\",\n \"\\\"int\\\"\",\n \"\\\"interface\\\"\",\n \"\\\"long\\\"\",\n \"\\\"native\\\"\",\n \"\\\"new\\\"\",\n \"\\\"null\\\"\",\n \"\\\"package\\\"\",\n \"\\\"private\\\"\",\n \"\\\"protected\\\"\",\n \"\\\"public\\\"\",\n \"\\\"return\\\"\",\n \"\\\"short\\\"\",\n \"\\\"static\\\"\",\n \"\\\"super\\\"\",\n \"\\\"switch\\\"\",\n \"\\\"synchronized\\\"\",\n \"\\\"this\\\"\",\n \"\\\"throw\\\"\",\n \"\\\"throws\\\"\",\n \"\\\"transient\\\"\",\n \"\\\"true\\\"\",\n \"\\\"try\\\"\",\n \"\\\"void\\\"\",\n \"\\\"volatile\\\"\",\n \"\\\"while\\\"\",\n \"\",\n \"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\"=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\"!\\\"\",\n \"\\\"~\\\"\",\n \"\\\"?\\\"\",\n \"\\\":\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"||\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n };\n\n}","title":""},{"docid":"493affac6a6e5e629936557e9fa8514e","score":"0.5298417","text":"private int yyr19() {\n return 50;\n }","title":""},{"docid":"e057e9b6c3adc0bdcf801b014ebbe60c","score":"0.5278873","text":"public interface QueryParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int WORD = 4;\n /** RegularExpression Id. */\n int LP = 5;\n /** RegularExpression Id. */\n int RP = 6;\n /** RegularExpression Id. */\n int QUOTE = 7;\n /** RegularExpression Id. */\n int OP_AND = 8;\n /** RegularExpression Id. */\n int OP_OR = 9;\n /** RegularExpression Id. */\n int OP_NOT = 10;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"\\\\\\\"\\\"\",\n \"\",\n \"\",\n \"\",\n };\n\n}","title":""},{"docid":"eec659090b39de4a82d36faa468fb7fa","score":"0.5266568","text":"public interface EG1Constants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int OPEN = 5;\n /** RegularExpression Id. */\n int CLOSE = 6;\n /** RegularExpression Id. */\n int DEFINE = 7;\n /** RegularExpression Id. */\n int DOMAIN = 8;\n /** RegularExpression Id. */\n int DOMAIN_LABEL = 9;\n /** RegularExpression Id. */\n int REQUIREMENTS = 10;\n /** RegularExpression Id. */\n int REQUIREMENT_LABELS = 11;\n /** RegularExpression Id. */\n int TYPES = 12;\n /** RegularExpression Id. */\n int PREDICATES = 13;\n /** RegularExpression Id. */\n int PROBLEM = 14;\n /** RegularExpression Id. */\n int TYPE_IDENT = 15;\n /** RegularExpression Id. */\n int VAR = 16;\n /** RegularExpression Id. */\n int ACTION = 17;\n /** RegularExpression Id. */\n int PARAMETERS = 18;\n /** RegularExpression Id. */\n int PRECONDITION = 19;\n /** RegularExpression Id. */\n int CONSTRAINTS = 20;\n /** RegularExpression Id. */\n int PREFERENCE = 21;\n /** RegularExpression Id. */\n int EFFECT = 22;\n /** RegularExpression Id. */\n int OBJECTS = 23;\n /** RegularExpression Id. */\n int GOAL = 24;\n /** RegularExpression Id. */\n int INIT = 25;\n /** RegularExpression Id. */\n int AND = 26;\n /** RegularExpression Id. */\n int NOT = 27;\n /** RegularExpression Id. */\n int NUMBER = 28;\n /** RegularExpression Id. */\n int NAME = 29;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 30;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"define\\\"\",\n \"\\\"domain\\\"\",\n \"\\\":domain\\\"\",\n \"\\\":requirements\\\"\",\n \"\\\":typing :constraints :preferences\\\"\",\n \"\\\":types\\\"\",\n \"\\\":predicates\\\"\",\n \"\\\"problem\\\"\",\n \"\\\"-\\\"\",\n \"\",\n \"\\\":action\\\"\",\n \"\\\":parameters\\\"\",\n \"\\\":precondition\\\"\",\n \"\\\":constraints\\\"\",\n \"\\\"preference\\\"\",\n \"\\\":effect\\\"\",\n \"\\\":objects\\\"\",\n \"\\\":goal\\\"\",\n \"\\\":init\\\"\",\n \"\\\"and\\\"\",\n \"\\\"not\\\"\",\n \"\",\n \"\",\n \"\",\n };\n\n}","title":""},{"docid":"f143e9b900cadd3967940ce9942874b3","score":"0.5265535","text":"public interface TargetTableParserConstants {\r\n\r\n /** End of File. */\r\n int EOF = 0;\r\n /** RegularExpression Id. */\r\n int MULTI_LINE_COMMENT = 4;\r\n /** RegularExpression Id. */\r\n int SINGLE_LINE_COMMENT = 7;\r\n /** RegularExpression Id. */\r\n int SEMICOLON = 8;\r\n /** RegularExpression Id. */\r\n int SINGLE_QUOTE = 9;\r\n /** RegularExpression Id. */\r\n int OPEN_PAREN = 10;\r\n /** RegularExpression Id. */\r\n int CLOSE_PAREN = 11;\r\n /** RegularExpression Id. */\r\n int COMMA = 12;\r\n /** RegularExpression Id. */\r\n int HYPHEN = 13;\r\n /** RegularExpression Id. */\r\n int ASTERISK = 14;\r\n /** RegularExpression Id. */\r\n int INTO = 15;\r\n /** RegularExpression Id. */\r\n int SET = 16;\r\n /** RegularExpression Id. */\r\n int NOT = 17;\r\n /** RegularExpression Id. */\r\n int FROM = 18;\r\n /** RegularExpression Id. */\r\n int AS = 19;\r\n /** RegularExpression Id. */\r\n int BY = 20;\r\n /** RegularExpression Id. */\r\n int WHERE = 21;\r\n /** RegularExpression Id. */\r\n int ALL = 22;\r\n /** RegularExpression Id. */\r\n int TABLE = 23;\r\n /** RegularExpression Id. */\r\n int CASESPECIFIC = 24;\r\n /** RegularExpression Id. */\r\n int CHARACTER = 25;\r\n /** RegularExpression Id. */\r\n int UPPERCASE = 26;\r\n /** RegularExpression Id. */\r\n int NULL = 27;\r\n /** RegularExpression Id. */\r\n int TO = 28;\r\n /** RegularExpression Id. */\r\n int LITERAL_INTEGER = 29;\r\n /** RegularExpression Id. */\r\n int BLOB = 30;\r\n /** RegularExpression Id. */\r\n int BYTE = 31;\r\n /** RegularExpression Id. */\r\n int VARBYTE = 32;\r\n /** RegularExpression Id. */\r\n int BIGINT = 33;\r\n /** RegularExpression Id. */\r\n int BYTEINT = 34;\r\n /** RegularExpression Id. */\r\n int DATE = 35;\r\n /** RegularExpression Id. */\r\n int DECIMAL = 36;\r\n /** RegularExpression Id. */\r\n int DOUBLE = 37;\r\n /** RegularExpression Id. */\r\n int PRECISION = 38;\r\n /** RegularExpression Id. */\r\n int FLOAT = 39;\r\n /** RegularExpression Id. */\r\n int INTEGER = 40;\r\n /** RegularExpression Id. */\r\n int NUMBER = 41;\r\n /** RegularExpression Id. */\r\n int NUMERIC = 42;\r\n /** RegularExpression Id. */\r\n int REAL = 43;\r\n /** RegularExpression Id. */\r\n int SMALLINT = 44;\r\n /** RegularExpression Id. */\r\n int TIME = 45;\r\n /** RegularExpression Id. */\r\n int TIMESTAMP = 46;\r\n /** RegularExpression Id. */\r\n int INTERVAL = 47;\r\n /** RegularExpression Id. */\r\n int DAY = 48;\r\n /** RegularExpression Id. */\r\n int HOUR = 49;\r\n /** RegularExpression Id. */\r\n int MINUTE = 50;\r\n /** RegularExpression Id. */\r\n int SECOND = 51;\r\n /** RegularExpression Id. */\r\n int MONTH = 52;\r\n /** RegularExpression Id. */\r\n int YEAR = 53;\r\n /** RegularExpression Id. */\r\n int CHAR = 54;\r\n /** RegularExpression Id. */\r\n int CLOB = 55;\r\n /** RegularExpression Id. */\r\n int VARYING = 56;\r\n /** RegularExpression Id. */\r\n int LONG = 57;\r\n /** RegularExpression Id. */\r\n int VARCHAR = 58;\r\n /** RegularExpression Id. */\r\n int GRAPHIC = 59;\r\n /** RegularExpression Id. */\r\n int VARGRAPHIC = 60;\r\n /** RegularExpression Id. */\r\n int UPDATE = 61;\r\n /** RegularExpression Id. */\r\n int INSERT = 62;\r\n /** RegularExpression Id. */\r\n int MERGE = 63;\r\n /** RegularExpression Id. */\r\n int DELETE = 64;\r\n /** RegularExpression Id. */\r\n int CREATE = 65;\r\n /** RegularExpression Id. */\r\n int CT = 66;\r\n /** RegularExpression Id. */\r\n int MULTISET = 67;\r\n /** RegularExpression Id. */\r\n int GLOBAL = 68;\r\n /** RegularExpression Id. */\r\n int TEMPORARY = 69;\r\n /** RegularExpression Id. */\r\n int VOLATILE = 70;\r\n /** RegularExpression Id. */\r\n int USING = 71;\r\n /** RegularExpression Id. */\r\n int DEFERRED = 72;\r\n /** RegularExpression Id. */\r\n int LOCATOR = 73;\r\n /** RegularExpression Id. */\r\n int NAME = 74;\r\n /** RegularExpression Id. */\r\n int LOCKING = 75;\r\n /** RegularExpression Id. */\r\n int DATABASE = 77;\r\n /** RegularExpression Id. */\r\n int TABLE_LCK = 78;\r\n /** RegularExpression Id. */\r\n int VIEW = 79;\r\n /** RegularExpression Id. */\r\n int ROW = 80;\r\n /** RegularExpression Id. */\r\n int FOR = 81;\r\n /** RegularExpression Id. */\r\n int IN = 82;\r\n /** RegularExpression Id. */\r\n int ACCESS = 83;\r\n /** RegularExpression Id. */\r\n int EXCLUSIVE = 84;\r\n /** RegularExpression Id. */\r\n int SHARE = 85;\r\n /** RegularExpression Id. */\r\n int READ = 86;\r\n /** RegularExpression Id. */\r\n int OVERRIDE = 87;\r\n /** RegularExpression Id. */\r\n int WRITE = 88;\r\n /** RegularExpression Id. */\r\n int CHECKSUM = 89;\r\n /** RegularExpression Id. */\r\n int DATABASE_OBJECT_NAME = 90;\r\n /** RegularExpression Id. */\r\n int OBJECT_NAME = 91;\r\n /** RegularExpression Id. */\r\n int CURRENT = 92;\r\n /** RegularExpression Id. */\r\n int VALIDTIME = 93;\r\n /** RegularExpression Id. */\r\n int SEQUENCED = 94;\r\n /** RegularExpression Id. */\r\n int NONSEQUENCED = 95;\r\n /** RegularExpression Id. */\r\n int NONTEMPORAL = 96;\r\n /** RegularExpression Id. */\r\n int PERIOD = 97;\r\n /** RegularExpression Id. */\r\n int UNTIL_CHANGED = 98;\r\n /** RegularExpression Id. */\r\n int UNTIL_CLOSED = 99;\r\n /** RegularExpression Id. */\r\n int PERIOD_BOUND = 100;\r\n /** RegularExpression Id. */\r\n int MODE = 101;\r\n /** RegularExpression Id. */\r\n int NOWAIT = 102;\r\n /** RegularExpression Id. */\r\n int IDENTIFIER = 103;\r\n\r\n /** Lexical state. */\r\n int DEFAULT = 0;\r\n /** Lexical state. */\r\n int ML_COMMENT_STATE = 1;\r\n /** Lexical state. */\r\n int LOCKING_STATE = 2;\r\n\r\n /** Literal token values. */\r\n String[] tokenImage = {\r\n \"\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\",\r\n \"\\\"/*\\\"\",\r\n \"\\\"*/\\\"\",\r\n \"\",\r\n \"\",\r\n \"\\\";\\\"\",\r\n \"\\\"\\\\\\'\\\"\",\r\n \"\\\"(\\\"\",\r\n \"\\\")\\\"\",\r\n \"\\\",\\\"\",\r\n \"\\\"-\\\"\",\r\n \"\\\"*\\\"\",\r\n \"\\\"into\\\"\",\r\n \"\\\"set\\\"\",\r\n \"\\\"not\\\"\",\r\n \"\\\"from\\\"\",\r\n \"\\\"as\\\"\",\r\n \"\\\"by\\\"\",\r\n \"\\\"where\\\"\",\r\n \"\\\"all\\\"\",\r\n \"\\\"table\\\"\",\r\n \"\\\"casespecific\\\"\",\r\n \"\\\"character\\\"\",\r\n \"\\\"uppercase\\\"\",\r\n \"\\\"null\\\"\",\r\n \"\\\"to\\\"\",\r\n \"\",\r\n \"\\\"blob\\\"\",\r\n \"\\\"byte\\\"\",\r\n \"\\\"varbyte\\\"\",\r\n \"\\\"bigint\\\"\",\r\n \"\\\"byteint\\\"\",\r\n \"\\\"date\\\"\",\r\n \"\\\"decimal\\\"\",\r\n \"\\\"double\\\"\",\r\n \"\\\"precision\\\"\",\r\n \"\\\"float\\\"\",\r\n \"\\\"integer\\\"\",\r\n \"\\\"number\\\"\",\r\n \"\\\"numeric\\\"\",\r\n \"\\\"real\\\"\",\r\n \"\\\"smallint\\\"\",\r\n \"\\\"time\\\"\",\r\n \"\\\"timestamp\\\"\",\r\n \"\\\"interval\\\"\",\r\n \"\\\"day\\\"\",\r\n \"\\\"hour\\\"\",\r\n \"\\\"minute\\\"\",\r\n \"\\\"second\\\"\",\r\n \"\\\"month\\\"\",\r\n \"\\\"year\\\"\",\r\n \"\\\"char\\\"\",\r\n \"\\\"clob\\\"\",\r\n \"\\\"varying\\\"\",\r\n \"\\\"long\\\"\",\r\n \"\\\"varchar\\\"\",\r\n \"\\\"graphic\\\"\",\r\n \"\\\"vargraphic\\\"\",\r\n \"\",\r\n \"\",\r\n \"\\\"merge\\\"\",\r\n \"\",\r\n \"\\\"create\\\"\",\r\n \"\\\"ct\\\"\",\r\n \"\\\"multiset\\\"\",\r\n \"\\\"global\\\"\",\r\n \"\\\"temporary\\\"\",\r\n \"\\\"volatile\\\"\",\r\n \"\\\"using\\\"\",\r\n \"\\\"deferred\\\"\",\r\n \"\\\"locator\\\"\",\r\n \"\\\"name\\\"\",\r\n \"\",\r\n \"\",\r\n \"\\\"database\\\"\",\r\n \"\\\"table\\\"\",\r\n \"\\\"view\\\"\",\r\n \"\\\"row\\\"\",\r\n \"\\\"for\\\"\",\r\n \"\\\"in\\\"\",\r\n \"\\\"access\\\"\",\r\n \"\",\r\n \"\\\"share\\\"\",\r\n \"\\\"read\\\"\",\r\n \"\\\"override\\\"\",\r\n \"\\\"write\\\"\",\r\n \"\\\"checksum\\\"\",\r\n \"\",\r\n \"\",\r\n \"\\\"current\\\"\",\r\n \"\\\"validtime\\\"\",\r\n \"\\\"sequenced\\\"\",\r\n \"\\\"nonsequenced\\\"\",\r\n \"\\\"nontemporal\\\"\",\r\n \"\\\"period\\\"\",\r\n \"\\\"until_changed\\\"\",\r\n \"\\\"until_closed\\\"\",\r\n \"\",\r\n \"\\\"mode\\\"\",\r\n \"\\\"nowait\\\"\",\r\n \"\",\r\n };\r\n\r\n}","title":""},{"docid":"ed8344cab406eacc9ccf69e8e626c275","score":"0.5255661","text":"T visitRelationalexpression(lengBasicParser.RelationalexpressionContext ctx);","title":""},{"docid":"c85c50672fbbe17eeb84981ac99a8833","score":"0.52505696","text":"public PlSql_Parser(PlSqlTokenManager tm) {\n token_source = tm;\n token = new Token();\n jj_ntk = -1;\n jj_gen = 0;\n for (int i = 0; i < 241; i++) jj_la1[i] = -1;\n for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();\n }","title":""},{"docid":"4e82fd18f5df85b17b7e2c0a905a4012","score":"0.5230243","text":"public interface BibtextGrammarConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int LB = 5;\n /** RegularExpression Id. */\n int RB = 6;\n /** RegularExpression Id. */\n int ARTICLE = 7;\n /** RegularExpression Id. */\n int BOOK = 8;\n /** RegularExpression Id. */\n int BOOKLET = 9;\n /** RegularExpression Id. */\n int CONFERENCE = 10;\n /** RegularExpression Id. */\n int INBOOK = 11;\n /** RegularExpression Id. */\n int INCOLLECTION = 12;\n /** RegularExpression Id. */\n int INPROCEEDINGS = 13;\n /** RegularExpression Id. */\n int MANUAL = 14;\n /** RegularExpression Id. */\n int MASTERSTHESIS = 15;\n /** RegularExpression Id. */\n int MISC = 16;\n /** RegularExpression Id. */\n int PHDTHESIS = 17;\n /** RegularExpression Id. */\n int PROCEEDINGS = 18;\n /** RegularExpression Id. */\n int TECHREPORT = 19;\n /** RegularExpression Id. */\n int UNPUBLISHED = 20;\n /** RegularExpression Id. */\n int AUTHOR = 21;\n /** RegularExpression Id. */\n int JOURNAL = 22;\n /** RegularExpression Id. */\n int TITLE = 23;\n /** RegularExpression Id. */\n int YEAR = 24;\n /** RegularExpression Id. */\n int MONTH = 25;\n /** RegularExpression Id. */\n int NUMBER = 26;\n /** RegularExpression Id. */\n int PAGES = 27;\n /** RegularExpression Id. */\n int VOLUME = 28;\n /** RegularExpression Id. */\n int PUBLISHER = 29;\n /** RegularExpression Id. */\n int DOI = 30;\n /** RegularExpression Id. */\n int NOTE = 31;\n /** RegularExpression Id. */\n int KEY = 32;\n /** RegularExpression Id. */\n int EDITOR = 33;\n /** RegularExpression Id. */\n int SERIES = 34;\n /** RegularExpression Id. */\n int ADDRESS = 35;\n /** RegularExpression Id. */\n int EDITION = 36;\n /** RegularExpression Id. */\n int URL = 37;\n /** RegularExpression Id. */\n int HOWPUBLISHED = 38;\n /** RegularExpression Id. */\n int CHAPTER = 39;\n /** RegularExpression Id. */\n int BOOKTITLE = 40;\n /** RegularExpression Id. */\n int TYPE = 41;\n /** RegularExpression Id. */\n int ORGANIZATION = 42;\n /** RegularExpression Id. */\n int SCHOOL = 43;\n /** RegularExpression Id. */\n int INSTITUTION = 44;\n /** RegularExpression Id. */\n int WORD = 45;\n /** RegularExpression Id. */\n int CONSTANT = 46;\n /** RegularExpression Id. */\n int ID = 47;\n /** RegularExpression Id. */\n int LETTERSNUMBERS = 48;\n /** RegularExpression Id. */\n int LETTER = 49;\n /** RegularExpression Id. */\n int LOWER = 50;\n /** RegularExpression Id. */\n int UPPER = 51;\n /** RegularExpression Id. */\n int DIGIT = 52;\n /** RegularExpression Id. */\n int COMMA = 53;\n /** RegularExpression Id. */\n int SEMICOLON = 54;\n /** RegularExpression Id. */\n int DASH = 55;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"article\\\"\",\n \"\\\"book\\\"\",\n \"\\\"booklet\\\"\",\n \"\\\"conference\\\"\",\n \"\\\"inbook\\\"\",\n \"\\\"incollection\\\"\",\n \"\\\"inproceedings\\\"\",\n \"\\\"manual\\\"\",\n \"\\\"mastersthesis\\\"\",\n \"\\\"misc\\\"\",\n \"\\\"phdthesis\\\"\",\n \"\\\"proceedings\\\"\",\n \"\\\"techreport\\\"\",\n \"\\\"unpublished\\\"\",\n \"\\\"Author\\\"\",\n \"\\\"Journal\\\"\",\n \"\\\"Title\\\"\",\n \"\\\"Year\\\"\",\n \"\\\"Month\\\"\",\n \"\\\"Number\\\"\",\n \"\\\"Pages\\\"\",\n \"\\\"Volume\\\"\",\n \"\\\"Publisher\\\"\",\n \"\\\"Doi\\\"\",\n \"\\\"Note\\\"\",\n \"\\\"Key\\\"\",\n \"\\\"Editor\\\"\",\n \"\\\"Series\\\"\",\n \"\\\"Address\\\"\",\n \"\\\"Edition\\\"\",\n \"\\\"Url\\\"\",\n \"\\\"Howpublished\\\"\",\n \"\\\"Chapter\\\"\",\n \"\\\"Booktitle\\\"\",\n \"\\\"Type\\\"\",\n \"\\\"Organization\\\"\",\n \"\\\"School\\\"\",\n \"\\\"Institution\\\"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\\\"@\\\"\",\n \"\\\"=\\\"\",\n \"\\\"-\\\"\",\n \"\\\".\\\"\",\n \"\\\",\\\"\",\n \"\\\"\\\\\\'\\\"\",\n \"\\\":\\\"\",\n \"\\\"/\\\"\",\n };\n\n}","title":""},{"docid":"d8ca35719143ee75b61930930e42fc3d","score":"0.52300596","text":"final public void MethodDeclarationLookahead() throws ParseException {\r\n Modifier();\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case STATIC:\r\n YoyooStatic jjtn001 = new YoyooStatic(JJTSTATIC);\r\n boolean jjtc001 = true;\r\n jjtree.openNodeScope(jjtn001);\r\n jjtreeOpenNodeScope(jjtn001);\r\n try {\r\n jj_consume_token(STATIC);\r\n } finally {\r\n if (jjtc001) {\r\n jjtree.closeNodeScope(jjtn001, true);\r\n jjtreeCloseNodeScope(jjtn001);\r\n }\r\n }\r\n break;\r\n default:\r\n jj_la1[20] = jj_gen;\r\n ;\r\n }\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case ABSTRACT:\r\n YoyooAbstract jjtn002 = new YoyooAbstract(JJTABSTRACT);\r\n boolean jjtc002 = true;\r\n jjtree.openNodeScope(jjtn002);\r\n jjtreeOpenNodeScope(jjtn002);\r\n try {\r\n jj_consume_token(ABSTRACT);\r\n } finally {\r\n if (jjtc002) {\r\n jjtree.closeNodeScope(jjtn002, true);\r\n jjtreeCloseNodeScope(jjtn002);\r\n }\r\n }\r\n break;\r\n default:\r\n jj_la1[21] = jj_gen;\r\n ;\r\n }\r\n ResultType();\r\n jj_consume_token(IDENTIFIER);\r\n jj_consume_token(LPAREN);\r\n }","title":""},{"docid":"21bbcf89723dec95861d5becff352030","score":"0.52059364","text":"final public void CastLookahead() throws ParseException {\r\n if (jj_2_17(2)) {\r\n jj_consume_token(LPAREN);\r\n PrimitiveType();\r\n } else if (jj_2_18(2147483647)) {\r\n jj_consume_token(LPAREN);\r\n Type();\r\n jj_consume_token(LBRACKET);\r\n jj_consume_token(RBRACKET);\r\n } else {\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case LPAREN:\r\n jj_consume_token(LPAREN);\r\n Type();\r\n jj_consume_token(RPAREN);\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case 117:\r\n jj_consume_token(117);\r\n break;\r\n case BANG:\r\n jj_consume_token(BANG);\r\n break;\r\n case LPAREN:\r\n jj_consume_token(LPAREN);\r\n break;\r\n case IDENTIFIER:\r\n jj_consume_token(IDENTIFIER);\r\n break;\r\n case THIS:\r\n jj_consume_token(THIS);\r\n break;\r\n case SUPER:\r\n jj_consume_token(SUPER);\r\n break;\r\n case NEW:\r\n jj_consume_token(NEW);\r\n break;\r\n case FALSE:\r\n case NULL:\r\n case TRUE:\r\n case INTEGER_LITERAL:\r\n case FLOATING_POINT_LITERAL:\r\n case CHARACTER_LITERAL:\r\n case STRING_LITERAL:\r\n case MULTILINE_STRING_LITERAL:\r\n case SLASH:\r\n Literal();\r\n break;\r\n default:\r\n jj_la1[69] = jj_gen;\r\n jj_consume_token(-1);\r\n throw new ParseException();\r\n }\r\n break;\r\n default:\r\n jj_la1[70] = jj_gen;\r\n jj_consume_token(-1);\r\n throw new ParseException();\r\n }\r\n }\r\n }","title":""},{"docid":"cec3fd4000ab6032f1eb585008e40b82","score":"0.5189631","text":"private int yyr25() {\n return yypStatements();\n }","title":""},{"docid":"2f2277df26aef9b4e3cbb36fda159dd7","score":"0.51759714","text":"Token next(char endOfAtom) throws ParseException {\n/* 222 */ return next(endOfAtom, false);\n/* */ }","title":""},{"docid":"7485821bb2efad4afd95033230287eeb","score":"0.51687694","text":"private int yyr29() {\n yysp -= 5;\n return yypStatement();\n }","title":""},{"docid":"f59f32072182c3a2bea23ba66d84503b","score":"0.5158212","text":"T visitLogicalorexpression(lengBasicParser.LogicalorexpressionContext ctx);","title":""},{"docid":"a211b33f09ba8d13e1eefc8c03ba9c9b","score":"0.5139663","text":"@Test\n\tpublic void test34()\n\t{\n\t\tGrammar grammar = new Grammar(\"start: reverse|reversed|\\\"reverse the order of\\\" a list\", debugFlag);\n\t\tgrammar.addGlobalAlternative(\"reverse\", \"reversing\");\n\t\tassertEquals(\n\t\t\t1,\n\t\t\tparses(\n\t\t\t\tgrammar,\n\t\t\t\t\"reversing the order of a list\"\n\t\t\t)\n\t\t);\n\t}","title":""},{"docid":"dcae0293e80ea9c8d4fa2ccc883bc595","score":"0.5139211","text":"T visitInclusiveorexpression(lengBasicParser.InclusiveorexpressionContext ctx);","title":""},{"docid":"7f0ca6a64477683a1ec670adf4fa4039","score":"0.5135843","text":"public final void mT__33() throws RecognitionException {\n try {\n int _type = T__33;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // unql.g:28:7: ( 'END' )\n // unql.g:28:9: 'END'\n {\n match(\"END\"); \n\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n \t// do for sure before leaving\n }\n }","title":""},{"docid":"d5a929533e4876f66e2c8b7954e97709","score":"0.5135418","text":"public interface Token\n extends Text,\n Tokens {\n\n /**\n * the leftmost parsed element, related to this token in the string\n * @param text the string\n * @return token\n */\n @Override\n default Token leftMostIn(final String text) {\n final Token ret;\n if (text.contains(this.toSource())) {\n ret = this;\n } else {\n ret = new Absence();\n }\n return ret;\n }\n\n @Override\n default Tokens exclude(final Tokens tokens) {\n return tokens.contains(this) ?\n new Empty() :\n this;\n }\n\n @Override\n default boolean contains(final Token token) {\n return this.getClass()\n .equals(token.getClass()) && this.toSource()\n .equals(token.toSource());\n }\n\n /**\n * if this text is contained in the parameter, then\n * @param text parameter\n * @return text is preceding to first occurrence\n */\n default String precedingIn(final Source text) {\n return text.precedingThe(this.toSource());\n }\n\n /**\n * @param text parameter\n * if this text is contained in the parameter, then\n * @return text is following to first occurrence\n */\n default Sense followingIn(final Source text) {\n return text.followingThe(this.toSource());\n }\n\n default int length() {\n return this.toSource()\n .length();\n }\n\n /**\n * first position of this element in the string\n * @param text parameter\n * @return position\n */\n default int firstPositionIn(final String text) {\n return text.indexOf(this.toSource());\n }\n\n /**\n * by default recognizing Text is a failed recognition\n * @param unrecognized following text\n * @return failed\n */\n default Sense concat(final Unrecognized unrecognized) {\n return new Failed(this,\n new Source(unrecognized.toSource()));\n }\n\n /**\n * leftmost element in the string, either this, or parameter. if both\n * positions are equals, returns longer one. if neither element is exist,\n * then returns Empty token\n * @param parsed parameter\n * @param text where to search elements\n * @return left most element\n */\n default Token leftMost(final Token parsed,\n final String text) {\n final int thisPosition = this.firstPositionIn(text);\n final int parsedPosition = parsed.firstPositionIn(text);\n if (thisPosition == -1 && parsedPosition == -1) {\n return new Absence();\n } else if (thisPosition == -1) {\n return parsed;\n } else if (parsedPosition == -1) {\n return this;\n } else if (thisPosition > parsedPosition) {\n return parsed;\n } else if (parsedPosition > thisPosition) {\n return this;\n } else if (this.length() > parsed.length()) {\n return this;\n } else {\n return parsed;\n }\n }\n}","title":""},{"docid":"63a73d414976a6d67822980329859052","score":"0.5135131","text":"T visitLogicalandexpression(lengBasicParser.LogicalandexpressionContext ctx);","title":""},{"docid":"cb2b85f7df07d5bb254e3177db9d2fc5","score":"0.5115665","text":"public final void ruleEnumLiteralDeclaration() throws RecognitionException {\n Token otherlv_0=null;\n Token otherlv_1=null;\n\n try {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1795:27: ( ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )? ) )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1796:2: ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )? )\n {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1796:2: ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )? )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1797:3: ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )?\n {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1797:3: ( (otherlv_0= RULE_ID ) )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1798:4: (otherlv_0= RULE_ID )\n {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1798:4: (otherlv_0= RULE_ID )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1799:5: otherlv_0= RULE_ID\n {\n\n \t\t\t\t\tmarkLeaf(elementTypeProvider.getEnumLiteralDeclaration_EnumLiteralEEnumLiteralCrossReference_0_0ElementType());\n \t\t\t\t\n otherlv_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_RULE_ID_in_ruleEnumLiteralDeclaration5205); \n\n \t\t\t\t\tdoneLeaf(otherlv_0);\n \t\t\t\t\n\n }\n\n\n }\n\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1808:3: (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )?\n int alt48=2;\n int LA48_0 = input.LA(1);\n\n if ( (LA48_0==30) ) {\n alt48=1;\n }\n switch (alt48) {\n case 1 :\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1809:4: otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) )\n {\n\n \t\t\t\tmarkLeaf(elementTypeProvider.getEnumLiteralDeclaration_EqualsSignKeyword_1_0ElementType());\n \t\t\t\n otherlv_1=(Token)match(input,30,FollowSets000.FOLLOW_30_in_ruleEnumLiteralDeclaration5236); \n\n \t\t\t\tdoneLeaf(otherlv_1);\n \t\t\t\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1816:4: ( (lv_literal_2_0= ruleKeyword ) )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1817:5: (lv_literal_2_0= ruleKeyword )\n {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1817:5: (lv_literal_2_0= ruleKeyword )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/parser/terminalrules/idea/parser/antlr/internal/PsiInternalXtextTerminalsTestLanguage.g:1818:6: lv_literal_2_0= ruleKeyword\n {\n\n \t\t\t\t\t\tmarkComposite(elementTypeProvider.getEnumLiteralDeclaration_LiteralKeywordParserRuleCall_1_1_0ElementType());\n \t\t\t\t\t\n pushFollow(FollowSets000.FOLLOW_ruleKeyword_in_ruleEnumLiteralDeclaration5268);\n ruleKeyword();\n\n state._fsp--;\n\n\n \t\t\t\t\t\tdoneComposite();\n \t\t\t\t\t\n\n }\n\n\n }\n\n\n }\n break;\n\n }\n\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return ;\n }","title":""},{"docid":"a3503b8e79d882f2420b479e81baf653","score":"0.51067674","text":"protected void enterGrammar(Production node) throws ParseException {\n }","title":""},{"docid":"2cb8df231aadc904bb1fd5ddc0d3eacf","score":"0.51067543","text":"private final JessToken finishToken(int paramInt, StringBuffer paramStringBuffer)\n/* */ throws JessException\n/* */ {\n/* 215 */ JessToken localJessToken = new JessToken();\n/* 216 */ localJessToken.m_lineno = this.m_line;\n/* */ \n/* 218 */ switch (paramInt)\n/* */ {\n/* */ \n/* */ case 34: \n/* 222 */ localJessToken.m_ttype = 2;\n/* 223 */ localJessToken.m_sval = paramStringBuffer.toString();\n/* 224 */ break;\n/* */ \n/* */ \n/* */ case 40: \n/* 228 */ localJessToken.m_ttype = 40;\n/* 229 */ localJessToken.m_sval = \"(\";\n/* 230 */ break;\n/* */ \n/* */ case 41: \n/* 233 */ localJessToken.m_ttype = 41;\n/* 234 */ localJessToken.m_sval = \")\";\n/* 235 */ break;\n/* */ \n/* */ case 38: \n/* 238 */ localJessToken.m_ttype = 38;\n/* 239 */ localJessToken.m_sval = \"&\";\n/* 240 */ break;\n/* */ \n/* */ case 126: \n/* 243 */ localJessToken.m_ttype = 126;\n/* 244 */ localJessToken.m_sval = \"~\";\n/* 245 */ break;\n/* */ \n/* */ case 124: \n/* 248 */ localJessToken.m_ttype = paramInt;\n/* 249 */ localJessToken.m_sval = \"|\";\n/* 250 */ break;\n/* */ \n/* */ case 61: \n/* 253 */ localJessToken.m_ttype = 61;\n/* 254 */ localJessToken.m_sval = \"=\";\n/* 255 */ break;\n/* */ \n/* */ \n/* */ case 10: \n/* 259 */ localJessToken.m_ttype = 1;\n/* 260 */ localJessToken.m_sval = \"CRLF\";\n/* 261 */ break;\n/* */ \n/* */ \n/* */ case -1: \n/* 265 */ if (paramStringBuffer.length() == 0)\n/* */ {\n/* 267 */ localJessToken.m_ttype = 0;\n/* 268 */ localJessToken.m_sval = \"EOF\";\n/* */ }\n/* */ else {\n/* 271 */ return finishToken(0, paramStringBuffer);\n/* */ }\n/* */ break;\n/* */ case 0: \n/* 275 */ String str = paramStringBuffer.toString();\n/* 276 */ int i = str.charAt(0);\n/* */ \n/* */ \n/* 279 */ if (i == 63)\n/* */ {\n/* 281 */ localJessToken.m_ttype = 8;\n/* 282 */ if (str.length() > 1) {\n/* 283 */ localJessToken.m_sval = str.substring(1);\n/* */ } else {\n/* 285 */ localJessToken.m_sval = RU.gensym(\"_blank_\");\n/* */ }\n/* */ \n/* */ \n/* */ }\n/* 290 */ else if ((i == 36) && (str.length() > 1) && (str.charAt(1) == '?'))\n/* */ {\n/* */ \n/* 293 */ localJessToken.m_ttype = 8192;\n/* 294 */ if (str.length() > 2) {\n/* 295 */ localJessToken.m_sval = str.substring(2);\n/* */ } else {\n/* 297 */ localJessToken.m_sval = RU.gensym(\"_blank_mf\");\n/* */ }\n/* */ \n/* */ \n/* */ }\n/* 302 */ else if ((str.length() == 1) && ((i == 45) || (i == 46) || (i == 43)))\n/* */ {\n/* 304 */ localJessToken.m_ttype = 1;\n/* 305 */ localJessToken.m_sval = str;\n/* */ \n/* */ \n/* */ }\n/* 309 */ else if (isAnInteger(str))\n/* */ {\n/* */ \n/* */ try\n/* */ {\n/* 314 */ int j = Integer.parseInt(str, 10);\n/* 315 */ localJessToken.m_ttype = 4;\n/* 316 */ localJessToken.m_nval = j;\n/* */ \n/* */ }\n/* */ catch (NumberFormatException localNumberFormatException1) {}\n/* */ \n/* */ }\n/* */ else\n/* */ {\n/* */ try\n/* */ {\n/* 326 */ double d = Double.valueOf(str).doubleValue();\n/* 327 */ localJessToken.m_ttype = 32;\n/* 328 */ localJessToken.m_nval = d;\n/* */ \n/* */ }\n/* */ catch (NumberFormatException localNumberFormatException2)\n/* */ {\n/* */ \n/* 334 */ localJessToken.m_ttype = 1;\n/* 335 */ localJessToken.m_sval = str;\n/* */ }\n/* */ }\n/* */ break;\n/* 339 */ default: throw new JessException(\"Tokenizer.finishToken\", \"Impossible tag:\", (char)paramInt); }\n/* */ \n/* 341 */ return localJessToken;\n/* */ }","title":""},{"docid":"43b14def744f4a2e66a268ed1beeaaf2","score":"0.51020676","text":"public final void mT__30() throws RecognitionException {\n try {\n int _type = T__30;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // /Users/Samy/Git_Telecom/Compilation2k18/Expr.g:9:7: ( ':' )\n // /Users/Samy/Git_Telecom/Compilation2k18/Expr.g:9:9: ':'\n {\n match(':'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }","title":""},{"docid":"592e99d59a1e68a2e2ff6a444eb4d429","score":"0.51018703","text":"public Token next() throws ParseException {\n/* 204 */ return next(false, false);\n/* */ }","title":""},{"docid":"e10781aa3a002415382e4847e4b575db","score":"0.5086245","text":"public final void mT__31() throws RecognitionException {\r\n try {\r\n int _type = T__31;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // src/Little.g:12:7: ( ';' )\r\n // src/Little.g:12:9: ';'\r\n {\r\n match(';'); \r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }","title":""},{"docid":"d54d7b5634dab7c5e1c96ac4ba377451","score":"0.5085547","text":"public abstract Token parse(MatchResult result) throws ParseException;","title":""},{"docid":"929cecd8aa403a61aee0621743237f7d","score":"0.5081841","text":"public final void mT__31() throws RecognitionException {\n try {\n int _type = T__31;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.xtext.featuremodel/src-gen/org/xtext/featuremodel/parser/antlr/internal/InternalFeatureModel.g:31:7: ( '' )\n // ../org.xtext.featuremodel/src-gen/org/xtext/featuremodel/parser/antlr/internal/InternalFeatureModel.g:31:9: ''\n {\n match(\"\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }","title":""},{"docid":"215d1a04e7656b40976de95b77930cb0","score":"0.50729555","text":"public interface Literal extends SelectStatementWater, SpecialNamesParagraphWater, CICSStatementWater, PrimaryOperand, InvokeStatementWater, StopLabel {\n}","title":""},{"docid":"353983ef9cdf251531b6007f57055188","score":"0.50718975","text":"@Override\n\tpublic String toAntlr() {\n\t\tString antlr = \"\";\n\t\tfor(ExpressionTerm argument : expressionTerms) {\n\t\t\tantlr += argument.toAntlr();\n\t\t}\n\t\tif(instruction)antlr += \"\\n;\";\n\t\t// TODO Write from arguments\n\t\treturn antlr;\n\t}","title":""},{"docid":"8458d160aec590695d950c4ff05d6935","score":"0.5070875","text":"public interface MimirJSqlParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int K_AS = 5;\n /** RegularExpression Id. */\n int K_DIRECT = 6;\n /** RegularExpression Id. */\n int K_UNCERTAIN = 7;\n /** RegularExpression Id. */\n int K_ANALYZE = 8;\n /** RegularExpression Id. */\n int K_EXPLAIN = 9;\n /** RegularExpression Id. */\n int K_ASSUME = 10;\n /** RegularExpression Id. */\n int K_VIEW = 11;\n /** RegularExpression Id. */\n int K_LENS = 12;\n /** RegularExpression Id. */\n int K_ADAPTIVE = 13;\n /** RegularExpression Id. */\n int K_SCHEMA = 14;\n /** RegularExpression Id. */\n int K_LET = 15;\n /** RegularExpression Id. */\n int K_LOAD = 16;\n /** RegularExpression Id. */\n int K_PLOT = 17;\n /** RegularExpression Id. */\n int K_ALTER = 18;\n /** RegularExpression Id. */\n int K_SAVE = 19;\n /** RegularExpression Id. */\n int K_RENAME = 20;\n /** RegularExpression Id. */\n int K_PRAGMA = 21;\n /** RegularExpression Id. */\n int K_MATERIALIZE = 22;\n /** RegularExpression Id. */\n int K_BY = 23;\n /** RegularExpression Id. */\n int K_DO = 24;\n /** RegularExpression Id. */\n int K_IF = 25;\n /** RegularExpression Id. */\n int K_IS = 26;\n /** RegularExpression Id. */\n int K_IN = 27;\n /** RegularExpression Id. */\n int K_OR = 28;\n /** RegularExpression Id. */\n int K_OF = 29;\n /** RegularExpression Id. */\n int K_ON = 30;\n /** RegularExpression Id. */\n int K_ALL = 31;\n /** RegularExpression Id. */\n int K_AND = 32;\n /** RegularExpression Id. */\n int K_ANY = 33;\n /** RegularExpression Id. */\n int K_KEY = 34;\n /** RegularExpression Id. */\n int K_NOT = 35;\n /** RegularExpression Id. */\n int K_SET = 36;\n /** RegularExpression Id. */\n int K_ASC = 37;\n /** RegularExpression Id. */\n int K_TOP = 38;\n /** RegularExpression Id. */\n int K_END = 39;\n /** RegularExpression Id. */\n int K_DESC = 40;\n /** RegularExpression Id. */\n int K_INTO = 41;\n /** RegularExpression Id. */\n int K_NULL = 42;\n /** RegularExpression Id. */\n int K_LIKE = 43;\n /** RegularExpression Id. */\n int K_DROP = 44;\n /** RegularExpression Id. */\n int K_JOIN = 45;\n /** RegularExpression Id. */\n int K_LEFT = 46;\n /** RegularExpression Id. */\n int K_FROM = 47;\n /** RegularExpression Id. */\n int K_OPEN = 48;\n /** RegularExpression Id. */\n int K_CASE = 49;\n /** RegularExpression Id. */\n int K_WHEN = 50;\n /** RegularExpression Id. */\n int K_THEN = 51;\n /** RegularExpression Id. */\n int K_ELSE = 52;\n /** RegularExpression Id. */\n int K_SOME = 53;\n /** RegularExpression Id. */\n int K_FULL = 54;\n /** RegularExpression Id. */\n int K_WITH = 55;\n /** RegularExpression Id. */\n int K_TABLE = 56;\n /** RegularExpression Id. */\n int K_WHERE = 57;\n /** RegularExpression Id. */\n int K_USING = 58;\n /** RegularExpression Id. */\n int K_UNION = 59;\n /** RegularExpression Id. */\n int K_GROUP = 60;\n /** RegularExpression Id. */\n int K_BEGIN = 61;\n /** RegularExpression Id. */\n int K_INDEX = 62;\n /** RegularExpression Id. */\n int K_INNER = 63;\n /** RegularExpression Id. */\n int K_LIMIT = 64;\n /** RegularExpression Id. */\n int K_OUTER = 65;\n /** RegularExpression Id. */\n int K_ORDER = 66;\n /** RegularExpression Id. */\n int K_RIGHT = 67;\n /** RegularExpression Id. */\n int K_DELETE = 68;\n /** RegularExpression Id. */\n int K_CREATE = 69;\n /** RegularExpression Id. */\n int K_SELECT = 70;\n /** RegularExpression Id. */\n int K_CAST = 71;\n /** RegularExpression Id. */\n int K_PROVENANCE = 72;\n /** RegularExpression Id. */\n int K_OFFSET = 73;\n /** RegularExpression Id. */\n int K_EXISTS = 74;\n /** RegularExpression Id. */\n int K_HAVING = 75;\n /** RegularExpression Id. */\n int K_INSERT = 76;\n /** RegularExpression Id. */\n int K_UPDATE = 77;\n /** RegularExpression Id. */\n int K_VALUES = 78;\n /** RegularExpression Id. */\n int K_ESCAPE = 79;\n /** RegularExpression Id. */\n int K_PRIMARY = 80;\n /** RegularExpression Id. */\n int K_NATURAL = 81;\n /** RegularExpression Id. */\n int K_REPLACE = 82;\n /** RegularExpression Id. */\n int K_BETWEEN = 83;\n /** RegularExpression Id. */\n int K_TRUNCATE = 84;\n /** RegularExpression Id. */\n int K_DISTINCT = 85;\n /** RegularExpression Id. */\n int K_INTERSECT = 86;\n /** RegularExpression Id. */\n int K_FEEDBACK = 87;\n /** RegularExpression Id. */\n int K_EXTRACT = 88;\n /** RegularExpression Id. */\n int K_ASSIGNMENTS = 89;\n /** RegularExpression Id. */\n int S_DOUBLE = 90;\n /** RegularExpression Id. */\n int S_INTEGER = 91;\n /** RegularExpression Id. */\n int DIGIT = 92;\n /** RegularExpression Id. */\n int LINE_COMMENT = 93;\n /** RegularExpression Id. */\n int MULTI_LINE_COMMENT = 94;\n /** RegularExpression Id. */\n int S_IDENTIFIER = 95;\n /** RegularExpression Id. */\n int LETTER = 96;\n /** RegularExpression Id. */\n int SPECIAL_CHARS = 97;\n /** RegularExpression Id. */\n int S_CHAR_LITERAL = 98;\n /** RegularExpression Id. */\n int S_QUOTED_IDENTIFIER = 99;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"AS\\\"\",\n \"\\\"DIRECT\\\"\",\n \"\\\"UNCERTAIN\\\"\",\n \"\\\"ANALYZE\\\"\",\n \"\\\"EXPLAIN\\\"\",\n \"\\\"ASSUME\\\"\",\n \"\\\"VIEW\\\"\",\n \"\\\"LENS\\\"\",\n \"\\\"ADAPTIVE\\\"\",\n \"\\\"SCHEMA\\\"\",\n \"\\\"LET\\\"\",\n \"\\\"LOAD\\\"\",\n \"\\\"PLOT\\\"\",\n \"\\\"ALTER\\\"\",\n \"\\\"SAVE\\\"\",\n \"\\\"RENAME\\\"\",\n \"\\\"PRAGMA\\\"\",\n \"\\\"MATERIALIZE\\\"\",\n \"\\\"BY\\\"\",\n \"\\\"DO\\\"\",\n \"\\\"IF\\\"\",\n \"\\\"IS\\\"\",\n \"\\\"IN\\\"\",\n \"\\\"OR\\\"\",\n \"\\\"OF\\\"\",\n \"\\\"ON\\\"\",\n \"\\\"ALL\\\"\",\n \"\\\"AND\\\"\",\n \"\\\"ANY\\\"\",\n \"\\\"KEY\\\"\",\n \"\\\"NOT\\\"\",\n \"\\\"SET\\\"\",\n \"\\\"ASC\\\"\",\n \"\\\"TOP\\\"\",\n \"\\\"END\\\"\",\n \"\\\"DESC\\\"\",\n \"\\\"INTO\\\"\",\n \"\\\"NULL\\\"\",\n \"\\\"LIKE\\\"\",\n \"\\\"DROP\\\"\",\n \"\\\"JOIN\\\"\",\n \"\\\"LEFT\\\"\",\n \"\\\"FROM\\\"\",\n \"\\\"OPEN\\\"\",\n \"\\\"CASE\\\"\",\n \"\\\"WHEN\\\"\",\n \"\\\"THEN\\\"\",\n \"\\\"ELSE\\\"\",\n \"\\\"SOME\\\"\",\n \"\\\"FULL\\\"\",\n \"\\\"WITH\\\"\",\n \"\\\"TABLE\\\"\",\n \"\\\"WHERE\\\"\",\n \"\\\"USING\\\"\",\n \"\\\"UNION\\\"\",\n \"\\\"GROUP\\\"\",\n \"\\\"BEGIN\\\"\",\n \"\\\"INDEX\\\"\",\n \"\\\"INNER\\\"\",\n \"\\\"LIMIT\\\"\",\n \"\\\"OUTER\\\"\",\n \"\\\"ORDER\\\"\",\n \"\\\"RIGHT\\\"\",\n \"\\\"DELETE\\\"\",\n \"\\\"CREATE\\\"\",\n \"\\\"SELECT\\\"\",\n \"\\\"CAST\\\"\",\n \"\\\"PROVENANCE\\\"\",\n \"\\\"OFFSET\\\"\",\n \"\\\"EXISTS\\\"\",\n \"\\\"HAVING\\\"\",\n \"\\\"INSERT\\\"\",\n \"\\\"UPDATE\\\"\",\n \"\\\"VALUES\\\"\",\n \"\\\"ESCAPE\\\"\",\n \"\\\"PRIMARY\\\"\",\n \"\\\"NATURAL\\\"\",\n \"\\\"REPLACE\\\"\",\n \"\\\"BETWEEN\\\"\",\n \"\\\"TRUNCATE\\\"\",\n \"\\\"DISTINCT\\\"\",\n \"\\\"INTERSECT\\\"\",\n \"\\\"FEEDBACK\\\"\",\n \"\\\"EXTRACT\\\"\",\n \"\\\"ASSIGNMENTS\\\"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\\\";\\\"\",\n \"\\\":\\\"\",\n \"\\\"(\\\"\",\n \"\\\",\\\"\",\n \"\\\")\\\"\",\n \"\\\"=\\\"\",\n \"\\\".\\\"\",\n \"\\\"*\\\"\",\n \"\\\"?\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\">=\\\"\",\n \"\\\"<=\\\"\",\n \"\\\"<>\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"@@\\\"\",\n \"\\\"||\\\"\",\n \"\\\"|\\\"\",\n \"\\\"&\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"/\\\"\",\n \"\\\"^\\\"\",\n \"\\\"{d\\\"\",\n \"\\\"}\\\"\",\n \"\\\"{t\\\"\",\n \"\\\"{ts\\\"\",\n \"\\\"{fn\\\"\",\n };\n\n}","title":""},{"docid":"05f8a16c220e68057e0f6b725baac9e3","score":"0.5065117","text":"private int yyr51() {\n return 107;\n }","title":""},{"docid":"4450d89f303b78381b23a2fd18046d14","score":"0.5056176","text":"public Token next() {\n\t\t\n\t\tint state = 0;\n\t\tStringBuilder lexeme = new StringBuilder();\n\t\tint startLine = source.line;\n\t\tint startColumn = source.column;\n\t\t\n\t\twhile (true) {\n\t\t\tswitch (state) {\n\t\t\tcase 0:\n\t\t\t\tif (source.atEOF) {\n\t\t\t\t\treturn new Token(source.line, source.column, TokenType.EOF, null);\n\t\t\t\t// State 1 deals with the NUM 0\n\t\t\t\t} else if (source.current == '0') {\n\t\t\t\t\tstartLine = source.line;\n\t\t\t\t\tstartColumn = source.column;\n\t\t\t\t\tlexeme.append(source.current);\n\t\t\t\t\tsource.advance();\n\t\t\t\t\tstate = 1;\n\t\t\t\t// State 2 deals with all the other NUMs\n\t\t\t\t} else if (Character.isDigit(source.current)) {\n\t\t\t\t\tstartLine = source.line;\n\t\t\t\t\tstartColumn = source.column;\n\t\t\t\t\tlexeme.append(source.current);\n\t\t\t\t\tsource.advance();\n\t\t\t\t\tstate = 2;\n\t\t\t\t// State 3 deals with keywords and identifiers\n\t\t\t\t} else if (Character.isAlphabetic(source.current)) {\n\t\t\t\t\tstartLine = source.line;\n\t\t\t\t\tstartColumn = source.column;\n\t\t\t\t\tlexeme.append(source.current);\n\t\t\t\t\tsource.advance();\n\t\t\t\t\tstate = 3;\n\t\t\t // States 4-7 deal with comments\n\t\t\t\t} else if (source.current == '/') {\n\t\t\t\t\tstate = 4;\n\t\t\t\t\tsource.advance();\n\t\t\t\t// State 8 deals with operators and punctuation\n\t\t\t\t} else if (\"+-*;.:(),\".contains(String.valueOf(source.current))) {\n\t\t\t\t\tstate = 8;\n\t\t\t\t\tlexeme.append(source.current);\n\t\t\t\t\tsource.advance();\n\t\t\t\t// State 9 deals with <= and <> as well as <\n\t\t\t\t} else if (source.current == '<') {\n\t\t\t\t\tstartLine = source.line;\n\t\t\t\t\tstartColumn = source.column;\n\t\t\t\t\tstate = 9;\n\t\t\t\t\tsource.advance();\n\t\t\t\t// State 10 deals with >= and >\n\t\t\t\t} else if (source.current == '>') {\n\t\t\t\t\tstartLine = source.line;\n\t\t\t\t\tstartColumn = source.column;\n\t\t\t\t\tstate = 10;\n\t\t\t\t\tsource.advance();\n\t\t\t\t// States 11-12 deal with string literal\n\t\t\t\t} else if (source.current == '\"') {\n\t\t\t\t\tstartLine = source.line;\n\t\t\t\t\tstartColumn = source.column;\n\t\t\t\t\tstate = 11;\n\t\t\t\t\tsource.advance();\n\t\t\t\t// States 13-14 deal with equal operator ==\n\t\t\t\t} else if (source.current == '=') {\n\t\t\t\t\tstartLine = source.line;\n\t\t\t\t\tstartColumn = source.column;\n\t\t\t\t\tstate = 13;\n\t\t\t\t\tsource.advance();\n\t\t\t\t} else if (Character.isWhitespace(source.current)) {\n\t\t\t\t\tsource.advance();\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"Unexpected character '\" + source.current + \"' at line \" + source.line + \" column \" + source.column + \" was skipped.\");\n\t\t\t\t\tsource.advance();\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t\t\n\t\t\tcase 1:\n\t\t\t\treturn new Token(startLine, startColumn, TokenType.NUM, lexeme.toString());\n\t\t\t\t\n\t\t\tcase 2:\n\t\t\t\tif (source.atEOF || !Character.isDigit(source.current)) {\n\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.NUM, lexeme.toString());\n\t\t\t\t} else {\n\t\t\t\t\tlexeme.append(source.current);\n\t\t\t\t\tsource.advance();\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 3:\n\t\t\t\t// a list of legal characters to signal the end of lexeme\n\t\t\t\tString end_chars = \"+-*;.=/ \\t\\n:(),<>\\\"\";\n\t\t\t\t\n\t\t\t\t// Alphabets, digits, and underscores are parts of legal identifier\n\t\t\t\tif (Character.isAlphabetic(source.current) || Character.isDigit(source.current) || source.current == '_') {\n\t\t\t\t\tlexeme.append(source.current);\n\t\t\t\t\tsource.advance();\n\t\t\t\t// This case is the end of token\n\t\t\t\t} else if (end_chars.contains(String.valueOf(source.current))) {\n\t\t\t\t\tString lex = lexeme.toString();\n\t\t\t\t\t\n\t\t\t\t\tif (keywords.containsKey(lex))\n\t\t\t\t\t\treturn new Token(startLine, startColumn, keywords.get(lex), null);\n\t\t\t\t\telse\n\t\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.ID, lex);\n\t\t\t\t// If there is a illegal character, print an error message\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"Unexpected character '\" + source.current + \"' at line \" + source.line + \" column \" + source.column + \" was skipped.\");\n\t\t\t\t\tsource.advance();\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 4:\n\t\t\t\tif (source.current == '/') {\n\t\t\t\t\tstate = 5;\n\t\t\t\t\tsource.advance();\n\t\t\t\t}\n\t\t\t\telse if (source.current == '*') {\n\t\t\t\t\tstate = 6;\n\t\t\t\t\tsource.advance();\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.println(\"You have to use // for a one-line comment.\");\n\t\t\t\t\tstate = 0;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 5:\n\t\t\t\tif (source.current == '\\n')\n\t\t\t\t\tstate = 0;\n\t\t\t\tsource.advance();\n\t\t\t\tbreak;\n\t\t\tcase 6:\n\t\t\t\tif (source.current == '*')\n\t\t\t\t\tstate = 7;\n\t\t\t\telse if (source.atEOF) {\n\t\t\t\t\tSystem.out.println(\"Comment has to be closed with '*/' before EOF\");\n\t\t\t\t\tstate = 0;\n\t\t\t\t}\n\t\t\t\tsource.advance();\n\t\t\t\tbreak;\n\t\t\tcase 7:\n\t\t\t\tif (source.current == '/')\n\t\t\t\t\tstate = 0;\n\t\t\t\telse if (source.current == '*')\n\t\t\t\t\tstate = 7;\n\t\t\t\telse if (source.atEOF) {\n\t\t\t\t\tSystem.out.println(\"Comment has to be closed with '*/' before EOF\");\n\t\t\t\t\tstate = 0;\n\t\t\t\t} else\n\t\t\t\t\tstate = 6;\n\t\t\t\tsource.advance();\n\t\t\t\tbreak;\n\t\t\tcase 8:\n\t\t\t\tString lex = lexeme.toString();\n\t\t\t\treturn new Token(startLine, startColumn, opsAndPunct.get(lex), null);\n\t\t\tcase 9:\n\t\t\t\tif (source.current == '=') {\n\t\t\t\t\tsource.advance();\n\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.LE, null);\n\t\t\t\t}\n\t\t\t\telse if (source.current == '>') {\n\t\t\t\t\tsource.advance();\n\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.NE, null);\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.LT, null);\n\t\t\tcase 10:\n\t\t\t\tif (source.current == '=') {\n\t\t\t\t\tsource.advance();\n\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.GE, null);\n\t\t\t\t} else \n\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.GT, null);\n\t\t\tcase 11:\n\t\t\t\tif (source.current == '\"')\n\t\t\t\t\tstate = 12;\n\t\t\t\telse if (source.current == '\\n')\n\t\t\t\t\tSystem.out.println(\"String literal has to end with \\\"\");\n\t\t\t\t\t// System.exit(1); // Lexical error does not exit the program?\n\t\t\t\telse\n\t\t\t\t\tlexeme.append(source.current);\n\t\t\t\tsource.advance();\n\t\t\t\tbreak;\n\t\t\tcase 12:\n\t\t\t\tif (source.current == '\"') {\n\t\t\t\t\tstate = 11;\n\t\t\t\t\t// Two quotation marks (\"\") is considered a \" in the string literal\n\t\t\t\t\tlexeme.append('\"');\n\t\t\t\t\tsource.advance();\n\t\t\t\t} else \n\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.STRING, lexeme.toString());\n\t\t\t\tbreak;\n\t\t\tcase 13:\n\t\t\t\tif (source.current == '=') {\n\t\t\t\t\tstate = 14;\n\t\t\t\t\tsource.advance();\n\t\t\t\t} else\n\t\t\t\t\treturn new Token(startLine, startColumn, TokenType.ASSIGN, null);\n\t\t\t\tbreak;\n\t\t\tcase 14:\n\t\t\t\treturn new Token(startLine, startColumn, TokenType.EQ, null);\n\t\t\tdefault:\n\t\t\t\t// This part will NOT be executed. The error will be thrown just in case.\n\t\t\t\tthrow new RuntimeException(\"Unreachable. Something is wrong with the lexer.\");\n\t\t\t}\n\t\t}\n\t}","title":""},{"docid":"64016b855a7d5889305fe2ec9ea33896","score":"0.50475615","text":"@Override\r\n\t public boolean matchStatement(LinkedList tokens) {\r\n\t\tboolean match = true;\r\n\t\tToken token = null;\r\n\t\tIterator it = tokens.iterator();\r\n\t\twhile (it.hasNext()) {\r\n\t\t token = it.next();\r\n\t\t switch (token.getString()) {\r\n\t\t case \"(\":\r\n\t\t case \")\":\r\n\t\t\tmatch = false;\r\n\t\t\tbreak;\r\n\t\t }\r\n\t\t}\r\n\t\treturn match;\r\n\t }","title":""},{"docid":"32cf09528cc0b15edf9de2bfe0c01cfc","score":"0.50305325","text":"T visitAndexpression(lengBasicParser.AndexpressionContext ctx);","title":""},{"docid":"fcd05a13dd6c27126180cfe47fb9e40b","score":"0.50302964","text":"public interface ITokens {\n /* terminals */\n public static final int SHORT = 66;\n public static final int BOOL = 64;\n public static final int PRN_LEFT = 60;\n public static final int BIT_LM = 39;\n public static final int NUM_DIV_ASSIGN = 48;\n public static final int BIT_RM = 40;\n public static final int SEMI = 15;\n public static final int NEXT = 8;\n public static final int COMMA = 14;\n public static final int BIT_LM_ASSIGN = 53;\n public static final int BIT_AND = 35;\n public static final int BRC_RIGHT = 57;\n public static final int INTEGER = 67;\n public static final int BIT_XOR = 38;\n public static final int DOUBLE = 70;\n public static final int LGC_CNE = 26;\n public static final int LOOP = 7;\n public static final int TEXT = 73;\n public static final int LGC_CGT = 22;\n public static final int VAR = 4;\n public static final int LGC_AND = 18;\n public static final int BIT_AND_ASSIGN = 50;\n public static final int NUM_MOD_ASSIGN = 49;\n public static final int FLOAT = 69;\n public static final int QUESTION_COLON = 17;\n public static final int NUM_SUB_ASSIGN = 46;\n public static final int LGC_CGE = 24;\n public static final int INCLUDE = 2;\n public static final int BIT_XOR_ASSIGN = 52;\n public static final int CHARS = 71;\n public static final int LONG = 68;\n public static final int QUESTION = 16;\n public static final int LGC_CLT = 21;\n public static final int ASSIGN = 42;\n public static final int NUM_POW = 10;\n public static final int BIT_NOT = 37;\n public static final int NUM_SUB = 28;\n public static final int BIT_OR = 36;\n public static final int BIT_ZRM_ASSIGN = 55;\n public static final int LGC_CLE = 23;\n public static final int ELSE = 6;\n public static final int BREAK = 9;\n public static final int DOT = 12;\n public static final int ECHO = 3;\n public static final int NUM_ADD1 = 32;\n public static final int NULL = 63;\n public static final int LGC_AND_ASSIGN = 43;\n public static final int EOF = 0;\n public static final int LGC_NOT = 20;\n public static final int NUM_MUL = 29;\n public static final int LABEL = 72;\n public static final int LGC_CEE = 25;\n public static final int BIT_ZRM = 41;\n public static final int NUM_MOD = 31;\n public static final int BRK_RIGHT = 59;\n public static final int HOLD_TAIL = 62;\n public static final int NUM_ADD_ASSIGN = 45;\n public static final int BRC_LEFT = 56;\n public static final int error = 1;\n public static final int IF = 5;\n public static final int PRN_RIGHT = 61;\n public static final int NUM_MUL_ASSIGN = 47;\n public static final int COLON = 13;\n public static final int MERGE = 11;\n public static final int NUM_ADD = 27;\n public static final int NUM_DIV = 30;\n public static final int NUM_SUB1 = 33;\n public static final int NUM_NGT = 34;\n public static final int LGC_OR_ASSIGN = 44;\n public static final int BYTE = 65;\n public static final int LGC_OR = 19;\n public static final int BIT_OR_ASSIGN = 51;\n public static final int BIT_RM_ASSIGN = 54;\n public static final int BRK_LEFT = 58;\n}","title":""},{"docid":"cbd4285e29fae6be2b02e5734cb33c3a","score":"0.5030275","text":"public String visit(VarDeclaration n, String argu) throws RuntimeException{\n String _ret=null;\n\n\t String filename=previousprogram.get(1)+\".ll\";\n\t BufferedWriter bw=null;\n\t try{\n\t\t File f=new File(filename);\n\t\t /*if(!file.exists()){\n\t\t\tfile.createNewFile();\n\t\t }*/\n\t\t FileWriter fw=new FileWriter(f,true);\n\t\t\t\t\n\t\t bw=new BufferedWriter(fw);\n\t }\n\t catch (IOException e) {\n e.printStackTrace();\n }\n\n\n\n String type=n.f0.accept(this, argu);\n String name=n.f1.accept(this, argu);\n\t //System.out.println(\"TYPE and NAME=\"+type+name);\n\n n.f2.accept(this, argu);\n\t program.add(\";\");\n\n\t try{\n\n\t\t\n\t\tbw.flush();\n\t\tbw.close();\n\t }\n\t catch (IOException e) {\n e.printStackTrace();\n }\n return _ret;\n }","title":""},{"docid":"99b8484edd08cad66b4f8447e0792042","score":"0.5022795","text":"public interface IntASTStatement extends IntASTNode {\n \n}","title":""},{"docid":"649a5ee4b28110c3dd9faf9866a21a19","score":"0.50166416","text":"private void compileStatement(){\n tokenizer.advance();\n\n //siguiente '}'\n if (tokenizer.tokenType() == JackTokenizer.SYMBOL && tokenizer.symbol() == '}'){\n tokenizer.pointerBack();\n return;\n }\n\n //siguiente caso 'let'|'if'|'while'|'do'|'return'\n if (tokenizer.tokenType() != JackTokenizer.KEYWORD){\n error(\"keyword\");\n }else {\n switch (tokenizer.keyWord()){\n case JackTokenizer.LET:compileLet();break;\n case JackTokenizer.IF:compileIf();break;\n case JackTokenizer.WHILE:compilesWhile();break;\n case JackTokenizer.DO:compileDo();break;\n case JackTokenizer.RETURN:compileReturn();break;\n default:error(\"'let'|'if'|'while'|'do'|'return'\");\n }\n }\n\n compileStatement();\n }","title":""},{"docid":"8a8e7c7c89ca2b8c8a44e09299fb43ac","score":"0.50135607","text":"public final void mT__31() throws RecognitionException {\n try {\n int _type = T__31;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // /Users/Samy/Git_Telecom/Compilation2k18/Expr.g:10:7: ( ',' )\n // /Users/Samy/Git_Telecom/Compilation2k18/Expr.g:10:9: ','\n {\n match(','); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }","title":""},{"docid":"00d4eafc1efd116a161847cfc30cce5f","score":"0.500551","text":"private Token match(Token.Kind kind) {\n\t\tcheckNotEof();\n\t\tToken token = tokens.get(index++);\n\t\tif (token.kind != kind) {\n\t\t\tsyntaxError(\"expecting \\\"\" + kind + \"\\\" here\", token);\n\t\t}\n\t\treturn token;\n\t}","title":""},{"docid":"bf5aae8a4dc11a7a0bdbc6e3053a7eed","score":"0.4989482","text":"public String visit(TypeDeclaration n, String argu) throws Exception {\n System.out.println(\"TypeDeclaration :\");\n return n.f0.accept(this, null);\n }","title":""},{"docid":"701d28da13ab2f40b90e8f8c92b1b808","score":"0.4988934","text":"protected Node exitTokenDeclaration(Production node)\n throws ParseException {\n\n return node;\n }","title":""},{"docid":"973eb7f660097fe032b3a2bcff74880b","score":"0.49843964","text":"public String visit(AssignmentStatement n, String argu) {\n String _ret=null;\n\t String filename=previousprogram.get(1)+\".ll\";\n\t BufferedWriter bw=null;\n\t try{\n\t\t File f=new File(filename);\n\t\t /*if(!file.exists()){\n\t\t\tfile.createNewFile();\n\t\t }*/\n\t\t FileWriter fw=new FileWriter(f,true);\n\t\t\t\t\n\t\t bw=new BufferedWriter(fw);\n\t }\n\t catch (IOException e) {\n e.printStackTrace();\n }\n\n\n\n\t String type1,type2;\n\t type1=n.f0.accept(this,argu);\n\t String name1=program.get(program.size()-1);\n\t try{\n\t\t/*bw.write(\"%_\"+numregister+\" = load \");\n\t\tnumregister++;\n\t\tif(type1==\"int\"){\n\t\t\tbw.write(\"i32, i32* %\"+program.get(program.size()-1)+\"\\n\");\n\t\t}*/\n\t\tbw.flush();\n\t }\n\t catch (IOException e) {\n e.printStackTrace();\n }\n\n n.f1.accept(this, argu);\n\t program.add(\"=\");\n type2=n.f2.accept(this, argu);//o typos toy antikeimenoy einai type1\n\t \n\t try{\n\t\tbw.write(\"store \");\n\t\tif(isNumeric(program.get(program.size()-1))&&program.get(program.size()-2)==\"=\"){\n\t\t\tif(program.get(program.size()-1)==\"]\"){\n\t\t\t\t\tbw.write(\"i32 %_\"+(numregister-1)+\", i32* %\"+(numregister-1)+\"\\n\");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tbw.write(\"i32 \"+program.get(program.size()-1)+\", i32* %\"+program.get(program.size()-3)+\"\\n\");\n\t\t\t}\n\t\t}\n\t\telse{\n\t\t\tif(type1==\"int\"||type1==\"int[]\"){\n\t\t\t\tif(program.get(program.size()-1)==\"]\"){\n\t\t\t\t\tbw.write(\"i32 %_\"+(numregister-1)+\", i32* %\"+(numregister-4)+\"\\n\");\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tbw.write(\"i32 %_\"+(numregister-1)+\", i32* %\"+name1+\"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tbw.flush();\n\t }\n\t catch (IOException e) {\n e.printStackTrace();\n }\n\n\t \n n.f3.accept(this, argu);\n\t program.add(\";\");\n\t\n return _ret;\n }","title":""},{"docid":"448fde94221a81c69491098c2a9b9027","score":"0.49797532","text":"public interface IDLParserConstants {\r\n\r\n /** End of File. */\r\n int EOF = 0;\r\n /** RegularExpression Id. */\r\n int ID = 24;\r\n /** RegularExpression Id. */\r\n int OCTALINT = 25;\r\n /** RegularExpression Id. */\r\n int DECIMALINT = 26;\r\n /** RegularExpression Id. */\r\n int HEXADECIMALINT = 27;\r\n /** RegularExpression Id. */\r\n int FLOATONE = 28;\r\n /** RegularExpression Id. */\r\n int FLOATTWO = 29;\r\n /** RegularExpression Id. */\r\n int CHARACTER = 30;\r\n /** RegularExpression Id. */\r\n int STRING = 31;\r\n\r\n /** Lexical state. */\r\n int DEFAULT = 0;\r\n\r\n /** Literal token values. */\r\n String[] tokenImage = {\r\n \"\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\\\"\\\\n\\\"\",\r\n \"\\\"\\\\r\\\"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\\\";\\\"\",\r\n \"\\\"module\\\"\",\r\n \"\\\"{\\\"\",\r\n \"\\\"}\\\"\",\r\n \"\\\"struct\\\"\",\r\n \"\\\",\\\"\",\r\n \"\\\"[\\\"\",\r\n \"\\\"]\\\"\",\r\n \"\\\"float\\\"\",\r\n \"\\\"double\\\"\",\r\n \"\\\"long\\\"\",\r\n \"\\\"short\\\"\",\r\n \"\\\"unsigned\\\"\",\r\n \"\\\"char\\\"\",\r\n \"\\\"boolean\\\"\",\r\n \"\\\"octet\\\"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n };\r\n\r\n}","title":""},{"docid":"e44042db2551f72be7d50e3ade6aaf9e","score":"0.4974882","text":"public final void ruleEnumLiteralDeclaration() throws RecognitionException {\n Token otherlv_0=null;\n Token otherlv_1=null;\n\n try {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1883:27: ( ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )? ) )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1884:2: ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )? )\n {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1884:2: ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )? )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1885:3: ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )?\n {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1885:3: ( (otherlv_0= RULE_ID ) )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1886:4: (otherlv_0= RULE_ID )\n {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1886:4: (otherlv_0= RULE_ID )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1887:5: otherlv_0= RULE_ID\n {\n\n \t\t\t\t\tmarkLeaf(elementTypeProvider.getEnumLiteralDeclaration_EnumLiteralEEnumLiteralCrossReference_0_0ElementType());\n \t\t\t\t\n otherlv_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_RULE_ID_in_ruleEnumLiteralDeclaration5441); \n\n \t\t\t\t\tdoneLeaf(otherlv_0);\n \t\t\t\t\n\n }\n\n\n }\n\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1896:3: (otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) ) )?\n int alt50=2;\n int LA50_0 = input.LA(1);\n\n if ( (LA50_0==30) ) {\n alt50=1;\n }\n switch (alt50) {\n case 1 :\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1897:4: otherlv_1= '=' ( (lv_literal_2_0= ruleKeyword ) )\n {\n\n \t\t\t\tmarkLeaf(elementTypeProvider.getEnumLiteralDeclaration_EqualsSignKeyword_1_0ElementType());\n \t\t\t\n otherlv_1=(Token)match(input,30,FollowSets000.FOLLOW_30_in_ruleEnumLiteralDeclaration5472); \n\n \t\t\t\tdoneLeaf(otherlv_1);\n \t\t\t\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1904:4: ( (lv_literal_2_0= ruleKeyword ) )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1905:5: (lv_literal_2_0= ruleKeyword )\n {\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1905:5: (lv_literal_2_0= ruleKeyword )\n // ../../intellij/org.eclipse.xtext.core.idea.tests/src-gen/org/eclipse/xtext/idea/parser/antlr/internal/PsiInternalXtextGrammarTestLanguage.g:1906:6: lv_literal_2_0= ruleKeyword\n {\n\n \t\t\t\t\t\tmarkComposite(elementTypeProvider.getEnumLiteralDeclaration_LiteralKeywordParserRuleCall_1_1_0ElementType());\n \t\t\t\t\t\n pushFollow(FollowSets000.FOLLOW_ruleKeyword_in_ruleEnumLiteralDeclaration5504);\n ruleKeyword();\n\n state._fsp--;\n\n\n \t\t\t\t\t\tdoneComposite();\n \t\t\t\t\t\n\n }\n\n\n }\n\n\n }\n break;\n\n }\n\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return ;\n }","title":""},{"docid":"38755a77c3bad74855e6bca9c3ba7d6c","score":"0.49635845","text":"public Token next() {\n\t\tif (_buffer.isEmpty())\n\t\t\treturn null;\n\n\t\t// TODO: Complete this method\n\t\t// START YOUR CODE\n\t\tchar firstChar = _buffer.charAt(0);\n\t\tif (firstChar == 'I'){\n\t\t\tif (_buffer.substring(0, 11).equals(\"INSERT INTO\")){\n\t\t\t\tStringBuilder stringBuilder = new StringBuilder();\n\t\t\t\tint pos = 12 ;\n\t\t\t\t//current char (digit) , pointer\n\t\t\t\tchar current = _buffer.charAt(pos);\n\t\t\t\twhile(current!='V'){\n\t\t\t\t\tstringBuilder.append(current);\n\t\t\t\t\tpos++;\n\t\t\t\t\t// if else to handle the out of range bug\n\t\t\t\t\t//make sure the current pointer is not out of bounds\n\t\t\t\t\tif(pos<_buffer.length()){\n\t\t\t\t\t\tcurrent = _buffer.charAt(pos);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.println(stringBuilder.toString());\n\t\t\t\tstringBuilder.setLength(stringBuilder.length()-1);\n\t\t\t\treturn new Token(Token.Type.INSERT_INTO,stringBuilder.toString(),\"INSERT INTO \"+stringBuilder.toString());\n\t\t\t}\n\t\t}\n\n\t\tif (firstChar == 'V'){\n\t\t\tif (_buffer.substring(0, 6 ).equals(\"VALUES\")){\n\n\t\t\t\treturn new Token(Token.Type.VALUES,_buffer.substring(7,_buffer.length()),_buffer);\n\t\t\t}\n\t\t}\n\n\n\n\n\t\t// You are allowed to remove the following 'return null' if necessary\n\t\treturn null;\n\t\t\n\t\t// END YOUR CODE\n\t}","title":""},{"docid":"23f89ec3146c7a11ac5c7d5ee9abd011","score":"0.49534968","text":"public interface CyclParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int OPEN_PAREN = 1;\n /** RegularExpression Id. */\n int CLOSE_PAREN = 2;\n /** RegularExpression Id. */\n int WS = 10;\n /** RegularExpression Id. */\n int CONSTANT_PREFIX = 11;\n /** RegularExpression Id. */\n int SIMPLE_VARIABLE_PREFIX = 12;\n /** RegularExpression Id. */\n int META_VARIABLE_PREFIX = 13;\n /** RegularExpression Id. */\n int GUID_PREFIX = 14;\n /** RegularExpression Id. */\n int TRUE_CONSTANT = 15;\n /** RegularExpression Id. */\n int FALSE_CONSTANT = 16;\n /** RegularExpression Id. */\n int AND_CONSTANT = 17;\n /** RegularExpression Id. */\n int OR_CONSTANT = 18;\n /** RegularExpression Id. */\n int XOR_CONSTANT = 19;\n /** RegularExpression Id. */\n int NOT_CONSTANT = 20;\n /** RegularExpression Id. */\n int EQUIV_CONSTANT = 21;\n /** RegularExpression Id. */\n int IMPLIES_CONSTANT = 22;\n /** RegularExpression Id. */\n int FORALL_CONSTANT = 23;\n /** RegularExpression Id. */\n int THEREEXISTS_CONSTANT = 24;\n /** RegularExpression Id. */\n int THEREEXISTEXACTLY_CONSTANT = 25;\n /** RegularExpression Id. */\n int THEREEXISTATMOST_CONSTANT = 26;\n /** RegularExpression Id. */\n int THEREEXISTATLEAST_CONSTANT = 27;\n /** RegularExpression Id. */\n int EXPANDSUBLFN_CONSTANT = 28;\n /** RegularExpression Id. */\n int SUBLQUOTEFN_CONSTANT = 29;\n /** RegularExpression Id. */\n int TRUE_GUID_CONSTANT = 30;\n /** RegularExpression Id. */\n int FALSE_GUID_CONSTANT = 31;\n /** RegularExpression Id. */\n int AND_GUID_CONSTANT = 32;\n /** RegularExpression Id. */\n int OR_GUID_CONSTANT = 33;\n /** RegularExpression Id. */\n int XOR_GUID_CONSTANT = 34;\n /** RegularExpression Id. */\n int NOT_GUID_CONSTANT = 35;\n /** RegularExpression Id. */\n int EQUIV_GUID_CONSTANT = 36;\n /** RegularExpression Id. */\n int IMPLIES_GUID_CONSTANT = 37;\n /** RegularExpression Id. */\n int FORALL_GUID_CONSTANT = 38;\n /** RegularExpression Id. */\n int THEREEXISTS_GUID_CONSTANT = 39;\n /** RegularExpression Id. */\n int THEREEXISTEXACTLY_GUID_CONSTANT = 40;\n /** RegularExpression Id. */\n int THEREEXISTATMOST_GUID_CONSTANT = 41;\n /** RegularExpression Id. */\n int THEREEXISTATLEAST_GUID_CONSTANT = 42;\n /** RegularExpression Id. */\n int EXPANDSUBLFN_GUID_CONSTANT = 43;\n /** RegularExpression Id. */\n int SUBLQUOTEFN_GUID_CONSTANT = 44;\n /** RegularExpression Id. */\n int TRUE_GUID = 45;\n /** RegularExpression Id. */\n int FALSE_GUID = 46;\n /** RegularExpression Id. */\n int AND_GUID = 47;\n /** RegularExpression Id. */\n int OR_GUID = 48;\n /** RegularExpression Id. */\n int XOR_GUID = 49;\n /** RegularExpression Id. */\n int NOT_GUID = 50;\n /** RegularExpression Id. */\n int EQUIV_GUID = 51;\n /** RegularExpression Id. */\n int IMPLIES_GUID = 52;\n /** RegularExpression Id. */\n int FORALL_GUID = 53;\n /** RegularExpression Id. */\n int THEREEXISTS_GUID = 54;\n /** RegularExpression Id. */\n int THEREEXISTEXACTLY_GUID = 55;\n /** RegularExpression Id. */\n int THEREEXISTATMOST_GUID = 56;\n /** RegularExpression Id. */\n int THEREEXISTATLEAST_GUID = 57;\n /** RegularExpression Id. */\n int EXPANDSUBLFN_GUID = 58;\n /** RegularExpression Id. */\n int SUBLQUOTEFN_GUID = 59;\n /** RegularExpression Id. */\n int INTEGER = 60;\n /** RegularExpression Id. */\n int FLOAT = 61;\n /** RegularExpression Id. */\n int DECIMAL_INT = 62;\n /** RegularExpression Id. */\n int FLOAT_ONE = 63;\n /** RegularExpression Id. */\n int FLOAT_TWO = 64;\n /** RegularExpression Id. */\n int CONSTANT_NAME1 = 65;\n /** RegularExpression Id. */\n int NON_NUMERIC_START_CHAR = 66;\n /** RegularExpression Id. */\n int NUMERIC_START_CHAR = 67;\n /** RegularExpression Id. */\n int VALID_CONSTANT_CHAR = 68;\n /** RegularExpression Id. */\n int CONSTANT_NAME2 = 69;\n /** RegularExpression Id. */\n int CONSTANT_GUID = 70;\n /** RegularExpression Id. */\n int GUID_CHAR = 71;\n /** RegularExpression Id. */\n int CONSTANT_GUID2 = 72;\n /** RegularExpression Id. */\n int SIMPLE_VARIABLE = 73;\n /** RegularExpression Id. */\n int NON_DASH_VARIABLE_CHAR = 74;\n /** RegularExpression Id. */\n int META_VARIABLE = 75;\n /** RegularExpression Id. */\n int NON_DASH_META_VARIABLE_CHAR = 76;\n /** RegularExpression Id. */\n int STRING = 77;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_LINE_COMMENT = 1;\n /** Lexical state. */\n int IN_COMMENT = 2;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"//\\\"\",\n \"\\\";\\\"\",\n \"\\\"/*\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\",\n \"\\\"*/\\\"\",\n \"\",\n \"\",\n \"\\\"#$\\\"\",\n \"\\\"?\\\"\",\n \"\\\":\\\"\",\n \"\\\"#G\\\"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"\",\n \"