t475.py.symtab 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537
  1. Sym_type: module
  2. Sym_name: top
  3. Sym_lineno: 0
  4. Sym_nested: False
  5. Sym_haschildren: True
  6. -- Identifiers --
  7. name: Counter
  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: Counter
  20. Sym_lineno: 23
  21. Sym_nested: False
  22. Sym_haschildren: True
  23. Class_methods: ['CounterIterator', '__init__', '__iter__']
  24. -- Identifiers --
  25. name: CounterIterator
  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: class
  37. Sym_name: CounterIterator
  38. Sym_lineno: 25
  39. Sym_nested: False
  40. Sym_haschildren: True
  41. Class_methods: ['__init__', '__iter__', 'next']
  42. -- Identifiers --
  43. name: __init__
  44. is_referenced: False
  45. is_imported: False
  46. is_parameter: False
  47. is_global: False
  48. is_declared_global: False
  49. is_local: True
  50. is_free: False
  51. is_assigned: True
  52. is_namespace: True
  53. namespaces: [
  54. Sym_type: function
  55. Sym_name: __init__
  56. Sym_lineno: 26
  57. Sym_nested: False
  58. Sym_haschildren: False
  59. Func_params: ['c', 'self']
  60. Func_locals: ['c', 'self']
  61. Func_globals: []
  62. Func_frees: []
  63. -- Identifiers --
  64. name: c
  65. is_referenced: True
  66. is_imported: False
  67. is_parameter: True
  68. is_global: False
  69. is_declared_global: False
  70. is_local: True
  71. is_free: False
  72. is_assigned: False
  73. is_namespace: False
  74. namespaces: [
  75. ]
  76. name: self
  77. is_referenced: True
  78. is_imported: False
  79. is_parameter: True
  80. is_global: False
  81. is_declared_global: False
  82. is_local: True
  83. is_free: False
  84. is_assigned: False
  85. is_namespace: False
  86. namespaces: [
  87. ]
  88. ]
  89. name: __iter__
  90. is_referenced: False
  91. is_imported: False
  92. is_parameter: False
  93. is_global: False
  94. is_declared_global: False
  95. is_local: True
  96. is_free: False
  97. is_assigned: True
  98. is_namespace: True
  99. namespaces: [
  100. Sym_type: function
  101. Sym_name: __iter__
  102. Sym_lineno: 36
  103. Sym_nested: False
  104. Sym_haschildren: False
  105. Func_params: ['self']
  106. Func_locals: ['self']
  107. Func_globals: []
  108. Func_frees: []
  109. -- Identifiers --
  110. name: self
  111. is_referenced: True
  112. is_imported: False
  113. is_parameter: True
  114. is_global: False
  115. is_declared_global: False
  116. is_local: True
  117. is_free: False
  118. is_assigned: False
  119. is_namespace: False
  120. namespaces: [
  121. ]
  122. ]
  123. name: next
  124. is_referenced: False
  125. is_imported: False
  126. is_parameter: False
  127. is_global: False
  128. is_declared_global: False
  129. is_local: True
  130. is_free: False
  131. is_assigned: True
  132. is_namespace: True
  133. namespaces: [
  134. Sym_type: function
  135. Sym_name: next
  136. Sym_lineno: 30
  137. Sym_nested: False
  138. Sym_haschildren: False
  139. Func_params: ['self']
  140. Func_locals: ['self']
  141. Func_globals: ['StopIteration']
  142. Func_frees: []
  143. -- Identifiers --
  144. name: StopIteration
  145. is_referenced: True
  146. is_imported: False
  147. is_parameter: False
  148. is_global: True
  149. is_declared_global: False
  150. is_local: False
  151. is_free: False
  152. is_assigned: False
  153. is_namespace: False
  154. namespaces: [
  155. ]
  156. name: self
  157. is_referenced: True
  158. is_imported: False
  159. is_parameter: True
  160. is_global: False
  161. is_declared_global: False
  162. is_local: True
  163. is_free: False
  164. is_assigned: False
  165. is_namespace: False
  166. namespaces: [
  167. ]
  168. ]
  169. ]
  170. name: __init__
  171. is_referenced: False
  172. is_imported: False
  173. is_parameter: False
  174. is_global: False
  175. is_declared_global: False
  176. is_local: True
  177. is_free: False
  178. is_assigned: True
  179. is_namespace: True
  180. namespaces: [
  181. Sym_type: function
  182. Sym_name: __init__
  183. Sym_lineno: 39
  184. Sym_nested: False
  185. Sym_haschildren: False
  186. Func_params: ['self', 'stop']
  187. Func_locals: ['self', 'stop']
  188. Func_globals: []
  189. Func_frees: []
  190. -- Identifiers --
  191. name: self
  192. is_referenced: True
  193. is_imported: False
  194. is_parameter: True
  195. is_global: False
  196. is_declared_global: False
  197. is_local: True
  198. is_free: False
  199. is_assigned: False
  200. is_namespace: False
  201. namespaces: [
  202. ]
  203. name: stop
  204. is_referenced: True
  205. is_imported: False
  206. is_parameter: True
  207. is_global: False
  208. is_declared_global: False
  209. is_local: True
  210. is_free: False
  211. is_assigned: False
  212. is_namespace: False
  213. namespaces: [
  214. ]
  215. ]
  216. name: __iter__
  217. is_referenced: False
  218. is_imported: False
  219. is_parameter: False
  220. is_global: False
  221. is_declared_global: False
  222. is_local: True
  223. is_free: False
  224. is_assigned: True
  225. is_namespace: True
  226. namespaces: [
  227. Sym_type: function
  228. Sym_name: __iter__
  229. Sym_lineno: 43
  230. Sym_nested: False
  231. Sym_haschildren: False
  232. Func_params: ['self']
  233. Func_locals: ['self']
  234. Func_globals: []
  235. Func_frees: []
  236. -- Identifiers --
  237. name: self
  238. is_referenced: True
  239. is_imported: False
  240. is_parameter: True
  241. is_global: False
  242. is_declared_global: False
  243. is_local: True
  244. is_free: False
  245. is_assigned: False
  246. is_namespace: False
  247. namespaces: [
  248. ]
  249. ]
  250. ]
  251. name: Squares
  252. is_referenced: False
  253. is_imported: False
  254. is_parameter: False
  255. is_global: False
  256. is_declared_global: False
  257. is_local: True
  258. is_free: False
  259. is_assigned: True
  260. is_namespace: True
  261. namespaces: [
  262. Sym_type: class
  263. Sym_name: Squares
  264. Sym_lineno: 7
  265. Sym_nested: False
  266. Sym_haschildren: True
  267. Class_methods: ['__getitem__', '__init__', '__len__']
  268. -- Identifiers --
  269. name: __getitem__
  270. is_referenced: False
  271. is_imported: False
  272. is_parameter: False
  273. is_global: False
  274. is_declared_global: False
  275. is_local: True
  276. is_free: False
  277. is_assigned: True
  278. is_namespace: True
  279. namespaces: [
  280. Sym_type: function
  281. Sym_name: __getitem__
  282. Sym_lineno: 15
  283. Sym_nested: False
  284. Sym_haschildren: False
  285. Func_params: ['i', 'self']
  286. Func_locals: ['i', 'n', 'self']
  287. Func_globals: ['IndexError', 'len']
  288. Func_frees: []
  289. -- Identifiers --
  290. name: IndexError
  291. is_referenced: True
  292. is_imported: False
  293. is_parameter: False
  294. is_global: True
  295. is_declared_global: False
  296. is_local: False
  297. is_free: False
  298. is_assigned: False
  299. is_namespace: False
  300. namespaces: [
  301. ]
  302. name: i
  303. is_referenced: True
  304. is_imported: False
  305. is_parameter: True
  306. is_global: False
  307. is_declared_global: False
  308. is_local: True
  309. is_free: False
  310. is_assigned: False
  311. is_namespace: False
  312. namespaces: [
  313. ]
  314. name: len
  315. is_referenced: True
  316. is_imported: False
  317. is_parameter: False
  318. is_global: True
  319. is_declared_global: False
  320. is_local: False
  321. is_free: False
  322. is_assigned: False
  323. is_namespace: False
  324. namespaces: [
  325. ]
  326. name: n
  327. is_referenced: True
  328. is_imported: False
  329. is_parameter: False
  330. is_global: False
  331. is_declared_global: False
  332. is_local: True
  333. is_free: False
  334. is_assigned: True
  335. is_namespace: False
  336. namespaces: [
  337. ]
  338. name: self
  339. is_referenced: True
  340. is_imported: False
  341. is_parameter: True
  342. is_global: False
  343. is_declared_global: False
  344. is_local: True
  345. is_free: False
  346. is_assigned: False
  347. is_namespace: False
  348. namespaces: [
  349. ]
  350. ]
  351. name: __init__
  352. is_referenced: False
  353. is_imported: False
  354. is_parameter: False
  355. is_global: False
  356. is_declared_global: False
  357. is_local: True
  358. is_free: False
  359. is_assigned: True
  360. is_namespace: True
  361. namespaces: [
  362. Sym_type: function
  363. Sym_name: __init__
  364. Sym_lineno: 9
  365. Sym_nested: False
  366. Sym_haschildren: False
  367. Func_params: ['max', 'self']
  368. Func_locals: ['max', 'self']
  369. Func_globals: []
  370. Func_frees: []
  371. -- Identifiers --
  372. name: max
  373. is_referenced: True
  374. is_imported: False
  375. is_parameter: True
  376. is_global: False
  377. is_declared_global: False
  378. is_local: True
  379. is_free: False
  380. is_assigned: False
  381. is_namespace: False
  382. namespaces: [
  383. ]
  384. name: self
  385. is_referenced: True
  386. is_imported: False
  387. is_parameter: True
  388. is_global: False
  389. is_declared_global: False
  390. is_local: True
  391. is_free: False
  392. is_assigned: False
  393. is_namespace: False
  394. namespaces: [
  395. ]
  396. ]
  397. name: __len__
  398. is_referenced: False
  399. is_imported: False
  400. is_parameter: False
  401. is_global: False
  402. is_declared_global: False
  403. is_local: True
  404. is_free: False
  405. is_assigned: True
  406. is_namespace: True
  407. namespaces: [
  408. Sym_type: function
  409. Sym_name: __len__
  410. Sym_lineno: 13
  411. Sym_nested: False
  412. Sym_haschildren: False
  413. Func_params: ['self']
  414. Func_locals: ['self']
  415. Func_globals: ['len']
  416. Func_frees: []
  417. -- Identifiers --
  418. name: len
  419. is_referenced: True
  420. is_imported: False
  421. is_parameter: False
  422. is_global: True
  423. is_declared_global: False
  424. is_local: False
  425. is_free: False
  426. is_assigned: False
  427. is_namespace: False
  428. namespaces: [
  429. ]
  430. name: self
  431. is_referenced: True
  432. is_imported: False
  433. is_parameter: True
  434. is_global: False
  435. is_declared_global: False
  436. is_local: True
  437. is_free: False
  438. is_assigned: False
  439. is_namespace: False
  440. namespaces: [
  441. ]
  442. ]
  443. ]
  444. name: helper
  445. is_referenced: True
  446. is_imported: False
  447. is_parameter: False
  448. is_global: False
  449. is_declared_global: False
  450. is_local: True
  451. is_free: False
  452. is_assigned: True
  453. is_namespace: True
  454. namespaces: [
  455. Sym_type: function
  456. Sym_name: helper
  457. Sym_lineno: 1
  458. Sym_nested: False
  459. Sym_haschildren: False
  460. Func_params: ['expect', 'got']
  461. Func_locals: ['expect', 'got']
  462. Func_globals: ['False', 'True']
  463. Func_frees: []
  464. -- Identifiers --
  465. name: False
  466. is_referenced: True
  467. is_imported: False
  468. is_parameter: False
  469. is_global: True
  470. is_declared_global: False
  471. is_local: False
  472. is_free: False
  473. is_assigned: False
  474. is_namespace: False
  475. namespaces: [
  476. ]
  477. name: True
  478. is_referenced: True
  479. is_imported: False
  480. is_parameter: False
  481. is_global: True
  482. is_declared_global: False
  483. is_local: False
  484. is_free: False
  485. is_assigned: False
  486. is_namespace: False
  487. namespaces: [
  488. ]
  489. name: expect
  490. is_referenced: True
  491. is_imported: False
  492. is_parameter: True
  493. is_global: False
  494. is_declared_global: False
  495. is_local: True
  496. is_free: False
  497. is_assigned: False
  498. is_namespace: False
  499. namespaces: [
  500. ]
  501. name: got
  502. is_referenced: True
  503. is_imported: False
  504. is_parameter: True
  505. is_global: False
  506. is_declared_global: False
  507. is_local: True
  508. is_free: False
  509. is_assigned: False
  510. is_namespace: False
  511. namespaces: [
  512. ]
  513. ]
  514. name: range
  515. is_referenced: True
  516. is_imported: False
  517. is_parameter: False
  518. is_global: True
  519. is_declared_global: False
  520. is_local: False
  521. is_free: False
  522. is_assigned: False
  523. is_namespace: False
  524. namespaces: [
  525. ]
  526. name: sum
  527. is_referenced: True
  528. is_imported: False
  529. is_parameter: False
  530. is_global: True
  531. is_declared_global: False
  532. is_local: False
  533. is_free: False
  534. is_assigned: False
  535. is_namespace: False
  536. namespaces: [
  537. ]