AST
Class Version

java.lang.Object
  extended by AST.SimpleNode
      extended by AST.ASTNode<ASTNode>
          extended by AST.Attribute
              extended by AST.Version
All Implemented Interfaces:
Node, java.lang.Cloneable, java.lang.Iterable<ASTNode>

public class Version
extends Attribute
implements java.lang.Cloneable


Field Summary
 
Fields inherited from class AST.Attribute
trim_computed, trim_value, trim_visited
 
Fields inherited from class AST.ASTNode
boundariesCrossed, CHANGE, CIRCLE_INDEX, duringRewrites, findDecl_String_visited, generatedWithCacheCycle, generatedWithCircularEnabled, generatedWithComponentCheck, getSubClasses_OwlClassDecl_ArrayList_visited, getSuperClass_String_visited, goStart_visited, IN_CIRCLE, in$Circle, is$Final, LAST_CYCLE, RESET_CYCLE, REWRITE_CHANGE, REWRITE_INTERRUPT, REWRITE_NOCHANGE, state
 
Fields inherited from class AST.SimpleNode
children, id, parent, parser
 
Constructor Summary
Version()
           
Version(int i)
           
Version(OwlParser p, int i)
           
Version(Value p0)
           
 
Method Summary
 void checkChild(Node n, int i)
           
 Version clone()
           
 Version copy()
           
 void dumpTree(java.lang.String indent, java.io.PrintStream pStream)
           
 void flushCache()
           
 Version fullCopy()
           
 int getNumChild()
           
 Value getValue()
           
 Value getValueNoTransform()
           
 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 setValue(Value node)
           
 
Methods inherited from class AST.Attribute
trim
 
Methods inherited from class AST.ASTNode
addChild, duringRewrites, findDecl, genMisc, genPrettyPrinter, genRewrites, getChild, getChild, getChildNoTransform, getIndexOfChild, getNumChildNoTransform, getParent, getSubClasses, getSuperClass, goStart, grammarName, in$Circle, in$Circle, ind, insertChild, is$Final, is$Final, iterator, removeChild, reset, setChild, setGrammarName, 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

Version

public Version(int i)

Version

public Version(OwlParser p,
               int i)

Version

public Version()

Version

public Version(Value p0)
Method Detail

flushCache

public void flushCache()
Overrides:
flushCache in class Attribute

clone

public Version clone()
              throws java.lang.CloneNotSupportedException
Overrides:
clone in class Attribute
Throws:
java.lang.CloneNotSupportedException

copy

public Version copy()
Overrides:
copy in class ASTNode<ASTNode>

fullCopy

public Version fullCopy()
Overrides:
fullCopy in class ASTNode<ASTNode>

dumpTree

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

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 Attribute

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 Attribute

checkChild

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

getNumChild

public int getNumChild()
Overrides:
getNumChild in class Attribute

mayHaveRewrite

public boolean mayHaveRewrite()
Overrides:
mayHaveRewrite in class Attribute

setValue

public void setValue(Value node)
Overrides:
setValue in class Attribute

getValue

public Value getValue()
Overrides:
getValue in class Attribute

getValueNoTransform

public Value getValueNoTransform()
Overrides:
getValueNoTransform in class Attribute

rewriteTo

public ASTNode rewriteTo()
Overrides:
rewriteTo in class Attribute