Package antlr

Examples of antlr.ANTLRHashString


public SearchExpressionLexer(LexerSharedInputState state) {
  super(state);
  caseSensitiveLiterals = false;
  setCaseSensitive(false);
  literals = new Hashtable<ANTLRHashString, Integer>();
  literals.put(new ANTLRHashString("matches", this), new Integer(8));
  literals.put(new ANTLRHashString("or", this), new Integer(5));
  literals.put(new ANTLRHashString("and", this), new Integer(4));
  literals.put(new ANTLRHashString("not", this), new Integer(6));
  literals.put(new ANTLRHashString("contains", this), new Integer(7));
}
View Full Code Here


public MappingLexer(LexerSharedInputState state) {
  super(state);
  caseSensitiveLiterals = true;
  setCaseSensitive(false);
  literals = new Hashtable();
  literals.put(new ANTLRHashString("Columns", this), Integer.valueOf(7));
  literals.put(new ANTLRHashString("Data", this), Integer.valueOf(12));
  literals.put(new ANTLRHashString("Chapters", this), Integer.valueOf(10));
  literals.put(new ANTLRHashString("Rows", this), Integer.valueOf(8));
  literals.put(new ANTLRHashString("Sections", this), Integer.valueOf(11));
  literals.put(new ANTLRHashString("FormattedData", this), Integer.valueOf(13));
  literals.put(new ANTLRHashString("Axis", this), Integer.valueOf(4));
  literals.put(new ANTLRHashString("Pages", this), Integer.valueOf(9));
}
View Full Code Here

    {
        super( state );
        caseSensitiveLiterals = true;
        setCaseSensitive( true );
        literals = new Hashtable();
        literals.put( new ANTLRHashString( "byte",
                                           this ),
                      new Integer( 61 ) );
        literals.put( new ANTLRHashString( "public",
                                           this ),
                      new Integer( 71 ) );
        literals.put( new ANTLRHashString( "case",
                                           this ),
                      new Integer( 98 ) );
        literals.put( new ANTLRHashString( "short",
                                           this ),
                      new Integer( 63 ) );
        literals.put( new ANTLRHashString( "break",
                                           this ),
                      new Integer( 93 ) );
        literals.put( new ANTLRHashString( "while",
                                           this ),
                      new Integer( 91 ) );
        literals.put( new ANTLRHashString( "new",
                                           this ),
                      new Integer( 141 ) );
        literals.put( new ANTLRHashString( "ruleset",
                                           this ),
                      new Integer( 44 ) );
        literals.put( new ANTLRHashString( "instanceof",
                                           this ),
                      new Integer( 126 ) );
        literals.put( new ANTLRHashString( "implements",
                                           this ),
                      new Integer( 83 ) );
        literals.put( new ANTLRHashString( "then",
                                           this ),
                      new Integer( 47 ) );
        literals.put( new ANTLRHashString( "synchronized",
                                           this ),
                      new Integer( 77 ) );
        literals.put( new ANTLRHashString( "float",
                                           this ),
                      new Integer( 65 ) );
        literals.put( new ANTLRHashString( "package",
                                           this ),
                      new Integer( 55 ) );
        literals.put( new ANTLRHashString( "return",
                                           this ),
                      new Integer( 95 ) );
        literals.put( new ANTLRHashString( "throw",
                                           this ),
                      new Integer( 97 ) );
        literals.put( new ANTLRHashString( "null",
                                           this ),
                      new Integer( 140 ) );
        literals.put( new ANTLRHashString( "threadsafe",
                                           this ),
                      new Integer( 76 ) );
        literals.put( new ANTLRHashString( "protected",
                                           this ),
                      new Integer( 72 ) );
        literals.put( new ANTLRHashString( "when",
                                           this ),
                      new Integer( 46 ) );
        literals.put( new ANTLRHashString( "class",
                                           this ),
                      new Integer( 79 ) );
        literals.put( new ANTLRHashString( "throws",
                                           this ),
                      new Integer( 86 ) );
        literals.put( new ANTLRHashString( "do",
                                           this ),
                      new Integer( 92 ) );
        literals.put( new ANTLRHashString( "strictfp",
                                           this ),
                      new Integer( 41 ) );
        literals.put( new ANTLRHashString( "super",
                                           this ),
                      new Integer( 85 ) );
        literals.put( new ANTLRHashString( "transient",
                                           this ),
                      new Integer( 74 ) );
        literals.put( new ANTLRHashString( "native",
                                           this ),
                      new Integer( 75 ) );
        literals.put( new ANTLRHashString( "interface",
                                           this ),
                      new Integer( 81 ) );
        literals.put( new ANTLRHashString( "final",
                                           this ),
                      new Integer( 39 ) );
        literals.put( new ANTLRHashString( "if",
                                           this ),
                      new Integer( 88 ) );
        literals.put( new ANTLRHashString( "double",
                                           this ),
                      new Integer( 67 ) );
        literals.put( new ANTLRHashString( "volatile",
                                           this ),
                      new Integer( 78 ) );
        literals.put( new ANTLRHashString( "catch",
                                           this ),
                      new Integer( 102 ) );
        literals.put( new ANTLRHashString( "try",
                                           this ),
                      new Integer( 100 ) );
        literals.put( new ANTLRHashString( "int",
                                           this ),
                      new Integer( 64 ) );
        literals.put( new ANTLRHashString( "for",
                                           this ),
                      new Integer( 90 ) );
        literals.put( new ANTLRHashString( "extends",
                                           this ),
                      new Integer( 80 ) );
        literals.put( new ANTLRHashString( "boolean",
                                           this ),
                      new Integer( 60 ) );
        literals.put( new ANTLRHashString( "char",
                                           this ),
                      new Integer( 62 ) );
        literals.put( new ANTLRHashString( "private",
                                           this ),
                      new Integer( 70 ) );
        literals.put( new ANTLRHashString( "default",
                                           this ),
                      new Integer( 99 ) );
        literals.put( new ANTLRHashString( "rule",
                                           this ),
                      new Integer( 45 ) );
        literals.put( new ANTLRHashString( "false",
                                           this ),
                      new Integer( 139 ) );
        literals.put( new ANTLRHashString( "this",
                                           this ),
                      new Integer( 84 ) );
        literals.put( new ANTLRHashString( "static",
                                           this ),
                      new Integer( 73 ) );
        literals.put( new ANTLRHashString( "abstract",
                                           this ),
                      new Integer( 40 ) );
        literals.put( new ANTLRHashString( "continue",
                                           this ),
                      new Integer( 94 ) );
        literals.put( new ANTLRHashString( "finally",
                                           this ),
                      new Integer( 101 ) );
        literals.put( new ANTLRHashString( "else",
                                           this ),
                      new Integer( 89 ) );
        literals.put( new ANTLRHashString( "import",
                                           this ),
                      new Integer( 56 ) );
        literals.put( new ANTLRHashString( "void",
                                           this ),
                      new Integer( 59 ) );
        literals.put( new ANTLRHashString( "switch",
                                           this ),
                      new Integer( 96 ) );
        literals.put( new ANTLRHashString( "true",
                                           this ),
                      new Integer( 138 ) );
        literals.put( new ANTLRHashString( "long",
                                           this ),
                      new Integer( 66 ) );
    }
