| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- compilation_unit {
- package_statement {
- package_name: "ExplorerTest"
- }
- is_api: true
- declarations {
- interface {
- name {
- name: "I"
- }
- }
- }
- declarations {
- function {
- name {
- name: "Main"
- }
- param_pattern {
- }
- return_term {
- kind: Expression
- type {
- int_type_literal {
- }
- }
- }
- body {
- statements {
- variable_definition {
- pattern {
- binding_pattern {
- name: "a"
- type {
- auto_pattern {
- }
- }
- }
- }
- init {
- where {
- base {
- identifier {
- name: "I"
- }
- }
- clauses {
- equals {
- lhs {
- designator {
- name: "Self"
- }
- }
- rhs {
- int_type_literal {
- }
- }
- }
- }
- }
- }
- is_returned: false
- }
- }
- statements {
- assign {
- lhs {
- identifier {
- name: "a"
- }
- }
- rhs {
- int_type_literal {
- }
- }
- op: Plain
- }
- }
- statements {
- return_expression_statement {
- expression {
- int_literal {
- value: 0
- }
- }
- }
- }
- }
- }
- }
- }
|