5318fd00c25f2fd65c5e8d90291bb477ea229fdb 963 B

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