t484.py.symtab 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. Sym_type: module
  2. Sym_name: top
  3. Sym_lineno: 0
  4. Sym_nested: False
  5. Sym_haschildren: True
  6. -- Identifiers --
  7. name: NameError
  8. is_referenced: True
  9. is_imported: False
  10. is_parameter: False
  11. is_global: True
  12. is_declared_global: False
  13. is_local: False
  14. is_free: False
  15. is_assigned: False
  16. is_namespace: False
  17. namespaces: [
  18. ]
  19. name: c
  20. is_referenced: True
  21. is_imported: False
  22. is_parameter: False
  23. is_global: False
  24. is_declared_global: False
  25. is_local: True
  26. is_free: False
  27. is_assigned: True
  28. is_namespace: False
  29. namespaces: [
  30. ]
  31. name: calculator
  32. is_referenced: True
  33. is_imported: False
  34. is_parameter: False
  35. is_global: False
  36. is_declared_global: False
  37. is_local: True
  38. is_free: False
  39. is_assigned: True
  40. is_namespace: True
  41. namespaces: [
  42. Sym_type: class
  43. Sym_name: calculator
  44. Sym_lineno: 1
  45. Sym_nested: False
  46. Sym_haschildren: True
  47. Class_methods: ['__init__', 'div']
  48. -- Identifiers --
  49. name: __init__
  50. is_referenced: False
  51. is_imported: False
  52. is_parameter: False
  53. is_global: False
  54. is_declared_global: False
  55. is_local: True
  56. is_free: False
  57. is_assigned: True
  58. is_namespace: True
  59. namespaces: [
  60. Sym_type: function
  61. Sym_name: __init__
  62. Sym_lineno: 3
  63. Sym_nested: False
  64. Sym_haschildren: False
  65. Func_params: ['self']
  66. Func_locals: ['self']
  67. Func_globals: []
  68. Func_frees: []
  69. -- Identifiers --
  70. name: self
  71. is_referenced: False
  72. is_imported: False
  73. is_parameter: True
  74. is_global: False
  75. is_declared_global: False
  76. is_local: True
  77. is_free: False
  78. is_assigned: False
  79. is_namespace: False
  80. namespaces: [
  81. ]
  82. ]
  83. name: div
  84. is_referenced: False
  85. is_imported: False
  86. is_parameter: False
  87. is_global: False
  88. is_declared_global: False
  89. is_local: True
  90. is_free: False
  91. is_assigned: True
  92. is_namespace: True
  93. namespaces: [
  94. Sym_type: function
  95. Sym_name: div
  96. Sym_lineno: 5
  97. Sym_nested: False
  98. Sym_haschildren: False
  99. Func_params: ['self', 'x', 'y']
  100. Func_locals: ['e', 'self', 'x', 'y']
  101. Func_globals: ['NameError', 'TypeError', 'ZeroDivisionError']
  102. Func_frees: []
  103. -- Identifiers --
  104. name: NameError
  105. is_referenced: True
  106. is_imported: False
  107. is_parameter: False
  108. is_global: True
  109. is_declared_global: False
  110. is_local: False
  111. is_free: False
  112. is_assigned: False
  113. is_namespace: False
  114. namespaces: [
  115. ]
  116. name: TypeError
  117. is_referenced: True
  118. is_imported: False
  119. is_parameter: False
  120. is_global: True
  121. is_declared_global: False
  122. is_local: False
  123. is_free: False
  124. is_assigned: False
  125. is_namespace: False
  126. namespaces: [
  127. ]
  128. name: ZeroDivisionError
  129. is_referenced: True
  130. is_imported: False
  131. is_parameter: False
  132. is_global: True
  133. is_declared_global: False
  134. is_local: False
  135. is_free: False
  136. is_assigned: False
  137. is_namespace: False
  138. namespaces: [
  139. ]
  140. name: e
  141. is_referenced: True
  142. is_imported: False
  143. is_parameter: False
  144. is_global: False
  145. is_declared_global: False
  146. is_local: True
  147. is_free: False
  148. is_assigned: True
  149. is_namespace: False
  150. namespaces: [
  151. ]
  152. name: self
  153. is_referenced: False
  154. is_imported: False
  155. is_parameter: True
  156. is_global: False
  157. is_declared_global: False
  158. is_local: True
  159. is_free: False
  160. is_assigned: False
  161. is_namespace: False
  162. namespaces: [
  163. ]
  164. name: x
  165. is_referenced: True
  166. is_imported: False
  167. is_parameter: True
  168. is_global: False
  169. is_declared_global: False
  170. is_local: True
  171. is_free: False
  172. is_assigned: False
  173. is_namespace: False
  174. namespaces: [
  175. ]
  176. name: y
  177. is_referenced: True
  178. is_imported: False
  179. is_parameter: True
  180. is_global: False
  181. is_declared_global: False
  182. is_local: True
  183. is_free: False
  184. is_assigned: False
  185. is_namespace: False
  186. namespaces: [
  187. ]
  188. ]
  189. ]
  190. name: e
  191. is_referenced: True
  192. is_imported: False
  193. is_parameter: False
  194. is_global: False
  195. is_declared_global: False
  196. is_local: True
  197. is_free: False
  198. is_assigned: True
  199. is_namespace: False
  200. namespaces: [
  201. ]
  202. name: x
  203. is_referenced: True
  204. is_imported: False
  205. is_parameter: False
  206. is_global: True
  207. is_declared_global: False
  208. is_local: False
  209. is_free: False
  210. is_assigned: False
  211. is_namespace: False
  212. namespaces: [
  213. ]