t231.py.symtab 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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: 4
  21. Sym_nested: False
  22. Sym_haschildren: True
  23. Class_methods: ['abc']
  24. -- Identifiers --
  25. name: abc
  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: abc
  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. ]
  60. name: xyz
  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: True
  70. namespaces: [
  71. Sym_type: function
  72. Sym_name: xyz
  73. Sym_lineno: 1
  74. Sym_nested: False
  75. Sym_haschildren: False
  76. Func_params: []
  77. Func_locals: []
  78. Func_globals: []
  79. Func_frees: []
  80. -- Identifiers --
  81. ]