View Full Code Here

    this(new LexerSharedInputState(ib));
}
public ClientLexer(LexerSharedInputState state) {
    super(state);
    literals = new Hashtable();
    literals.put(new ANTLRHashString("propfind", this), new Integer(37));
    literals.put(new ANTLRHashString("mkws", this), new Integer(64));
    literals.put(new ANTLRHashString("unlock", this), new Integer(47));
    literals.put(new ANTLRHashString("to", this), new Integer(50));
    literals.put(new ANTLRHashString("principalcollectionset", this), new Integer(55));
    literals.put(new ANTLRHashString("checkin", this), new Integer(58));
    literals.put(new ANTLRHashString("get", this), new Integer(44));
    literals.put(new ANTLRHashString("mv", this), new Integer(71));
    literals.put(new ANTLRHashString("exit", this), new Integer(65));
    literals.put(new ANTLRHashString("open", this), new Integer(17));
    literals.put(new ANTLRHashString("mkcol", this), new Integer(30));
    literals.put(new ANTLRHashString("lls", this), new Integer(25));
    literals.put(new ANTLRHashString("dir", this), new Integer(29));
    literals.put(new ANTLRHashString("lock", this), new Integer(46));
    literals.put(new ANTLRHashString("connect", this), new Integer(16));
    literals.put(new ANTLRHashString("locks", this), new Integer(48));
    literals.put(new ANTLRHashString("copy", this), new Integer(33));
    literals.put(new ANTLRHashString("acl", this), new Integer(54));
    literals.put(new ANTLRHashString("del", this), new Integer(35));
    literals.put(new ANTLRHashString("checkout", this), new Integer(59));
    literals.put(new ANTLRHashString("propput", this), new Integer(72));
    literals.put(new ANTLRHashString("cd", this), new Integer(23));
    literals.put(new ANTLRHashString("on", this), new Integer(13));
    literals.put(new ANTLRHashString("pwd", this), new Integer(21));
    literals.put(new ANTLRHashString("mkdir", this), new Integer(31));
    literals.put(new ANTLRHashString("disconnect", this), new Integer(18));
    literals.put(new ANTLRHashString("move", this), new Integer(32));
    literals.put(new ANTLRHashString("cp", this), new Integer(70));
    literals.put(new ANTLRHashString("set", this), new Integer(68));
    literals.put(new ANTLRHashString("echo", this), new Integer(12));
    literals.put(new ANTLRHashString("rm", this), new Integer(36));
    literals.put(new ANTLRHashString("report", this), new Integer(61));
    literals.put(new ANTLRHashString("debug", this), new Integer(14));
    literals.put(new ANTLRHashString("spool", this), new Integer(8));
    literals.put(new ANTLRHashString("cc", this), new Integer(24));
    literals.put(new ANTLRHashString("pwc", this), new Integer(20));
    literals.put(new ANTLRHashString("off", this), new Integer(10));
    literals.put(new ANTLRHashString("versioncontrol", this), new Integer(56));
    literals.put(new ANTLRHashString("grant", this), new Integer(49));
    literals.put(new ANTLRHashString("ldir", this), new Integer(26));
    literals.put(new ANTLRHashString("propget", this), new Integer(38));
    literals.put(new ANTLRHashString("help", this), new Integer(4));
    literals.put(new ANTLRHashString("options", this), new Integer(15));
    literals.put(new ANTLRHashString("ls", this), new Integer(28));
    literals.put(new ANTLRHashString("status", this), new Integer(7));
    literals.put(new ANTLRHashString("propfindall", this), new Integer(40));
    literals.put(new ANTLRHashString("ereport", this), new Integer(62));
    literals.put(new ANTLRHashString("close", this), new Integer(69));
    literals.put(new ANTLRHashString("from", this), new Integer(53));
    literals.put(new ANTLRHashString("principalcol", this), new Integer(73));
    literals.put(new ANTLRHashString("lpwd", this), new Integer(19));
    literals.put(new ANTLRHashString("bye", this), new Integer(67));
    literals.put(new ANTLRHashString("quit", this), new Integer(66));
    literals.put(new ANTLRHashString("delete", this), new Integer(34));
    literals.put(new ANTLRHashString("put", this), new Integer(45));
    literals.put(new ANTLRHashString("deny", this), new Integer(51));
    literals.put(new ANTLRHashString("propgetall", this), new Integer(41));
    literals.put(new ANTLRHashString("run", this), new Integer(11));
    literals.put(new ANTLRHashString("uncheckout", this), new Integer(60));
    literals.put(new ANTLRHashString("lcd", this), new Integer(22));
    literals.put(new ANTLRHashString("update", this), new Integer(57));
    literals.put(new ANTLRHashString("proppatch", this), new Integer(42));
    literals.put(new ANTLRHashString("lreport", this), new Integer(63));
    literals.put(new ANTLRHashString("revoke", this), new Integer(52));
caseSensitiveLiterals = false;
setCaseSensitive(true);
}
View Full Code Here

    initialize();
  }

  public void initialize()
  {
    literals.put(new ANTLRHashString("__alignof__", this), new Integer(LITERAL___alignof));
    literals.put(new ANTLRHashString("__asm", this), new Integer(LITERAL_asm));
    literals.put(new ANTLRHashString("__asm__", this), new Integer(LITERAL_asm));
    literals.put(new ANTLRHashString("__attribute__", this), new Integer(LITERAL___attribute));
    literals.put(new ANTLRHashString("__complex__", this), new Integer(LITERAL___complex));
    literals.put(new ANTLRHashString("__const", this), new Integer(LITERAL_const));
    literals.put(new ANTLRHashString("__const__", this), new Integer(LITERAL_const));
    literals.put(new ANTLRHashString("__imag__", this), new Integer(LITERAL___imag));
    literals.put(new ANTLRHashString("__inline", this), new Integer(LITERAL_inline));
    literals.put(new ANTLRHashString("__inline__", this), new Integer(LITERAL_inline));
    literals.put(new ANTLRHashString("__real__", this), new Integer(LITERAL___real));
    literals.put(new ANTLRHashString("__signed", this), new Integer(LITERAL_signed));
    literals.put(new ANTLRHashString("__signed__", this), new Integer(LITERAL_signed));
    literals.put(new ANTLRHashString("__typeof", this), new Integer(LITERAL_typeof));
    literals.put(new ANTLRHashString("__typeof__", this), new Integer(LITERAL_typeof));
    literals.put(new ANTLRHashString("__volatile", this), new Integer(LITERAL_volatile));
    literals.put(new ANTLRHashString("__volatile__", this), new Integer(LITERAL_volatile));
  }
