AST
Class Element
java.lang.Object
AST.SimpleNode
AST.ASTNode
AST.Element
- All Implemented Interfaces:
- Node, java.lang.Cloneable
- Direct Known Subclasses:
- ComplexElement, SimpleElement
public abstract class Element
- extends ASTNode
- implements java.lang.Cloneable
Fields inherited from class AST.ASTNode |
boundariesCrossed, CHANGE, duringRewrites, generatedWithCacheCycle, generatedWithCircularEnabled, IN_CIRCLE, inCircle, isFinal, LAST_CYCLE, REWRITE_CHANGE, REWRITE_INTERRUPT, REWRITE_NOCHANGE, state |
Methods inherited from class AST.ASTNode |
addChild, copy, duringRewrites, fullCopy, genJavaCC, getChild, getChildNoTransform, getIndexOfChild, getParent, insertChild, setChild, setParent |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Element
public Element(int i)
Element
public Element(OwlParser p,
int i)
Element
public Element()
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Overrides:
clone
in class ASTNode
- Throws:
java.lang.CloneNotSupportedException
dumpTree
public void dumpTree(java.lang.String indent,
java.io.PrintStream pStream)
- Overrides:
dumpTree
in class ASTNode
jjtAccept
public java.lang.Object jjtAccept(OwlParserVisitor visitor,
java.lang.Object data)
- Description copied from class:
SimpleNode
- Accept the visitor.
- Specified by:
jjtAccept
in interface Node
- Overrides:
jjtAccept
in class ASTNode
jjtAddChild
public void jjtAddChild(Node n,
int i)
- Description copied from interface:
Node
- This method tells the node to add its argument to the node's
list of children.
- Specified by:
jjtAddChild
in interface Node
- Overrides:
jjtAddChild
in class ASTNode
checkChild
public void checkChild(Node n,
int i)
- Overrides:
checkChild
in class ASTNode
getNumChild
public int getNumChild()
- Overrides:
getNumChild
in class ASTNode
mayHaveRewrite
public boolean mayHaveRewrite()
- Overrides:
mayHaveRewrite
in class ASTNode
getId
public java.lang.String getId()
type
public java.lang.String type()
range
public RdfsRange range()
rewriteTo
public ASTNode rewriteTo()
- Overrides:
rewriteTo
in class ASTNode