Dear Wiki user, You have subscribed to a wiki page or wiki category on "Thrift Wiki" for change notification.
The following page has been changed by ChadWalters: http://wiki.apache.org/thrift/ThriftIDL ------------------------------------------------------------------------------ A namespace declares which namespaces/package/module/etc. the type definitions in this file will be declared in for the target languages. The namespace scope indicates which language the namespace applies to; a scope of '*' indicates that the namespace applies to all target languages. - {{{[5] Namespace ::= 'namespace' ( ( NamespaceScope Identifier ) |}}}[[BR]] + {{{[5] Namespace ::= ( 'namespace' ( NamespaceScope Identifier ) |}}}[[BR]] + {{{ ( 'smalltalk.category' STIdentifier ) |}}}[[BR]] + {{{ ( 'smalltalk.prefix' Identifier ) ) |}}}[[BR]] - {{{ ( 'php_namespace' Literal ) |}}}[[BR]] + {{{ ( 'php_namespace' Literal ) |}}}[[BR]] - {{{ ( 'smalltalk.category' STIdentifier ) |}}}[[BR]] - {{{ ( 'smalltalk.prefix' Identifier ) |}}}[[BR]] - {{{ ( 'xsd_namespace' Literal ) )}}} + {{{ ( 'xsd_namespace' Literal )}}} {{{[6] NamespaceScope ::= '*' | 'cpp' | 'java' | 'py' | 'perl' | 'rb' | 'cocoa' | 'csharp'}}} + NB: Smalltalk has two distinct types of namespace commands. + ''Can someone who knows Smalltalk explain why Smalltalk needs two different kinds of namespaces?'' NB: The php_namespace directive will be deprecated at some point in the future in favor of the scoped syntax, but the scoped syntax is not yet supported for PHP. - - NB: Smalltalk has two distinct types of namespace commands. - __Can someone who knows Smalltalk explain why Smalltalk needs two different kinds of namespaces?__ NB: The xsd_namespace directive has some purpose internal to Facebook but serves no purpose in Thrift itself. Use of this feature is strongly discouraged
