编译单元
Compliation_unit : : =
[[<using_statement_1>]
[<using_statement_1>]
...]
[[<Namespace_definition_1>]
[<Namespace_definition_2>]
...]
[[<Type_definition_1]
[<Type_definition_]
...]
其中
<using_statement> : : =
using <Namespace_name>;
<Namespace_definition> : : =
<Short_namespace_name>
{
[[<using_statement_1>]
[<using_statement_1>]
...]
[[<Namespace_definition_1>]
[<Namespace_definition_2>]
...]
[[<Type_definition_1]
[<Type_definition_]
...]
}
<Type_definition>
: : = <class_definition>
: : = <struct_definiton>
: : = <enum_definition>
: : = <interface_definition>
: : = <delegate_definition>
Compliation_unit : : =
[[<using_statement_1>]
[<using_statement_1>]
...]
[[<Namespace_definition_1>]
[<Namespace_definition_2>]
...]
[[<Type_definition_1]
[<Type_definition_]
...]
其中
<using_statement> : : =
using <Namespace_name>;
<Namespace_definition> : : =
<Short_namespace_name>
{
[[<using_statement_1>]
[<using_statement_1>]
...]
[[<Namespace_definition_1>]
[<Namespace_definition_2>]
...]
[[<Type_definition_1]
[<Type_definition_]
...]
}
<Type_definition>
: : = <class_definition>
: : = <struct_definiton>
: : = <enum_definition>
: : = <interface_definition>
: : = <delegate_definition>