pyebnf/compiler.py
def _ast_option_group_to_code(self, option_group, **kwargs):
    """Convert an AST option group to python source code."""
    lines = ["option("]
    lines.extend(self._indent(self._ast_to_code(option_group.expression)))
    lines.append(")")
    return lines
def _ast_option_group_to_code(self, option_group, **kwargs):
    lines = ["option("]
    lines.extend(self._indent(self._ast_to_code(option_group.expression)))
    lines.append(")")
    return lines
def _ast_option_group_to_code ( self , option_group , * * kwargs ) : lines = [ "option(" ] lines . extend ( self . _indent ( self . _ast_to_code ( option_group . expression ) ) ) lines . append ( ")" ) return lines
Convert an AST option group to python source code.
Convert an AST option group to python source code .