- and
ParseTree and(ParseTree p)
Undocumented in source. Be warned that the author may not have intended to support it.
- and
ParseTree and(string input)
Undocumented in source. Be warned that the author may not have intended to support it.
- and
string and(GetName g)
Undocumented in source. Be warned that the author may not have intended to support it.
- ctfeGetNameAnd
string ctfeGetNameAnd()
Undocumented in source. Be warned that the author may not have intended to support it.
Basic operator: it matches if all its subrules (stored in the rules template parameter tuple) match the input successively. Its subrules parse trees are stored as its children and its matches field will contain all its subrules matches, in order.
If it fails, the last children will contain the failed node. That way, when printing, as sort of diagnostic is given:
So we know the global 'and' failed, that the first sub-rule ('abc') succeeded on input[0..3] with "abc" and that the second subrule ('[a-z]') failed at position 3 (so, on '1').