pyebnf/_hand_written_parser.py
def expression_terminal(self, text):
    """expression_terminal = identifier
                           | terminal
                           | option_group
                           | repetition_group
                           | grouping_group
                           | special_handling ;
    """
    self._attempting(text)
    return alternation([
      self.identifier,
      self.terminal,
      self.option_group,
      self.repetition_group,
      self.grouping_group,
      self.special_handling
    ])(text)
def expression_terminal(self, text):
    """expression_terminal = identifier
                           | terminal
                           | option_group
                           | repetition_group
                           | grouping_group
                           | special_handling ;
    """
    self._attempting(text)
    return alternation([
      self.identifier,
      self.terminal,
      self.option_group,
      self.repetition_group,
      self.grouping_group,
      self.special_handling
    ])(text)
expression_terminal = identifier
                           | terminal
                           | option_group
                           | repetition_group
                           | grouping_group
                           | special_handling ;