Home | History | Annotate | Download | only in compiler

Lines Matching defs:decorators

227     def decorators(self, nodelist):
228 # decorators: decorator ([NEWLINE] decorator)* NEWLINE
233 return Decorators(items)
236 assert nodelist[0][0] == symbol.decorators
241 decorators = self.decorators(nodelist[0][1:])
243 cls.decorators = decorators
249 # funcdef: [decorators] 'def' NAME parameters ':' suite
253 assert nodelist[0][0] == symbol.decorators
254 decorators = self.decorators(nodelist[0][1:])
257 decorators = None
277 return Function(decorators, name, names, defaults, flags, doc, code,