internal AbstractClass(ClassIdentifier classIdentifier, string name)
 {
     Identifier = classIdentifier;
       Name = name;
       methods = new List<AbstractMethod>();
 }
 public int CompareTo(ClassIdentifier other)
 {
     return Id.CompareTo(other.Id);
 }
Esempio n. 3
0
 public IClassIdentifier AddPrimitiveClass(string className, DataType.DATA_TYPE dt)
 {
     ClassIdentifier ci = new ClassIdentifier(idClass++.ToString());
       primitives.Add(new ClassPrimitive(ci, className, dt));
       return ci;
 }
Esempio n. 4
0
 public IClassIdentifier AddCustomClass(string className)
 {
     ClassIdentifier ci = new ClassIdentifier(idClass++.ToString());
       complexes.Add(new ClassComplex(ci, className));
       return ci;
 }
 public ClassComplex(ClassIdentifier classIdentifier, string name)
     : base(classIdentifier, name)
 {
 }
 public ClassPrimitive(ClassIdentifier classIdentifier, string name, DATA_TYPE dataType)
     : base(classIdentifier, name)
 {
     DataType = dataType;
       AddConstructor(new List<IArgument>() { new Argument(classIdentifier) });
 }