t553.py.symtab 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259
  1. Sym_type: module
  2. Sym_name: top
  3. Sym_lineno: 0
  4. Sym_nested: False
  5. Sym_haschildren: True
  6. -- Identifiers --
  7. name: GeneratorClass
  8. is_referenced: True
  9. is_imported: False
  10. is_parameter: False
  11. is_global: False
  12. is_declared_global: False
  13. is_local: True
  14. is_free: False
  15. is_assigned: True
  16. is_namespace: True
  17. namespaces: [
  18. Sym_type: class
  19. Sym_name: GeneratorClass
  20. Sym_lineno: 3
  21. Sym_nested: False
  22. Sym_haschildren: True
  23. Class_methods: ['__init__', 'generator', 'sleeping_generator']
  24. -- Identifiers --
  25. name: __init__
  26. is_referenced: False
  27. is_imported: False
  28. is_parameter: False
  29. is_global: False
  30. is_declared_global: False
  31. is_local: True
  32. is_free: False
  33. is_assigned: True
  34. is_namespace: True
  35. namespaces: [
  36. Sym_type: function
  37. Sym_name: __init__
  38. Sym_lineno: 5
  39. Sym_nested: False
  40. Sym_haschildren: False
  41. Func_params: ['self']
  42. Func_locals: ['self']
  43. Func_globals: []
  44. Func_frees: []
  45. -- Identifiers --
  46. name: self
  47. is_referenced: False
  48. is_imported: False
  49. is_parameter: True
  50. is_global: False
  51. is_declared_global: False
  52. is_local: True
  53. is_free: False
  54. is_assigned: False
  55. is_namespace: False
  56. namespaces: [
  57. ]
  58. ]
  59. name: generator
  60. is_referenced: False
  61. is_imported: False
  62. is_parameter: False
  63. is_global: False
  64. is_declared_global: False
  65. is_local: True
  66. is_free: False
  67. is_assigned: True
  68. is_namespace: True
  69. namespaces: [
  70. Sym_type: function
  71. Sym_name: generator
  72. Sym_lineno: 7
  73. Sym_nested: False
  74. Sym_haschildren: False
  75. Func_params: ['self']
  76. Func_locals: ['i', 'self']
  77. Func_globals: ['range']
  78. Func_frees: []
  79. -- Identifiers --
  80. name: i
  81. is_referenced: True
  82. is_imported: False
  83. is_parameter: False
  84. is_global: False
  85. is_declared_global: False
  86. is_local: True
  87. is_free: False
  88. is_assigned: True
  89. is_namespace: False
  90. namespaces: [
  91. ]
  92. name: range
  93. is_referenced: True
  94. is_imported: False
  95. is_parameter: False
  96. is_global: True
  97. is_declared_global: False
  98. is_local: False
  99. is_free: False
  100. is_assigned: False
  101. is_namespace: False
  102. namespaces: [
  103. ]
  104. name: self
  105. is_referenced: True
  106. is_imported: False
  107. is_parameter: True
  108. is_global: False
  109. is_declared_global: False
  110. is_local: True
  111. is_free: False
  112. is_assigned: False
  113. is_namespace: False
  114. namespaces: [
  115. ]
  116. ]
  117. name: sleeping_generator
  118. is_referenced: False
  119. is_imported: False
  120. is_parameter: False
  121. is_global: False
  122. is_declared_global: False
  123. is_local: True
  124. is_free: False
  125. is_assigned: True
  126. is_namespace: True
  127. namespaces: [
  128. Sym_type: function
  129. Sym_name: sleeping_generator
  130. Sym_lineno: 11
  131. Sym_nested: False
  132. Sym_haschildren: False
  133. Func_params: ['self']
  134. Func_locals: ['i', 'self']
  135. Func_globals: ['range', 'sleep']
  136. Func_frees: []
  137. -- Identifiers --
  138. name: i
  139. is_referenced: True
  140. is_imported: False
  141. is_parameter: False
  142. is_global: False
  143. is_declared_global: False
  144. is_local: True
  145. is_free: False
  146. is_assigned: True
  147. is_namespace: False
  148. namespaces: [
  149. ]
  150. name: range
  151. is_referenced: True
  152. is_imported: False
  153. is_parameter: False
  154. is_global: True
  155. is_declared_global: False
  156. is_local: False
  157. is_free: False
  158. is_assigned: False
  159. is_namespace: False
  160. namespaces: [
  161. ]
  162. name: self
  163. is_referenced: True
  164. is_imported: False
  165. is_parameter: True
  166. is_global: False
  167. is_declared_global: False
  168. is_local: True
  169. is_free: False
  170. is_assigned: False
  171. is_namespace: False
  172. namespaces: [
  173. ]
  174. name: sleep
  175. is_referenced: True
  176. is_imported: False
  177. is_parameter: False
  178. is_global: True
  179. is_declared_global: False
  180. is_local: False
  181. is_free: False
  182. is_assigned: False
  183. is_namespace: False
  184. namespaces: [
  185. ]
  186. ]
  187. name: test
  188. is_referenced: False
  189. is_imported: False
  190. is_parameter: False
  191. is_global: False
  192. is_declared_global: False
  193. is_local: True
  194. is_free: False
  195. is_assigned: True
  196. is_namespace: False
  197. namespaces: [
  198. ]
  199. ]
  200. name: g
  201. is_referenced: True
  202. is_imported: False
  203. is_parameter: False
  204. is_global: False
  205. is_declared_global: False
  206. is_local: True
  207. is_free: False
  208. is_assigned: True
  209. is_namespace: False
  210. namespaces: [
  211. ]
  212. name: gen
  213. is_referenced: True
  214. is_imported: False
  215. is_parameter: False
  216. is_global: False
  217. is_declared_global: False
  218. is_local: True
  219. is_free: False
  220. is_assigned: True
  221. is_namespace: False
  222. namespaces: [
  223. ]
  224. name: list
  225. is_referenced: True
  226. is_imported: False
  227. is_parameter: False
  228. is_global: True
  229. is_declared_global: False
  230. is_local: False
  231. is_free: False
  232. is_assigned: False
  233. is_namespace: False
  234. namespaces: [
  235. ]
  236. name: sleep
  237. is_referenced: False
  238. is_imported: True
  239. is_parameter: False
  240. is_global: False
  241. is_declared_global: False
  242. is_local: True
  243. is_free: False
  244. is_assigned: False
  245. is_namespace: False
  246. namespaces: [
  247. ]
  248. name: x
  249. is_referenced: True
  250. is_imported: False
  251. is_parameter: False
  252. is_global: False
  253. is_declared_global: False
  254. is_local: True
  255. is_free: False
  256. is_assigned: True
  257. is_namespace: False
  258. namespaces: [
  259. ]