code.symbols
Class TypeSymbol

java.lang.Object
  extended by code.symbols.Symbol
      extended by code.symbols.TypeSymbol

public class TypeSymbol
extends Symbol

Abstracts a type symbol.

Since:
October 22, 2002
Author:
jimeng

Field Summary
 int arity
          The arity of the type symbol.
 
Fields inherited from class code.symbols.Symbol
DefaultVisibility, moduleName, Private, Public, symbolName, visibility
 
Constructor Summary
TypeSymbol(java.lang.String moduleName, java.lang.String symbolName, int arity, int visibility)
           
 
Method Summary
 java.lang.Object accept(SymbolVisitor v, java.lang.Object o)
          Description of the Method
 
Methods inherited from class code.symbols.Symbol
equals
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

arity

public final int arity
The arity of the type symbol.

Constructor Detail

TypeSymbol

public TypeSymbol(java.lang.String moduleName,
                  java.lang.String symbolName,
                  int arity,
                  int visibility)
Method Detail

accept

public java.lang.Object accept(SymbolVisitor v,
                               java.lang.Object o)
Description copied from class: Symbol
Description of the Method

Specified by:
accept in class Symbol
Parameters:
v - Description of the Parameter
o - Description of the Parameter
Returns:
Description of the Return Value