8f11bf2d763d565d4003e723c117c3b7fd5a54f0 837 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. deduced_parameters {
  12. name: "a"
  13. type {
  14. int_literal {
  15. value: 42
  16. }
  17. }
  18. }
  19. param_pattern {
  20. }
  21. return_term {
  22. kind: Omitted
  23. }
  24. }
  25. }
  26. declarations {
  27. function {
  28. name {
  29. name: "Main"
  30. }
  31. param_pattern {
  32. }
  33. return_term {
  34. kind: Expression
  35. type {
  36. int_type_literal {
  37. }
  38. }
  39. }
  40. body {
  41. statements {
  42. return_expression_statement {
  43. expression {
  44. int_literal {
  45. value: 0
  46. }
  47. }
  48. }
  49. }
  50. }
  51. }
  52. }
  53. }