engine
Class Symbol

java.lang.Object
  |
  +--engine.Symbol
Direct Known Subclasses:
ConnectionDescription, ModuleInstanceDescription, ParameterDescription, PortDescription, RealDescription, RegisterDescription, ScopeInstanceDescription, WireDescription

abstract class Symbol
extends java.lang.Object
implements java.io.Serializable

A symbol is somethig that has a name, a type and can be instantiated.

See Also:
Serialized Form

Field Summary
static int blockType
           
static int connType
           
static int funcType
           
static int intType
           
(package private)  int lineNo
           
static int moduleArType
           
static int moduleType
           
 java.lang.String name
           
static int paramType
           
static int portType
           
static int realType
           
static int regType
           
static int taskType
           
static int udpType
           
static int wireType
           
 
Constructor Summary
Symbol(java.lang.String name, int lineNo)
           
 
Method Summary
abstract  int getType()
           
(package private) abstract  java.lang.Object instantiate(NameSpace n, ScopeNode thisScope)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

name

public java.lang.String name

lineNo

int lineNo

regType

public static final int regType

wireType

public static final int wireType

paramType

public static final int paramType

portType

public static final int portType

realType

public static final int realType

intType

public static final int intType

funcType

public static final int funcType

taskType

public static final int taskType

blockType

public static final int blockType

moduleType

public static final int moduleType

udpType

public static final int udpType

connType

public static final int connType

moduleArType

public static final int moduleArType
Constructor Detail

Symbol

public Symbol(java.lang.String name,
              int lineNo)
Method Detail

instantiate

abstract java.lang.Object instantiate(NameSpace n,
                                      ScopeNode thisScope)
                               throws ParseException

getType

public abstract int getType()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object