2592ac23dae5631b900a05323bafadff16193ed6 866 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. compilation_unit {
  2. package_statement {
  3. package_name: "ExplorerTest"
  4. }
  5. is_api: true
  6. declarations {
  7. interface {
  8. name {
  9. name: "Vector"
  10. }
  11. members {
  12. interface_impl {
  13. impl_type {
  14. identifier {
  15. name: "Self"
  16. }
  17. }
  18. constraint {
  19. int_type_literal {
  20. }
  21. }
  22. }
  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. }