using System;
using System.Collections.Generic;
using System.Text;
using CLab.Auxiliary;
namespace CLab
{
///
/// An expression consisting of a single id-element
///
public class IdExpression : Expression
{
private String id;
///
/// Constructor
///
/// A string with the name of the variable or an enumeration constant
public IdExpression(String id)
: base(Common.ExprType.et_id)
{
this.id = id;
}
///
/// Returns the Id value
///
public String Id
{
get { return id; }
}
}
}