discard

Calls 'r' on the input and then discard everything 'r' returned: no children, no match and index put at the end of the match. It's the low-level engine behind ':r'.

  1. ParseTree discard(ParseTree p)
    template discard(alias r)
  2. ParseTree discard(string input)
  3. string discard(GetName g)

Members

Functions

discard
ParseTree discard(ParseTree p)
Undocumented in source. Be warned that the author may not have intended to support it.
discard
ParseTree discard(string input)
Undocumented in source. Be warned that the author may not have intended to support it.
discard
string discard(GetName g)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta