/*
* Copyright Aduna (http://www.aduna-software.com/) (c) 1997-2006.
*
* Licensed under the Aduna BSD-style license.
*/
package org.openrdf.query.parser.serql.ast;
import java.util.List;
import info.aduna.collections.CastingList;
public class ASTNode extends SimpleNode {
public ASTNode(int id) {
super(id);
}
public ASTNode(SyntaxTreeBuilder p, int id) {
super(p, id);
}
@Override
public Object jjtAccept(SyntaxTreeBuilderVisitor visitor, Object data)
throws VisitorException
{
return visitor.visit(this, data);
}
public List<ASTNodeElem> getNodeElemList() {
return new CastingList<ASTNodeElem>(children);
}
}