t367.trans 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. Module(body=[Assign(targets=[Name(id='x',
  2. ctx=Store())],
  3. value=BinOp(left=BinOp(left=Num(n=1),
  4. op=LShift(),
  5. right=Num(n=64)),
  6. op=Add(),
  7. right=Num(n=1))),
  8. Print(dest=None,
  9. values=[Name(id='x',
  10. ctx=Load())],
  11. nl=True),
  12. AugAssign(target=Name(id='x',
  13. ctx=Store()),
  14. op=RShift(),
  15. value=Num(n=3)),
  16. Print(dest=None,
  17. values=[Name(id='x',
  18. ctx=Load())],
  19. nl=True),
  20. Assign(targets=[Name(id='y',
  21. ctx=Store())],
  22. value=BinOp(left=Num(n=1),
  23. op=LShift(),
  24. right=Num(n=64))),
  25. Print(dest=None,
  26. values=[Name(id='y',
  27. ctx=Load())],
  28. nl=True),
  29. AugAssign(target=Name(id='y',
  30. ctx=Store()),
  31. op=Add(),
  32. value=Num(n=1)),
  33. Print(dest=None,
  34. values=[Name(id='y',
  35. ctx=Load())],
  36. nl=True),
  37. AugAssign(target=Name(id='y',
  38. ctx=Store()),
  39. op=BitAnd(),
  40. value=Num(n=1)),
  41. Print(dest=None,
  42. values=[Name(id='y',
  43. ctx=Load())],
  44. nl=True),
  45. Print(dest=None,
  46. values=[BinOp(left=BinOp(left=BinOp(left=Num(n=1),
  47. op=LShift(),
  48. right=Num(n=64)),
  49. op=Add(),
  50. right=Num(n=1)),
  51. op=BitAnd(),
  52. right=Num(n=1))],
  53. nl=True),
  54. Print(dest=None,
  55. values=[Compare(left=BinOp(left=BinOp(left=BinOp(left=Num(n=1),
  56. op=LShift(),
  57. right=Num(n=64)),
  58. op=Add(),
  59. right=Num(n=1)),
  60. op=BitAnd(),
  61. right=Num(n=1)),
  62. ops=[Eq()],
  63. comparators=[Num(n=0)])],
  64. nl=True)])