ae187d3c2a3f587cfc53c496fdaefc7237b5da06 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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: Expression
  15. type {
  16. call {
  17. function {
  18. identifier {
  19. name: "F"
  20. }
  21. }
  22. argument {
  23. tuple_literal {
  24. }
  25. }
  26. }
  27. }
  28. }
  29. body {
  30. statements {
  31. return_expression_statement {
  32. expression {
  33. type_type_literal {
  34. }
  35. }
  36. }
  37. }
  38. }
  39. }
  40. }
  41. declarations {
  42. function {
  43. name {
  44. name: "Main"
  45. }
  46. param_pattern {
  47. }
  48. return_term {
  49. kind: Expression
  50. type {
  51. int_type_literal {
  52. }
  53. }
  54. }
  55. body {
  56. statements {
  57. return_expression_statement {
  58. expression {
  59. identifier {
  60. name: "x"
  61. }
  62. }
  63. }
  64. }
  65. }
  66. }
  67. }
  68. }