def __init__(self, definition: str, *, location: Union[(nodes.Node, Tuple[(str, int)])], config: 'Config') -> None:
    self.definition = definition.strip()
    self.location = location
    self.config = config
    self.pos = 0
    self.end = len(self.definition)
    self.last_match = None
    self._previous_state = (0, None)
    self.otherErrors = []
    self.allowFallbackExpressionParsing = True
def __init__(self, definition: str, *, location: Union[(nodes.Node, Tuple[(str, int)])], config: 'Config') -> None:
    self.definition = definition.strip()
    self.location = location
    self.config = config
    self.pos = 0
    self.end = len(self.definition)
    self.last_match = None
    self._previous_state = (0, None)
    self.otherErrors = []
    self.allowFallbackExpressionParsing = True