View Full Code Here

public WLexer(LexerSharedInputState state) {
  super(state);
  caseSensitiveLiterals = true;
  setCaseSensitive(true);
  literals = new Hashtable();
  literals.put(new ANTLRHashString("byte", this), new Integer(143));
  literals.put(new ANTLRHashString("extern", this), new Integer(15));
  literals.put(new ANTLRHashString("__real", this), new Integer(149));
  literals.put(new ANTLRHashString("case", this), new Integer(44));
  literals.put(new ANTLRHashString("short", this), new Integer(20));
  literals.put(new ANTLRHashString("break", this), new Integer(42));
  literals.put(new ANTLRHashString("while", this), new Integer(37));
  literals.put(new ANTLRHashString("typeof", this), new Integer(145));
  literals.put(new ANTLRHashString("inline", this), new Integer(142));
  literals.put(new ANTLRHashString("unsigned", this), new Integer(26));
  literals.put(new ANTLRHashString("const", this), new Integer(17));
  literals.put(new ANTLRHashString("float", this), new Integer(23));
  literals.put(new ANTLRHashString("return", this), new Integer(43));
  literals.put(new ANTLRHashString("sizeof", this), new Integer(79));
  literals.put(new ANTLRHashString("do", this), new Integer(38));
  literals.put(new ANTLRHashString("__label__", this), new Integer(141));
  literals.put(new ANTLRHashString("typedef", this), new Integer(4));
  literals.put(new ANTLRHashString("if", this), new Integer(46));
  literals.put(new ANTLRHashString("double", this), new Integer(24));
  literals.put(new ANTLRHashString("volatile", this), new Integer(6));
  literals.put(new ANTLRHashString("__attribute", this), new Integer(147));
  literals.put(new ANTLRHashString("union", this), new Integer(11));
  literals.put(new ANTLRHashString("register", this), new Integer(14));
  literals.put(new ANTLRHashString("auto", this), new Integer(13));
  literals.put(new ANTLRHashString("goto", this), new Integer(40));
  literals.put(new ANTLRHashString("enum", this), new Integer(12));
  literals.put(new ANTLRHashString("int", this), new Integer(21));
  literals.put(new ANTLRHashString("for", this), new Integer(39));
  literals.put(new ANTLRHashString("boolean", this), new Integer(144));
  literals.put(new ANTLRHashString("char", this), new Integer(19));
  literals.put(new ANTLRHashString("default", this), new Integer(45));
  literals.put(new ANTLRHashString("__imag", this), new Integer(150));
  literals.put(new ANTLRHashString("__alignof", this), new Integer(148));
  literals.put(new ANTLRHashString("static", this), new Integer(16));
  literals.put(new ANTLRHashString("continue", this), new Integer(41));
  literals.put(new ANTLRHashString("struct", this), new Integer(10));
  literals.put(new ANTLRHashString("signed", this), new Integer(25));
  literals.put(new ANTLRHashString("else", this), new Integer(47));
  literals.put(new ANTLRHashString("void", this), new Integer(18));
  literals.put(new ANTLRHashString("switch", this), new Integer(48));
  literals.put(new ANTLRHashString("long", this), new Integer(22));
  literals.put(new ANTLRHashString("__extension__", this), new Integer(151));
  literals.put(new ANTLRHashString("asm", this), new Integer(5));
  literals.put(new ANTLRHashString("__complex", this), new Integer(146));
}
View Full Code Here

