compilation_unit {
  package_statement {
    package_name: "ExplorerTest"
  }
  is_api: true
  declarations {
    class_declaration {
      name: "Point"
      members {
        variable {
          binding {
            name: "x"
            type {
              expression_pattern {
                expression {
                  int_type_literal {
                  }
                }
              }
            }
          }
        }
      }
      members {
        variable {
          binding {
            name: "y"
            type {
              expression_pattern {
                expression {
                  int_type_literal {
                  }
                }
              }
            }
          }
        }
      }
    }
  }
  declarations {
    variable {
      binding {
        name: "p"
        type {
          expression_pattern {
            expression {
              identifier {
                name: "Point"
              }
            }
          }
        }
      }
      initializer {
        struct_literal {
          fields {
            name: "x"
            expression {
              int_literal {
                value: 1
              }
            }
          }
          fields {
            name: "y"
            expression {
              int_literal {
                value: 2
              }
            }
          }
        }
      }
    }
  }
  declarations {
    function {
      name: "Main"
      param_pattern {
      }
      return_term {
        kind: Expression
        type {
          int_type_literal {
          }
        }
      }
      body {
        statements {
          return_statement {
            expression {
              primitive_operator {
                op: Sub
                arguments {
                  primitive_operator {
                    op: Sub
                    arguments {
                      simple_member_access {
                        field: "y"
                        object {
                          identifier {
                            name: "p"
                          }
                        }
                      }
                    }
                    arguments {
                      simple_member_access {
                        field: "x"
                        object {
                          identifier {
                            name: "p"
                          }
                        }
                      }
                    }
                  }
                }
                arguments {
                  int_literal {
                    value: 1
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
