using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
namespace CLab
{
///
/// The Type class represents a CLab type
/// There are two variants of Type objects:
/// 1. Type(String typeName, ArrayList states)
/// contains a enumeration of valid states for the type
/// 2. Type(String typeName, int startOfRange, int endOfRange)
/// contains a set range
///
public abstract class Type
{
private String typeName;
///
/// Constructor
///
/// Name of the type
public Type(String typeName)
{
this.typeName = typeName;
}
/// The string representation of the type name
public String TypeName
{
get { return typeName; }
set { typeName = value; }
}
public override string ToString()
{
return typeName;
}
}
}