e65523d2761eec4d8f5c67e5fcbd9115c6b09f30 780 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. compilation_unit {
  2. package_statement {
  3. package_name: "ExplorerTest"
  4. }
  5. is_api: true
  6. declarations {
  7. variable {
  8. binding {
  9. name: "x"
  10. type {
  11. expression_pattern {
  12. expression {
  13. int_type_literal {
  14. }
  15. }
  16. }
  17. }
  18. }
  19. }
  20. }
  21. declarations {
  22. function {
  23. name {
  24. name: "Main"
  25. }
  26. param_pattern {
  27. }
  28. return_term {
  29. kind: Expression
  30. type {
  31. int_type_literal {
  32. }
  33. }
  34. }
  35. body {
  36. statements {
  37. return_expression_statement {
  38. expression {
  39. identifier {
  40. name: "x"
  41. }
  42. }
  43. }
  44. }
  45. }
  46. }
  47. }
  48. }