abe990a35bad5c0ed6f66289dac8b310bccf732a 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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_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. }