com.bigdata.rdf.sail.sparql.ast.ASTDescribe Maven / Gradle / Ivy
/* Generated By:JJTree: Do not edit this line. ASTDescribe.java */
package com.bigdata.rdf.sail.sparql.ast;
import com.bigdata.rdf.sail.sparql.ast.SimpleNode;
import com.bigdata.rdf.sail.sparql.ast.SyntaxTreeBuilder;
import com.bigdata.rdf.sail.sparql.ast.SyntaxTreeBuilderVisitor;
import com.bigdata.rdf.sail.sparql.ast.VisitorException;
public class ASTDescribe extends SimpleNode {
private boolean wildcard = false;
public ASTDescribe(int id) {
super(id);
}
public ASTDescribe(SyntaxTreeBuilder p, int id) {
super(p, id);
}
@Override
public Object jjtAccept(SyntaxTreeBuilderVisitor visitor, Object data)
throws VisitorException
{
return visitor.visit(this, data);
}
public boolean isWildcard() {
return wildcard;
}
public void setWildcard(boolean wildcard) {
this.wildcard = wildcard;
}
@Override
public String toString()
{
String result = super.toString();
if (wildcard) {
result += " (*)";
}
return result;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy