koala.dynamicjava.tree
Class VoidTypeName

java.lang.Object
  extended by koala.dynamicjava.tree.Node
      extended by koala.dynamicjava.tree.TypeName
          extended by koala.dynamicjava.tree.PrimitiveTypeName
              extended by koala.dynamicjava.tree.VoidTypeName
All Implemented Interfaces:
SourceInfo.Wrapper

public class VoidTypeName
extends PrimitiveTypeName

This class represents the void type nodes of the syntax tree

Version:
1.0 - 1999/04/24
Author:
Stephane Hillion

Constructor Summary
VoidTypeName()
          Initializes the type
VoidTypeName(SourceInfo si)
          Initializes the type
 
Method Summary
<T> T
acceptVisitor(Visitor<T> visitor)
          Allows a visitor to traverse the tree
 String toString()
          Implementation of toString for use in unit testing
 
Methods inherited from class koala.dynamicjava.tree.PrimitiveTypeName
getValue, setValue
 
Methods inherited from class koala.dynamicjava.tree.Node
archiveProperties, getProperties, getProperty, getSourceInfo, hasProperty, setProperty, setSourceInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VoidTypeName

public VoidTypeName()
Initializes the type


VoidTypeName

public VoidTypeName(SourceInfo si)
Initializes the type

Method Detail

toString

public String toString()
Implementation of toString for use in unit testing

Overrides:
toString in class PrimitiveTypeName

acceptVisitor

public <T> T acceptVisitor(Visitor<T> visitor)
Allows a visitor to traverse the tree

Specified by:
acceptVisitor in class Node
Parameters:
visitor - the visitor to accept