public StdCLexer(LexerSharedInputState state) {
  super(state);
  caseSensitiveLiterals = true;
  setCaseSensitive(true);
  literals = new Hashtable();
  literals.put(new ANTLRHashString("switch", this), new Integer(48));
  literals.put(new ANTLRHashString("case", this), new Integer(44));
  literals.put(new ANTLRHashString("for", this), new Integer(39));
  literals.put(new ANTLRHashString("register", this), new Integer(14));
  literals.put(new ANTLRHashString("sizeof", this), new Integer(79));
  literals.put(new ANTLRHashString("auto", this), new Integer(13));
  literals.put(new ANTLRHashString("void", this), new Integer(18));
  literals.put(new ANTLRHashString("float", this), new Integer(23));
  literals.put(new ANTLRHashString("continue", this), new Integer(41));
  literals.put(new ANTLRHashString("long", this), new Integer(22));
  literals.put(new ANTLRHashString("do", this), new Integer(38));
  literals.put(new ANTLRHashString("typedef", this), new Integer(4));
  literals.put(new ANTLRHashString("short", this), new Integer(20));
  literals.put(new ANTLRHashString("signed", this), new Integer(25));
  literals.put(new ANTLRHashString("enum", this), new Integer(12));
  literals.put(new ANTLRHashString("asm", this), new Integer(5));
  literals.put(new ANTLRHashString("static", this), new Integer(16));
  literals.put(new ANTLRHashString("char", this), new Integer(19));
  literals.put(new ANTLRHashString("union", this), new Integer(11));
  literals.put(new ANTLRHashString("while", this), new Integer(37));
  literals.put(new ANTLRHashString("const", this), new Integer(17));
  literals.put(new ANTLRHashString("break", this), new Integer(42));
  literals.put(new ANTLRHashString("extern", this), new Integer(15));
  literals.put(new ANTLRHashString("return", this), new Integer(43));
  literals.put(new ANTLRHashString("if", this), new Integer(46));
  literals.put(new ANTLRHashString("int", this), new Integer(21));
  literals.put(new ANTLRHashString("double", this), new Integer(24));
  literals.put(new ANTLRHashString("volatile", this), new Integer(6));
  literals.put(new ANTLRHashString("default", this), new Integer(45));
  literals.put(new ANTLRHashString("unsigned", this), new Integer(26));
  literals.put(new ANTLRHashString("struct", this), new Integer(10));
  literals.put(new ANTLRHashString("else", this), new Integer(47));
  literals.put(new ANTLRHashString("goto", this), new Integer(40));
}
View Full Code Here

