pyebnf/_hand_written_parser.py
def operator(self, text):
    """operator = "|" | "." | "," | "-";"""
    self._attempting(text)
    return alternation([
      "|",
      ".",
      ",",
      "-"
    ])(text).retyped(TokenType.operator)
def operator(self, text):
    self._attempting(text)
    return alternation([
      "|",
      ".",
      ",",
      "-"
    ])(text).retyped(TokenType.operator)
def operator ( self , text ) : self . _attempting ( text ) return alternation ( [ "|" , "." , "," , "-" ] ) ( text ) . retyped ( TokenType . operator )
operator = "|" | "." | "," | "-";
operator = | | . | | - ;