pyebnf/_hand_written_parser.py
def option_group(self, text):
    """option_group = "[" , expression , "]" ;"""
    self._attempting(text)
    return concatenation([
      "[",
      self.expression,
      "]"
    ], ignore_whitespace=True)(text).retyped(TokenType.option_group)
def option_group(self, text):
    """option_group = "[" , expression , "]" ;"""
    self._attempting(text)
    return concatenation([
      "[",
      self.expression,
      "]"
    ], ignore_whitespace=True)(text).retyped(TokenType.option_group)
def option_group ( self , text ) : self . _attempting ( text ) return concatenation ( [ "[" , self . expression , "]" ] , ignore_whitespace = True ) ( text ) . retyped ( TokenType . option_group )
option_group = "[" , expression , "]" ;
option_group = [ expression ] ;