public ClientLexer(LexerSharedInputState state) {
  super(state);
  caseSensitiveLiterals = false;
  setCaseSensitive(true);
  literals = new Hashtable();
  literals.put(new ANTLRHashString("spool", this), new Integer(8));
  literals.put(new ANTLRHashString("copy", this), new Integer(33));
  literals.put(new ANTLRHashString("mkdir", this), new Integer(31));
  literals.put(new ANTLRHashString("uncheckout", this), new Integer(63));
  literals.put(new ANTLRHashString("delete", this), new Integer(34));
  literals.put(new ANTLRHashString("abort", this), new Integer(48));
  literals.put(new ANTLRHashString("grant", this), new Integer(52));
  literals.put(new ANTLRHashString("off", this), new Integer(10));
  literals.put(new ANTLRHashString("acl", this), new Integer(57));
  literals.put(new ANTLRHashString("help", this), new Integer(4));
  literals.put(new ANTLRHashString("lcd", this), new Integer(22));
  literals.put(new ANTLRHashString("ldir", this), new Integer(26));
  literals.put(new ANTLRHashString("mv", this), new Integer(74));
  literals.put(new ANTLRHashString("lock", this), new Integer(49));
  literals.put(new ANTLRHashString("to", this), new Integer(53));
  literals.put(new ANTLRHashString("versioncontrol", this), new Integer(59));
  literals.put(new ANTLRHashString("mkws", this), new Integer(67));
  literals.put(new ANTLRHashString("mkcol", this), new Integer(30));
  literals.put(new ANTLRHashString("from", this), new Integer(56));
  literals.put(new ANTLRHashString("dir", this), new Integer(29));
  literals.put(new ANTLRHashString("propfind", this), new Integer(37));
  literals.put(new ANTLRHashString("checkin", this), new Integer(61));
  literals.put(new ANTLRHashString("quit", this), new Integer(69));
  literals.put(new ANTLRHashString("open", this), new Integer(17));
  literals.put(new ANTLRHashString("locks", this), new Integer(51));
  literals.put(new ANTLRHashString("status", this), new Integer(7));
  literals.put(new ANTLRHashString("exit", this), new Integer(68));
  literals.put(new ANTLRHashString("unlock", this), new Integer(50));
  literals.put(new ANTLRHashString("rm", this), new Integer(36));
  literals.put(new ANTLRHashString("set", this), new Integer(71));
  literals.put(new ANTLRHashString("lls", this), new Integer(25));
  literals.put(new ANTLRHashString("proppatch", this), new Integer(42));
  literals.put(new ANTLRHashString("propput", this), new Integer(75));
  literals.put(new ANTLRHashString("commit", this), new Integer(47));
  literals.put(new ANTLRHashString("propgetall", this), new Integer(41));
  literals.put(new ANTLRHashString("close", this), new Integer(72));
  literals.put(new ANTLRHashString("principalcollectionset", this), new Integer(58));
  literals.put(new ANTLRHashString("run", this), new Integer(11));
  literals.put(new ANTLRHashString("deny", this), new Integer(54));
  literals.put(new ANTLRHashString("report", this), new Integer(64));
  literals.put(new ANTLRHashString("put", this), new Integer(45));
  literals.put(new ANTLRHashString("connect", this), new Integer(16));
  literals.put(new ANTLRHashString("propget", this), new Integer(38));
  literals.put(new ANTLRHashString("revoke", this), new Integer(55));
  literals.put(new ANTLRHashString("echo", this), new Integer(12));
  literals.put(new ANTLRHashString("disconnect", this), new Integer(18));
  literals.put(new ANTLRHashString("debug", this), new Integer(14));
  literals.put(new ANTLRHashString("move", this), new Integer(32));
  literals.put(new ANTLRHashString("bye", this), new Integer(70));
  literals.put(new ANTLRHashString("cd", this), new Integer(23));
  literals.put(new ANTLRHashString("cp", this), new Integer(73));
  literals.put(new ANTLRHashString("propfindall", this), new Integer(40));
  literals.put(new ANTLRHashString("del", this), new Integer(35));
  literals.put(new ANTLRHashString("get", this), new Integer(44));
  literals.put(new ANTLRHashString("lpwd", this), new Integer(19));
  literals.put(new ANTLRHashString("cc", this), new Integer(24));
  literals.put(new ANTLRHashString("on", this), new Integer(13));
  literals.put(new ANTLRHashString("options", this), new Integer(15));
  literals.put(new ANTLRHashString("begin", this), new Integer(46));
  literals.put(new ANTLRHashString("ereport", this), new Integer(65));
  literals.put(new ANTLRHashString("pwd", this), new Integer(21));
  literals.put(new ANTLRHashString("principalcol", this), new Integer(76));
  literals.put(new ANTLRHashString("update", this), new Integer(60));
  literals.put(new ANTLRHashString("checkout", this), new Integer(62));
  literals.put(new ANTLRHashString("lreport", this), new Integer(66));
  literals.put(new ANTLRHashString("ls", this), new Integer(28));
  literals.put(new ANTLRHashString("pwc", this), new Integer(20));
}
View Full Code Here

