RuleExpression.ZeroOrMany
is a loop that parses zero or more elements. The field name formed for the loop is pluralized (see AST fields
). The field’s type is list [T], where [T] is a type that matches the RuleExpression
subrule type.
For example:
A field will be created for the "StringPart*
" loop: