public abstract class Element extends ASTNode<ASTNode> implements java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
protected int |
clazz_visited |
protected boolean |
getId_computed |
protected java.lang.String |
getId_value |
protected int |
getId_visited |
protected int |
iri_visited |
protected int |
isClass_visited |
protected int |
isDataProperty_visited |
protected int |
isIndividual_visited |
protected int |
isObjectProperty_visited |
protected int |
name_visited |
protected boolean |
range_computed |
protected RdfsRange |
range_value |
protected int |
range_visited |
protected boolean |
type_computed |
protected java.lang.String |
type_value |
protected int |
type_visited |
findDecl_String_visited, generatedWithCacheCycle, generatedWithCircularEnabled, generatedWithComponentCheck, getSubClasses_OwlClassDecl_ArrayList_visited, getSuperClass_String_visited, goStart_visited, in$Circle, is$Final, numChildren, state
children, id, parent, parser
Constructor and Description |
---|
Element() |
Element(int i) |
Element(OwlParser p,
int i) |
Modifier and Type | Method and Description |
---|---|
void |
checkChild(Node n,
int i) |
Clazz |
clazz() |
Element |
clone() |
void |
dumpTree(java.lang.String indent,
java.io.PrintStream out) |
void |
flushAttrCache() |
void |
flushCollectionCache() |
void |
flushRewriteCache() |
abstract Element |
fullCopy()
Deprecated.
Please use emitTreeCopy or emitTreeCopyNoTransform instead
|
java.lang.String |
getId() |
int |
getNumChild() |
void |
init$Children()
Initializes the child array to the correct size.
|
Attribute |
iri() |
boolean |
isClass() |
boolean |
isDataProperty() |
boolean |
isIndividual() |
boolean |
isObjectProperty() |
java.lang.Object |
jjtAccept(OwlParserVisitor visitor,
java.lang.Object data)
Accept the visitor.
|
void |
jjtAddChild(Node n,
int i)
This method tells the node to add its argument to the node's
list of children.
|
boolean |
mayHaveRewrite() |
java.lang.String |
name() |
RdfsRange |
range() |
ASTNode |
rewriteTo() |
abstract Element |
treeCopy()
Create a deep copy of the AST subtree at this node.
|
abstract Element |
treeCopyNoTransform()
Create a deep copy of the AST subtree at this node.
|
java.lang.String |
type() |
addChild, copy, doFullTraversal, duringRewriteClasses, findDecl, flushCache, flushTreeCache, genMisc, genPrettyPrinter, genRewrites, getChild, getChildNoTransform, getIndexOfChild, getNumChildNoTransform, getParent, getSubClasses, getSuperClass, goStart, grammarName, in$Circle, in$Circle, ind, insertChild, is$Equal, is$Equal, is$Final, is$Final, iterator, numChildren, removeChild, setChild, setGrammarName, setParent, state
childrenAccept, dump, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, toString, toString
protected int iri_visited
protected int name_visited
protected int getId_visited
protected boolean getId_computed
protected java.lang.String getId_value
protected int type_visited
protected boolean type_computed
protected java.lang.String type_value
protected int isClass_visited
protected int isIndividual_visited
protected int clazz_visited
protected int range_visited
protected boolean range_computed
protected RdfsRange range_value
protected int isObjectProperty_visited
protected int isDataProperty_visited
public Element(int i)
public Element(OwlParser p, int i)
public Element()
public void init$Children()
init$Children
in class ASTNode<ASTNode>
public void dumpTree(java.lang.String indent, java.io.PrintStream out)
public java.lang.Object jjtAccept(OwlParserVisitor visitor, java.lang.Object data)
SimpleNode
public void jjtAddChild(Node n, int i)
Node
jjtAddChild
in interface Node
jjtAddChild
in class ASTNode<ASTNode>
public void checkChild(Node n, int i)
checkChild
in class ASTNode<ASTNode>
public int getNumChild()
getNumChild
in class ASTNode<ASTNode>
public boolean mayHaveRewrite()
mayHaveRewrite
in class ASTNode<ASTNode>
public void flushAttrCache()
flushAttrCache
in class ASTNode<ASTNode>
public void flushCollectionCache()
flushCollectionCache
in class ASTNode<ASTNode>
public void flushRewriteCache()
flushRewriteCache
in class ASTNode<ASTNode>
public Element clone() throws java.lang.CloneNotSupportedException
public abstract Element fullCopy()
public abstract Element treeCopyNoTransform()
treeCopyNoTransform
in class ASTNode<ASTNode>
public abstract Element treeCopy()
@ASTNodeAnnotation.Attribute public Attribute iri()
@ASTNodeAnnotation.Attribute public java.lang.String name()
@ASTNodeAnnotation.Attribute public java.lang.String getId()
@ASTNodeAnnotation.Attribute public java.lang.String type()
@ASTNodeAnnotation.Attribute public boolean isClass()
@ASTNodeAnnotation.Attribute public boolean isIndividual()
@ASTNodeAnnotation.Attribute public Clazz clazz()
@ASTNodeAnnotation.Attribute public RdfsRange range()
@ASTNodeAnnotation.Attribute public boolean isObjectProperty()
@ASTNodeAnnotation.Attribute public boolean isDataProperty()