{
  "type" : "Source",
  "positions" : {
    "begin" : {
      "line" : 1,
      "column" : 1
    },
    "end" : {
      "line" : 8,
      "column" : 1
    }
  },
  "stats" : [ {
    "type" : "Defn.Class",
    "positions" : {
      "begin" : {
        "line" : 1,
        "column" : 1
      },
      "end" : {
        "line" : 7,
        "column" : 2
      }
    },
    "mods" : [ ],
    "name" : {
      "type" : "Type.Name",
      "positions" : {
        "begin" : {
          "line" : 1,
          "column" : 7
        },
        "end" : {
          "line" : 1,
          "column" : 10
        }
      },
      "value" : "Fib"
    },
    "tparams" : [ ],
    "ctor" : {
      "type" : "Ctor.Primary",
      "positions" : {
        "begin" : {
          "line" : 1,
          "column" : 11
        },
        "end" : {
          "line" : 1,
          "column" : 11
        }
      },
      "mods" : [ ],
      "name" : {
        "type" : "Name.Anonymous",
        "positions" : {
          "begin" : {
            "line" : 1,
            "column" : 11
          },
          "end" : {
            "line" : 1,
            "column" : 11
          }
        },
        "value" : ""
      },
      "paramss" : [ ]
    },
    "templ" : {
      "type" : "Template",
      "positions" : {
        "begin" : {
          "line" : 1,
          "column" : 11
        },
        "end" : {
          "line" : 7,
          "column" : 2
        }
      },
      "early" : [ ],
      "inits" : [ ],
      "self" : {
        "type" : "Self",
        "positions" : {
          "begin" : {
            "line" : 2,
            "column" : 3
          },
          "end" : {
            "line" : 2,
            "column" : 3
          }
        },
        "name" : {
          "type" : "Name.Anonymous",
          "positions" : {
            "begin" : {
              "line" : 2,
              "column" : 3
            },
            "end" : {
              "line" : 2,
              "column" : 3
            }
          },
          "value" : ""
        }
      },
      "stats" : [ {
        "type" : "Defn.Def",
        "positions" : {
          "begin" : {
            "line" : 2,
            "column" : 3
          },
          "end" : {
            "line" : 6,
            "column" : 4
          }
        },
        "mods" : [ ],
        "name" : {
          "type" : "Term.Name",
          "positions" : {
            "begin" : {
              "line" : 2,
              "column" : 7
            },
            "end" : {
              "line" : 2,
              "column" : 10
            }
          },
          "value" : "fib"
        },
        "tparams" : [ ],
        "paramss" : [ [ {
          "type" : "Term.Param",
          "positions" : {
            "begin" : {
              "line" : 2,
              "column" : 11
            },
            "end" : {
              "line" : 2,
              "column" : 17
            }
          },
          "mods" : [ ],
          "name" : {
            "type" : "Term.Name",
            "positions" : {
              "begin" : {
                "line" : 2,
                "column" : 11
              },
              "end" : {
                "line" : 2,
                "column" : 12
              }
            },
            "value" : "n"
          },
          "decltpe" : {
            "type" : "Type.Name",
            "positions" : {
              "begin" : {
                "line" : 2,
                "column" : 14
              },
              "end" : {
                "line" : 2,
                "column" : 17
              }
            },
            "value" : "Int"
          }
        } ] ],
        "decltpe" : {
          "type" : "Type.Name",
          "positions" : {
            "begin" : {
              "line" : 2,
              "column" : 20
            },
            "end" : {
              "line" : 2,
              "column" : 23
            }
          },
          "value" : "Int"
        },
        "body" : {
          "type" : "Term.Block",
          "positions" : {
            "begin" : {
              "line" : 2,
              "column" : 26
            },
            "end" : {
              "line" : 6,
              "column" : 4
            }
          },
          "stats" : [ {
            "type" : "Term.If",
            "positions" : {
              "begin" : {
                "line" : 3,
                "column" : 5
              },
              "end" : {
                "line" : 5,
                "column" : 29
              }
            },
            "cond" : {
              "type" : "Term.ApplyInfix",
              "positions" : {
                "begin" : {
                  "line" : 3,
                  "column" : 9
                },
                "end" : {
                  "line" : 3,
                  "column" : 15
                }
              },
              "lhs" : {
                "type" : "Term.Name",
                "positions" : {
                  "begin" : {
                    "line" : 3,
                    "column" : 9
                  },
                  "end" : {
                    "line" : 3,
                    "column" : 10
                  }
                },
                "value" : "n"
              },
              "op" : {
                "type" : "Term.Name",
                "positions" : {
                  "begin" : {
                    "line" : 3,
                    "column" : 11
                  },
                  "end" : {
                    "line" : 3,
                    "column" : 13
                  }
                },
                "value" : "=="
              },
              "targs" : [ ],
              "args" : [ {
                "type" : "Lit.Int",
                "positions" : {
                  "begin" : {
                    "line" : 3,
                    "column" : 14
                  },
                  "end" : {
                    "line" : 3,
                    "column" : 15
                  }
                },
                "value" : 0,
                "syntax" : "0"
              } ]
            },
            "thenp" : {
              "type" : "Lit.Int",
              "positions" : {
                "begin" : {
                  "line" : 3,
                  "column" : 17
                },
                "end" : {
                  "line" : 3,
                  "column" : 18
                }
              },
              "value" : 0,
              "syntax" : "0"
            },
            "elsep" : {
              "type" : "Term.If",
              "positions" : {
                "begin" : {
                  "line" : 4,
                  "column" : 10
                },
                "end" : {
                  "line" : 5,
                  "column" : 29
                }
              },
              "cond" : {
                "type" : "Term.ApplyInfix",
                "positions" : {
                  "begin" : {
                    "line" : 4,
                    "column" : 14
                  },
                  "end" : {
                    "line" : 4,
                    "column" : 30
                  }
                },
                "lhs" : {
                  "type" : "Term.ApplyInfix",
                  "positions" : {
                    "begin" : {
                      "line" : 4,
                      "column" : 14
                    },
                    "end" : {
                      "line" : 4,
                      "column" : 20
                    }
                  },
                  "lhs" : {
                    "type" : "Term.Name",
                    "positions" : {
                      "begin" : {
                        "line" : 4,
                        "column" : 14
                      },
                      "end" : {
                        "line" : 4,
                        "column" : 15
                      }
                    },
                    "value" : "n"
                  },
                  "op" : {
                    "type" : "Term.Name",
                    "positions" : {
                      "begin" : {
                        "line" : 4,
                        "column" : 16
                      },
                      "end" : {
                        "line" : 4,
                        "column" : 18
                      }
                    },
                    "value" : "=="
                  },
                  "targs" : [ ],
                  "args" : [ {
                    "type" : "Lit.Int",
                    "positions" : {
                      "begin" : {
                        "line" : 4,
                        "column" : 19
                      },
                      "end" : {
                        "line" : 4,
                        "column" : 20
                      }
                    },
                    "value" : 1,
                    "syntax" : "1"
                  } ]
                },
                "op" : {
                  "type" : "Term.Name",
                  "positions" : {
                    "begin" : {
                      "line" : 4,
                      "column" : 21
                    },
                    "end" : {
                      "line" : 4,
                      "column" : 23
                    }
                  },
                  "value" : "||"
                },
                "targs" : [ ],
                "args" : [ {
                  "type" : "Term.ApplyInfix",
                  "positions" : {
                    "begin" : {
                      "line" : 4,
                      "column" : 24
                    },
                    "end" : {
                      "line" : 4,
                      "column" : 30
                    }
                  },
                  "lhs" : {
                    "type" : "Term.Name",
                    "positions" : {
                      "begin" : {
                        "line" : 4,
                        "column" : 24
                      },
                      "end" : {
                        "line" : 4,
                        "column" : 25
                      }
                    },
                    "value" : "n"
                  },
                  "op" : {
                    "type" : "Term.Name",
                    "positions" : {
                      "begin" : {
                        "line" : 4,
                        "column" : 26
                      },
                      "end" : {
                        "line" : 4,
                        "column" : 28
                      }
                    },
                    "value" : "=="
                  },
                  "targs" : [ ],
                  "args" : [ {
                    "type" : "Lit.Int",
                    "positions" : {
                      "begin" : {
                        "line" : 4,
                        "column" : 29
                      },
                      "end" : {
                        "line" : 4,
                        "column" : 30
                      }
                    },
                    "value" : 2,
                    "syntax" : "2"
                  } ]
                } ]
              },
              "thenp" : {
                "type" : "Lit.Int",
                "positions" : {
                  "begin" : {
                    "line" : 4,
                    "column" : 32
                  },
                  "end" : {
                    "line" : 4,
                    "column" : 33
                  }
                },
                "value" : 1,
                "syntax" : "1"
              },
              "elsep" : {
                "type" : "Term.ApplyInfix",
                "positions" : {
                  "begin" : {
                    "line" : 5,
                    "column" : 10
                  },
                  "end" : {
                    "line" : 5,
                    "column" : 29
                  }
                },
                "lhs" : {
                  "type" : "Term.Apply",
                  "positions" : {
                    "begin" : {
                      "line" : 5,
                      "column" : 10
                    },
                    "end" : {
                      "line" : 5,
                      "column" : 18
                    }
                  },
                  "fun" : {
                    "type" : "Term.Name",
                    "positions" : {
                      "begin" : {
                        "line" : 5,
                        "column" : 10
                      },
                      "end" : {
                        "line" : 5,
                        "column" : 13
                      }
                    },
                    "value" : "fib"
                  },
                  "args" : [ {
                    "type" : "Term.ApplyInfix",
                    "positions" : {
                      "begin" : {
                        "line" : 5,
                        "column" : 14
                      },
                      "end" : {
                        "line" : 5,
                        "column" : 17
                      }
                    },
                    "lhs" : {
                      "type" : "Term.Name",
                      "positions" : {
                        "begin" : {
                          "line" : 5,
                          "column" : 14
                        },
                        "end" : {
                          "line" : 5,
                          "column" : 15
                        }
                      },
                      "value" : "n"
                    },
                    "op" : {
                      "type" : "Term.Name",
                      "positions" : {
                        "begin" : {
                          "line" : 5,
                          "column" : 15
                        },
                        "end" : {
                          "line" : 5,
                          "column" : 16
                        }
                      },
                      "value" : "-"
                    },
                    "targs" : [ ],
                    "args" : [ {
                      "type" : "Lit.Int",
                      "positions" : {
                        "begin" : {
                          "line" : 5,
                          "column" : 16
                        },
                        "end" : {
                          "line" : 5,
                          "column" : 17
                        }
                      },
                      "value" : 1,
                      "syntax" : "1"
                    } ]
                  } ]
                },
                "op" : {
                  "type" : "Term.Name",
                  "positions" : {
                    "begin" : {
                      "line" : 5,
                      "column" : 19
                    },
                    "end" : {
                      "line" : 5,
                      "column" : 20
                    }
                  },
                  "value" : "+"
                },
                "targs" : [ ],
                "args" : [ {
                  "type" : "Term.Apply",
                  "positions" : {
                    "begin" : {
                      "line" : 5,
                      "column" : 21
                    },
                    "end" : {
                      "line" : 5,
                      "column" : 29
                    }
                  },
                  "fun" : {
                    "type" : "Term.Name",
                    "positions" : {
                      "begin" : {
                        "line" : 5,
                        "column" : 21
                      },
                      "end" : {
                        "line" : 5,
                        "column" : 24
                      }
                    },
                    "value" : "fib"
                  },
                  "args" : [ {
                    "type" : "Term.ApplyInfix",
                    "positions" : {
                      "begin" : {
                        "line" : 5,
                        "column" : 25
                      },
                      "end" : {
                        "line" : 5,
                        "column" : 28
                      }
                    },
                    "lhs" : {
                      "type" : "Term.Name",
                      "positions" : {
                        "begin" : {
                          "line" : 5,
                          "column" : 25
                        },
                        "end" : {
                          "line" : 5,
                          "column" : 26
                        }
                      },
                      "value" : "n"
                    },
                    "op" : {
                      "type" : "Term.Name",
                      "positions" : {
                        "begin" : {
                          "line" : 5,
                          "column" : 26
                        },
                        "end" : {
                          "line" : 5,
                          "column" : 27
                        }
                      },
                      "value" : "-"
                    },
                    "targs" : [ ],
                    "args" : [ {
                      "type" : "Lit.Int",
                      "positions" : {
                        "begin" : {
                          "line" : 5,
                          "column" : 27
                        },
                        "end" : {
                          "line" : 5,
                          "column" : 28
                        }
                      },
                      "value" : 2,
                      "syntax" : "2"
                    } ]
                  } ]
                } ]
              }
            }
          } ]
        }
      } ]
    }
  } ]
}
