| Type | Property and Description |
|---|---|
boolean |
has
Check whether the Property list has any children.
|
findDecl_String_visited, generatedWithCacheCycle, generatedWithCircularEnabled, generatedWithComponentCheck, getSubClasses_OwlClassDecl_ArrayList_visited, getSuperClass_String_visited, goStart_visited, in$Circle, is$Final, numChildren, statechildren, id, parent, parser| Constructor and Description |
|---|
Properties() |
Properties(int i) |
Properties(List<Element> p0) |
Properties(OwlParser p,
int i) |
| Modifier and Type | Method and Description |
|---|---|
void |
addProperty(Element node)
Append an element to the Property list.
|
void |
addPropertyNoTransform(Element node) |
void |
checkChild(Node n,
int i) |
Properties |
clone() |
Properties |
copy() |
void |
dumpTree(java.lang.String indent,
java.io.PrintStream out) |
void |
flushAttrCache() |
void |
flushCollectionCache() |
void |
flushRewriteCache() |
Properties |
fullCopy()
Deprecated.
Please use emitTreeCopy or emitTreeCopyNoTransform instead
|
int |
getNumChild() |
int |
getNumProperty()
Retrieves the number of children in the Property list.
|
int |
getNumPropertyNoTransform()
Retrieves the number of children in the Property list.
|
Element |
getProperty(int i)
Retrieves the element at index
i in the Property list. |
List<Element> |
getPropertyList()
Retrieves the Property list.
|
List<Element> |
getPropertyListNoTransform()
Retrieves the Property list.
|
List<Element> |
getPropertys()
Retrieves the Property list.
|
List<Element> |
getPropertysNoTransform()
Retrieves the Property list.
|
boolean |
hasProperty()
Check whether the Property 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 |
setProperty(Element node,
int i)
Replaces the Property list element at index
i with the new node node. |
void |
setPropertyList(List<Element> list)
Replaces the Property list.
|
Properties |
treeCopy()
Create a deep copy of the AST subtree at this node.
|
Properties |
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, statechildrenAccept, dump, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, toString, toStringtrue if it has at least one child, false otherwise.public Properties(int i)
public Properties(OwlParser p, int i)
public Properties()
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)
SimpleNodepublic void jjtAddChild(Node n, int i)
NodejjtAddChild in interface NodejjtAddChild 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 Properties clone() throws java.lang.CloneNotSupportedException
public Properties copy()
public Properties fullCopy()
public Properties treeCopyNoTransform()
treeCopyNoTransform in class ASTNode<ASTNode>public Properties treeCopy()
public void setPropertyList(List<Element> list)
list - The new list node to be used as the Property list.public int getNumProperty()
public int getNumPropertyNoTransform()
public Element getProperty(int i)
i in the Property list.i - Index of the element to return.i in the Property list.public boolean hasProperty()
true if it has at least one child, false otherwise.public void addProperty(Element node)
node - The element to append to the Property list.public void addPropertyNoTransform(Element node)
public void setProperty(Element 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="Property") public List<Element> getPropertyList()
public List<Element> getPropertyListNoTransform()
This method does not invoke AST transformations.
public List<Element> getPropertys()
public List<Element> getPropertysNoTransform()
This method does not invoke AST transformations.