MParser/Parser/Objects/MObject.cs
2020-07-18 14:01:43 +02:00

25 lines
599 B
C#

namespace Parser.Objects
{
public abstract class MObject
{
public static MDoubleNumber CreateDoubleNumber(double value)
{
return MDoubleNumber.Create(value);
}
public static MCharArray CreateCharArray(char[] chars)
{
return MCharArray.Create(chars);
}
public static MCharArray CreateCharArray(string s)
{
return MCharArray.Create(s.ToCharArray());
}
public static MLogical CreateLogical(bool value)
{
return MLogical.Create(value);
}
}
}