third_party/pythonparser/parser.py
def decorated(self, decorators, classfuncdef):
        """decorated: decorators (classdef | funcdef)"""
        classfuncdef.at_locs = list(map(lambda x: x[0], decorators))
        classfuncdef.decorator_list = list(map(lambda x: x[1], decorators))
        classfuncdef.loc = classfuncdef.loc.join(decorators[0][0])
        return classfuncdef
def decorated(self, decorators, classfuncdef):
        """decorated: decorators (classdef | funcdef)"""
        classfuncdef.at_locs = list(map(lambda x: x[0], decorators))
        classfuncdef.decorator_list = list(map(lambda x: x[1], decorators))
        classfuncdef.loc = classfuncdef.loc.join(decorators[0][0])
        return classfuncdef
def decorated ( self , decorators , classfuncdef ) : classfuncdef . at_locs = list ( map ( lambda x : x [ 0 ] , decorators ) ) classfuncdef . decorator_list = list ( map ( lambda x : x [ 1 ] , decorators ) ) classfuncdef . loc = classfuncdef . loc . join ( decorators [ 0 ] [ 0 ] ) return classfuncdef
decorated: decorators (classdef | funcdef)
decorated : decorators ( classdef | funcdef )