Class Case

java.lang.Object
  extended byTreeNode
      extended byCase
Direct Known Subclasses:
branch

abstract class Case
extends TreeNode

Defines simple phylum Case


Field Summary
protected  int lineNumber
          line in the source file from which this node came.
 
Constructor Summary
protected Case(int lineNumber)
           
 
Method Summary
protected  AbstractSymbol copy_AbstractSymbol(AbstractSymbol sym)
          Copies an AbstractSymbol value.
protected  java.lang.Boolean copy_Boolean(java.lang.Boolean b)
          Copies a boolean value.
abstract  TreeNode copy()
          Creates a copy of this node.
protected  void dump_AbstractSymbol(java.io.PrintStream out, int n, AbstractSymbol sym)
          Dumps a printable representation of an AbstactSymbol value.
protected  void dump_Boolean(java.io.PrintStream out, int n, java.lang.Boolean b)
          Dumps a printable representation of a boolean value.
protected  void dump_line(java.io.PrintStream out, int n)
          Dumps a printable representation of current line number This method is used internally by the generated AST classes
abstract  void dump_with_types(java.io.PrintStream out, int n)
           
abstract  void dump(java.io.PrintStream out, int n)
          Pretty-prints this node to this output stream.
 int getLineNumber()
          Retreives the line number from which this node came.
 TreeNode set(TreeNode other)
          Sets the values of this node object to the values of a given node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lineNumber

protected int lineNumber
line in the source file from which this node came.

Constructor Detail

Case

protected Case(int lineNumber)
Method Detail

dump_with_types

public abstract void dump_with_types(java.io.PrintStream out,
                                     int n)

copy

public abstract TreeNode copy()
Creates a copy of this node.

Returns:
a copy of this node

set

public TreeNode set(TreeNode other)
Sets the values of this node object to the values of a given node.

Parameters:
other - the other node
Returns:
this node

getLineNumber

public int getLineNumber()
Retreives the line number from which this node came.

Returns:
the line number

dump

public abstract void dump(java.io.PrintStream out,
                          int n)
Pretty-prints this node to this output stream.

Parameters:
out - the output stream
n - the number of spaces to indent the output

copy_Boolean

protected java.lang.Boolean copy_Boolean(java.lang.Boolean b)
Copies a boolean value. This method is used internally by the generated AST classes


copy_AbstractSymbol

protected AbstractSymbol copy_AbstractSymbol(AbstractSymbol sym)
Copies an AbstractSymbol value. This method is used internally by the generated AST classes


dump_Boolean

protected void dump_Boolean(java.io.PrintStream out,
                            int n,
                            java.lang.Boolean b)
Dumps a printable representation of a boolean value. This method is used internally by the generated AST classes


dump_AbstractSymbol

protected void dump_AbstractSymbol(java.io.PrintStream out,
                                   int n,
                                   AbstractSymbol sym)
Dumps a printable representation of an AbstactSymbol value. This method is used internally by the generated AST classes


dump_line

protected void dump_line(java.io.PrintStream out,
                         int n)
Dumps a printable representation of current line number This method is used internally by the generated AST classes