func init // defines level this.level = isdef("AccessModifier") ? '' : lower(this.props("AccessModifier").value) + ' ' // defines type this.type = code(this.props("Type").value) this.typecode = sys.type_code(this.type) // defines params if(this.numdatas) // defines types if(not isdef("Types")) arr = this.props("Types").value end if(arr.size() != this.numdatas) error(this.name + ' - property ' + this.props("Types").name + ' does not matches the number of points') else t = arr.get(0) if(pos(t, "args", 0) > 0) params = '' + code(t) else params = '' + code(t) + ' ' + code(this.pt_data(0).name) end for(n = 1; n < this.numdatas; n++) t = arr.get(n) if(pos(t, "args", 0) > 0) params = '' + params + ', ' + code(t) else params = '' + params + ', ' + code(t) + ' ' + code(this.pt_data(n).name) end end end end // defines view this.hide = isdef("Hidden") ? '*' : '' // defines type modifier t = this.props("TypeModifier").value this.tMode = ((t _and_ 1) ? 'readonly ' : '') + ((t _and_ 2) ? 'static ' : '') + ((t _and_ 4) ? 'virtual ' : '') + ((t _and_ 8) ? 'volatile ' : '') // defines handler this.handler = code(this.props("Handler").value) // defines attributes if(not isdef("Attributes")) arr = this.props("Attributes").value this.attr = code(arr.join(',')) end // defines comments arr.clear() if(not isdef("Comment")) arr = this.props("Comment").value for(i=0; i