b0104f7d6a22c98bb612f42cec045f64f0599507 1.1 KB

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