01: /* Generated By:JJTree: Do not edit this line. ASTPropertyList.java */
02:
03: package org.openrdf.query.parser.sparql.ast;
04:
05: public class ASTPropertyList extends SimpleNode {
06:
07: public ASTPropertyList(int id) {
08: super (id);
09: }
10:
11: public ASTPropertyList(SyntaxTreeBuilder p, int id) {
12: super (p, id);
13: }
14:
15: @Override
16: public Object jjtAccept(SyntaxTreeBuilderVisitor visitor,
17: Object data) throws VisitorException {
18: return visitor.visit(this , data);
19: }
20:
21: public Node getVerb() {
22: return children.get(0);
23: }
24:
25: public ASTObjectList getObjectList() {
26: return (ASTObjectList) children.get(1);
27: }
28:
29: public ASTPropertyList getNextPropertyList() {
30: if (children.size() >= 3) {
31: return (ASTPropertyList) children.get(2);
32: }
33: return null;
34: }
35: }
|