From bd67d7826e27db644832347c93c14bbadf0d6e07 Mon Sep 17 00:00:00 2001 From: Jeff Avallone Date: Tue, 21 Apr 2015 20:52:21 -0400 Subject: [PATCH] Adding documentation to repeat_optional.js --- src/js/parser/javascript/repeat_optional.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/js/parser/javascript/repeat_optional.js b/src/js/parser/javascript/repeat_optional.js index 728ed08..4588979 100644 --- a/src/js/parser/javascript/repeat_optional.js +++ b/src/js/parser/javascript/repeat_optional.js @@ -1,3 +1,7 @@ +// RepeatOptional nodes are used for `a?` regular expression syntax. It is not +// rendered directly; it just indicates that the [Repeat](./repeat.html) node +// loops zero or one times. + export default { minimum: 0, maximum: 1