Warning: This component is not published. It is part of module implementation. Client module should not use this feature.
183184185186187188189190191192193
public final void jjtreeCloseNodeScope(Node n) throws ParseException { try { Object built = build(n); IToken tokenAdapter = TokenAdapter.newAdapterFor(token); Result r = new Result(built, tokenAdapter, n.getType()); this.builder.pushResult(r ); } finally { n.dispose();
125126127128129130131132133134135136137138139140141
StringBuffer msg = new StringBuffer(this.cqlSource); msg.append('\n'); // Second Line // searches the last token recognized IToken curToken = this.currentToken; while (curToken.hasNext() ) curToken = curToken.next(); // add the pointer to error int column = curToken.beginColumn() - 1; for (int i = 0; i < column; i++) { msg.append(' '); }
433434435436437438439440441442443
*/ public Literal buildPattern9IM() throws CQLException { // retrieves the pattern from stack Result resut = getResultStack().popResult(); IToken token = resut.getToken(); Literal built = (Literal)resut.getBuilt(); final String pattern = (String)built.getValue(); // validates the length
187188189190191192193194195196197
public final void jjtreeCloseNodeScope(Node n) throws ParseException { try { Object built = build(n); IToken tokenAdapter = TokenAdapter.newAdapterFor(this.token); Result r = new Result(built, tokenAdapter, n.getType()); this.builder.pushResult(r ); } catch (CQLException e) { throw e;