old-code/monodoc/ecma334/16.4.xml

6 строки
1.3 KiB
XML

<?xml version="1.0"?>
<clause number="16.4" title="Namespace members">
<paragraph>A <non_terminal where="16.4">namespace-member-declaration</non_terminal> is either a <non_terminal where="16.2">namespace-declaration</non_terminal> (<hyperlink>16.2</hyperlink>) or a <non_terminal where="16.5">type-declaration</non_terminal> (<hyperlink>16.5</hyperlink>). <grammar_production><name><non_terminal where="16.4">namespace-member-declaration</non_terminal>s</name> : <rhs><non_terminal where="16.4">namespace-member-declaration</non_terminal></rhs><rhs><non_terminal where="16.4">namespace-member-declarations</non_terminal><non_terminal where="16.4">namespace-member-declaration</non_terminal></rhs></grammar_production><grammar_production><name><non_terminal where="16.4">namespace-member-declaration</non_terminal></name> : <rhs><non_terminal where="16.2">namespace-declaration</non_terminal></rhs><rhs><non_terminal where="16.5">type-declaration</non_terminal></rhs></grammar_production></paragraph>
<paragraph>A compilation unit or a namespace body can contain <non_terminal where="16.4">namespace-member-declaration</non_terminal>s, and such declarations contribute new members to the underlying declaration space of the containing compilation unit or namespace body. </paragraph>
</clause>