File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ package-decl ::= `package` package-name `;`
1313package-name ::= id (':' id)+ ('@' version)?
1414version ::= <SEMVER>
1515
16- import-statement ::= 'import' id ('with ' string)? ':' import-type ';'
16+ import-statement ::= 'import' id ('as ' string)? ':' import-type ';'
1717import-type ::= package-path | func-type | inline-interface | id
1818package-path ::= id (':' id)+ ('/' id)+ ('@' version)?
1919
@@ -102,7 +102,7 @@ postfix-expr ::= access-expr | named-access-expr
102102access-expr ::= '.' id
103103named-access-expr ::= '[' string ']'
104104
105- export-statement ::= 'export' expr ('with ' string)? ';'
105+ export-statement ::= 'export' expr ('as ' string)? ';'
106106
107107id ::= '%'?[a-z][a-z0-9]*('-'[a-z][a-z0-9]*)*
108108string ::= '"' character-that-is-not-a-double-quote* '"'
You can’t perform that action at this time.
0 commit comments