604e3189c3c6fdcd4ba5375a88614370264f92e1 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. compilation_unit {
  2. package_statement {
  3. package_name: "ExplorerTest"
  4. }
  5. is_api: true
  6. declarations {
  7. interface {
  8. name {
  9. name: "A"
  10. }
  11. }
  12. }
  13. declarations {
  14. alias {
  15. name {
  16. name: "B"
  17. }
  18. target {
  19. where {
  20. base {
  21. identifier {
  22. name: "A"
  23. }
  24. }
  25. clauses {
  26. impls {
  27. type {
  28. int_literal {
  29. value: 4
  30. }
  31. }
  32. constraint {
  33. identifier {
  34. name: "A"
  35. }
  36. }
  37. }
  38. }
  39. }
  40. }
  41. }
  42. }
  43. declarations {
  44. function {
  45. name {
  46. name: "Main"
  47. }
  48. param_pattern {
  49. }
  50. return_term {
  51. kind: Expression
  52. type {
  53. int_type_literal {
  54. }
  55. }
  56. }
  57. body {
  58. statements {
  59. return_expression_statement {
  60. expression {
  61. int_literal {
  62. value: 0
  63. }
  64. }
  65. }
  66. }
  67. }
  68. }
  69. }
  70. }