hide ( parser -- parser )


Vocabulary
peg

Inputs
parsera parser


Outputs
parsera parser


Word description
Returns a parser that succeeds if the original parser succeeds, but does not put any result in the AST. Useful for ignoring 'syntax' in the AST.
"[" token hide number "]" token hide 3array seq


Definition


: hide ( parser -- parser ) [ drop ignore ] action ;