t146.py.symtab 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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: False
  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: False
  23. Class_methods: []
  24. -- Identifiers --
  25. ]
  26. name: test
  27. is_referenced: True
  28. is_imported: False
  29. is_parameter: False
  30. is_global: False
  31. is_declared_global: False
  32. is_local: True
  33. is_free: False
  34. is_assigned: True
  35. is_namespace: True
  36. namespaces: [
  37. Sym_type: function
  38. Sym_name: test
  39. Sym_lineno: 2
  40. Sym_nested: False
  41. Sym_haschildren: False
  42. Func_params: []
  43. Func_locals: ['y']
  44. Func_globals: ['X']
  45. Func_frees: []
  46. -- Identifiers --
  47. name: X
  48. is_referenced: True
  49. is_imported: False
  50. is_parameter: False
  51. is_global: True
  52. is_declared_global: False
  53. is_local: False
  54. is_free: False
  55. is_assigned: False
  56. is_namespace: False
  57. namespaces: [
  58. ]
  59. name: y
  60. is_referenced: False
  61. is_imported: False
  62. is_parameter: False
  63. is_global: False
  64. is_declared_global: False
  65. is_local: True
  66. is_free: False
  67. is_assigned: True
  68. is_namespace: False
  69. namespaces: [
  70. ]
  71. ]