|
using System;
namespace Evaluant.Calculator.Domain
{
public class Value : LogicalExpression
{
public Value(string text, ValueType type)
{
this.text = text;
this.type = type;
}
private string text;
public string Text
{
get { return text; }
set { text = value; }
}
private ValueType type;
public ValueType Type
{
get { return type; }
set { type = value; }
}
public override void Accept(LogicalExpressionVisitor visitor)
{
visitor.Visit(this);
}
}
public enum ValueType
{
Integer,
String,
DateTime,
Float,
Boolean
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Under the secret identity of a C# programmer, a freaky guy who loves MSX computers and japanese culture is hidden. Beware!