9f7214ed05fbc790b9101054c0cac6f4f60de1c5 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. compilation_unit {
  2. package_statement {
  3. package_name: "ExplorerTest"
  4. }
  5. is_api: true
  6. declarations {
  7. function {
  8. name {
  9. name: "Main"
  10. }
  11. param_pattern {
  12. }
  13. return_term {
  14. kind: Expression
  15. type {
  16. int_type_literal {
  17. }
  18. }
  19. }
  20. body {
  21. statements {
  22. expression_statement {
  23. expression {
  24. call {
  25. function {
  26. identifier {
  27. name: "Print"
  28. }
  29. }
  30. argument {
  31. tuple_literal {
  32. fields {
  33. string_literal {
  34. value: "too"
  35. }
  36. }
  37. fields {
  38. string_literal {
  39. value: "many"
  40. }
  41. }
  42. fields {
  43. string_literal {
  44. value: "args"
  45. }
  46. }
  47. fields {
  48. string_literal {
  49. value: "to"
  50. }
  51. }
  52. fields {
  53. string_literal {
  54. value: "print"
  55. }
  56. }
  57. }
  58. }
  59. }
  60. }
  61. }
  62. }
  63. statements {
  64. return_expression_statement {
  65. expression {
  66. int_literal {
  67. value: 0
  68. }
  69. }
  70. }
  71. }
  72. }
  73. }
  74. }
  75. }