15005ba56570844e2a9ab20299631f8ffedc38c6 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. compilation_unit {
  2. package_statement {
  3. package_name: "ExplorerTest"
  4. }
  5. is_api: true
  6. declarations {
  7. class_declaration {
  8. name {
  9. name: "C"
  10. }
  11. }
  12. }
  13. declarations {
  14. function {
  15. name {
  16. name: "F"
  17. }
  18. deduced_parameters {
  19. name: "T"
  20. type {
  21. operator {
  22. op: BitwiseAnd
  23. arguments {
  24. type_type_literal {
  25. }
  26. }
  27. arguments {
  28. identifier {
  29. name: "C"
  30. }
  31. }
  32. }
  33. }
  34. }
  35. param_pattern {
  36. }
  37. return_term {
  38. kind: Omitted
  39. }
  40. }
  41. }
  42. declarations {
  43. function {
  44. name {
  45. name: "Main"
  46. }
  47. param_pattern {
  48. }
  49. return_term {
  50. kind: Expression
  51. type {
  52. int_type_literal {
  53. }
  54. }
  55. }
  56. body {
  57. statements {
  58. return_expression_statement {
  59. expression {
  60. int_literal {
  61. value: 0
  62. }
  63. }
  64. }
  65. }
  66. }
  67. }
  68. }
  69. }