

def StoreAttribute(self, string='', **_):
    if self.verbose:
        logging.debug('Storing attribute %r', string)
    try:
        self.current_expression.SetAttribute(string)
    except AttributeError:
        raise ParseError(("Invalid attribute '%s'" % string))
    return 'OPERATOR'

dataset/ETHPy150Open google/grr/grr/lib/lexer.py SearchParser.StoreAttribute/original