Examples of ANTLRHashString


Examples of antlr.ANTLRHashString

public SimpleQLLexer(LexerSharedInputState state) {
  super(state);
  caseSensitiveLiterals = true;
  setCaseSensitive(true);
  literals = new Hashtable<ANTLRHashString, Integer>();
  literals.put(new ANTLRHashString("NOT", this), new Integer(11));
  literals.put(new ANTLRHashString("OR", this), new Integer(9));
  literals.put(new ANTLRHashString("NICHT", this), new Integer(12));
  literals.put(new ANTLRHashString("UND", this), new Integer(8));
  literals.put(new ANTLRHashString("ODER", this), new Integer(10));
  literals.put(new ANTLRHashString("AND", this), new Integer(7));
}
View Full Code Here

Examples of antlr.ANTLRHashString

public GroupLexer(LexerSharedInputState state) {
  super(state);
  caseSensitiveLiterals = true;
  setCaseSensitive(true);
  literals = new Hashtable();
  literals.put(new ANTLRHashString("default", this), new Integer(21));
  literals.put(new ANTLRHashString("group", this), new Integer(4));
  literals.put(new ANTLRHashString("implements", this), new Integer(7));
}
View Full Code Here

Examples of antlr.ANTLRHashString

  this(new LexerSharedInputState(ib));
}
public JavaLexer(LexerSharedInputState state) {
  super(state);
  literals = new Hashtable();
  literals.put(new ANTLRHashString("byte", this), new Integer(58));
  literals.put(new ANTLRHashString("public", this), new Integer(67));
  literals.put(new ANTLRHashString("case", this), new Integer(100));
  literals.put(new ANTLRHashString("short", this), new Integer(60));
  literals.put(new ANTLRHashString("break", this), new Integer(94));
  literals.put(new ANTLRHashString("while", this), new Integer(92));
  literals.put(new ANTLRHashString("new", this), new Integer(138));
  literals.put(new ANTLRHashString("instanceof", this), new Integer(125));
  literals.put(new ANTLRHashString("implements", this), new Integer(81));
  literals.put(new ANTLRHashString("synchronized", this), new Integer(73));
  literals.put(new ANTLRHashString("float", this), new Integer(62));
  literals.put(new ANTLRHashString("package", this), new Integer(44));
  literals.put(new ANTLRHashString("return", this), new Integer(96));
  literals.put(new ANTLRHashString("throw", this), new Integer(98));
  literals.put(new ANTLRHashString("null", this), new Integer(137));
  literals.put(new ANTLRHashString("threadsafe", this), new Integer(72));
  literals.put(new ANTLRHashString("protected", this), new Integer(68));
  literals.put(new ANTLRHashString("class", this), new Integer(75));
  literals.put(new ANTLRHashString("throws", this), new Integer(87));
  literals.put(new ANTLRHashString("do", this), new Integer(93));
  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(70));
  literals.put(new ANTLRHashString("native", this), new Integer(71));
  literals.put(new ANTLRHashString("interface", this), new Integer(77));
  literals.put(new ANTLRHashString("final", this), new Integer(39));
  literals.put(new ANTLRHashString("if", this), new Integer(89));
  literals.put(new ANTLRHashString("double", this), new Integer(64));
  literals.put(new ANTLRHashString("volatile", this), new Integer(74));
  literals.put(new ANTLRHashString("assert", this), new Integer(99));
  literals.put(new ANTLRHashString("catch", this), new Integer(104));
  literals.put(new ANTLRHashString("try", this), new Integer(102));
  literals.put(new ANTLRHashString("int", this), new Integer(61));
  literals.put(new ANTLRHashString("for", this), new Integer(91));
  literals.put(new ANTLRHashString("extends", this), new Integer(76));
  literals.put(new ANTLRHashString("boolean", this), new Integer(57));
  literals.put(new ANTLRHashString("char", this), new Integer(59));
  literals.put(new ANTLRHashString("private", this), new Integer(66));
  literals.put(new ANTLRHashString("default", this), new Integer(101));
  literals.put(new ANTLRHashString("false", this), new Integer(136));
  literals.put(new ANTLRHashString("this", this), new Integer(84));
  literals.put(new ANTLRHashString("static", this), new Integer(69));
  literals.put(new ANTLRHashString("abstract", this), new Integer(40));
  literals.put(new ANTLRHashString("continue", this), new Integer(95));
  literals.put(new ANTLRHashString("finally", this), new Integer(103));
  literals.put(new ANTLRHashString("else", this), new Integer(90));
  literals.put(new ANTLRHashString("import", this), new Integer(46));
  literals.put(new ANTLRHashString("void", this), new Integer(56));
  literals.put(new ANTLRHashString("switch", this), new Integer(97));
  literals.put(new ANTLRHashString("true", this), new Integer(135));
  literals.put(new ANTLRHashString("long", this), new Integer(63));
