def _parse_string(self) -> str:
    if (self.current_char != '"'):
        return None
    startPos = self.pos
    self.pos += 1
    escape = False
    while True:
        if self.eof:
            self.fail('Unexpected end during inside string.')
        elif ((self.current_char == '"') and (not escape)):
            self.pos += 1
            break
        elif (self.current_char == '\\'):
            escape = True
        else:
            escape = False
        self.pos += 1
    return self.definition[startPos:self.pos]
def _parse_string(self) -> str:
    if (self.current_char != '"'):
        return None
    startPos = self.pos
    self.pos += 1
    escape = False
    while True:
        if self.eof:
            self.fail('Unexpected end during inside string.')
        elif ((self.current_char == '"') and (not escape)):
            self.pos += 1
            break
        elif (self.current_char == '\\'):
            escape = True
        else:
            escape = False
        self.pos += 1
    return self.definition[startPos:self.pos]