fix merge issue: we already had the methods in ASTNode for antlr3.4
SQW was first build on antlr3.4 and then we backported to 3.01 for HQL.