Package persistence.antlr

Examples of persistence.antlr.ANTLRHashString


public PreprocessorLexer(LexerSharedInputState state) {
  super(state);
  caseSensitiveLiterals = true;
  setCaseSensitive(true);
  literals = new Hashtable();
  literals.put(new ANTLRHashString("public", this), new Integer(18));
  literals.put(new ANTLRHashString("class", this), new Integer(8));
  literals.put(new ANTLRHashString("throws", this), new Integer(23));
  literals.put(new ANTLRHashString("catch", this), new Integer(26));
  literals.put(new ANTLRHashString("private", this), new Integer(17));
  literals.put(new ANTLRHashString("extends", this), new Integer(10));
  literals.put(new ANTLRHashString("protected", this), new Integer(16));
  literals.put(new ANTLRHashString("returns", this), new Integer(21));
  literals.put(new ANTLRHashString("tokens", this), new Integer(4));
  literals.put(new ANTLRHashString("exception", this), new Integer(25));
}
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(31));
  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(37));
  literals.put(new ANTLRHashString("lexclass", this), new Integer(9));
  literals.put(new ANTLRHashString("catch", this), new Integer(40));
  literals.put(new ANTLRHashString("private", this), new Integer(32));
  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(30));
  literals.put(new ANTLRHashString("TreeParser", this), new Integer(13));
  literals.put(new ANTLRHashString("Parser", this), new Integer(29));
  literals.put(new ANTLRHashString("Lexer", this), new Integer(12));
  literals.put(new ANTLRHashString("returns", this), new Integer(35));
  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(39));
}
View Full Code Here

TOP

Related Classes of persistence.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.