69db4f861b4949d098e5705e9392d06585a5c8a9 1.0 KB

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