t228.py.symtab 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. Sym_type: module
  2. Sym_name: top
  3. Sym_lineno: 0
  4. Sym_nested: False
  5. Sym_haschildren: True
  6. -- Identifiers --
  7. name: X
  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: X
  20. Sym_lineno: 1
  21. Sym_nested: False
  22. Sym_haschildren: True
  23. Class_methods: ['stuff']
  24. -- Identifiers --
  25. name: stuff
  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: stuff
  38. Sym_lineno: 2
  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. ]
  60. name: f
  61. is_referenced: True
  62. is_imported: False
  63. is_parameter: False
  64. is_global: False
  65. is_declared_global: False
  66. is_local: True
  67. is_free: False
  68. is_assigned: True
  69. is_namespace: False
  70. namespaces: [
  71. ]
  72. name: fu
  73. is_referenced: True
  74. is_imported: False
  75. is_parameter: False
  76. is_global: False
  77. is_declared_global: False
  78. is_local: True
  79. is_free: False
  80. is_assigned: True
  81. is_namespace: False
  82. namespaces: [
  83. ]
  84. name: getattr
  85. is_referenced: True
  86. is_imported: False
  87. is_parameter: False
  88. is_global: True
  89. is_declared_global: False
  90. is_local: False
  91. is_free: False
  92. is_assigned: False
  93. is_namespace: False
  94. namespaces: [
  95. ]
  96. name: x
  97. is_referenced: True
  98. is_imported: False
  99. is_parameter: False
  100. is_global: False
  101. is_declared_global: False
  102. is_local: True
  103. is_free: False
  104. is_assigned: True
  105. is_namespace: False
  106. namespaces: [
  107. ]