57eba240b39df476aa0a6a3a23f8f01eb21b6143 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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. interface {
  15. name {
  16. name: "B"
  17. }
  18. }
  19. }
  20. declarations {
  21. impl {
  22. kind: ExternalImpl
  23. impl_type {
  24. int_type_literal {
  25. }
  26. }
  27. interface {
  28. operator {
  29. op: BitwiseAnd
  30. arguments {
  31. call {
  32. function {
  33. identifier {
  34. name: "A"
  35. }
  36. }
  37. argument {
  38. tuple_literal {
  39. fields {
  40. identifier {
  41. name: "T"
  42. }
  43. }
  44. }
  45. }
  46. }
  47. }
  48. arguments {
  49. identifier {
  50. name: "B"
  51. }
  52. }
  53. }
  54. }
  55. }
  56. }
  57. declarations {
  58. function {
  59. name {
  60. name: "Main"
  61. }
  62. param_pattern {
  63. }
  64. return_term {
  65. kind: Expression
  66. type {
  67. int_type_literal {
  68. }
  69. }
  70. }
  71. body {
  72. statements {
  73. return_expression_statement {
  74. expression {
  75. int_literal {
  76. value: 0
  77. }
  78. }
  79. }
  80. }
  81. }
  82. }
  83. }
  84. }