fmrisc.Syntax
Class TypeBase

java.lang.Object
  extended by fmrisc.Syntax.ASTBase
      extended by fmrisc.Syntax.TypeBase
All Implemented Interfaces:
AST, Type
Direct Known Subclasses:
ArrayType, AtomicType, FunctionType, LetType, RecordType, SubrangeType, SubType, TupleType

public abstract class TypeBase
extends ASTBase
implements Type

Base class of type expressions.


Constructor Summary
TypeBase()
           
 
Method Summary
 void print(java.io.PrintWriter out)
          Prints text representation of type expression.
 
Methods inherited from class fmrisc.Syntax.ASTBase
printCore, printParens, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface fmrisc.Syntax.Type
instantiateType
 
Methods inherited from interface fmrisc.Syntax.AST
accept, printCore, printParens, toString
 

Constructor Detail

TypeBase

public TypeBase()
Method Detail

print

public void print(java.io.PrintWriter out)
Prints text representation of type expression. Overrides ASTBase.print such that parentheses are never printed around types.

Specified by:
print in interface AST
Overrides:
print in class ASTBase
Parameters:
out - the stream on which the text is written