caseSensitiveLiterals = true;
setCaseSensitive(true);
}
View Full Code Here

Examples of antlr.ANTLRHashString

public ANTLRLexer(LexerSharedInputState state) {
  super(state);
  caseSensitiveLiterals = true;
  setCaseSensitive(true);
  literals = new Hashtable();
  literals.put(new ANTLRHashString("lexer", this), new Integer(43));
  literals.put(new ANTLRHashString("scope", this), new Integer(33));
  literals.put(new ANTLRHashString("finally", this), new Integer(67));
  literals.put(new ANTLRHashString("throws", this), new Integer(62));
  literals.put(new ANTLRHashString("import", this), new Integer(34));
  literals.put(new ANTLRHashString("fragment", this), new Integer(38));
  literals.put(new ANTLRHashString("private", this), new Integer(58));
  literals.put(new ANTLRHashString("grammar", this), new Integer(45));
  literals.put(new ANTLRHashString("tokens", this), new Integer(5));
  literals.put(new ANTLRHashString("options", this), new Integer(4));
  literals.put(new ANTLRHashString("parser", this), new Integer(6));
  literals.put(new ANTLRHashString("tree", this), new Integer(44));
  literals.put(new ANTLRHashString("protected", this), new Integer(56));
  literals.put(new ANTLRHashString("returns", this), new Integer(61));
  literals.put(new ANTLRHashString("public", this), new Integer(57));
  literals.put(new ANTLRHashString("catch", this), new Integer(66));
}
View Full Code Here

Examples of net.sf.jcontracts.antlr.ANTLRHashString

    public PreprocessorLexer(CharBufferNoBacktrackingNoInteractive cb)
    {
        super(cb);
        literals_ = new Hashtable();
        literals_.put(new ANTLRHashString("catch", this), new Integer(27));
        literals_.put(new ANTLRHashString("exception", this), new Integer(26));
        literals_.put(new ANTLRHashString("class", this), new Integer(6));
        literals_.put(new ANTLRHashString("public", this), new Integer(21));
        literals_.put(new ANTLRHashString("tokens", this), new Integer(16));
        literals_.put(new ANTLRHashString("returns", this), new Integer(24));
        literals_.put(new ANTLRHashString("private", this), new Integer(20));
        literals_.put(new ANTLRHashString("protected", this), new Integer(19));
        literals_.put(new ANTLRHashString("extends", this), new Integer(8));
        caseSensitiveLiterals_ = true;
    }
View Full Code Here

