cd7abde20f670fdcd4f1dc6c46514391a210b633 860 B

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