AST
Class Restrictions

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

public class Restrictions
extends ASTNode
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
Restrictions()
           
Restrictions(int i)
           
Restrictions(List p0)
           
Restrictions(OwlParser p, int i)
           
 
Method Summary
 void addOwlRestriction(OwlRestriction 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()
           
 int getNumChild()
           
 int getNumOwlRestriction()
           
 OwlRestriction getOwlRestriction(int i)
           
 List getOwlRestrictionList()
           
 List getOwlRestrictionListNoTransform()
           
 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)
           
 void setOwlRestrictionList(List list)
           
 
Methods inherited from class AST.ASTNode
addChild, duringRewrites, genJavaCC, getChild, getChildNoTransform, getIndexOfChild, getParent, 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

Restrictions

public Restrictions(int i)

Restrictions

public Restrictions(OwlParser p,
                    int i)

Restrictions

public Restrictions()

Restrictions

public Restrictions(List p0)
Method Detail

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Overrides:
clone in class ASTNode
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 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

setOwlRestrictionList

public void setOwlRestrictionList(List list)

getNumOwlRestriction

public int getNumOwlRestriction()

getOwlRestriction

public OwlRestriction getOwlRestriction(int i)

addOwlRestriction

public void addOwlRestriction(OwlRestriction node)

setOwlRestriction

public void setOwlRestriction(OwlRestriction node,
                              int i)

getOwlRestrictionList

public List getOwlRestrictionList()

getOwlRestrictionListNoTransform

public List getOwlRestrictionListNoTransform()

rewriteTo

public ASTNode rewriteTo()
Overrides:
rewriteTo in class ASTNode