AST
Class DiscardedElement

java.lang.Object
  extended by AST.SimpleNode
      extended by AST.ASTNode
          extended by AST.Element
              extended by AST.DiscardedElement
All Implemented Interfaces:
Node, java.lang.Cloneable

public class DiscardedElement
extends Element
implements java.lang.Cloneable


Field Summary
 
Fields inherited from class AST.ASTNode
boundariesCrossed, CHANGE, duringRewrites, generatedWithCacheCycle, generatedWithCircularEnabled, IN_CIRCLE, inCircle, isFinal, LAST_CYCLE, REWRITE_CHANGE, REWRITE_INTERRUPT, REWRITE_NOCHANGE, state
 
Fields inherited from class AST.SimpleNode
children, id, parent, parser
 
Constructor Summary
DiscardedElement()
           
DiscardedElement(Identifier p0, List p1, List p2)
           
DiscardedElement(int i)
           
DiscardedElement(OwlParser p, int i)
           
 
Method Summary
 void addAttribute(Attribute node)
           
 void addElement(Element node)
           
 void checkChild(Node n, int i)
           
 java.lang.Object clone()
           
 ASTNode copy()
           
 void dumpTree(java.lang.String indent, java.io.PrintStream pStream)
           
 ASTNode fullCopy()
           
 Attribute getAttribute(int i)
           
 List getAttributeList()
           
 List getAttributeListNoTransform()
           
 Element getElement(int i)
           
 List getElementList()
           
 List getElementListNoTransform()
           
 Identifier getIdentifier()
           
 Identifier getIdentifierNoTransform()
           
 int getNumAttribute()
           
 int getNumChild()
           
 int getNumElement()
           
 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 setAttribute(Attribute node, int i)
           
 void setAttributeList(List list)
           
 void setElement(Element node, int i)
           
 void setElementList(List list)
           
 void setIdentifier(Identifier node)
           
 
Methods inherited from class AST.Element
getId, range, type
 
Methods inherited from class AST.ASTNode
addChild, duringRewrites, genMisc, genPrettyPrinter, genRewrites, getChild, getChildNoTransform, getIndexOfChild, getParent, getSubClasses, goStart, ind, insertChild, setChild, setParent
 
Methods inherited from class AST.SimpleNode
childrenAccept, dump, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, toString, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DiscardedElement

public DiscardedElement(int i)

DiscardedElement

public DiscardedElement(OwlParser p,
                        int i)

DiscardedElement

public DiscardedElement()

DiscardedElement

public DiscardedElement(Identifier p0,
                        List p1,
                        List p2)
Method Detail

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Overrides:
clone in class Element
Throws:
java.lang.CloneNotSupportedException

copy

public ASTNode copy()
Overrides:
copy in class ASTNode

fullCopy

public ASTNode fullCopy()
Overrides:
fullCopy in class ASTNode

dumpTree

public void dumpTree(java.lang.String indent,
                     java.io.PrintStream pStream)
Overrides:
dumpTree in class Element

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 Element

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 Element

checkChild

public void checkChild(Node n,
                       int i)
Overrides:
checkChild in class Element

getNumChild

public int getNumChild()
Overrides:
getNumChild in class Element

mayHaveRewrite

public boolean mayHaveRewrite()
Overrides:
mayHaveRewrite in class Element

setIdentifier

public void setIdentifier(Identifier node)

getIdentifier

public Identifier getIdentifier()

getIdentifierNoTransform

public Identifier getIdentifierNoTransform()

setAttributeList

public void setAttributeList(List list)

getNumAttribute

public int getNumAttribute()

getAttribute

public Attribute getAttribute(int i)

addAttribute

public void addAttribute(Attribute node)

setAttribute

public void setAttribute(Attribute node,
                         int i)

getAttributeList

public List getAttributeList()

getAttributeListNoTransform

public List getAttributeListNoTransform()

setElementList

public void setElementList(List list)

getNumElement

public int getNumElement()

getElement

public Element getElement(int i)

addElement

public void addElement(Element node)

setElement

public void setElement(Element node,
                       int i)

getElementList

public List getElementList()

getElementListNoTransform

public List getElementListNoTransform()

rewriteTo

public ASTNode rewriteTo()
Overrides:
rewriteTo in class Element