t226.trans 4.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. Module(body=[For(target=Name(id='const',
  2. ctx=Store()),
  3. iter=Tuple(elts=[Num(n=1),
  4. Num(n=2),
  5. Num(n=3)],
  6. ctx=Load()),
  7. body=[Print(dest=None,
  8. values=[Name(id='const',
  9. ctx=Load())],
  10. nl=True)],
  11. orelse=[]),
  12. FunctionDef(name='f',
  13. args=arguments(args=[],
  14. vararg=None,
  15. kwarg=None,
  16. defaults=[]),
  17. body=[For(target=Name(id='const',
  18. ctx=Store()),
  19. iter=Tuple(elts=[Num(n=1),
  20. Num(n=2),
  21. Num(n=3)],
  22. ctx=Load()),
  23. body=[Print(dest=None,
  24. values=[Name(id='const',
  25. ctx=Load())],
  26. nl=True)],
  27. orelse=[]),
  28. For(target=Name(id='object',
  29. ctx=Store()),
  30. iter=Tuple(elts=[Num(n=1),
  31. Num(n=2),
  32. Num(n=3)],
  33. ctx=Load()),
  34. body=[Print(dest=None,
  35. values=[Name(id='object',
  36. ctx=Load())],
  37. nl=True)],
  38. orelse=[]),
  39. Assign(targets=[Name(id='instanceof',
  40. ctx=Store())],
  41. value=Num(n=5)),
  42. Assign(targets=[Name(id='void',
  43. ctx=Store())],
  44. value=Num(n=6)),
  45. Assign(targets=[Name(id='var',
  46. ctx=Store())],
  47. value=Num(n=7)),
  48. Assign(targets=[Name(id='delete',
  49. ctx=Store())],
  50. value=Num(n=8)),
  51. Assign(targets=[Name(id='switch',
  52. ctx=Store())],
  53. value=Num(n=9)),
  54. Assign(targets=[Name(id='default',
  55. ctx=Store())],
  56. value=Num(n=10)),
  57. Assign(targets=[Name(id='catch',
  58. ctx=Store())],
  59. value=Num(n=11)),
  60. Print(dest=None,
  61. values=[Name(id='instanceof',
  62. ctx=Load()),
  63. Name(id='void',
  64. ctx=Load()),
  65. Name(id='var',
  66. ctx=Load()),
  67. Name(id='delete',
  68. ctx=Load()),
  69. Name(id='switch',
  70. ctx=Load()),
  71. Name(id='default',
  72. ctx=Load()),
  73. Name(id='catch',
  74. ctx=Load())],
  75. nl=True)],
  76. decorator_list=[]),
  77. Expr(value=Call(func=Name(id='f',
  78. ctx=Load()),
  79. args=[],
  80. keywords=[],
  81. starargs=None,
  82. kwargs=None))])