Lines Matching refs:attr
57 def __getattr__(self, attr):
58 if attr == 'lexers':
62 if attr == 'lex_kwargs':
66 if attr == 'yacc_kwargs':
70 if attr == 'lex':
74 if attr == 'yacc':
78 if attr == 'current_lexer':
83 if attr == 'current_source':
88 if attr == 'current_line':
94 "'%s' object has no attribute '%s'" % (type(self), attr))