Skip to content

Commit

Permalink
Drop _extension-decl_ from syntax.md
Browse files Browse the repository at this point in the history
  • Loading branch information
soutaro committed Dec 1, 2021
1 parent 667868f commit 5b8d20a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions docs/syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,6 @@ These work only as _statements_, not per-method specifier.
_decl_ ::= _class-decl_ # Class declaration
| _module-decl_ # Module declaration
| _interface-decl_ # Interface declaration
| _extension-decl_ # Extension declaration
| _type-alias-decl_ # Type alias declaration
| _const-decl_ # Constant declaration
| _global-decl_ # Global declaration
Expand All @@ -434,8 +433,6 @@ _interface-members_ ::= _method-member_ # Method
| _include-member_ # Mixin (include)
| _alias-member_ # Alias

_extension-decl_ ::= `extension` _class-name_ _type-parameters_ `(` _extension-name_ `)` _members_ `end`

_type-alias-decl_ ::= `type` _alias-name_ _module-type-parameters_ `=` _type_

_const-decl_ ::= _const-name_ `:` _type_
Expand Down

0 comments on commit 5b8d20a

Please sign in to comment.