pyebnf/parser_base.py
def _attempting(self, text):
    """Keeps track of the furthest point in the source code the parser has reached to this point."""
    consumed = len(self.original_text) - len(text)
    self.most_consumed = max(consumed, self.most_consumed)
def _attempting(self, text):
    """Keeps track of the furthest point in the source code the parser has reached to this point."""
    consumed = len(self.original_text) - len(text)
    self.most_consumed = max(consumed, self.most_consumed)
Keeps track of the furthest point in the source code the parser has reached to this point.