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 |
---|
Restrictions() |
Restrictions(int i) |
Restrictions(List<OwlRestriction> p0) |
Restrictions(OwlParser p,
int i) |
Modifier and Type | Method and Description |
---|---|
void |
addOwlRestriction(OwlRestriction node)
Append an element to the OwlRestriction list.
|
void |
addOwlRestrictionNoTransform(OwlRestriction node) |
void |
checkChild(Node n,
int i) |
Restrictions |
clone() |
Restrictions |
copy() |
void |
dumpTree(java.lang.String indent,
java.io.PrintStream out) |
void |
flushAttrCache() |
void |
flushCollectionCache() |
void |
flushRewriteCache() |
Restrictions |
fullCopy()
Deprecated.
Please use emitTreeCopy or emitTreeCopyNoTransform instead
|
int |
getNumChild() |
int |
getNumOwlRestriction()
Retrieves the number of children in the OwlRestriction list.
|
int |
getNumOwlRestrictionNoTransform()
Retrieves the number of children in the OwlRestriction list.
|
OwlRestriction |
getOwlRestriction(int i)
Retrieves the element at index
i in the OwlRestriction list. |
List<OwlRestriction> |
getOwlRestrictionList()
Retrieves the OwlRestriction list.
|
List<OwlRestriction> |
getOwlRestrictionListNoTransform()
Retrieves the OwlRestriction list.
|
List<OwlRestriction> |
getOwlRestrictions()
Retrieves the OwlRestriction list.
|
List<OwlRestriction> |
getOwlRestrictionsNoTransform()
Retrieves the OwlRestriction list.
|
boolean |
hasOwlRestriction()
Check whether the OwlRestriction list has any children.
|
void |
init$Children()
Initializes the child array to the correct size.
|
protected boolean |
is$Equal(ASTNode node) |
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() |
ASTNode |
rewriteTo() |
void |
setOwlRestriction(OwlRestriction node,
int i)
Replaces the OwlRestriction list element at index
i with the new node node . |
void |
setOwlRestrictionList(List<OwlRestriction> list)
Replaces the OwlRestriction list.
|
Restrictions |
treeCopy()
Create a deep copy of the AST subtree at this node.
|
Restrictions |
treeCopyNoTransform()
Create a deep copy of the AST subtree at this node.
|
addChild, 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$Final, is$Final, iterator, numChildren, removeChild, setChild, setGrammarName, setParent, state
childrenAccept, dump, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, toString, toString
public Restrictions(int i)
public Restrictions(OwlParser p, int i)
public Restrictions()
public Restrictions(List<OwlRestriction> p0)
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 Restrictions clone() throws java.lang.CloneNotSupportedException
public Restrictions copy()
public Restrictions fullCopy()
public Restrictions treeCopyNoTransform()
treeCopyNoTransform
in class ASTNode<ASTNode>
public Restrictions treeCopy()
public void setOwlRestrictionList(List<OwlRestriction> list)
list
- The new list node to be used as the OwlRestriction list.public int getNumOwlRestriction()
public int getNumOwlRestrictionNoTransform()
public OwlRestriction getOwlRestriction(int i)
i
in the OwlRestriction list.i
- Index of the element to return.i
in the OwlRestriction list.public boolean hasOwlRestriction()
true
if it has at least one child, false
otherwise.public void addOwlRestriction(OwlRestriction node)
node
- The element to append to the OwlRestriction list.public void addOwlRestrictionNoTransform(OwlRestriction node)
public void setOwlRestriction(OwlRestriction node, int i)
i
with the new node node
.node
- The new node to replace the old list element.i
- The list index of the node to be replaced.@ASTNodeAnnotation.ListChild(name="OwlRestriction") public List<OwlRestriction> getOwlRestrictionList()
public List<OwlRestriction> getOwlRestrictionListNoTransform()
This method does not invoke AST transformations.
public List<OwlRestriction> getOwlRestrictions()
public List<OwlRestriction> getOwlRestrictionsNoTransform()
This method does not invoke AST transformations.