Examples of net.sf.jcontracts.antlr.ANTLRHashString

    public JavaLexer(CharBufferNoBacktrackingNoInteractive characterBuffer)
    {
        super(characterBuffer);

        literals_ = new Hashtable();
        literals_.put(new ANTLRHashString("synchronized", this), new Integer(32));
        literals_.put(new ANTLRHashString("throws", this), new Integer(44));
        literals_.put(new ANTLRHashString("long", this), new Integer(17));
        literals_.put(new ANTLRHashString("true", this), new Integer(99));
        literals_.put(new ANTLRHashString("transient", this), new Integer(26));
        literals_.put(new ANTLRHashString("protected", this), new Integer(24));
        literals_.put(new ANTLRHashString("false", this), new Integer(100));
        literals_.put(new ANTLRHashString("void", this), new Integer(10));
        literals_.put(new ANTLRHashString("instanceof", this), new Integer(96));
        literals_.put(new ANTLRHashString("int", this), new Integer(15));
        literals_.put(new ANTLRHashString("package", this), new Integer(5));
        literals_.put(new ANTLRHashString("class", this), new Integer(34));
        literals_.put(new ANTLRHashString("static", this), new Integer(25));
        literals_.put(new ANTLRHashString("const", this), new Integer(33));
        literals_.put(new ANTLRHashString("while", this), new Integer(49));
        literals_.put(new ANTLRHashString("char", this), new Integer(13));
        literals_.put(new ANTLRHashString("short", this), new Integer(14));
        literals_.put(new ANTLRHashString("abstract", this), new Integer(28));
        literals_.put(new ANTLRHashString("for", this), new Integer(48));
        literals_.put(new ANTLRHashString("if", this), new Integer(46));
        literals_.put(new ANTLRHashString("extends", this), new Integer(38));
        literals_.put(new ANTLRHashString("native", this), new Integer(29));
        literals_.put(new ANTLRHashString("volatile", this), new Integer(30));
        literals_.put(new ANTLRHashString("import", this), new Integer(6));
        literals_.put(new ANTLRHashString("do", this), new Integer(50));
        literals_.put(new ANTLRHashString("interface", this), new Integer(35));
        literals_.put(new ANTLRHashString("try", this), new Integer(59));
        literals_.put(new ANTLRHashString("else", this), new Integer(47));
        literals_.put(new ANTLRHashString("public", this), new Integer(23));
        literals_.put(new ANTLRHashString("continue", this), new Integer(52));
        literals_.put(new ANTLRHashString("throw", this), new Integer(57));
        literals_.put(new ANTLRHashString("return", this), new Integer(53));
        literals_.put(new ANTLRHashString("final", this), new Integer(27));
        literals_.put(new ANTLRHashString("switch", this), new Integer(54));
        literals_.put(new ANTLRHashString("super", this), new Integer(98));
        literals_.put(new ANTLRHashString("catch", this), new Integer(61));
        literals_.put(new ANTLRHashString("new", this), new Integer(102));
        literals_.put(new ANTLRHashString("this", this), new Integer(97));
        literals_.put(new ANTLRHashString("float", this), new Integer(16));
        literals_.put(new ANTLRHashString("goto", this), new Integer(58));
        literals_.put(new ANTLRHashString("private", this), new Integer(22));
        literals_.put(new ANTLRHashString("double", this), new Integer(18));
        literals_.put(new ANTLRHashString("finally", this), new Integer(60));
        literals_.put(new ANTLRHashString("implements", this), new Integer(40));
        literals_.put(new ANTLRHashString("break", this), new Integer(51));
        literals_.put(new ANTLRHashString("null", this), new Integer(101));
        literals_.put(new ANTLRHashString("case", this), new Integer(55));
        literals_.put(new ANTLRHashString("default", this), new Integer(56));
        literals_.put(new ANTLRHashString("byte", this), new Integer(12));
        literals_.put(new ANTLRHashString("boolean", this), new Integer(11));
        literals_.put(new ANTLRHashString("threadsafe", this), new Integer(31));
        caseSensitiveLiterals_ = true;
    }
View Full Code Here

Examples of org.jostraca.comp.antlr.ANTLRHashString

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

Examples of org.jostraca.comp.antlr.ANTLRHashString

public PathLexer(LexerSharedInputState state) {
  super(state);
  caseSensitiveLiterals = true;
  setCaseSensitive(true);
  literals = new Hashtable();
  literals.put(new ANTLRHashString("false()", this), new Integer(38));
  literals.put(new ANTLRHashString("or", this), new Integer(33));
  literals.put(new ANTLRHashString("mod", this), new Integer(35));
  literals.put(new ANTLRHashString("div", this), new Integer(34));
  literals.put(new ANTLRHashString("and", this), new Integer(32));
  literals.put(new ANTLRHashString("not", this), new Integer(36));
  literals.put(new ANTLRHashString("true()", this), new Integer(37));
}
View Full Code Here

Examples of org.jostraca.comp.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

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
TOP
Copyright © 2018 www.massapi.com. 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.