Parser.opBinary

dsl for alternatives e.g. match("abc") | match("def") matches "abc" or "def"

  1. Parser opBinary(Variant[] function(Variant[] objects) toCall)
  2. Parser opBinary(Parser rhs)
    class Parser(T)
    opBinary
    (
    string op
    )
    if (
    op == "|"
    )
  3. Parser opBinary(Parser rhs)

Meta