3cae75fc41ad5e693acc6c2235d28c86630d48a8 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. compilation_unit {
  2. package_statement {
  3. package_name: "ExplorerTest"
  4. }
  5. is_api: true
  6. declarations {
  7. interface {
  8. name {
  9. name: "FrobWith"
  10. }
  11. }
  12. }
  13. declarations {
  14. function {
  15. name {
  16. name: "F"
  17. }
  18. deduced_parameters {
  19. name: "T"
  20. type {
  21. call {
  22. function {
  23. identifier {
  24. name: "FrobWith"
  25. }
  26. }
  27. argument {
  28. tuple_literal {
  29. fields {
  30. designator {
  31. name: "Self"
  32. }
  33. }
  34. }
  35. }
  36. }
  37. }
  38. }
  39. deduced_parameters {
  40. name: "U"
  41. type {
  42. designator {
  43. name: "Self"
  44. }
  45. }
  46. }
  47. param_pattern {
  48. }
  49. return_term {
  50. kind: Omitted
  51. }
  52. body {
  53. }
  54. }
  55. }
  56. declarations {
  57. function {
  58. name {
  59. name: "Main"
  60. }
  61. param_pattern {
  62. }
  63. return_term {
  64. kind: Expression
  65. type {
  66. int_type_literal {
  67. }
  68. }
  69. }
  70. body {
  71. statements {
  72. return_expression_statement {
  73. expression {
  74. int_literal {
  75. value: 0
  76. }
  77. }
  78. }
  79. }
  80. }
  81. }
  82. }
  83. }