@Test public void testXWQLExtensions() throws Exception { parser.parse("select doc from Document as doc, doc.object('XWiki.Test') as test where test.some=1"); parser.parse("select doc from Document as doc, doc.object(XWiki.Test) as test where test.some=1"); parser.parse("select doc from Document as doc where doc.object('XWiki.Test').prop=1"); parser.parse("select doc from Document as doc where doc.object(XWiki.Test).prop=1"); }
public Start parse(String stmt) throws Exception { Parser p = new Parser(new Lexer(new PushbackReader(new StringReader(stmt)))); Start start = p.parse(); return start; }
JPQLParser { public Start parse(String stmt) throws Exception { Parser p = new Parser(new Lexer(new PushbackReader(new StringReader(stmt)))); Start start = p.parse(); return start; } }
JPQLParser { public Start parse(String stmt) throws Exception { Parser p = new Parser(new Lexer(new PushbackReader(new StringReader(stmt)))); Start start = p.parse(); return start; }  }
JPQLParser { public Start parse(String stmt) throws Exception { Parser p = new Parser(new Lexer(new PushbackReader(new StringReader(stmt)))); Start start = p.parse(); return start; }  Start parse(String stmt); }
JPQLParser { public Start parse(String stmt) throws Exception { Parser p = new Parser(new Lexer(new PushbackReader(new StringReader(stmt)))); Start start = p.parse(); return start; }  Start parse(String stmt);  }