Annex A (informative) Grammar summary [gram]

A.7 Modules [gram.module]

module-declaration:
export-keyword module-keyword module-name module-partition attribute-specifier-seq ;
module-name:
module-name-qualifier identifier
module-partition:
: module-name-qualifier identifier
module-name-qualifier:
identifier .
module-name-qualifier identifier .
export-declaration:
export declaration
export { declaration-seq }
export-keyword module-import-declaration
module-import-declaration:
import-keyword module-name attribute-specifier-seq ;
import-keyword module-partition attribute-specifier-seq ;
import-keyword header-name attribute-specifier-seq ;
global-module-fragment:
module-keyword ; declaration-seq
private-module-fragment:
module-keyword : private ; declaration-seq