using System; using System.Text; using System.Collections; using System.Collections.Generic; namespace CLab { /// /// The Variable class represents a CLab variable /// In addition to the types set by Type objects, CLab has an internal boolean type named bool /// public class Variable { private String typeName; private String variableName; /// /// Constructor /// /// Name of the type to use for this variable /// Name of the variable public Variable(String typeName, String variableName) { this.typeName = typeName; this.variableName = variableName; } ///The name of the variable type public String TypeName { get { return typeName; } set { typeName = value; } } ///The name of the variable public String VariableName { get { return variableName; } set { variableName = value; } } public override string ToString() { return (String.Format("{0} {1}, ", typeName, variableName)); } } }