ba79ad54a3664f4e5749ded96c86af21106c4a72 1.1 KB

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