1 using System.Xml.Serialization;
3 namespace CodeGen.generators
15 public string Name {
get; set; }
20 [XmlElement(
"use_spaces")]
21 public bool UseSpaces {
get; set; }
27 public Class[] Classes {
get; set; }
32 [XmlElement(
"packages")]
38 return base.ToString() +
string.Format(
"{{ {0} {1} {2} }}", Name, Classes, Packages);
54 public string Name {
get; set; }
59 [XmlElement(
"fields")]
60 public Field[] Fields {
get; set; }
65 [XmlElement(
"methods")]
66 public Method[] Methods {
get; set; }
71 [XmlElement(
"classes")]
72 public Class[] Classes {
get; set; }
77 [XmlElement(
"parent")]
78 public string Parent {
get; set; }
83 [XmlElement(
"access")]
84 public string Access {
get; set; }
89 return base.ToString() +
string.Format(
"{{ {0} {1} {2} {3} {4} }}", Name, Parent, Fields, Methods, Classes);
102 public string Name {
get; set; }
108 public string Type {
get; set; }
113 [XmlElement(
"default")]
114 public string Default {
get; set; }
126 [XmlElement(
"access")]
127 public string Access {
get; set; }
132 [XmlElement(
"const")]
133 public bool Const {
get; set; }
138 [XmlElement(
"static")]
139 public bool Static {
get; set; }
144 [XmlElement(
"getter")]
145 public bool Getter {
get; set; }
150 [XmlElement(
"setter")]
151 public bool Setter {
get; set; }
172 public string Name {
get; set; }
178 public string Type {
get; set; }
183 [XmlElement(
"access")]
184 public string Access {
get; set; }
189 [XmlElement(
"const")]
190 public bool Const {
get; set; }
195 [XmlElement(
"static")]
196 public bool Static {
get; set; }
201 [XmlElement(
"parameters")]
The structure that describes variable. Contains name, type and default value
The structure that describes class. Contains name, array of fields, methods and subclasses, parent class name, access specifier. Overrides ToString() method.
The structure that describes package. Contains classes and subpackages
override string ToString()
The structure that describes method. Contains name, return type, access level, const and static prope...
The structure that describes parameter. Inherits from Variable
override string ToString()
The structure that describes field. Contains access, const and static properties. Inherits from Varia...