84467b7cbaaa2931dc227bb0e46c3adac0ede663 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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. is {
  27. type {
  28. int_type_literal {
  29. }
  30. }
  31. constraint {
  32. int_type_literal {
  33. }
  34. }
  35. }
  36. }
  37. }
  38. }
  39. }
  40. }
  41. declarations {
  42. function {
  43. name {
  44. name: "Main"
  45. }
  46. param_pattern {
  47. }
  48. return_term {
  49. kind: Expression
  50. type {
  51. int_type_literal {
  52. }
  53. }
  54. }
  55. body {
  56. statements {
  57. return_expression_statement {
  58. expression {
  59. int_literal {
  60. value: 0
  61. }
  62. }
  63. }
  64. }
  65. }
  66. }
  67. }
  68. }