001 /* Generated By:JavaCC: Do not edit this line. BnfParserConstants.java */ 002 package net.hydromatic.clapham.parser.bnf; 003 004 public interface BnfParserConstants { 005 006 int EOF = 0; 007 int IDENTIFIER = 1; 008 int LETTER = 2; 009 int DIGIT = 3; 010 int LPAREN = 4; 011 int RPAREN = 5; 012 int HOOK = 6; 013 int PLUS = 7; 014 int ASTERISK = 8; 015 int COLCOLEQ = 9; 016 int BAR = 10; 017 int QUOT = 11; 018 int BRACKETED_IDENTIFIER = 12; 019 int LITERAL = 13; 020 int SINGLE_LINE_COMMENT = 21; 021 int MULTI_LINE_COMMENT = 22; 022 023 int DEFAULT = 0; 024 int IN_SINGLE_LINE_COMMENT = 1; 025 int IN_MULTI_LINE_COMMENT = 2; 026 027 String[] tokenImage = { 028 "<EOF>", 029 "<IDENTIFIER>", 030 "<LETTER>", 031 "<DIGIT>", 032 "\"(\"", 033 "\")\"", 034 "\"?\"", 035 "\"+\"", 036 "\"*\"", 037 "\"::=\"", 038 "\"|\"", 039 "\"\\\"\"", 040 "<BRACKETED_IDENTIFIER>", 041 "<LITERAL>", 042 "\" \"", 043 "\"\\t\"", 044 "\"\\f\"", 045 "\"\\r\"", 046 "\"\\n\"", 047 "\"//\"", 048 "\"/*\"", 049 "<SINGLE_LINE_COMMENT>", 050 "\"*/\"", 051 "<token of kind 23>", 052 }; 053 054 }