Skip to content

Commit

Permalink
Document constructor node types
Browse files Browse the repository at this point in the history
Constructor is fairly clear, but Enumerated isn't at all, as @quintesse
can attest to.
  • Loading branch information
lucaswerkmeister committed Jul 8, 2015
1 parent 0d95886 commit b9fae9c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Ceylon.nodes
Expand Up @@ -137,12 +137,14 @@
^(CLASS_DEFINITION:ANY_CLASS
CLASS_BODY)

"A value constructor."
^(ENUMERATED:DECLARATION
DELEGATED_CONSTRUCTOR?
BLOCK
Value declarationModel;
Constructor enumerated;)

"A callable constructor."
^(CONSTRUCTOR:DECLARATION
PARAMETER_LIST?
DELEGATED_CONSTRUCTOR?
Expand Down

0 comments on commit b9fae9c

Please sign in to comment.