File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed
Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change 11# Modules
22
3- A module is a container for zero or more [ items] .
3+ > ** <sup >Syntax:<sup >**
4+ > _ Module_ :
5+ >   ;  ;   ;  ; ` mod ` [ IDENTIFIER] ` ; `
6+ >   ;  ; | ` mod ` [ IDENTIFIER] ` { `
7+ >   ;  ;   ;  ;  ;  ; [ _ InnerAttribute_ ] <sup >\* </sup >
8+ >   ;  ;   ;  ;  ;  ; [ _ Item_ ] <sup >\* </sup >
9+ >   ;  ;   ;  ; ` } `
410
5- [ items ] : items.html
11+ A module is a container for zero or more [ items] .
612
713A _ module item_ is a module, surrounded in braces, named, and prefixed with the
814keyword ` mod ` . A module item introduces a new, named module into the tree of
@@ -61,3 +67,11 @@ mod thread {
6167 mod local_data;
6268}
6369```
70+
71+ [ IDENTIFIER ] : identifiers.html
72+
73+ [ _InnerAttribute_ ] : attributes.html
74+ [ _OuterAttribute_ ] : attributes.html
75+
76+ [ _Item_ ] : items.html
77+ [ items ] : items.html
You can’t perform that action at this time.
0 commit comments