func init // adds using namespace sys.add_use('System') // initialize a member if(not isdef('Name')) sys.add_var(this.name, 'UriComponents') blk_init.println(this.codename, ' = ', this.UriComponents(), ';') end end func UriComponents() v = this.props('UriComponents').value flags = ((v _and_ 1) ? '|UriComponents.Scheme' : '') + ((v _and_ 2) ? '|UriComponents.UserInfo' : '') + ((v _and_ 4) ? '|UriComponents.Host' : '') + ((v _and_ 8) ? '|UriComponents.Port' : '') + ((v _and_ 16) ? '|UriComponents.Path' : '') + ((v _and_ 32) ? '|UriComponents.Query' : '') + ((v _and_ 64) ? '|UriComponents.Fragment' : '') + ((v _and_ 128) ? '|UriComponents.StrongPort' : '') + ((v _and_ 256) ? '|UriComponents.KeepDelimiter' : '') + ((v _and_ 512) ? '|UriComponents.SerializationInfoString' : '') + ((v _and_ 1024) ? '|UriComponents.AbsoluteUri' : '') + ((v _and_ 2048) ? '|UriComponents.HostAndPort' : '') + ((v _and_ 4096) ? '|UriComponents.StrongAuthority' : '') + ((v _and_ 8192) ? '|UriComponents.SchemeAndServer' : '') + ((v _and_ 16384) ? '|UriComponents.HttpRequestUrl' : '') + ((v _and_ 32768) ? '|UriComponents.PathAndQuery' : '') return('(0' + flags + ')') end