{
  "type" : "Source",
  "positions" : {
    "begin" : {
      "line" : 1,
      "column" : 1
    },
    "end" : {
      "line" : 7,
      "column" : 1
    }
  },
  "stats" : [ {
    "type" : "Defn.Class",
    "positions" : {
      "begin" : {
        "line" : 1,
        "column" : 1
      },
      "end" : {
        "line" : 6,
        "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" : 6,
          "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" : 5,
            "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"
          }
        }, {
          "type" : "Term.Param",
          "positions" : {
            "begin" : {
              "line" : 2,
              "column" : 19
            },
            "end" : {
              "line" : 2,
              "column" : 32
            }
          },
          "mods" : [ ],
          "name" : {
            "type" : "Term.Name",
            "positions" : {
              "begin" : {
                "line" : 2,
                "column" : 19
              },
              "end" : {
                "line" : 2,
                "column" : 23
              }
            },
            "value" : "prev"
          },
          "decltpe" : {
            "type" : "Type.Name",
            "positions" : {
              "begin" : {
                "line" : 2,
                "column" : 25
              },
              "end" : {
                "line" : 2,
                "column" : 28
              }
            },
            "value" : "Int"
          },
          "default" : {
            "type" : "Lit.Int",
            "positions" : {
              "begin" : {
                "line" : 2,
                "column" : 31
              },
              "end" : {
                "line" : 2,
                "column" : 32
              }
            },
            "value" : 1,
            "syntax" : "1"
          }
        }, {
          "type" : "Term.Param",
          "positions" : {
            "begin" : {
              "line" : 2,
              "column" : 34
            },
            "end" : {
              "line" : 2,
              "column" : 46
            }
          },
          "mods" : [ ],
          "name" : {
            "type" : "Term.Name",
            "positions" : {
              "begin" : {
                "line" : 2,
                "column" : 34
              },
              "end" : {
                "line" : 2,
                "column" : 37
              }
            },
            "value" : "acc"
          },
          "decltpe" : {
            "type" : "Type.Name",
            "positions" : {
              "begin" : {
                "line" : 2,
                "column" : 39
              },
              "end" : {
                "line" : 2,
                "column" : 42
              }
            },
            "value" : "Int"
          },
          "default" : {
            "type" : "Lit.Int",
            "positions" : {
              "begin" : {
                "line" : 2,
                "column" : 45
              },
              "end" : {
                "line" : 2,
                "column" : 46
              }
            },
            "value" : 0,
            "syntax" : "0"
          }
        } ] ],
        "decltpe" : {
          "type" : "Type.Name",
          "positions" : {
            "begin" : {
              "line" : 2,
              "column" : 49
            },
            "end" : {
              "line" : 2,
              "column" : 52
            }
          },
          "value" : "Int"
        },
        "body" : {
          "type" : "Term.Block",
          "positions" : {
            "begin" : {
              "line" : 2,
              "column" : 55
            },
            "end" : {
              "line" : 5,
              "column" : 4
            }
          },
          "stats" : [ {
            "type" : "Term.If",
            "positions" : {
              "begin" : {
                "line" : 3,
                "column" : 5
              },
              "end" : {
                "line" : 4,
                "column" : 35
              }
            },
            "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" : "Term.Name",
              "positions" : {
                "begin" : {
                  "line" : 3,
                  "column" : 17
                },
                "end" : {
                  "line" : 3,
                  "column" : 20
                }
              },
              "value" : "acc"
            },
            "elsep" : {
              "type" : "Term.Apply",
              "positions" : {
                "begin" : {
                  "line" : 4,
                  "column" : 10
                },
                "end" : {
                  "line" : 4,
                  "column" : 35
                }
              },
              "fun" : {
                "type" : "Term.Name",
                "positions" : {
                  "begin" : {
                    "line" : 4,
                    "column" : 10
                  },
                  "end" : {
                    "line" : 4,
                    "column" : 13
                  }
                },
                "value" : "fib"
              },
              "args" : [ {
                "type" : "Term.ApplyInfix",
                "positions" : {
                  "begin" : {
                    "line" : 4,
                    "column" : 14
                  },
                  "end" : {
                    "line" : 4,
                    "column" : 17
                  }
                },
                "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" : 15
                    },
                    "end" : {
                      "line" : 4,
                      "column" : 16
                    }
                  },
                  "value" : "-"
                },
                "targs" : [ ],
                "args" : [ {
                  "type" : "Lit.Int",
                  "positions" : {
                    "begin" : {
                      "line" : 4,
                      "column" : 16
                    },
                    "end" : {
                      "line" : 4,
                      "column" : 17
                    }
                  },
                  "value" : 1,
                  "syntax" : "1"
                } ]
              }, {
                "type" : "Term.Name",
                "positions" : {
                  "begin" : {
                    "line" : 4,
                    "column" : 19
                  },
                  "end" : {
                    "line" : 4,
                    "column" : 22
                  }
                },
                "value" : "acc"
              }, {
                "type" : "Term.ApplyInfix",
                "positions" : {
                  "begin" : {
                    "line" : 4,
                    "column" : 24
                  },
                  "end" : {
                    "line" : 4,
                    "column" : 34
                  }
                },
                "lhs" : {
                  "type" : "Term.Name",
                  "positions" : {
                    "begin" : {
                      "line" : 4,
                      "column" : 24
                    },
                    "end" : {
                      "line" : 4,
                      "column" : 28
                    }
                  },
                  "value" : "prev"
                },
                "op" : {
                  "type" : "Term.Name",
                  "positions" : {
                    "begin" : {
                      "line" : 4,
                      "column" : 29
                    },
                    "end" : {
                      "line" : 4,
                      "column" : 30
                    }
                  },
                  "value" : "+"
                },
                "targs" : [ ],
                "args" : [ {
                  "type" : "Term.Name",
                  "positions" : {
                    "begin" : {
                      "line" : 4,
                      "column" : 31
                    },
                    "end" : {
                      "line" : 4,
                      "column" : 34
                    }
                  },
                  "value" : "acc"
                } ]
              } ]
            }
          } ]
        }
      } ]
    }
  } ]
}
