9475c489913e570bc90c01c9a867ce67b5640087 932 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. compilation_unit {
  2. package_statement {
  3. package_name: "ExplorerTest"
  4. }
  5. is_api: true
  6. declarations {
  7. variable {
  8. binding {
  9. name: "v"
  10. type {
  11. expression_pattern {
  12. expression {
  13. int_type_literal {
  14. }
  15. }
  16. }
  17. }
  18. }
  19. }
  20. }
  21. declarations {
  22. alias {
  23. name {
  24. name: "A"
  25. }
  26. target {
  27. identifier {
  28. name: "v"
  29. }
  30. }
  31. }
  32. }
  33. declarations {
  34. function {
  35. name {
  36. name: "Main"
  37. }
  38. param_pattern {
  39. }
  40. return_term {
  41. kind: Expression
  42. type {
  43. int_type_literal {
  44. }
  45. }
  46. }
  47. body {
  48. statements {
  49. return_expression_statement {
  50. expression {
  51. int_literal {
  52. value: 0
  53. }
  54. }
  55. }
  56. }
  57. }
  58. }
  59. }
  60. }