Searched refs:func_code (Results 1 - 2 of 2) sorted by relevance

/gem5/ext/ply/ply/
H A Dlex.py51 def func_code(f): function
52 return f.func_code
54 def func_code(f): function
360 func_code(func).co_filename, func_code(func).co_firstlineno,
682 line = func_code(t).co_firstlineno
683 file = func_code(t).co_filename
709 f.sort(lambda x,y: cmp(func_code(x[1]).co_firstlineno,func_code(y[1]).co_firstlineno))
712 f.sort(key=lambda x: func_code(
[all...]
H A Dyacc.py91 def func_code(f): function
92 return f.func_code
94 def func_code(f): function
2880 eline = func_code(self.error_func).co_firstlineno
2881 efile = func_code(self.error_func).co_filename
2884 if (func_code(self.error_func).co_argcount != 1+ismethod):
2964 line = func_code(item).co_firstlineno
2965 file = func_code(item).co_filename
2988 if func_code(func).co_argcount > reqargs:
2991 elif func_code(fun
[all...]

Completed in 21 milliseconds