-
Hi again. Now that Parser footer() =>
ref0(footerLine).separatedBy(newLine, includeSeparators: false).plus(); Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
The equivalent using Parser footer() => ref0(footerLine)
.plusSeparated(newLine)
.map((list) => list.elements)
.plus(); The result of |
Beta Was this translation helpful? Give feedback.
-
Thank you very much. Much appreciated! |
Beta Was this translation helpful? Give feedback.
The equivalent using
plusSeparated()
would be:The result of
plusSeparated
is a SeparatedList that contains the statically typed elements and separators (and some helpers). This is different toseparatedBy()
that had to return a single dynamically typed list.