public HqlBaseLexer(LexerSharedInputState state) {
  super(state);
  caseSensitiveLiterals = false;
  setCaseSensitive(false);
  literals = new Hashtable();
  literals.put(new ANTLRHashString("between", this), new Integer(10));
  literals.put(new ANTLRHashString("case", this), new Integer(57));
  literals.put(new ANTLRHashString("delete", this), new Integer(13));
  literals.put(new ANTLRHashString("new", this), new Integer(37));
  literals.put(new ANTLRHashString("end", this), new Integer(58));
  literals.put(new ANTLRHashString("object", this), new Integer(68));
  literals.put(new ANTLRHashString("insert", this), new Integer(29));
  literals.put(new ANTLRHashString("distinct", this), new Integer(16));
  literals.put(new ANTLRHashString("where", this), new Integer(53));
  literals.put(new ANTLRHashString("trailing", this), new Integer(70));
  literals.put(new ANTLRHashString("then", this), new Integer(60));
  literals.put(new ANTLRHashString("select", this), new Integer(45));
  literals.put(new ANTLRHashString("and", this), new Integer(6));
  literals.put(new ANTLRHashString("outer", this), new Integer(42));
  literals.put(new ANTLRHashString("not", this), new Integer(38));
  literals.put(new ANTLRHashString("fetch", this), new Integer(21));
  literals.put(new ANTLRHashString("from", this), new Integer(22));
  literals.put(new ANTLRHashString("null", this), new Integer(39));
  literals.put(new ANTLRHashString("count", this), new Integer(12));
  literals.put(new ANTLRHashString("like", this), new Integer(34));
  literals.put(new ANTLRHashString("when", this), new Integer(61));
  literals.put(new ANTLRHashString("class", this), new Integer(11));
  literals.put(new ANTLRHashString("inner", this), new Integer(28));
  literals.put(new ANTLRHashString("leading", this), new Integer(66));
  literals.put(new ANTLRHashString("with", this), new Integer(63));
  literals.put(new ANTLRHashString("set", this), new Integer(46));
  literals.put(new ANTLRHashString("escape", this), new Integer(18));
  literals.put(new ANTLRHashString("join", this), new Integer(32));
  literals.put(new ANTLRHashString("elements", this), new Integer(17));
  literals.put(new ANTLRHashString("of", this), new Integer(69));
  literals.put(new ANTLRHashString("is", this), new Integer(31));
  literals.put(new ANTLRHashString("member", this), new Integer(67));
  literals.put(new ANTLRHashString("or", this), new Integer(40));
  literals.put(new ANTLRHashString("any", this), new Integer(5));
  literals.put(new ANTLRHashString("full", this), new Integer(23));
  literals.put(new ANTLRHashString("min", this), new Integer(36));
  literals.put(new ANTLRHashString("as", this), new Integer(7));
  literals.put(new ANTLRHashString("by", this), new Integer(109));
  literals.put(new ANTLRHashString("nulls", this), new Integer(54));
  literals.put(new ANTLRHashString("all", this), new Integer(4));
  literals.put(new ANTLRHashString("union", this), new Integer(50));
  literals.put(new ANTLRHashString("order", this), new Integer(41));
  literals.put(new ANTLRHashString("both", this), new Integer(64));
  literals.put(new ANTLRHashString("some", this), new Integer(47));
  literals.put(new ANTLRHashString("properties", this), new Integer(43));
  literals.put(new ANTLRHashString("ascending", this), new Integer(110));
  literals.put(new ANTLRHashString("descending", this), new Integer(111));
  literals.put(new ANTLRHashString("false", this), new Integer(20));
  literals.put(new ANTLRHashString("exists", this), new Integer(19));
  literals.put(new ANTLRHashString("asc", this), new Integer(8));
  literals.put(new ANTLRHashString("left", this), new Integer(33));
  literals.put(new ANTLRHashString("desc", this), new Integer(14));
  literals.put(new ANTLRHashString("max", this), new Integer(35));
  literals.put(new ANTLRHashString("empty", this), new Integer(65));
  literals.put(new ANTLRHashString("sum", this), new Integer(48));
  literals.put(new ANTLRHashString("on", this), new Integer(62));
  literals.put(new ANTLRHashString("into", this), new Integer(30));
  literals.put(new ANTLRHashString("else", this), new Integer(59));
  literals.put(new ANTLRHashString("right", this), new Integer(44));
  literals.put(new ANTLRHashString("versioned", this), new Integer(52));
  literals.put(new ANTLRHashString("in", this), new Integer(26));
  literals.put(new ANTLRHashString("avg", this), new Integer(9));
  literals.put(new ANTLRHashString("update", this), new Integer(51));
  literals.put(new ANTLRHashString("true", this), new Integer(49));
  literals.put(new ANTLRHashString("group", this), new Integer(24));
  literals.put(new ANTLRHashString("having", this), new Integer(25));
  literals.put(new ANTLRHashString("indices", this), new Integer(27));
}
View Full Code Here

