From b9fae9c8597c72e3f19d74e98ab87f83c951c2c5 Mon Sep 17 00:00:00 2001 From: Lucas Werkmeister Date: Wed, 8 Jul 2015 19:56:46 +0200 Subject: [PATCH] Document constructor node types Constructor is fairly clear, but Enumerated isn't at all, as @quintesse can attest to. --- Ceylon.nodes | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Ceylon.nodes b/Ceylon.nodes index cfcc046d4..a4937c9a9 100644 --- a/Ceylon.nodes +++ b/Ceylon.nodes @@ -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?