t499.py.symtab 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. Sym_type: module
  2. Sym_name: top
  3. Sym_lineno: 0
  4. Sym_nested: False
  5. Sym_haschildren: True
  6. -- Identifiers --
  7. name: MyTest
  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: MyTest
  20. Sym_lineno: 1
  21. Sym_nested: False
  22. Sym_haschildren: True
  23. Class_methods: ['__init__', 'length']
  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: 2
  39. Sym_nested: False
  40. Sym_haschildren: False
  41. Func_params: ['s', 'self']
  42. Func_locals: ['s', 'self']
  43. Func_globals: []
  44. Func_frees: []
  45. -- Identifiers --
  46. name: s
  47. is_referenced: True
  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: self
  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. ]
  71. name: length
  72. is_referenced: False
  73. is_imported: False
  74. is_parameter: False
  75. is_global: False
  76. is_declared_global: False
  77. is_local: True
  78. is_free: False
  79. is_assigned: True
  80. is_namespace: True
  81. namespaces: [
  82. Sym_type: function
  83. Sym_name: length
  84. Sym_lineno: 5
  85. Sym_nested: False
  86. Sym_haschildren: False
  87. Func_params: ['self']
  88. Func_locals: ['self']
  89. Func_globals: ['len']
  90. Func_frees: []
  91. -- Identifiers --
  92. name: len
  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. ]
  118. name: x
  119. is_referenced: True
  120. is_imported: False
  121. is_parameter: False
  122. is_global: False
  123. is_declared_global: False
  124. is_local: True
  125. is_free: False
  126. is_assigned: True
  127. is_namespace: False
  128. namespaces: [
  129. ]