code.symbols
Class ConstructorSymbol

java.lang.Object
  extended by code.symbols.Symbol
      extended by code.symbols.DataSymbol
          extended by code.symbols.ConstructorSymbol

public class ConstructorSymbol
extends DataSymbol

Abstracts a Constructor.

Since:
October 22, 2002
Author:
jimeng

Field Summary
static Instruction[] noCode
          Constructors don't have code.
 
Fields inherited from class code.symbols.DataSymbol
arity, associativity, breakOnExec, code, Constructor, Failure, kind, Left, NonAssoc, NonInfix, Operation, precedence, Right, staticNestingDepth, toplevel, typeExp, UnboundVariable
 
Fields inherited from class code.symbols.Symbol
DefaultVisibility, moduleName, Private, Public, symbolName, visibility
 
Constructor Summary
ConstructorSymbol(java.lang.String moduleName, java.lang.String symbolName, int staticNestingDepth, int arity, int kind, int associativity, int precedence, int visibility, TypeExpression typeExp)
           
 
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

noCode

public static final Instruction[] noCode
Constructors don't have code. This field is used as a dummy for the code.

Constructor Detail

ConstructorSymbol

public ConstructorSymbol(java.lang.String moduleName,
                         java.lang.String symbolName,
                         int staticNestingDepth,
                         int arity,
                         int kind,
                         int associativity,
                         int precedence,
                         int visibility,
                         TypeExpression typeExp)
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 DataSymbol
Parameters:
v - Description of the Parameter
o - Description of the Parameter
Returns:
Description of the Return Value