treeNodes
Class IsVoid

java.lang.Object
  extended by generalHelpers.TreeNode
      extended by treeNodes.AbstractExpression
          extended by treeNodes.AbstractUnaryOperation
              extended by treeNodes.IsVoid

public class IsVoid
extends AbstractUnaryOperation

Defines AST constructor 'isvoid'.

See TreeNode for full documentation.


Field Summary
 
Fields inherited from class treeNodes.AbstractUnaryOperation
e1
 
Fields inherited from class generalHelpers.TreeNode
lineNumber
 
Constructor Summary
IsVoid(int lineNumber, AbstractExpression a1)
          Creates "isvoid" AST node.
 
Method Summary
 TreeNode copy()
          Creates a copy of this node.
protected  java.lang.String getTag()
          This function is used by the dump-functions to specialize output to the subclass
 
Methods inherited from class treeNodes.AbstractUnaryOperation
dump, dumpWithTypes, getExpr
 
Methods inherited from class treeNodes.AbstractExpression
dumpType, getType, setType
 
Methods inherited from class generalHelpers.TreeNode
copyAbstractSymbol, copyBoolean, dumpAbstractSymbol, dumpBoolean, dumpLine, getLineNumber, set
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IsVoid

public IsVoid(int lineNumber,
              AbstractExpression a1)
Creates "isvoid" AST node.

Parameters:
lineNumber - the line in the source file from which this node came.
a0 - initial value for e1
Method Detail

copy

public TreeNode copy()
Description copied from class: TreeNode
Creates a copy of this node.

Specified by:
copy in class TreeNode
Returns:
a copy of this node

getTag

protected java.lang.String getTag()
Description copied from class: AbstractUnaryOperation
This function is used by the dump-functions to specialize output to the subclass

Specified by:
getTag in class AbstractUnaryOperation
Returns:
a tag specific to the subclass