Open ghostwriter opened 8 months ago
This patch adds the grammar for readonly property modifier, via the following changes:
readonly
spec/14-classes.md
tools/pre-commit
diff --git a/spec/14-classes.md b/spec/14-classes.md --- a/spec/14-classes.md +++ b/spec/14-classes.md property-modifier: 'var' - visibility-modifier static-modifier? - static-modifier visibility-modifier? + visibility-modifier property-modifiers? + property-modifiers visibility-modifier? + +property-modifiers: + readonly-modifier + static-modifier + +readonly-modifier: + 'readonly' visibility-modifier: 'public'
or maybe, something like?
property-declaration: attributes? modifiers? types? property-elements ';'
This patch adds the grammar for
readonly
property modifier, via the following changes:spec/14-classes.md
tools/pre-commit