Package antlr

Examples of antlr.ANTLRHashString


public EJBQLLexer(LexerSharedInputState state) {
  super(state);
  caseSensitiveLiterals = false;
  setCaseSensitive(true);
  literals = new Hashtable();
  literals.put(new ANTLRHashString("sqrt", this), new Integer(30));
  literals.put(new ANTLRHashString("count", this), new Integer(36));
  literals.put(new ANTLRHashString("sum", this), new Integer(35));
  literals.put(new ANTLRHashString("min", this), new Integer(34));
  literals.put(new ANTLRHashString("false", this), new Integer(11));
  literals.put(new ANTLRHashString("abs", this), new Integer(29));
  literals.put(new ANTLRHashString("true", this), new Integer(10));
  literals.put(new ANTLRHashString("substring", this), new Integer(26));
  literals.put(new ANTLRHashString("and", this), new Integer(13));
  literals.put(new ANTLRHashString("concat", this), new Integer(25));
  literals.put(new ANTLRHashString("asc", this), new Integer(39));
  literals.put(new ANTLRHashString("desc", this), new Integer(40));
  literals.put(new ANTLRHashString("select", this), new Integer(4));
  literals.put(new ANTLRHashString("member", this), new Integer(21));
  literals.put(new ANTLRHashString("distinct", this), new Integer(7));
  literals.put(new ANTLRHashString("where", this), new Integer(6));
  literals.put(new ANTLRHashString("avg", this), new Integer(32));
  literals.put(new ANTLRHashString("order", this), new Integer(37));
  literals.put(new ANTLRHashString("mod", this), new Integer(31));
  literals.put(new ANTLRHashString("in", this), new Integer(17));
  literals.put(new ANTLRHashString("null", this), new Integer(9));
  literals.put(new ANTLRHashString("locate", this), new Integer(27));
  literals.put(new ANTLRHashString("empty", this), new Integer(20));
  literals.put(new ANTLRHashString("escape", this), new Integer(24));
  literals.put(new ANTLRHashString("length", this), new Integer(28));
  literals.put(new ANTLRHashString("of", this), new Integer(22));
  literals.put(new ANTLRHashString("or", this), new Integer(14));
  literals.put(new ANTLRHashString("between", this), new Integer(15));
  literals.put(new ANTLRHashString("max", this), new Integer(33));
  literals.put(new ANTLRHashString("from", this), new Integer(5));
  literals.put(new ANTLRHashString("is", this), new Integer(23));
  literals.put(new ANTLRHashString("like", this), new Integer(16));
  literals.put(new ANTLRHashString("object", this), new Integer(8));
  literals.put(new ANTLRHashString("not", this), new Integer(12));
  literals.put(new ANTLRHashString("unknown", this), new Integer(19));
  literals.put(new ANTLRHashString("by", this), new Integer(38));
  literals.put(new ANTLRHashString("as", this), new Integer(18));
}
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("key", this), new Integer(68));
  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("entry", this), new Integer(70));
  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(105));
  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(106));
  literals.put(new ANTLRHashString("descending", this), new Integer(107));
  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("value", this), new Integer(69));
  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

public ValidWhenLexer(LexerSharedInputState state) {
  super(state);
  caseSensitiveLiterals = true;
  setCaseSensitive(false);
  literals = new Hashtable();
  literals.put(new ANTLRHashString("null", this), new Integer(11));
  literals.put(new ANTLRHashString("or", this), new Integer(16));
  literals.put(new ANTLRHashString("and", this), new Integer(15));
}
View Full Code Here

public OQLLexer(LexerSharedInputState state) {
  super(state);
  caseSensitiveLiterals = true;
  setCaseSensitive(true);
  literals = new Hashtable();
  literals.put(new ANTLRHashString("nil", this), new Integer(52));
  literals.put(new ANTLRHashString("group", this), new Integer(44));
  literals.put(new ANTLRHashString("between", this), new Integer(55));
  literals.put(new ANTLRHashString("date", this), new Integer(61));
  literals.put(new ANTLRHashString("select", this), new Integer(38));
  literals.put(new ANTLRHashString("timestamp", this), new Integer(63));
  literals.put(new ANTLRHashString("like", this), new Integer(58));
  literals.put(new ANTLRHashString("is_undefined", this), new Integer(56));
  literals.put(new ANTLRHashString("asc", this), new Integer(48));
  literals.put(new ANTLRHashString("or", this), new Integer(50));
  literals.put(new ANTLRHashString("in", this), new Integer(47));
  literals.put(new ANTLRHashString("list", this), new Integer(54));
  literals.put(new ANTLRHashString("from", this), new Integer(40));
  literals.put(new ANTLRHashString("desc", this), new Integer(49));
  literals.put(new ANTLRHashString("true", this), new Integer(59));
  literals.put(new ANTLRHashString("by", this), new Integer(43));
  literals.put(new ANTLRHashString("not", this), new Integer(53));
  literals.put(new ANTLRHashString("and", this), new Integer(51));
  literals.put(new ANTLRHashString("distinct", this), new Integer(39));
  literals.put(new ANTLRHashString("prefetch", this), new Integer(45));
  literals.put(new ANTLRHashString("false", this), new Integer(60));
  literals.put(new ANTLRHashString("time", this), new Integer(62));
  literals.put(new ANTLRHashString("order", this), new Integer(42));
  literals.put(new ANTLRHashString("where", this), new Integer(41));
  literals.put(new ANTLRHashString("exists", this), new Integer(46));
  literals.put(new ANTLRHashString("is_defined", this), new Integer(57));
}
View Full Code Here

