pyebnf/compiler.py
def _expression_to_asn(self, expression):
    """Convert an expression to an Abstract Syntax Tree Node."""
    new_children = [self._node_to_asn(c) for c in expression.children]
    return self._remove_grouping_groups(infix_to_optree(new_children))
def _expression_to_asn(self, expression):
    """Convert an expression to an Abstract Syntax Tree Node."""
    new_children = [self._node_to_asn(c) for c in expression.children]
    return self._remove_grouping_groups(infix_to_optree(new_children))
Convert an expression to an Abstract Syntax Tree Node.