478394f347dda8510b53f7e921203c5886a7e8e6 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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: "Printing {0}"
  35. }
  36. }
  37. fields {
  38. int_literal {
  39. value: 1
  40. }
  41. }
  42. }
  43. }
  44. }
  45. }
  46. }
  47. }
  48. statements {
  49. return_expression_statement {
  50. expression {
  51. int_literal {
  52. value: 0
  53. }
  54. }
  55. }
  56. }
  57. }
  58. }
  59. }
  60. }