*
* @param gql the GQL query - the parameters to the GQL are referenced by :1, :2, ...
*/
public PreparedGql prepare( String gql ) {
try {
GqlExtLexer lexer = new GqlExtLexer( new ANTLRStringStream( gql ));
GqlExtParser parser = new GqlExtParser( new CommonTokenStream( lexer ));
GqlExtParser.gqlext_return parserResult = parser.gqlext();
if (parser.getNumberOfSyntaxErrors() != 0) {
for (String err : parser.getErrors()) {