func init // defines level this.level = isdef("AccessModifier") ? '' : lower(this.props("AccessModifier").value) // defines type if(isdef("Type")) this.type = 'void' else this.type = code(this.props("Type").value) end this.typecode = sys.type_code(this.type) // defines type modifier t = this.props("TypeModifier").value this.tMode = ((t _and_ 1) ? 'extern ' : '') + ((t _and_ 2) ? 'readonly ' : '') + ((t _and_ 4) ? 'sealed ' : '') + ((t _and_ 8) ? 'static ' : '') + ((t _and_ 16) ? 'virtual ' : '') + ((t _and_ 32) ? 'volatile ' : '') // defines params types if(not isdef("Types")) this.arr = this.props("Types").value end // defines view this.hide = isdef("Hidden") ? '*' : '' // defines attributes if(not isdef("Attributes")) arr2 = this.props("Attributes").value attr = code(arr2.join(',')) end // defines comments arr2.clear() ini = block.reg("init").inc().inc() inits.add(ini) if(not isdef("Comment")) arr2 = this.props("Comment").value for(i=0; i