public Base_Object_Type(string name, Base_Object_Type father, Attribute[] attr, IMethod[] methods) { Name = name; Father = father; Attributes = attr; Methods = methods; }
public Base_Object_Value(object value, Base_Object_Type type) { Value = value; Type = type; foreach (var item in Type.GetAllAttributes()) { AttributesValues[item] = item.Type.Instanciate(); } }
public Attribute(string name, Base_Object_Type type, int index) { Name = name; Type = type; Index = index; }
public IMethod(string name, Base_Object_Type type_result, Attribute[] type_params) { Name = name; TypeResult = type_result; TypeParams = type_params; }
public Method_AritmeticOP(string op, Base_Object_Type type) : base(op, type, new Attribute[] { new Attribute("a", type, 0), new Attribute("b", type, 1) }) { }