/** * This constructor is used by the method "generateParseException" * in the generated parser. Calling this constructor generates * a new object of this type with the fields "currentToken", * "expectedTokenSequences", and "tokenImage" set. */ public ParseException(Token currentTokenVal, int[][] expectedTokenSequencesVal, String[] tokenImageVal ) { super(initialise(currentTokenVal, expectedTokenSequencesVal, tokenImageVal)); currentToken = currentTokenVal; expectedTokenSequences = expectedTokenSequencesVal; tokenImage = tokenImageVal; }
exptokseq[i] = jj_expentries.get(i); return new ParseException(token, exptokseq, tokenImage);
retval += add_escapes(tok.image); retval += " \""; tok = tok.next;
exptokseq[i] = jj_expentries.get(i); return new ParseException(token, exptokseq, tokenImage);
retval += add_escapes(tok.image); retval += " \""; tok = tok.next;
+ "Constraints feature may not work." + "\nAborting Constraint rules merge!"; throw new ParseException(errorMessage);
/** * This constructor is used by the method "generateParseException" * in the generated parser. Calling this constructor generates * a new object of this type with the fields "currentToken", * "expectedTokenSequences", and "tokenImage" set. */ public ParseException(Token currentTokenVal, int[][] expectedTokenSequencesVal, String[] tokenImageVal ) { super(initialise(currentTokenVal, expectedTokenSequencesVal, tokenImageVal)); currentToken = currentTokenVal; expectedTokenSequences = expectedTokenSequencesVal; tokenImage = tokenImageVal; }
+ "Constraints feature may not work." + "\nAborting Constraint rules merge!"; throw new ParseException(errorMessage);
final public Path Path() throws ParseException {NodeChoice n0; NodeToken n1; Token n2; NodeToken n3; Token n4; NodeToken n5; Token n6; if (jj_2_9(2)) { n2 = jj_consume_token(PATH); n1 = JTBToolkit.makeNodeToken(n2); n0 = new NodeChoice(n1, 0); } else if (jj_2_10(2)) { n4 = jj_consume_token(PATH_LIKE); n3 = JTBToolkit.makeNodeToken(n4); n0 = new NodeChoice(n3, 1); } else if (jj_2_11(2)) { n6 = jj_consume_token(IDENTIFIER); n5 = JTBToolkit.makeNodeToken(n6); n0 = new NodeChoice(n5, 2); } else { jj_consume_token(-1); throw new ParseException(); } {if ("" != null) return new Path(n0);} throw new Error("Missing return statement in function"); }
final public Path Path() throws ParseException {NodeChoice n0; NodeToken n1; Token n2; NodeToken n3; Token n4; NodeToken n5; Token n6; if (jj_2_9(2)) { n2 = jj_consume_token(PATH); n1 = JTBToolkit.makeNodeToken(n2); n0 = new NodeChoice(n1, 0); } else if (jj_2_10(2)) { n4 = jj_consume_token(PATH_LIKE); n3 = JTBToolkit.makeNodeToken(n4); n0 = new NodeChoice(n3, 1); } else if (jj_2_11(2)) { n6 = jj_consume_token(IDENTIFIER); n5 = JTBToolkit.makeNodeToken(n6); n0 = new NodeChoice(n5, 2); } else { jj_consume_token(-1); throw new ParseException(); } {if ("" != null) return new Path(n0);} throw new Error("Missing return statement in function"); }