public JDOQLLexer(LexerSharedInputState state) {
  super(state);
  caseSensitiveLiterals = true;
  setCaseSensitive(true);
  literals = new Hashtable();
  literals.put(new ANTLRHashString("this", this), new Integer(26));
  literals.put(new ANTLRHashString("false", this), new Integer(24));
  literals.put(new ANTLRHashString("true", this), new Integer(23));
  literals.put(new ANTLRHashString("import", this), new Integer(20));
  literals.put(new ANTLRHashString("float", this), new Integer(33));
  literals.put(new ANTLRHashString("boolean", this), new Integer(27));
  literals.put(new ANTLRHashString("ascending", this), new Integer(21));
  literals.put(new ANTLRHashString("long", this), new Integer(31));
  literals.put(new ANTLRHashString("null", this), new Integer(25));
  literals.put(new ANTLRHashString("short", this), new Integer(29));
  literals.put(new ANTLRHashString("char", this), new Integer(32));
  literals.put(new ANTLRHashString("byte", this), new Integer(28));
  literals.put(new ANTLRHashString("descending", this), new Integer(22));
  literals.put(new ANTLRHashString("int", this), new Integer(30));
  literals.put(new ANTLRHashString("double", this), new Integer(34));
}
View Full Code Here

  public ValidWhenLexer(LexerSharedInputState state) {
    super(state);
    caseSensitiveLiterals = true;
    setCaseSensitive(false);
    literals = new Hashtable();
    literals.put(new ANTLRHashString("null", this), new Integer(11));
    literals.put(new ANTLRHashString("or", this), new Integer(16));
    literals.put(new ANTLRHashString("and", this), new Integer(15));
  }
View Full Code Here

public JSHOP2Lexer(LexerSharedInputState state) {
  super(state);
  caseSensitiveLiterals = false;
  setCaseSensitive(false);
  literals = new Hashtable();
  literals.put(new ANTLRHashString("imply", this), new Integer(24));
  literals.put(new ANTLRHashString("nil", this), new Integer(8));
  literals.put(new ANTLRHashString("call", this), new Integer(26));
  literals.put(new ANTLRHashString("member", this), new Integer(33));
  literals.put(new ANTLRHashString("stdlib", this), new Integer(42));
  literals.put(new ANTLRHashString("def-problem-set", this), new Integer(41));
  literals.put(new ANTLRHashString("or", this), new Integer(22));
  literals.put(new ANTLRHashString("defproblem", this), new Integer(5));
  literals.put(new ANTLRHashString("assign", this), new Integer(25));
  literals.put(new ANTLRHashString("forall", this), new Integer(15));
  literals.put(new ANTLRHashString("defdomain", this), new Integer(9));
  literals.put(new ANTLRHashString("not", this), new Integer(23));
  literals.put(new ANTLRHashString("and", this), new Integer(21));
}
View Full Code Here

public ValidWhenLexer(LexerSharedInputState state) {
  super(state);
  caseSensitiveLiterals = true;
  setCaseSensitive(false);
  literals = new Hashtable();
  literals.put(new ANTLRHashString("null", this), new Integer(11));
  literals.put(new ANTLRHashString("or", this), new Integer(16));
  literals.put(new ANTLRHashString("and", this), new Integer(15));
}
View Full Code Here

public ClientLexer(LexerSharedInputState state) {
  super(state);
  caseSensitiveLiterals = false;
  setCaseSensitive(true);
  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));
}
View Full Code Here

public ANTLRLexer(LexerSharedInputState state) {
  super(state);
  caseSensitiveLiterals = true;
  setCaseSensitive(true);
  literals = new Hashtable();
  literals.put(new ANTLRHashString("public", this), new Integer(32));
  literals.put(new ANTLRHashString("class", this), new Integer(10));
  literals.put(new ANTLRHashString("header", this), new Integer(5));
  literals.put(new ANTLRHashString("throws", this), new Integer(38));
  literals.put(new ANTLRHashString("lexclass", this), new Integer(9));
  literals.put(new ANTLRHashString("catch", this), new Integer(41));
  literals.put(new ANTLRHashString("private", this), new Integer(33));
  literals.put(new ANTLRHashString("options", this), new Integer(51));
  literals.put(new ANTLRHashString("extends", this), new Integer(11));
  literals.put(new ANTLRHashString("protected", this), new Integer(31));
  literals.put(new ANTLRHashString("TreeParser", this), new Integer(13));
  literals.put(new ANTLRHashString("Parser", this), new Integer(30));
  literals.put(new ANTLRHashString("Lexer", this), new Integer(12));
  literals.put(new ANTLRHashString("returns", this), new Integer(36));
  literals.put(new ANTLRHashString("charVocabulary", this), new Integer(18));
  literals.put(new ANTLRHashString("tokens", this), new Integer(4));
  literals.put(new ANTLRHashString("exception", this), new Integer(40));
}
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.