| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157 |
- compilation_unit {
- package_statement {
- package_name: "ExplorerTest"
- }
- is_api: true
- declarations {
- namespace {
- name {
- name: "N"
- }
- }
- }
- declarations {
- interface {
- name {
- qualifiers: "N"
- name: "Interface"
- }
- }
- }
- declarations {
- class_declaration {
- name {
- qualifiers: "N"
- name: "A"
- }
- type_params {
- fields {
- generic_binding {
- name: "T"
- type {
- identifier {
- name: "Interface"
- }
- }
- }
- }
- }
- }
- }
- declarations {
- interface {
- name {
- qualifiers: "N"
- name: "B"
- }
- }
- }
- declarations {
- constraint {
- name {
- qualifiers: "N"
- name: "C"
- }
- }
- }
- declarations {
- mixin {
- name {
- qualifiers: "N"
- name: "D"
- }
- self {
- name: "Self"
- type {
- type_type_literal {
- }
- }
- }
- }
- }
- declarations {
- choice {
- name {
- qualifiers: "N"
- name: "E"
- }
- }
- }
- declarations {
- function {
- name {
- qualifiers: "N"
- name: "F"
- }
- deduced_parameters {
- name: "T"
- type {
- identifier {
- name: "Interface"
- }
- }
- }
- param_pattern {
- fields {
- binding_pattern {
- name: "a"
- type {
- expression_pattern {
- expression {
- call {
- function {
- identifier {
- name: "A"
- }
- }
- argument {
- tuple_literal {
- fields {
- identifier {
- name: "T"
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- return_term {
- kind: Omitted
- }
- body {
- }
- }
- }
- declarations {
- function {
- name {
- name: "Main"
- }
- param_pattern {
- }
- return_term {
- kind: Expression
- type {
- int_type_literal {
- }
- }
- }
- body {
- statements {
- return_expression_statement {
- expression {
- int_literal {
- value: 0
- }
- }
- }
- }
- }
- }
- }
- }
|