List of usage examples for org.hibernate.hql.internal.ast.tree Node Node
public Node()
From source file:org.babyfish.hibernate.hql.HqlASTHelper.java
License:Open Source License
public static AST createAST(int type, String text, AST... childAsts) { AST ast = new Node(); ast.setType(type);//ww w. j a v a2 s . c o m ast.setText(text); for (AST childAst : childAsts) { if (childAst != null) { ast.addChild(childAst); } } return ast; }