comp
Class TypeFactory

java.lang.Object
  |
  +--comp.TypeFactory

class TypeFactory
extends java.lang.Object

The typefactory takes a string representation of a type and produces type objects.


Constructor Summary
(package private) TypeFactory()
           
 
Method Summary
static Type makeType(java.lang.String type)
          Make a unit type.
static Type makeType(java.lang.String type, int length)
          Make an array type of the given base type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeFactory

TypeFactory()
Method Detail

makeType

public static Type makeType(java.lang.String type)
Make a unit type.


makeType

public static Type makeType(java.lang.String type,
                            int length)
Make an array type of the given base type.