1191f8daa134f3932d68bd24f270b2286a87560b 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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. function {
  15. name {
  16. qualifiers: "N"
  17. name: "F"
  18. }
  19. param_pattern {
  20. }
  21. return_term {
  22. kind: Expression
  23. type {
  24. int_type_literal {
  25. }
  26. }
  27. }
  28. body {
  29. statements {
  30. return_expression_statement {
  31. expression {
  32. int_literal {
  33. value: 0
  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. call {
  60. function {
  61. identifier {
  62. name: "F"
  63. }
  64. }
  65. argument {
  66. tuple_literal {
  67. }
  68. }
  69. }
  70. }
  71. }
  72. }
  73. }
  74. }
  75. }
  76. }