public HqlBaseLexer(LexerSharedInputState state) {
  super(state);
  caseSensitiveLiterals = false;
  setCaseSensitive(false);
  literals = new Hashtable();
  literals.put(new ANTLRHashString("between", this), new Integer(10));
  literals.put(new ANTLRHashString("case", this), new Integer(54));
  literals.put(new ANTLRHashString("delete", this), new Integer(13));
  literals.put(new ANTLRHashString("new", this), new Integer(37));
  literals.put(new ANTLRHashString("end", this), new Integer(55));
  literals.put(new ANTLRHashString("object", this), new Integer(65));
  literals.put(new ANTLRHashString("insert", this), new Integer(29));
  literals.put(new ANTLRHashString("distinct", this), new Integer(16));
  literals.put(new ANTLRHashString("where", this), new Integer(53));
  literals.put(new ANTLRHashString("trailing", this), new Integer(67));
  literals.put(new ANTLRHashString("then", this), new Integer(57));
  literals.put(new ANTLRHashString("select", this), new Integer(45));
  literals.put(new ANTLRHashString("and", this), new Integer(6));
  literals.put(new ANTLRHashString("outer", this), new Integer(42));
  literals.put(new ANTLRHashString("not", this), new Integer(38));
  literals.put(new ANTLRHashString("fetch", this), new Integer(21));
  literals.put(new ANTLRHashString("from", this), new Integer(22));
  literals.put(new ANTLRHashString("null", this), new Integer(39));
  literals.put(new ANTLRHashString("count", this), new Integer(12));
  literals.put(new ANTLRHashString("like", this), new Integer(34));
  literals.put(new ANTLRHashString("when", this), new Integer(58));
  literals.put(new ANTLRHashString("class", this), new Integer(11));
  literals.put(new ANTLRHashString("inner", this), new Integer(28));
  literals.put(new ANTLRHashString("leading", this), new Integer(63));
  literals.put(new ANTLRHashString("with", this), new Integer(60));
  literals.put(new ANTLRHashString("set", this), new Integer(46));
  literals.put(new ANTLRHashString("escape", this), new Integer(18));
  literals.put(new ANTLRHashString("join", this), new Integer(32));
  literals.put(new ANTLRHashString("elements", this), new Integer(17));
  literals.put(new ANTLRHashString("of", this), new Integer(66));
  literals.put(new ANTLRHashString("is", this), new Integer(31));
  literals.put(new ANTLRHashString("member", this), new Integer(64));
  literals.put(new ANTLRHashString("or", this), new Integer(40));
  literals.put(new ANTLRHashString("any", this), new Integer(5));
  literals.put(new ANTLRHashString("full", this), new Integer(23));
  literals.put(new ANTLRHashString("min", this), new Integer(36));
  literals.put(new ANTLRHashString("as", this), new Integer(7));
  literals.put(new ANTLRHashString("by", this), new Integer(100));
  literals.put(new ANTLRHashString("all", this), new Integer(4));
  literals.put(new ANTLRHashString("union", this), new Integer(50));
  literals.put(new ANTLRHashString("order", this), new Integer(41));
  literals.put(new ANTLRHashString("both", this), new Integer(61));
  literals.put(new ANTLRHashString("some", this), new Integer(47));
  literals.put(new ANTLRHashString("properties", this), new Integer(43));
  literals.put(new ANTLRHashString("ascending", this), new Integer(101));
  literals.put(new ANTLRHashString("descending", this), new Integer(102));
  literals.put(new ANTLRHashString("false", this), new Integer(20));
  literals.put(new ANTLRHashString("exists", this), new Integer(19));
  literals.put(new ANTLRHashString("asc", this), new Integer(8));
  literals.put(new ANTLRHashString("left", this), new Integer(33));
  literals.put(new ANTLRHashString("desc", this), new Integer(14));
  literals.put(new ANTLRHashString("max", this), new Integer(35));
  literals.put(new ANTLRHashString("empty", this), new Integer(62));
  literals.put(new ANTLRHashString("sum", this), new Integer(48));
  literals.put(new ANTLRHashString("on", this), new Integer(59));
  literals.put(new ANTLRHashString("into", this), new Integer(30));
  literals.put(new ANTLRHashString("else", this), new Integer(56));
  literals.put(new ANTLRHashString("right", this), new Integer(44));
  literals.put(new ANTLRHashString("versioned", this), new Integer(52));
  literals.put(new ANTLRHashString("in", this), new Integer(26));
  literals.put(new ANTLRHashString("avg", this), new Integer(9));
  literals.put(new ANTLRHashString("update", this), new Integer(51));
  literals.put(new ANTLRHashString("true", this), new Integer(49));
  literals.put(new ANTLRHashString("group", this), new Integer(24));
  literals.put(new ANTLRHashString("having", this), new Integer(25));
  literals.put(new ANTLRHashString("indices", this), new Integer(27));
}
View Full Code Here

TOP

Related Classes of antlr.ANTLRHashString

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.