src/parser/whitespace_grammar.pegjs
__ "whitespace"
= WhitespaceCharacter+
_ "optional whitespace"
= WhitespaceCharacter*
WhitespaceCharacter
= [ \t\n\r]
Space "space"
= $([ \t]+)
NewLine
= CarriageReturn / LineFeed / CarriageReturnLineFeed
CarriageReturnLineFeed
= CarriageReturn LineFeed
LineFeed
= "\n"
CarriageReturn
= "\r"
Escape
= "\\"