ff47496b2b3ab3be74aa5d310783eb4e07d8061f 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. compilation_unit {
  2. package_statement {
  3. package_name: "ExplorerTest"
  4. }
  5. is_api: true
  6. declarations {
  7. namespace {
  8. name {
  9. name: "N"
  10. }
  11. }
  12. }
  13. declarations {
  14. alias {
  15. name {
  16. name: "M"
  17. }
  18. target {
  19. identifier {
  20. name: "N"
  21. }
  22. }
  23. }
  24. }
  25. declarations {
  26. function {
  27. name {
  28. qualifiers: "M"
  29. name: "F"
  30. }
  31. param_pattern {
  32. }
  33. return_term {
  34. kind: Omitted
  35. }
  36. body {
  37. }
  38. }
  39. }
  40. declarations {
  41. function {
  42. name {
  43. name: "Main"
  44. }
  45. param_pattern {
  46. }
  47. return_term {
  48. kind: Expression
  49. type {
  50. int_type_literal {
  51. }
  52. }
  53. }
  54. body {
  55. statements {
  56. expression_statement {
  57. expression {
  58. call {
  59. function {
  60. simple_member_access {
  61. field: "F"
  62. object {
  63. identifier {
  64. name: "N"
  65. }
  66. }
  67. }
  68. }
  69. argument {
  70. tuple_literal {
  71. }
  72. }
  73. }
  74. }
  75. }
  76. }
  77. statements {
  78. return_expression_statement {
  79. expression {
  80. int_literal {
  81. value: 0
  82. }
  83. }
  84. }
  85. }
  86. }
  87. }
  88. }
  89. }