private HqlParser(String hql) { // The fix for HHH-558... super( new HqlLexer( new StringReader( hql ) ) ); parseErrorHandler = new ErrorTracker( hql ); // Create nodes that track line and column number. setASTFactory( new HqlASTFactory() ); }
@Override public void panic() { //overriden to avoid System.exit panic( "CharScanner: panic" ); }
public static HqlParser getInstance(String hql) { // [jsd] The fix for HHH-558... HqlLexer lexer = new HqlLexer( new StringReader( hql ) ); return new HqlParser( lexer ); }
public void panic() { //overriden to avoid System.exit panic("CharScanner: panic"); }
public static HqlParser getInstance(String hql) { // [jsd] The fix for HHH-558... HqlLexer lexer = new HqlLexer( new StringReader( hql ) ); return new HqlParser( lexer ); }
public void panic() { //overriden to avoid System.exit panic("CharScanner: panic"); }