t543.py.symtab 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. Sym_type: module
  2. Sym_name: top
  3. Sym_lineno: 0
  4. Sym_nested: False
  5. Sym_haschildren: True
  6. -- Identifiers --
  7. name: MyClass
  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: MyClass
  20. Sym_lineno: 1
  21. Sym_nested: False
  22. Sym_haschildren: True
  23. Class_methods: ['my_method', 'my_method2']
  24. -- Identifiers --
  25. name: my_method
  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: my_method
  38. Sym_lineno: 2
  39. Sym_nested: False
  40. Sym_haschildren: False
  41. Func_params: ['mandatory_arg', 'more_args', 'self', 'x', 'y']
  42. Func_locals: ['mandatory_arg', 'more_args', 'self', 'x', 'y']
  43. Func_globals: ['str']
  44. Func_frees: []
  45. -- Identifiers --
  46. name: mandatory_arg
  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. name: more_args
  59. is_referenced: True
  60. is_imported: False
  61. is_parameter: True
  62. is_global: False
  63. is_declared_global: False
  64. is_local: True
  65. is_free: False
  66. is_assigned: False
  67. is_namespace: False
  68. namespaces: [
  69. ]
  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. name: str
  83. is_referenced: True
  84. is_imported: False
  85. is_parameter: False
  86. is_global: True
  87. is_declared_global: False
  88. is_local: False
  89. is_free: False
  90. is_assigned: False
  91. is_namespace: False
  92. namespaces: [
  93. ]
  94. name: x
  95. is_referenced: True
  96. is_imported: False
  97. is_parameter: True
  98. is_global: False
  99. is_declared_global: False
  100. is_local: True
  101. is_free: False
  102. is_assigned: False
  103. is_namespace: False
  104. namespaces: [
  105. ]
  106. name: y
  107. is_referenced: False
  108. is_imported: False
  109. is_parameter: True
  110. is_global: False
  111. is_declared_global: False
  112. is_local: True
  113. is_free: False
  114. is_assigned: False
  115. is_namespace: False
  116. namespaces: [
  117. ]
  118. ]
  119. name: my_method2
  120. is_referenced: False
  121. is_imported: False
  122. is_parameter: False
  123. is_global: False
  124. is_declared_global: False
  125. is_local: True
  126. is_free: False
  127. is_assigned: True
  128. is_namespace: True
  129. namespaces: [
  130. Sym_type: function
  131. Sym_name: my_method2
  132. Sym_lineno: 6
  133. Sym_nested: False
  134. Sym_haschildren: False
  135. Func_params: ['self']
  136. Func_locals: ['self']
  137. Func_globals: []
  138. Func_frees: []
  139. -- Identifiers --
  140. name: self
  141. is_referenced: True
  142. is_imported: False
  143. is_parameter: True
  144. is_global: False
  145. is_declared_global: False
  146. is_local: True
  147. is_free: False
  148. is_assigned: False
  149. is_namespace: False
  150. namespaces: [
  151. ]
  152. ]
  153. ]
  154. name: k
  155. is_referenced: True
  156. is_imported: False
  157. is_parameter: False
  158. is_global: False
  159. is_declared_global: False
  160. is_local: True
  161. is_free: False
  162. is_assigned: True
  163. is_namespace: False
  164. namespaces: [
  165. ]