All files

src/compiler/parser.panack

Green: covered; red: known zero; amber: unavailable. Blank lines are outside the executable-start-line denominator.

    1 import project/src/compiler/expression_contracts::{decode_string_literal, split_interpolated_string}
    2 pub import project/src/compiler/lexer::{lex, Token, Diagnostic, SourcePos, SourceSpan, TokenKind, TokenKind.Identifier, TokenKind.Number, TokenKind.DecimalNumber, TokenKind.StringLiteral, TokenKind.Punctuation}
    3 
    4 // Build located syntax and retain module metadata without enabling staged features.
    5 // Parsing errors refer to the original token stream, including import boundaries.
    6 
    7 pub enum Expr {
    8   // The sidecar retains exact explicit call-type spans for checked diagnostics.
    9   LocatedExpr(SourceSpan, Expr, [SourceSpan]),
   10   NatExpr(Nat),
   11   DecimalExpr(Str),
   12   StringExpr(Str),
   13   BoolExpr(Bool),
   14   NameExpr(Str),
   15   FunctionExpr(Str),
   16   AnonymousExpr(Str, [AnonymousParameter], Option[ParsedTypeRef], Expr),
   17   ArrayExpr([Expr]),
   18   UnaryExpr(Str, Expr),
   19   BinaryExpr(Str, Expr, Expr),
   20   // Callee, value arguments, and optional complete explicit type arguments.
   21   CallExpr(Str, [Expr], [Str]),
   22   // Raw dot calls retain the receiver and spelling until namespace resolution.
   23   DotCallExpr(Expr, Str, [Expr], [Str]),
   24   // Internal owned-call normalization after dot classification; never parsed syntax.
   25   OwnedCallExpr(Expr, Str, [Expr], [Str]),
   26   FieldExpr(Expr, Str),
   27   IndexExpr(Expr, Expr),
   28   IfExpr(Expr, Block, Block, Bool),
   29   BlockExpr(Block),
   30   MatchExpr(Expr, [MatchArm])
   31 }
   32 
   33 pub pure unlocated_expression(expression: Expr): Expr {
   34   mut result: Expr = expression
   35 
   36   match expression {
   37     LocatedExpr(position, value, located_type_argument_spans) => {
   38       result = unlocated_expression(value)
   39     },
   40     NatExpr(value) => {},
   41     DecimalExpr(text) => {},
   42     StringExpr(text) => {},
   43     BoolExpr(value) => {},
   44     NameExpr(name) => {},
   45     FunctionExpr(name) => {},
   46     AnonymousExpr(effect, parameters, result_type, body) => {},
   47     ArrayExpr(items) => {},
   48     UnaryExpr(operator, operand) => {},
   49     BinaryExpr(operator, left, right) => {},
   50     CallExpr(name, arguments, type_arguments) => {},
   51     OwnedCallExpr(target, name, arguments, types) => {},
   52     DotCallExpr(target, name, arguments, types) => {},
   53     FieldExpr(target, field) => {},
   54     IndexExpr(target, index) => {},
   55     IfExpr(condition, yes, no, has_else) => {},
   56     BlockExpr(block) => {},
   57     MatchExpr(subject, arms) => {}
   58   }
   59 
   60   result
   61 }
   62 
   63 pub record MatchPattern {
   64   variant: Str,
   65   bindings: [Str],
   66   span: SourceSpan
   67 }
   68 
   69 pub record MatchArm {
   70   pattern: MatchPattern,
   71   body: Expr
   72 }
   73 
   74 pub enum TopLevel {
   75   ImportDeclaration(Str),
   76   TypeDeclaration(Str, Str, Str, Expr),
   77   RecordDeclaration(Str, [Str], [RecordField]),
   78   EnumDeclaration(Str, [Str], [EnumVariant]),
   79   // Name, value parameters, return type, purity, async effect, body, type parameters.
   80   FunctionDeclaration(Str, [FunctionParameter], Str, Bool, Bool, Block, [Str])
   81 }
   82 
   83 pub record RecordField {
   84   name: Str,
   85   type_name: Str
   86 }
   87 
   88 pub record EnumVariant {
   89   name: Str,
   90   payload: [Str]
   91 }
   92 
   93 pub record FunctionParameter {
   94   name: Str,
   95   type_name: Str
   96 }
   97 
   98 pub record IndexedVariant {
   99   enum_name: Str,
  100   parameters: [Str],
  101   payload: [Str]
  102 }
  103 
  104 pub record Program {
  105   declarations: [TopLevel],
  106   type_indices: Map[Str, Nat],
  107   record_indices: Map[Str, Nat],
  108   enum_indices: Map[Str, Nat],
  109   function_indices: Map[Str, Nat],
  110   variants: Map[Str, IndexedVariant]
  111 }
  112 
  113 // Preserve source order for diagnostics/emission; indexes only accelerate lookup.
  114 // Separate namespaces and last-write wins reproduce the previous lookup scans,
  115 // including malformed programs inspected directly before resolver rejection.
  116 pub pure indexed_program(declarations: [TopLevel]): Program {
  117   mut types: Map[Str, Nat] = map()
  118   mut records: Map[Str, Nat] = map()
  119   mut enums: Map[Str, Nat] = map()
  120   mut functions: Map[Str, Nat] = map()
  121   mut variants: Map[Str, IndexedVariant] = map()
  122   mut index: Nat = 0
  123 
  124   for declaration in declarations {
  125     match declaration {
  126       ImportDeclaration(path) => {},
  127       TypeDeclaration(name, base, guard_name, guard) => {
  128         types = types.put(name, index)
  129       },
  130       RecordDeclaration(name, parameters, fields) => {
  131         records = records.put(name, index)
  132       },
  133       EnumDeclaration(name, parameters, values) => {
  134         enums = enums.put(name, index)
  135         for value in values {
  136           variants = variants.put(value.name, IndexedVariant(name, parameters, value.payload))
  137         }
  138       },
  139       FunctionDeclaration(name, parameters, return_type, is_pure, is_async, body, type_parameters) => {
  140         functions = functions.put(name, index)
  141       }
  142     }
  143     index = index + 1
  144   }
  145   Program(declarations, types, records, enums, functions, variants)
  146 }
  147 
  148 pub enum Statement {
  149   // Empty type text means an inferred explicit declaration (mut name = value).
  150   BindingStatement(Str, Str, Option[SourceSpan], Bool, Expr),
  151   // Plain = is resolved as declaration or assignment using the lexical scope.
  152   AssignmentStatement(Str, Expr),
  153   ExpressionStatement(Expr),
  154   WhileStatement(Expr, Block),
  155   ForStatement(Str, Expr, Block)
  156 }
  157 
  158 pub enum BlockValue {
  159   NoBlockValue,
  160   TailBlockValue(Expr)
  161 }
  162 
  163 pub record Block {
  164   statements: [Statement],
  165   value: BlockValue,
  166   span: Option[SourceSpan],
  167   statement_spans: [SourceSpan]
  168 }
  169 
  170 record ParsedExpr {
  171   value: Expr,
  172   next: Nat
  173 }
  174 
  175 record ParsedExprList {
  176   values: [Expr],
  177   next: Nat
  178 }
  179 
  180 record ParsedNameList {
  181   values: [Str],
  182   next: Nat
  183 }
  184 
  185 record ParsedMatchArmList {
  186   values: [MatchArm],
  187   next: Nat
  188 }
  189 
  190 pub record ParsedTypeRef {
  191   text: Str,
  192   span: SourceSpan,
  193   next: Nat
  194 }
  195 
  196 record ParsedImportPath {
  197   text: Str,
  198   next: Nat
  199 }
  200 
  201 record ParsedTypeRefList {
  202   values: [Str],
  203   spans: [SourceSpan],
  204   next: Nat
  205 }
  206 
  207 record ParsedBlock {
  208   value: Block,
  209   next: Nat
  210 }
  211 
  212 record ParsedTopLevel {
  213   value: TopLevel,
  214   type_spans: [SourceSpan],
  215   next: Nat
  216 }
  217 
  218 pure token_end_position(tokens: [Token], next: Nat): SourcePos {
  219   if next > 0 {
  220     last: Nat = next - 1
  221     if last < tokens.len() {
  222       token: Token = tokens[last]
  223       SourcePos(token.position.file, token.end, token.end_line, token.end_column)
  224     } else {
  225       SourcePos("", 0, 0, 0)
  226     }
  227   } else {
  228     SourcePos("", 0, 0, 0)
  229   }
  230 }
  231 
  232 pure token_span(tokens: [Token], start: Nat, next: Nat): SourceSpan {
  233   SourceSpan(token_position(tokens, start), token_end_position(tokens, next))
  234 }
  235 
  236 pure located_expression(tokens: [Token], index: Nat, next: Nat, value: Expr): Expr {
  237   LocatedExpr(
  238     SourceSpan(token_position(tokens, index), token_end_position(tokens, next)),
  239     unlocated_expression(value),
  240     expression_type_argument_spans(value)
  241   )
  242 }
  243 
  244 pure located_expression_with_type_argument_spans(
  245   tokens: [Token],
  246   index: Nat,
  247   next: Nat,
  248   value: Expr,
  249   type_argument_spans: [SourceSpan]
  250 ): Expr {
  251   LocatedExpr(
  252     SourceSpan(token_position(tokens, index), token_end_position(tokens, next)),
  253     unlocated_expression(value),
  254     type_argument_spans
  255   )
  256 }
  257 
  258 pub pure expression_type_argument_spans(expression: Expr): [SourceSpan] {
  259   match expression {
  260     LocatedExpr(span, value, type_argument_spans) => type_argument_spans,
  261     NatExpr(value) => [],
  262     DecimalExpr(text) => [],
  263     StringExpr(text) => [],
  264     BoolExpr(value) => [],
  265     NameExpr(name) => [],
  266     FunctionExpr(name) => [],
  267     AnonymousExpr(effect, parameters, result_type, body) => [],
  268     ArrayExpr(items) => [],
  269     UnaryExpr(operator, operand) => [],
  270     BinaryExpr(operator, left, right) => [],
  271     CallExpr(name, arguments, types) => [],
  272     OwnedCallExpr(target, name, arguments, types) => [],
  273     DotCallExpr(target, name, arguments, types) => [],
  274     FieldExpr(target, field) => [],
  275     IndexExpr(target, index) => [],
  276     IfExpr(condition, yes, no, has_else) => [],
  277     BlockExpr(block) => [],
  278     MatchExpr(subject, arms) => []
  279   }
  280 }
  281 
  282 pub pure expression_span(expression: Expr): Option[SourceSpan] {
  283   match expression {
  284     LocatedExpr(span, value, located_type_argument_spans) => Some(span),
  285     NatExpr(value) => None(),
  286     DecimalExpr(text) => None(),
  287     StringExpr(text) => None(),
  288     BoolExpr(value) => None(),
  289     NameExpr(name) => None(),
  290     FunctionExpr(name) => None(),
  291     AnonymousExpr(effect, parameters, result_type, body) => None(),
  292     ArrayExpr(items) => None(),
  293     UnaryExpr(operator, operand) => None(),
  294     BinaryExpr(operator, left, right) => None(),
  295     CallExpr(name, arguments, type_arguments) => None(),
  296     OwnedCallExpr(target, name, arguments, types) => None(),
  297     DotCallExpr(target, name, arguments, types) => None(),
  298     FieldExpr(target, field) => None(),
  299     IndexExpr(target, index) => None(),
  300     IfExpr(condition, yes, no, has_else) => None(),
  301     BlockExpr(block) => None(),
  302     MatchExpr(subject, arms) => None()
  303   }
  304 }
  305 
  306 // Postfix and binary parsers retain the left expression's original beginning.
  307 // An unlocated synthetic input stays unlocated rather than acquiring a guess.
  308 pure extended_expression(tokens: [Token], left: Expr, next: Nat, value: Expr): Expr {
  309   match expression_span(left) {
  310     Some(span) => LocatedExpr(SourceSpan(span.start, token_end_position(tokens, next)), value, []),
  311     None() => value
  312   }
  313 }
  314 
  315 pure extended_expression_with_type_argument_spans(
  316   tokens: [Token],
  317   left: Expr,
  318   next: Nat,
  319   value: Expr,
  320   type_argument_spans: [SourceSpan]
  321 ): Expr {
  322   match expression_span(left) {
  323     Some(span) => LocatedExpr(
  324       SourceSpan(span.start, token_end_position(tokens, next)),
  325       value,
  326       type_argument_spans
  327     ),
  328     None() => value
  329   }
  330 }
  331 
  332 record ParsedFunctionParameterList {
  333   values: [FunctionParameter],
  334   type_spans: [SourceSpan],
  335   next: Nat
  336 }
  337 
  338 // The splitter reports a decoded character offset. Walk the original token
  339 // to account for escape pairs and physical newlines in the source location.
  340 pure interpolation_position(token: Token, offset: Nat): SourcePos {
  341   mut raw: Nat = 1
  342   mut decoded: Nat = 0
  343   mut line = token.position.line
  344   mut column = token.position.column + 1
  345   while decoded < offset {
  346     if token.text[raw] == "\\" { raw = raw + 1; column = column + 1 }
  347     if token.text[raw] == "\n" { line = line + 1; column = 1 }
  348     else { column = column + 1 }
  349     raw = raw + 1
  350     decoded = decoded + 1
  351   }
  352   SourcePos(token.position.file, token.position.offset + raw, line, column)
  353 }
  354 
  355 pure parse_error(message: Str, position: SourcePos): Diagnostic {
  356   Diagnostic(message, position)
  357 }
  358 
  359 pure string_token_value(text: Str): Str {
  360   mut cursor: Nat = 1
  361   mut closing: Nat = text.len()
  362   mut escaped: Bool = false
  363   mut found: Bool = false
  364 
  365   while cursor < text.len() && !found {
  366     if escaped {
  367       escaped = false
  368     } else {
  369       if text[cursor] == "\\" {
  370         escaped = true
  371       } else {
  372         if text[cursor] == "\"" {
  373           closing = cursor
  374           found = true
  375         } else {
  376         }
  377       }
  378     }
  379     cursor = cursor + 1
  380   }
  381   text.slice(1, closing)
  382 }
  383 
  384 pure token_position(tokens: [Token], index: Nat): SourcePos {
  385   if index < tokens.len() {
  386     tokens[index].position
  387   } else {
  388     mut position: SourcePos = SourcePos("", 0, 1, 1)
  389     for token in tokens {
  390       position = SourcePos(token.position.file, token.end, token.end_line, token.end_column)
  391     }
  392     position
  393   }
  394 }
  395 
  396 pure parse_logical_import_path_tail(
  397   tokens: [Token],
  398   text: Str,
  399   index: Nat,
  400   has_separator: Bool
  401 ): Result[ParsedImportPath, Diagnostic] {
  402   if index < tokens.len() && tokens[index].text == "/" {
  403     segment_index: Nat = index + 1
  404     if segment_index >= tokens.len() ||
  405       (tokens[segment_index].kind != Identifier() && tokens[segment_index].text != "async") {
  406       Error(parse_error(
  407         "expected logical import path segment",
  408         token_position(tokens, segment_index)
  409       ))
  410     } else {
  411       segment: Str = tokens[segment_index].text
  412       parse_logical_import_path_tail(tokens, "${text}/${segment}", segment_index + 1, true)
  413     }
  414   } else {
  415     if index < tokens.len() && tokens[index].text == "." {
  416       suffix_index: Nat = index + 1
  417       if suffix_index >= tokens.len() ||
  418         tokens[suffix_index].kind != Identifier() ||
  419         tokens[suffix_index].text != "panack" {
  420         Error(parse_error(
  421           "logical import extension must be .panack",
  422           token_position(tokens, suffix_index)
  423         ))
  424       } else {
  425         if has_separator {
  426           Ok(ParsedImportPath(text, suffix_index + 1))
  427         } else {
  428           Error(parse_error("expected '/' in logical import path", token_position(tokens, index)))
  429         }
  430       }
  431     } else {
  432       if has_separator {
  433         Ok(ParsedImportPath(text, index))
  434       } else {
  435         Error(parse_error("expected '/' in logical import path", token_position(tokens, index)))
  436       }
  437     }
  438   }
  439 }
  440 
  441 pure parse_import_path(tokens: [Token], index: Nat): Result[ParsedImportPath, Diagnostic] {
  442   if index >= tokens.len() {
  443     Error(parse_error("expected import path", token_position(tokens, index)))
  444   } else {
  445     if tokens[index].kind == StringLiteral() {
  446       Ok(ParsedImportPath(string_token_value(tokens[index].text), index + 1))
  447     } else {
  448       if tokens[index].kind == Identifier() {
  449         parse_logical_import_path_tail(tokens, tokens[index].text, index + 1, false)
  450       } else {
  451         Error(parse_error("expected import path", token_position(tokens, index)))
  452       }
  453     }
  454   }
  455 }
  456 
  457 pure render_type_ref_list(types: [Str]): Str {
  458   mut output: Str = ""
  459   mut first: Bool = true
  460 
  461   for type_name in types {
  462     if first {
  463       first = false
  464     } else {
  465       output = output + ","
  466     }
  467     output = output + type_name
  468   }
  469 
  470   output
  471 }
  472 
  473 pure parse_type_ref_list_tail(
  474   tokens: [Token],
  475   values: [Str],
  476   spans: [SourceSpan],
  477   index: Nat
  478 ): Result[ParsedTypeRefList, Diagnostic] {
  479   if index >= tokens.len() {
  480     Error(parse_error("expected closing type bracket", token_position(tokens, index)))
  481   } else {
  482     if tokens[index].text == "]" {
  483       Ok(ParsedTypeRefList(values, spans, index + 1))
  484     } else {
  485       if tokens[index].text == "," {
  486         match parse_type_ref(tokens, index + 1) {
  487           Ok(parsed) => parse_type_ref_list_tail(
  488             tokens,
  489             values.append(parsed.text),
  490             spans.append(parsed.span),
  491             parsed.next
  492           ),
  493           Error(error) => Error(error)
  494         }
  495       } else {
  496         Error(parse_error("expected comma or closing type bracket", tokens[index].position))
  497       }
  498     }
  499   }
  500 }
  501 
  502 pure parse_type_ref_list(tokens: [Token], index: Nat): Result[ParsedTypeRefList, Diagnostic] {
  503   match parse_type_ref(tokens, index) {
  504     Ok(parsed) => {
  505       values: [Str] = [parsed.text]
  506       parse_type_ref_list_tail(tokens, values, [parsed.span], parsed.next)
  507     },
  508     Error(error) => Error(error)
  509   }
  510 }
  511 
  512 pub pure parse_reference_path(tokens: [Token], index: Nat): Result[ParsedTypeRef, Diagnostic] {
  513   if index >= tokens.len() || tokens[index].kind != Identifier() {
  514     Error(parse_error("expected reference name", token_position(tokens, index)))
  515   } else {
  516     mut name: Str = tokens[index].text
  517     mut cursor: Nat = index + 1
  518     mut invalid: Bool = false
  519     while cursor < tokens.len() && tokens[cursor].text == "." && !invalid {
  520       if cursor + 1 < tokens.len() && tokens[cursor + 1].kind == Identifier() {
  521         name = name + "." + tokens[cursor + 1].text
  522         cursor = cursor + 2
  523       } else {
  524         invalid = true
  525       }
  526     }
  527     if invalid {
  528       Error(parse_error("expected name after '.'", token_position(tokens, cursor + 1)))
  529     } else {
  530       Ok(ParsedTypeRef(name, token_span(tokens, index, cursor), cursor))
  531     }
  532   }
  533 }
  534 
  535 pure parse_type_ref(tokens: [Token], index: Nat): Result[ParsedTypeRef, Diagnostic] {
  536   if index >= tokens.len() {
  537     Error(parse_error("expected type", token_position(tokens, index)))
  538   } else {
  539     if tokens[index].text == "[" {
  540       match parse_type_ref(tokens, index + 1) {
  541         Ok(inner) => {
  542           if inner.next < tokens.len() && tokens[inner.next].text == "]" {
  543             text: Str = inner.text
  544             Ok(ParsedTypeRef("[${text}]", token_span(tokens, index, inner.next + 1), inner.next + 1))
  545           } else {
  546             Error(parse_error("expected closing type bracket", token_position(tokens, inner.next)))
  547           }
  548         },
  549         Error(error) => Error(error)
  550       }
  551     } else {
  552       if tokens[index].kind == Identifier() {
  553         match parse_reference_path(tokens, index) {
  554           Error(error) => Error(error),
  555           Ok(path) => {
  556             name: Str = path.text
  557             if path.next < tokens.len() && tokens[path.next].text == "[" {
  558               match parse_type_ref_list(tokens, path.next + 1) {
  559                 Ok(arguments) => {
  560                   argument_text: Str = render_type_ref_list(arguments.values)
  561                   Ok(ParsedTypeRef("${name}[${argument_text}]", token_span(tokens, index, arguments.next), arguments.next))
  562                 },
  563                 Error(error) => Error(error)
  564               }
  565             } else {
  566               Ok(ParsedTypeRef(name, token_span(tokens, index, path.next), path.next))
  567             }
  568           }
  569         }
  570       } else {
  571         Error(parse_error("expected type", tokens[index].position))
  572       }
  573     }
  574   }
  575 }
  576 
  577 pure parse_type_complete(tokens: [Token]): Result[Str, Diagnostic] {
  578   match parse_type_ref(tokens, 0) {
  579     Ok(parsed) => {
  580       if parsed.next == tokens.len() {
  581         Ok(parsed.text)
  582       } else {
  583         Error(parse_error("unexpected token after type", tokens[parsed.next].position))
  584       }
  585     },
  586     Error(error) => Error(error)
  587   }
  588 }
  589 
  590 pure parse_generic_parameter_tail(
  591   tokens: [Token],
  592   parameters: [Str],
  593   index: Nat
  594 ): Result[ParsedNameList, Diagnostic] {
  595   if index >= tokens.len() {
  596     Error(parse_error("expected closing type parameter bracket", token_position(tokens, index)))
  597   } else {
  598     if tokens[index].text == "]" {
  599       Ok(ParsedNameList(parameters, index + 1))
  600     } else {
  601       if tokens[index].text == "," {
  602         parameter_index: Nat = index + 1
  603         if parameter_index >= tokens.len() || tokens[parameter_index].kind != Identifier() {
  604           Error(parse_error("expected type parameter", token_position(tokens, parameter_index)))
  605         } else {
  606           parse_generic_parameter_tail(
  607             tokens,
  608             parameters.append(tokens[parameter_index].text),
  609             parameter_index + 1
  610           )
  611         }
  612       } else {
  613         Error(parse_error(
  614           "expected comma or closing type parameter bracket",
  615           tokens[index].position
  616         ))
  617       }
  618     }
  619   }
  620 }
  621 
  622 pure parse_generic_parameters(tokens: [Token], index: Nat): Result[ParsedNameList, Diagnostic] {
  623   if index >= tokens.len() || tokens[index].text != "[" {
  624     parameters: [Str] = []
  625     Ok(ParsedNameList(parameters, index))
  626   } else {
  627     first_index: Nat = index + 1
  628     if first_index >= tokens.len() || tokens[first_index].kind != Identifier() {
  629       Error(parse_error("expected type parameter", token_position(tokens, first_index)))
  630     } else {
  631       parameters: [Str] = [tokens[first_index].text]
  632       parse_generic_parameter_tail(tokens, parameters, first_index + 1)
  633     }
  634   }
  635 }
  636 
  637 pure parse_variant_payload_tail(
  638   tokens: [Token],
  639   payload: [Str],
  640   spans: [SourceSpan],
  641   index: Nat
  642 ): Result[ParsedTypeRefList, Diagnostic] {
  643   if index >= tokens.len() {
  644     Error(parse_error("expected closing variant parenthesis", token_position(tokens, index)))
  645   } else {
  646     if tokens[index].text == ")" {
  647       Ok(ParsedTypeRefList(payload, spans, index + 1))
  648     } else {
  649       if tokens[index].text == "," {
  650         match parse_type_ref(tokens, index + 1) {
  651           Ok(parsed) => parse_variant_payload_tail(
  652             tokens,
  653             payload.append(parsed.text),
  654             spans.append(parsed.span),
  655             parsed.next
  656           ),
  657           Error(error) => Error(error)
  658         }
  659       } else {
  660         Error(parse_error("expected comma or closing variant parenthesis", tokens[index].position))
  661       }
  662     }
  663   }
  664 }
  665 
  666 pure parse_variant_payload(tokens: [Token], index: Nat): Result[ParsedTypeRefList, Diagnostic] {
  667   if index < tokens.len() && tokens[index].text == ")" {
  668     payload: [Str] = []
  669     Ok(ParsedTypeRefList(payload, [], index + 1))
  670   } else {
  671     match parse_type_ref(tokens, index) {
  672       Ok(parsed) => {
  673         payload: [Str] = [parsed.text]
  674         parse_variant_payload_tail(tokens, payload, [parsed.span], parsed.next)
  675       },
  676       Error(error) => Error(error)
  677     }
  678   }
  679 }
  680 
  681 pure parse_expression_list_tail(
  682   tokens: [Token],
  683   values: [Expr],
  684   index: Nat,
  685   closing: Str
  686 ): Result[ParsedExprList, Diagnostic] {
  687   if index >= tokens.len() {
  688     Error(parse_error("expected ${closing}", token_position(tokens, index)))
  689   } else {
  690     if tokens[index].text == closing {
  691       Ok(ParsedExprList(values, index + 1))
  692     } else {
  693       if tokens[index].text == "," {
  694         match parse_expression(tokens, index + 1) {
  695           Ok(parsed) => parse_expression_list_tail(
  696             tokens,
  697             values.append(parsed.value),
  698             parsed.next,
  699             closing
  700           ),
  701           Error(error) => Error(error)
  702         }
  703       } else {
  704         Error(parse_error("expected comma or ${closing}", tokens[index].position))
  705       }
  706     }
  707   }
  708 }
  709 
  710 pure parse_expression_list(
  711   tokens: [Token],
  712   index: Nat,
  713   closing: Str
  714 ): Result[ParsedExprList, Diagnostic] {
  715   if index < tokens.len() && tokens[index].text == closing {
  716     values: [Expr] = []
  717     Ok(ParsedExprList(values, index + 1))
  718   } else {
  719     match parse_expression(tokens, index) {
  720       Ok(parsed) => {
  721         values: [Expr] = [parsed.value]
  722         parse_expression_list_tail(tokens, values, parsed.next, closing)
  723       },
  724       Error(error) => Error(error)
  725     }
  726   }
  727 }
  728 
  729 pure parse_pattern_bindings(
  730   tokens: [Token],
  731   bindings: [Str],
  732   index: Nat
  733 ): Result[ParsedNameList, Diagnostic] {
  734   if index >= tokens.len() {
  735     Error(parse_error("expected closing pattern parenthesis", token_position(tokens, index)))
  736   } else {
  737     if tokens[index].text == ")" {
  738       Ok(ParsedNameList(bindings, index + 1))
  739     } else {
  740       if tokens[index].kind != Identifier() {
  741         Error(parse_error("expected pattern binding", tokens[index].position))
  742       } else {
  743         next: Nat = index + 1
  744         values: [Str] = bindings.append(tokens[index].text)
  745         if next >= tokens.len() {
  746           Error(parse_error("expected closing pattern parenthesis", token_position(tokens, next)))
  747         } else {
  748           if tokens[next].text == ")" {
  749             Ok(ParsedNameList(values, next + 1))
  750           } else {
  751             if tokens[next].text == "," {
  752               if next + 1 < tokens.len() && tokens[next + 1].text == ")" {
  753                 Error(parse_error("expected pattern binding", tokens[next + 1].position))
  754               } else {
  755                 parse_pattern_bindings(tokens, values, next + 1)
  756               }
  757             } else {
  758               Error(parse_error(
  759                 "expected comma or closing pattern parenthesis",
  760                 tokens[next].position
  761               ))
  762             }
  763           }
  764         }
  765       }
  766     }
  767   }
  768 }
  769 
  770 pure parse_expression_body(tokens: [Token], index: Nat): Result[ParsedExpr, Diagnostic] {
  771   if index < tokens.len() && tokens[index].text == "{" {
  772     match parse_block(tokens, index) {
  773       Ok(block) => Ok(ParsedExpr(
  774         located_expression(tokens, index, block.next, BlockExpr(block.value)),
  775         block.next
  776       )),
  777       Error(error) => Error(error)
  778     }
  779   } else {
  780     parse_expression(tokens, index)
  781   }
  782 }
  783 
  784 pure parse_match_arms(
  785   tokens: [Token],
  786   arms: [MatchArm],
  787   index: Nat
  788 ): Result[ParsedMatchArmList, Diagnostic] {
  789   if index >= tokens.len() {
  790     Error(parse_error("expected closing match brace", token_position(tokens, index)))
  791   } else {
  792     if tokens[index].text == "}" {
  793       Ok(ParsedMatchArmList(arms, index + 1))
  794     } else {
  795       if tokens[index].kind != Identifier() {
  796         Error(parse_error("expected pattern variant", tokens[index].position))
  797       } else {
  798         match parse_reference_path(tokens, index) {
  799           Error(error) => Error(error),
  800           Ok(path) => {
  801             variant: Str = path.text
  802             opening_index: Nat = path.next
  803             if opening_index >= tokens.len() || tokens[opening_index].text != "(" {
  804               Error(parse_error(
  805                 "expected opening pattern parenthesis",
  806                 token_position(tokens, opening_index)
  807               ))
  808             } else {
  809               bindings: [Str] = []
  810               match parse_pattern_bindings(tokens, bindings, opening_index + 1) {
  811                 Ok(parsed_bindings) => {
  812                   if parsed_bindings.next >= tokens.len() ||
  813                     tokens[parsed_bindings.next].text != "=>" {
  814                     Error(parse_error(
  815                       "expected => after pattern",
  816                       token_position(tokens, parsed_bindings.next)
  817                     ))
  818                   } else {
  819                     match parse_expression_body(tokens, parsed_bindings.next + 1) {
  820                       Ok(body) => {
  821                         pattern: MatchPattern = MatchPattern(
  822                           variant,
  823                           parsed_bindings.values,
  824                           SourceSpan(
  825                             token_position(tokens, index),
  826                             token_end_position(tokens, parsed_bindings.next)
  827                           )
  828                         )
  829                         arm: MatchArm = MatchArm(pattern, body.value)
  830                         values: [MatchArm] = arms.append(arm)
  831                         if body.next >= tokens.len() {
  832                           Error(parse_error(
  833                             "expected closing match brace",
  834                             token_position(tokens, body.next)
  835                           ))
  836                         } else {
  837                           if tokens[body.next].text == "," {
  838                             parse_match_arms(tokens, values, body.next + 1)
  839                           } else {
  840                             if tokens[body.next].text == "}" {
  841                               Ok(ParsedMatchArmList(values, body.next + 1))
  842                             } else {
  843                               Error(parse_error(
  844                                 "expected comma or closing match brace",
  845                                 tokens[body.next].position
  846                               ))
  847                             }
  848                           }
  849                         }
  850                       },
  851                       Error(error) => Error(error)
  852                     }
  853                   }
  854                 },
  855                 Error(error) => Error(error)
  856               }
  857             }
  858           }
  859         }
  860       }
  861     }
  862   }
  863 }
  864 
  865 pure parse_match_expression(tokens: [Token], index: Nat): Result[ParsedExpr, Diagnostic] {
  866   match parse_expression(tokens, index + 1) {
  867     Ok(subject) => {
  868       if subject.next >= tokens.len() || tokens[subject.next].text != "{" {
  869         Error(parse_error("expected opening match brace", token_position(tokens, subject.next)))
  870       } else {
  871         arms: [MatchArm] = []
  872         match parse_match_arms(tokens, arms, subject.next + 1) {
  873           Ok(parsed_arms) => Ok(ParsedExpr(
  874             located_expression(
  875             tokens,
  876             index,
  877             parsed_arms.next,
  878             MatchExpr(subject.value, parsed_arms.values)
  879           ),
  880             parsed_arms.next
  881           )),
  882           Error(error) => Error(error)
  883         }
  884       }
  885     },
  886     Error(error) => Error(error)
  887   }
  888 }
  889 
  890 // A chain is exhaustive only when it ends in a written else block. This flag
  891 // belongs to parsing: an inner statement-only if must not force earlier arms
  892 // to produce compatible values, or accidentally make a partial chain a value.
  893 record ParsedConditional {
  894   expression: ParsedExpr,
  895   exhaustive: Bool
  896 }
  897 
  898 pure discard_block_result(block: Block): Block {
  899   statements: [Statement] = match block.value {
  900     NoBlockValue() => block.statements,
  901     TailBlockValue(value) => block.statements.append(ExpressionStatement(value))
  902   }
  903   spans = match block.value {
  904     NoBlockValue() => block.statement_spans,
  905     TailBlockValue(value) => match expression_span(value) {
  906       Some(site) => block.statement_spans.append(site), None() => block.statement_spans
  907     }
  908   }
  909   Block(statements, NoBlockValue(), block.span, spans)
  910 }
  911 
  912 pure parse_if_branches(
  913   tokens: [Token],
  914   index: Nat,
  915   condition: ParsedExpr,
  916   yes: ParsedBlock
  917 ): Result[ParsedConditional, Diagnostic] {
  918   if yes.next < tokens.len() && tokens[yes.next].text == "else" {
  919     alternative: Nat = yes.next + 1
  920     if alternative < tokens.len() && tokens[alternative].text == "if" {
  921       match parse_if_chain(tokens, alternative) {
  922         Error(error) => Error(error),
  923         Ok(chain) => {
  924           nested: ParsedExpr = chain.expression
  925           // Partial chains execute arm tails but discard their values. Retain
  926           // the located nested expression for diagnostics, maps and coverage.
  927           yes_block: Block = if chain.exhaustive {
  928             yes.value
  929           } else {
  930             discard_block_result(yes.value)
  931           }
  932           no_block: Block = if chain.exhaustive {
  933             Block([], TailBlockValue(nested.value), expression_span(nested.value), [])
  934           } else {
  935             Block([ExpressionStatement(nested.value)], NoBlockValue(), expression_span(nested.value), [token_span(tokens, alternative, nested.next)])
  936           }
  937           value: Expr = IfExpr(condition.value, yes_block, no_block, true)
  938           expression: ParsedExpr = ParsedExpr(
  939             located_expression(tokens, index, nested.next, value),
  940             nested.next
  941           )
  942           Ok(ParsedConditional(expression, chain.exhaustive))
  943         }
  944       }
  945     } else {
  946       match parse_block(tokens, alternative) {
  947         Ok(no) => {
  948           value: Expr = IfExpr(condition.value, yes.value, no.value, true)
  949           expression: ParsedExpr = ParsedExpr(
  950             located_expression(tokens, index, no.next, value),
  951             no.next
  952           )
  953           Ok(ParsedConditional(expression, true))
  954         },
  955         Error(error) => Error(error)
  956       }
  957     }
  958   } else {
  959     no: Block = Block([], NoBlockValue(), None(), [])
  960     value: Expr = IfExpr(condition.value, yes.value, no, false)
  961     expression: ParsedExpr = ParsedExpr(
  962       located_expression(tokens, index, yes.next, value),
  963       yes.next
  964     )
  965     Ok(ParsedConditional(expression, false))
  966   }
  967 }
  968 
  969 pure parse_if_chain(tokens: [Token], index: Nat): Result[ParsedConditional, Diagnostic] {
  970   match parse_expression(tokens, index + 1) {
  971     Ok(condition) => match parse_block(tokens, condition.next) {
  972       Ok(yes) => parse_if_branches(tokens, index, condition, yes),
  973       Error(error) => Error(error)
  974     },
  975     Error(error) => Error(error)
  976   }
  977 }
  978 
  979 pure parse_if_expression(tokens: [Token], index: Nat): Result[ParsedExpr, Diagnostic] {
  980   match parse_if_chain(tokens, index) {
  981     Ok(chain) => Ok(chain.expression),
  982     Error(error) => Error(error)
  983   }
  984 }
  985 
  986 pure parse_call_type_arguments(tokens: [Token], index: Nat): Result[ParsedTypeRefList, Diagnostic] {
  987   mut closing: Nat = index
  988   mut depth: Int = 0
  989   mut scanning: Bool = index < tokens.len() && tokens[index].text == "["
  990 
  991   while scanning && closing < tokens.len() {
  992     if tokens[closing].text == "[" {
  993       depth = depth + 1
  994     }
  995     if tokens[closing].text == "]" {
  996       depth = depth - 1
  997       if depth == 0 {
  998         scanning = false
  999       }
 1000     }
 1001     if scanning {
 1002       closing = closing + 1
 1003     }
 1004   }
 1005   if closing > index && closing + 1 < tokens.len() && tokens[closing + 1].text == "(" {
 1006     parse_type_ref_list(tokens, index + 1)
 1007   } else {
 1008     Ok(ParsedTypeRefList([], [], index))
 1009   }
 1010 }
 1011 
 1012 // Anonymous headers are parsed independently of contextual type checking. Missing
 1013 // annotations remain absent; they must not become guessed types in the parser.
 1014 pub record AnonymousParameter {
 1015   name: Str,
 1016   span: SourceSpan,
 1017   annotation: Option[ParsedTypeRef]
 1018 }
 1019 
 1020 pub record ParsedAnonymousHeader {
 1021   effect: Str,
 1022   parameters: [AnonymousParameter],
 1023   result: Option[ParsedTypeRef],
 1024   span: SourceSpan,
 1025   next: Nat
 1026 }
 1027 
 1028 pure anonymous_header_finish(
 1029   tokens: [Token], start: Nat, index: Nat, effect: Str,
 1030   parameters: [AnonymousParameter]
 1031 ): Result[ParsedAnonymousHeader, Diagnostic] {
 1032   mut next: Nat = index
 1033   mut result: Option[ParsedTypeRef] = None()
 1034   mut failure: Option[Diagnostic] = None()
 1035   if next < tokens.len() && tokens[next].text == ":" {
 1036     match parse_type_ref(tokens, next + 1) {
 1037       Error(problem) => { failure = Some(problem) },
 1038       Ok(parsed) => { result = Some(parsed); next = parsed.next }
 1039     }
 1040   }
 1041   match failure {
 1042     Some(problem) => Error(problem),
 1043     None() => {
 1044       if next >= tokens.len() || tokens[next].text != "=>" {
 1045         Error(parse_error("expected => after anonymous function parameters and result type", token_position(tokens, next)))
 1046       } else {
 1047         Ok(ParsedAnonymousHeader(effect, parameters, result,
 1048           token_span(tokens, start, next + 1), next + 1))
 1049       }
 1050     }
 1051   }
 1052 }
 1053 
 1054 pure anonymous_header_parameters(
 1055   tokens: [Token], start: Nat, index: Nat, effect: Str,
 1056   parameters: [AnonymousParameter]
 1057 ): Result[ParsedAnonymousHeader, Diagnostic] {
 1058   if index >= tokens.len() || tokens[index].kind != Identifier() {
 1059     Error(parse_error("expected anonymous function parameter name", token_position(tokens, index)))
 1060   } else {
 1061     name = tokens[index].text
 1062     mut next: Nat = index + 1
 1063     mut annotation: Option[ParsedTypeRef] = None()
 1064     mut failure: Option[Diagnostic] = None()
 1065     for parameter in parameters {
 1066       if parameter.name == name {
 1067         failure = Some(parse_error("anonymous function parameter " + name + " is declared more than once", tokens[index].position))
 1068       }
 1069     }
 1070     if failure == None() && next < tokens.len() && tokens[next].text == ":" {
 1071       match parse_type_ref(tokens, next + 1) {
 1072         Error(problem) => { failure = Some(problem) },
 1073         Ok(parsed) => { annotation = Some(parsed); next = parsed.next }
 1074       }
 1075     }
 1076     match failure {
 1077       Some(problem) => Error(problem),
 1078       None() => {
 1079         values = parameters.append(AnonymousParameter(name, token_span(tokens, index, next), annotation))
 1080         if next < tokens.len() && tokens[next].text == ")" {
 1081           anonymous_header_finish(tokens, start, next + 1, effect, values)
 1082         } else {
 1083           if next < tokens.len() && tokens[next].text == "," {
 1084             anonymous_header_parameters(tokens, start, next + 1, effect, values)
 1085           } else {
 1086             Error(parse_error("expected comma or closing parenthesis after anonymous function parameter", token_position(tokens, next)))
 1087           }
 1088         }
 1089       }
 1090     }
 1091   }
 1092 }
 1093 
 1094 // None means ordinary parenthesised syntax, so lookahead must not consume it.
 1095 // Explicit effect prefixes and a result colon identify an attempted lambda even
 1096 // if malformed, allowing a diagnostic at the actual missing token.
 1097 pub pure parse_anonymous_header(tokens: [Token], index: Nat): Result[Option[ParsedAnonymousHeader], Diagnostic] {
 1098   mut opening: Nat = index
 1099   mut effect: Str = "inferred"
 1100   if opening < tokens.len() && (tokens[opening].text == "pure" || tokens[opening].text == "async") {
 1101     effect = tokens[opening].text
 1102     opening = opening + 1
 1103   }
 1104   if opening >= tokens.len() || tokens[opening].text != "(" {
 1105     if effect == "inferred" { Ok(None()) } else {
 1106       Error(parse_error("expected opening parenthesis after anonymous function effect", token_position(tokens, opening)))
 1107     }
 1108   } else {
 1109     mut cursor: Nat = opening + 1
 1110     mut depth: Nat = 1
 1111     while cursor < tokens.len() && depth > 0 {
 1112       if tokens[cursor].text == "(" { depth = depth + 1 }
 1113       if tokens[cursor].text == ")" && depth > 0 { depth = depth - 1 }
 1114       cursor = cursor + 1
 1115     }
 1116     candidate: Bool = effect != "inferred" ||
 1117       (depth == 0 && cursor < tokens.len() && (tokens[cursor].text == "=>" || tokens[cursor].text == ":"))
 1118     if !candidate { Ok(None()) } else {
 1119       parsed: Result[ParsedAnonymousHeader,Diagnostic] =
 1120         if opening + 1 < tokens.len() && tokens[opening + 1].text == ")" {
 1121           anonymous_header_finish(tokens, index, opening + 2, effect, [])
 1122         } else {
 1123           anonymous_header_parameters(tokens, index, opening + 1, effect, [])
 1124         }
 1125       match parsed {
 1126         Error(problem) => Error(problem),
 1127         Ok(header) => Ok(Some(header))
 1128       }
 1129     }
 1130   }
 1131 }
 1132 
 1133 pure parse_named_expression(tokens: [Token], index: Nat): Result[ParsedExpr, Diagnostic] {
 1134   match parse_call_type_arguments(tokens, index + 1) {
 1135     Error(error) => Error(error),
 1136     Ok(types) => {
 1137       if types.next < tokens.len() && tokens[types.next].text == "(" {
 1138         match parse_expression_list(tokens, types.next + 1, ")") {
 1139           Ok(arguments) => Ok(ParsedExpr(
 1140             located_expression_with_type_argument_spans(
 1141             tokens,
 1142             index,
 1143             arguments.next,
 1144             CallExpr(tokens[index].text, arguments.values, types.values),
 1145             types.spans
 1146           ),
 1147             arguments.next
 1148           )),
 1149           Error(error) => Error(error)
 1150         }
 1151       } else {
 1152         Ok(ParsedExpr(
 1153           located_expression(tokens, index, index + 1, NameExpr(tokens[index].text)),
 1154           index + 1
 1155         ))
 1156       }
 1157     }
 1158   }
 1159 }
 1160 
 1161 pure parse_primary(tokens: [Token], index: Nat): Result[ParsedExpr, Diagnostic] {
 1162   match parse_anonymous_header(tokens, index) {
 1163     Error(problem) => Error(problem),
 1164     Ok(candidate) => match candidate {
 1165       None() => parse_non_anonymous_primary(tokens, index),
 1166       Some(header) => match parse_expression_body(tokens, header.next) {
 1167         Error(problem) => Error(problem),
 1168         Ok(body) => Ok(ParsedExpr(
 1169           located_expression(tokens, index, body.next,
 1170             AnonymousExpr(header.effect, header.parameters, header.result, body.value)),
 1171           body.next
 1172         ))
 1173       }
 1174     }
 1175   }
 1176 }
 1177 
 1178 pure parse_non_anonymous_primary(tokens: [Token], index: Nat): Result[ParsedExpr, Diagnostic] {
 1179   if index >= tokens.len() {
 1180     Error(parse_error("expected expression", token_position(tokens, index)))
 1181   } else {
 1182     token: Token = tokens[index]
 1183     if token.text == "@" {
 1184       if index + 1 < tokens.len() && (tokens[index + 1].kind == Identifier() || tokens[index + 1].text == "[") {
 1185         match parse_reference_path(tokens, index + 1) {
 1186           Error(error) => Error(error),
 1187           Ok(path) => Ok(ParsedExpr(
 1188             located_expression(tokens, index, path.next, FunctionExpr(path.text)),
 1189             path.next
 1190           ))
 1191         }
 1192       } else {
 1193         Error(parse_error("expected function name after @", token_position(tokens, index + 1)))
 1194       }
 1195     } else {
 1196       if token.text == "match" {
 1197         parse_match_expression(tokens, index)
 1198       } else {
 1199         if token.text == "if" {
 1200           parse_if_expression(tokens, index)
 1201         } else {
 1202           if token.kind == Number() {
 1203             Ok(ParsedExpr(
 1204               located_expression(tokens, index, index + 1, NatExpr(token.text.parse_nat())),
 1205               index + 1
 1206             ))
 1207           } else {
 1208             if token.kind == DecimalNumber() {
 1209               Ok(ParsedExpr(
 1210                 located_expression(tokens, index, index + 1, DecimalExpr(token.text)),
 1211                 index + 1
 1212               ))
 1213             } else {
 1214               if token.kind == StringLiteral() {
 1215                 match split_interpolated_string(decode_string_literal(token.text)).invalid {
 1216                   None() => Ok(ParsedExpr(
 1217                     located_expression(tokens, index, index + 1, StringExpr(token.text)),
 1218                     index + 1
 1219                   )),
 1220                   Some(offset) => Error(parse_error(
 1221                     "string interpolation requires a local name; assign the expression to a local, then interpolate that name",
 1222                     interpolation_position(token, offset)
 1223                   ))
 1224                 }
 1225               } else {
 1226                 if token.text == "true" || token.text == "false" {
 1227                   Ok(ParsedExpr(
 1228                     located_expression(tokens, index, index + 1, BoolExpr(token.text == "true")),
 1229                     index + 1
 1230                   ))
 1231                 } else {
 1232                   if token.kind == Identifier() {
 1233                     parse_named_expression(tokens, index)
 1234                   } else {
 1235                     if token.text == "(" {
 1236                       if index + 1 < tokens.len() && tokens[index + 1].text == ")" {
 1237                         Ok(ParsedExpr(
 1238                           located_expression(tokens, index, index + 2, CallExpr("$unit", [], [])),
 1239                           index + 2
 1240                         ))
 1241                       } else {
 1242                         match parse_expression(tokens, index + 1) {
 1243                           Ok(inner) => {
 1244                             if inner.next < tokens.len() && tokens[inner.next].text == ")" {
 1245                               Ok(ParsedExpr(
 1246                                 located_expression(tokens, index, inner.next + 1, inner.value),
 1247                                 inner.next + 1
 1248                               ))
 1249                             } else {
 1250                               Error(parse_error(
 1251                                 "expected closing parenthesis",
 1252                                 token_position(tokens, inner.next)
 1253                               ))
 1254                             }
 1255                           },
 1256                           Error(error) => Error(error)
 1257                         }
 1258                       }
 1259                     } else {
 1260                       if token.text == "[" {
 1261                         match parse_expression_list(tokens, index + 1, "]") {
 1262                           Ok(items) => Ok(ParsedExpr(
 1263                             located_expression(tokens, index, items.next, ArrayExpr(items.values)),
 1264                             items.next
 1265                           )),
 1266                           Error(error) => Error(error)
 1267                         }
 1268                       } else {
 1269                         Error(parse_error("expected expression", token.position))
 1270                       }
 1271                     }
 1272                   }
 1273                 }
 1274               }
 1275             }
 1276           }
 1277         }
 1278       }
 1279     }
 1280   }
 1281 }
 1282 
 1283 pure parse_postfix_tail(tokens: [Token], left: Expr, index: Nat): Result[ParsedExpr, Diagnostic] {
 1284   if index < tokens.len() && tokens[index].text == "[" {
 1285     match parse_expression(tokens, index + 1) {
 1286       Ok(parsed_index) => {
 1287         if parsed_index.next < tokens.len() && tokens[parsed_index.next].text == "]" {
 1288           parse_postfix_tail(
 1289             tokens,
 1290             extended_expression(
 1291             tokens,
 1292             left,
 1293             parsed_index.next + 1,
 1294             IndexExpr(left, parsed_index.value)
 1295           ),
 1296             parsed_index.next + 1
 1297           )
 1298         } else {
 1299           Error(parse_error("expected closing bracket", token_position(tokens, parsed_index.next)))
 1300         }
 1301       },
 1302       Error(error) => Error(error)
 1303     }
 1304   } else {
 1305     if index < tokens.len() && tokens[index].text == "->" {
 1306       Error(parse_error("arrow receiver calls are not supported; use dot syntax", token_position(tokens, index)))
 1307     } else if index < tokens.len() && tokens[index].text == "." {
 1308       if index + 1 < tokens.len() && (tokens[index + 1].kind == Identifier() || tokens[index + 1].text == "[") {
 1309         name: Str = tokens[index + 1].text
 1310         match parse_call_type_arguments(tokens, index + 2) {
 1311           Error(error) => Error(error),
 1312           Ok(types) => {
 1313             if types.next < tokens.len() && tokens[types.next].text == "(" {
 1314               match parse_expression_list(tokens, types.next + 1, ")") {
 1315                 Ok(arguments) => {
 1316                   parse_postfix_tail(
 1317                     tokens,
 1318                     extended_expression_with_type_argument_spans(
 1319                     tokens,
 1320                     left,
 1321                     arguments.next,
 1322                     DotCallExpr(left, name, arguments.values, types.values),
 1323                     types.spans
 1324                   ),
 1325                     arguments.next
 1326                   )
 1327                 },
 1328                 Error(error) => Error(error)
 1329               }
 1330             } else {
 1331               parse_postfix_tail(
 1332                 tokens,
 1333                 extended_expression(tokens, left, index + 2, FieldExpr(left, name)),
 1334                 index + 2
 1335               )
 1336             }
 1337           }
 1338         }
 1339       } else {
 1340         Error(parse_error("expected field name", token_position(tokens, index + 1)))
 1341       }
 1342     } else {
 1343       Ok(ParsedExpr(left, index))
 1344     }
 1345   }
 1346 }
 1347 
 1348 pure parse_postfix(tokens: [Token], index: Nat): Result[ParsedExpr, Diagnostic] {
 1349   match parse_primary(tokens, index) {
 1350     Ok(primary) => parse_postfix_tail(tokens, primary.value, primary.next),
 1351     Error(error) => Error(error)
 1352   }
 1353 }
 1354 
 1355 pure parse_unary(tokens: [Token], index: Nat): Result[ParsedExpr, Diagnostic] {
 1356   if index < tokens.len() &&
 1357     (tokens[index].text == "-" ||
 1358     tokens[index].text == "!" ||
 1359     tokens[index].text == "await") {
 1360     operator: Str = tokens[index].text
 1361     match parse_unary(tokens, index + 1) {
 1362       Ok(operand) => Ok(ParsedExpr(
 1363         located_expression(tokens, index, operand.next, UnaryExpr(operator, operand.value)),
 1364         operand.next
 1365       )),
 1366       Error(error) => Error(error)
 1367     }
 1368   } else {
 1369     parse_postfix(tokens, index)
 1370   }
 1371 }
 1372 
 1373 pure parse_product_tail(tokens: [Token], left: Expr, index: Nat): Result[ParsedExpr, Diagnostic] {
 1374   if index < tokens.len() &&
 1375     (tokens[index].text == "*" ||
 1376     tokens[index].text == "/" ||
 1377     tokens[index].text == "%") {
 1378     operator: Str = tokens[index].text
 1379     match parse_unary(tokens, index + 1) {
 1380       Ok(right) => parse_product_tail(
 1381         tokens,
 1382         extended_expression(tokens, left, right.next, BinaryExpr(operator, left, right.value)),
 1383         right.next
 1384       ),
 1385       Error(error) => Error(error)
 1386     }
 1387   } else {
 1388     Ok(ParsedExpr(left, index))
 1389   }
 1390 }
 1391 
 1392 pure parse_product(tokens: [Token], index: Nat): Result[ParsedExpr, Diagnostic] {
 1393   match parse_unary(tokens, index) {
 1394     Ok(left) => parse_product_tail(tokens, left.value, left.next),
 1395     Error(error) => Error(error)
 1396   }
 1397 }
 1398 
 1399 pure parse_sum_tail(tokens: [Token], left: Expr, index: Nat): Result[ParsedExpr, Diagnostic] {
 1400   if index < tokens.len() && (tokens[index].text == "+" || tokens[index].text == "-") {
 1401     operator: Str = tokens[index].text
 1402     match parse_product(tokens, index + 1) {
 1403       Ok(right) => parse_sum_tail(
 1404         tokens,
 1405         extended_expression(tokens, left, right.next, BinaryExpr(operator, left, right.value)),
 1406         right.next
 1407       ),
 1408       Error(error) => Error(error)
 1409     }
 1410   } else {
 1411     Ok(ParsedExpr(left, index))
 1412   }
 1413 }
 1414 
 1415 pure parse_sum(tokens: [Token], index: Nat): Result[ParsedExpr, Diagnostic] {
 1416   match parse_product(tokens, index) {
 1417     Ok(left) => parse_sum_tail(tokens, left.value, left.next),
 1418     Error(error) => Error(error)
 1419   }
 1420 }
 1421 
 1422 pure parse_comparison_tail(
 1423   tokens: [Token],
 1424   left: Expr,
 1425   index: Nat
 1426 ): Result[ParsedExpr, Diagnostic] {
 1427   if index < tokens.len() &&
 1428     (tokens[index].text == "<" ||
 1429     tokens[index].text == "<=" ||
 1430     tokens[index].text == ">" ||
 1431     tokens[index].text == ">=") {
 1432     operator: Str = tokens[index].text
 1433     match parse_sum(tokens, index + 1) {
 1434       Ok(right) => parse_comparison_tail(
 1435         tokens,
 1436         extended_expression(tokens, left, right.next, BinaryExpr(operator, left, right.value)),
 1437         right.next
 1438       ),
 1439       Error(error) => Error(error)
 1440     }
 1441   } else {
 1442     Ok(ParsedExpr(left, index))
 1443   }
 1444 }
 1445 
 1446 pure parse_comparison(tokens: [Token], index: Nat): Result[ParsedExpr, Diagnostic] {
 1447   match parse_sum(tokens, index) {
 1448     Ok(left) => parse_comparison_tail(tokens, left.value, left.next),
 1449     Error(error) => Error(error)
 1450   }
 1451 }
 1452 
 1453 pure parse_equality_tail(tokens: [Token], left: Expr, index: Nat): Result[ParsedExpr, Diagnostic] {
 1454   if index < tokens.len() && (tokens[index].text == "==" || tokens[index].text == "!=") {
 1455     operator: Str = tokens[index].text
 1456     match parse_comparison(tokens, index + 1) {
 1457       Ok(right) => parse_equality_tail(
 1458         tokens,
 1459         extended_expression(tokens, left, right.next, BinaryExpr(operator, left, right.value)),
 1460         right.next
 1461       ),
 1462       Error(error) => Error(error)
 1463     }
 1464   } else {
 1465     Ok(ParsedExpr(left, index))
 1466   }
 1467 }
 1468 
 1469 pure parse_equality(tokens: [Token], index: Nat): Result[ParsedExpr, Diagnostic] {
 1470   match parse_comparison(tokens, index) {
 1471     Ok(left) => parse_equality_tail(tokens, left.value, left.next),
 1472     Error(error) => Error(error)
 1473   }
 1474 }
 1475 
 1476 pure parse_and_tail(tokens: [Token], left: Expr, index: Nat): Result[ParsedExpr, Diagnostic] {
 1477   if index < tokens.len() && tokens[index].text == "&&" {
 1478     match parse_equality(tokens, index + 1) {
 1479       Ok(right) => parse_and_tail(
 1480         tokens,
 1481         extended_expression(tokens, left, right.next, BinaryExpr("&&", left, right.value)),
 1482         right.next
 1483       ),
 1484       Error(error) => Error(error)
 1485     }
 1486   } else {
 1487     Ok(ParsedExpr(left, index))
 1488   }
 1489 }
 1490 
 1491 pure parse_and(tokens: [Token], index: Nat): Result[ParsedExpr, Diagnostic] {
 1492   match parse_equality(tokens, index) {
 1493     Ok(left) => parse_and_tail(tokens, left.value, left.next),
 1494     Error(error) => Error(error)
 1495   }
 1496 }
 1497 
 1498 pure parse_or_tail(tokens: [Token], left: Expr, index: Nat): Result[ParsedExpr, Diagnostic] {
 1499   if index < tokens.len() && tokens[index].text == "||" {
 1500     match parse_and(tokens, index + 1) {
 1501       Ok(right) => parse_or_tail(
 1502         tokens,
 1503         extended_expression(tokens, left, right.next, BinaryExpr("||", left, right.value)),
 1504         right.next
 1505       ),
 1506       Error(error) => Error(error)
 1507     }
 1508   } else {
 1509     Ok(ParsedExpr(left, index))
 1510   }
 1511 }
 1512 
 1513 pure parse_or(tokens: [Token], index: Nat): Result[ParsedExpr, Diagnostic] {
 1514   match parse_and(tokens, index) {
 1515     Ok(left) => parse_or_tail(tokens, left.value, left.next),
 1516     Error(error) => Error(error)
 1517   }
 1518 }
 1519 
 1520 pure parse_range_tail(tokens: [Token], left: Expr, index: Nat): Result[ParsedExpr, Diagnostic] {
 1521   if index < tokens.len() && tokens[index].text == ".." {
 1522     match parse_or(tokens, index + 1) {
 1523       Ok(right) => parse_range_tail(
 1524         tokens,
 1525         extended_expression(tokens, left, right.next, BinaryExpr("..", left, right.value)),
 1526         right.next
 1527       ),
 1528       Error(error) => Error(error)
 1529     }
 1530   } else {
 1531     Ok(ParsedExpr(left, index))
 1532   }
 1533 }
 1534 
 1535 pure parse_expression(tokens: [Token], index: Nat): Result[ParsedExpr, Diagnostic] {
 1536   match parse_or(tokens, index) {
 1537     Ok(left) => parse_range_tail(tokens, left.value, left.next),
 1538     Error(error) => Error(error)
 1539   }
 1540 }
 1541 
 1542 pub pure parse_complete(tokens: [Token]): Result[Expr, Diagnostic] {
 1543   match parse_expression(tokens, 0) {
 1544     Ok(parsed) => {
 1545       if parsed.next == tokens.len() {
 1546         Ok(parsed.value)
 1547       } else {
 1548         Error(parse_error("unexpected token", tokens[parsed.next].position))
 1549       }
 1550     },
 1551     Error(error) => Error(error)
 1552   }
 1553 }
 1554 
 1555 pure parse_while_statement(
 1556   tokens: [Token],
 1557   statements: [Statement],
 1558   spans: [SourceSpan],
 1559   index: Nat
 1560 ): Result[ParsedBlock, Diagnostic] {
 1561   match parse_expression(tokens, index + 1) {
 1562     Ok(condition) => {
 1563       match parse_block(tokens, condition.next) {
 1564         Ok(body) => {
 1565           next: Nat = if body.next < tokens.len() && tokens[body.next].text == ";" {
 1566             body.next + 1
 1567           } else {
 1568             body.next
 1569           }
 1570           statement: Statement = WhileStatement(condition.value, body.value)
 1571           parse_block_items(tokens, statements.append(statement), spans.append(token_span(tokens, index, body.next)), next)
 1572         },
 1573         Error(error) => Error(error)
 1574       }
 1575     },
 1576     Error(error) => Error(error)
 1577   }
 1578 }
 1579 
 1580 pure parse_for_statement(
 1581   tokens: [Token],
 1582   statements: [Statement],
 1583   spans: [SourceSpan],
 1584   index: Nat
 1585 ): Result[ParsedBlock, Diagnostic] {
 1586   variable_index: Nat = index + 1
 1587 
 1588   if variable_index >= tokens.len() || tokens[variable_index].kind != Identifier() {
 1589     Error(parse_error("expected loop variable", token_position(tokens, variable_index)))
 1590   } else {
 1591     in_index: Nat = variable_index + 1
 1592     if in_index >= tokens.len() || tokens[in_index].text != "in" {
 1593       Error(parse_error("expected in after loop variable", token_position(tokens, in_index)))
 1594     } else {
 1595       match parse_expression(tokens, in_index + 1) {
 1596         Ok(iterable) => {
 1597           match parse_block(tokens, iterable.next) {
 1598             Ok(body) => {
 1599               next: Nat = if body.next < tokens.len() && tokens[body.next].text == ";" {
 1600                 body.next + 1
 1601               } else {
 1602                 body.next
 1603               }
 1604               statement: Statement = ForStatement(
 1605                 tokens[variable_index].text,
 1606                 iterable.value,
 1607                 body.value
 1608               )
 1609               parse_block_items(tokens, statements.append(statement), spans.append(token_span(tokens, index, body.next)), next)
 1610             },
 1611             Error(error) => Error(error)
 1612           }
 1613         },
 1614         Error(error) => Error(error)
 1615       }
 1616     }
 1617   }
 1618 }
 1619 
 1620 pure parse_block_items(
 1621   tokens: [Token],
 1622   statements: [Statement],
 1623   spans: [SourceSpan],
 1624   index: Nat
 1625 ): Result[ParsedBlock, Diagnostic] {
 1626   if index >= tokens.len() {
 1627     Error(parse_error("expected closing brace", token_position(tokens, index)))
 1628   } else {
 1629     if tokens[index].text == "}" {
 1630       Ok(ParsedBlock(Block(statements, NoBlockValue(), None(), spans), index + 1))
 1631     } else {
 1632       if tokens[index].text == "mut" ||
 1633         (tokens[index].kind == Identifier() &&
 1634         index + 1 < tokens.len() &&
 1635         tokens[index + 1].text == ":") {
 1636         mutable: Bool = tokens[index].text == "mut"
 1637         name_index: Nat = if mutable {
 1638           index + 1
 1639         } else {
 1640           index
 1641         }
 1642         if name_index >= tokens.len() || tokens[name_index].kind != Identifier() {
 1643           Error(parse_error("expected binding name", token_position(tokens, name_index)))
 1644         } else {
 1645           name: Str = tokens[name_index].text
 1646           colon_index: Nat = name_index + 1
 1647           if colon_index >= tokens.len() ||
 1648             (tokens[colon_index].text != ":" &&
 1649             tokens[colon_index].text != "=") {
 1650             Error(parse_error(
 1651               "expected : or = after binding name",
 1652               token_position(tokens, colon_index)
 1653             ))
 1654           } else {
 1655             annotation: Result[ParsedTypeRef, Diagnostic] = if tokens[colon_index].text == ":" {
 1656               parse_type_ref(tokens, colon_index + 1)
 1657             } else {
 1658               Ok(ParsedTypeRef("", token_span(tokens, colon_index, colon_index), colon_index))
 1659             }
 1660             match annotation {
 1661               Ok(type_ref) => {
 1662                 if type_ref.next >= tokens.len() || tokens[type_ref.next].text != "=" {
 1663                   Error(parse_error(
 1664                     "expected = after binding type",
 1665                     token_position(tokens, type_ref.next)
 1666                   ))
 1667                 } else {
 1668                   match parse_expression(tokens, type_ref.next + 1) {
 1669                     Ok(value) => {
 1670                       initializer: Expr = value.value
 1671                       annotation_span: Option[SourceSpan] = if tokens[colon_index].text == ":" {
 1672                         Some(type_ref.span)
 1673                       } else {
 1674                         None()
 1675                       }
 1676                       statement: Statement = BindingStatement(
 1677                         name,
 1678                         type_ref.text,
 1679                         annotation_span,
 1680                         mutable,
 1681                         initializer
 1682                       )
 1683                       if value.next < tokens.len() && tokens[value.next].text == ";" {
 1684                         parse_block_items(tokens, statements.append(statement), spans.append(token_span(tokens, index, value.next)), value.next + 1)
 1685                       } else {
 1686                         if value.next < tokens.len() && tokens[value.next].text == "}" {
 1687                           parse_block_items(tokens, statements.append(statement), spans.append(token_span(tokens, index, value.next)), value.next)
 1688                         } else {
 1689                           Error(parse_error(
 1690                             "expected line break, semicolon, or closing brace after binding",
 1691                             token_position(tokens, value.next)
 1692                           ))
 1693                         }
 1694                       }
 1695                     },
 1696                     Error(error) => Error(error)
 1697                   }
 1698                 }
 1699               },
 1700               Error(error) => Error(error)
 1701             }
 1702           }
 1703         }
 1704       } else {
 1705         if tokens[index].text == "while" {
 1706           parse_while_statement(tokens, statements, spans, index)
 1707         } else {
 1708           if tokens[index].text == "for" {
 1709             parse_for_statement(tokens, statements, spans, index)
 1710           } else {
 1711             if tokens[index].kind == Identifier() &&
 1712               index + 1 < tokens.len() &&
 1713               tokens[index + 1].text == "=" {
 1714               name: Str = tokens[index].text
 1715               match parse_expression(tokens, index + 2) {
 1716                 Ok(value) => {
 1717                   statement: Statement = AssignmentStatement(name, value.value)
 1718                   if value.next < tokens.len() && tokens[value.next].text == ";" {
 1719                     parse_block_items(tokens, statements.append(statement), spans.append(token_span(tokens, index, value.next)), value.next + 1)
 1720                   } else {
 1721                     if value.next < tokens.len() && tokens[value.next].text == "}" {
 1722                       parse_block_items(tokens, statements.append(statement), spans.append(token_span(tokens, index, value.next)), value.next)
 1723                     } else {
 1724                       Error(parse_error(
 1725                         "expected line break, semicolon, or closing brace after assignment",
 1726                         token_position(tokens, value.next)
 1727                       ))
 1728                     }
 1729                   }
 1730                 },
 1731                 Error(error) => Error(error)
 1732               }
 1733             } else {
 1734               match parse_expression(tokens, index) {
 1735                 Ok(expression) => {
 1736                   if expression.next < tokens.len() && tokens[expression.next].text == ";" {
 1737                     statement: Statement = ExpressionStatement(expression.value)
 1738                     parse_block_items(
 1739                       tokens,
 1740                       statements.append(statement), spans.append(token_span(tokens, index, expression.next)),
 1741                       expression.next + 1
 1742                     )
 1743                   } else {
 1744                     if expression.next < tokens.len() && tokens[expression.next].text == "}" {
 1745                       Ok(ParsedBlock(
 1746                         Block(statements, TailBlockValue(expression.value), None(), spans),
 1747                         expression.next + 1
 1748                       ))
 1749                     } else {
 1750                       Error(parse_error(
 1751                         "expected semicolon or closing brace",
 1752                         token_position(tokens, expression.next)
 1753                       ))
 1754                     }
 1755                   }
 1756                 },
 1757                 Error(error) => Error(error)
 1758               }
 1759             }
 1760           }
 1761         }
 1762       }
 1763     }
 1764   }
 1765 }
 1766 
 1767 pure parse_block(tokens: [Token], index: Nat): Result[ParsedBlock, Diagnostic] {
 1768   if index >= tokens.len() || tokens[index].text != "{" {
 1769     Error(parse_error("expected opening brace", token_position(tokens, index)))
 1770   } else {
 1771     statements: [Statement] = []
 1772     match parse_block_items(tokens, statements, [], index + 1) {
 1773       Error(problem) => Error(problem),
 1774       Ok(parsed) => Ok(ParsedBlock(Block(parsed.value.statements, parsed.value.value,
 1775         Some(token_span(tokens, index, parsed.next)), parsed.value.statement_spans), parsed.next))
 1776     }
 1777   }
 1778 }
 1779 
 1780 pure parse_block_complete(tokens: [Token]): Result[Block, Diagnostic] {
 1781   match parse_block(tokens, 0) {
 1782     Ok(parsed) => {
 1783       if parsed.next == tokens.len() {
 1784         Ok(parsed.value)
 1785       } else {
 1786         Error(parse_error("unexpected token after block", tokens[parsed.next].position))
 1787       }
 1788     },
 1789     Error(error) => Error(error)
 1790   }
 1791 }
 1792 
 1793 pure parse_type_declaration(tokens: [Token], index: Nat): Result[ParsedTopLevel, Diagnostic] {
 1794   name_index: Nat = index + 1
 1795 
 1796   if name_index >= tokens.len() || tokens[name_index].kind != Identifier() {
 1797     Error(parse_error("expected type name", token_position(tokens, name_index)))
 1798   } else {
 1799     equals_index: Nat = name_index + 1
 1800     if equals_index >= tokens.len() || tokens[equals_index].text != "=" {
 1801       Error(parse_error("expected = after type name", token_position(tokens, equals_index)))
 1802     } else {
 1803       base_index: Nat = equals_index + 1
 1804       match parse_type_ref(tokens, base_index) {
 1805         Error(problem) => {
 1806           Error(parse_error("expected guarded type base", token_position(tokens, base_index)))
 1807         },
 1808         Ok(base) => {
 1809           where_index: Nat = base.next
 1810           if where_index >= tokens.len() || tokens[where_index].text != "where" {
 1811             Error(parse_error(
 1812               "expected where after guarded type base",
 1813               token_position(tokens, where_index)
 1814             ))
 1815           } else {
 1816             guard_name_index = where_index + 1
 1817             arrow_index = guard_name_index + 1
 1818             if guard_name_index >= tokens.len() || tokens[guard_name_index].kind != Identifier() {
 1819               Error(parse_error("expected a guard binding after where", token_position(tokens, guard_name_index)))
 1820             } else if arrow_index >= tokens.len() || tokens[arrow_index].text != "=>" {
 1821               Error(parse_error("expected => after guard binding", token_position(tokens, arrow_index)))
 1822             } else {
 1823               match parse_expression(tokens, arrow_index + 1) {
 1824                 Ok(guard) => {
 1825                   declaration: TopLevel = TypeDeclaration(
 1826                     tokens[name_index].text,
 1827                     base.text,
 1828                     tokens[guard_name_index].text,
 1829                     guard.value
 1830                   )
 1831                   if guard.next == tokens.len() {
 1832                     Ok(ParsedTopLevel(declaration, [base.span], guard.next))
 1833                   } else {
 1834                     if tokens[guard.next].text == ";" {
 1835                       Ok(ParsedTopLevel(declaration, [base.span], guard.next + 1))
 1836                     } else {
 1837                       Error(parse_error(
 1838                         "expected line break or semicolon after type declaration",
 1839                         token_position(tokens, guard.next)
 1840                       ))
 1841                     }
 1842                   }
 1843                 },
 1844                 Error(error) => Error(error)
 1845               }
 1846             }
 1847           }
 1848         }
 1849       }
 1850     }
 1851   }
 1852 }
 1853 
 1854 pure parse_record_fields(
 1855   tokens: [Token],
 1856   name: Str,
 1857   parameters: [Str],
 1858   fields: [RecordField],
 1859   type_spans: [SourceSpan],
 1860   index: Nat
 1861 ): Result[ParsedTopLevel, Diagnostic] {
 1862   if index >= tokens.len() {
 1863     Error(parse_error("expected closing record brace", token_position(tokens, index)))
 1864   } else {
 1865     if tokens[index].text == "}" {
 1866       declaration: TopLevel = RecordDeclaration(name, parameters, fields)
 1867       Ok(ParsedTopLevel(declaration, type_spans, index + 1))
 1868     } else {
 1869       if tokens[index].kind != Identifier() {
 1870         Error(parse_error("expected record field name", tokens[index].position))
 1871       } else {
 1872         field_name: Str = tokens[index].text
 1873         colon_index: Nat = index + 1
 1874         if colon_index >= tokens.len() || tokens[colon_index].text != ":" {
 1875           Error(parse_error(
 1876             "expected colon after record field name",
 1877             token_position(tokens, colon_index)
 1878           ))
 1879         } else {
 1880           match parse_type_ref(tokens, colon_index + 1) {
 1881             Ok(type_ref) => {
 1882               field: RecordField = RecordField(field_name, type_ref.text)
 1883               values: [RecordField] = fields.append(field)
 1884               spans: [SourceSpan] = type_spans.append(type_ref.span)
 1885               if type_ref.next >= tokens.len() {
 1886                 Error(parse_error(
 1887                   "expected closing record brace",
 1888                   token_position(tokens, type_ref.next)
 1889                 ))
 1890               } else {
 1891                 if tokens[type_ref.next].text == "," {
 1892                   parse_record_fields(tokens, name, parameters, values, spans, type_ref.next + 1)
 1893                 } else {
 1894                   if tokens[type_ref.next].text == "}" {
 1895                     declaration: TopLevel = RecordDeclaration(name, parameters, values)
 1896                     Ok(ParsedTopLevel(declaration, spans, type_ref.next + 1))
 1897                   } else {
 1898                     Error(parse_error(
 1899                       "expected comma or closing record brace",
 1900                       tokens[type_ref.next].position
 1901                     ))
 1902                   }
 1903                 }
 1904               }
 1905             },
 1906             Error(error) => Error(error)
 1907           }
 1908         }
 1909       }
 1910     }
 1911   }
 1912 }
 1913 
 1914 pure parse_record_declaration(tokens: [Token], index: Nat): Result[ParsedTopLevel, Diagnostic] {
 1915   name_index: Nat = index + 1
 1916 
 1917   if name_index >= tokens.len() || tokens[name_index].kind != Identifier() {
 1918     Error(parse_error("expected record name", token_position(tokens, name_index)))
 1919   } else {
 1920     name: Str = tokens[name_index].text
 1921     match parse_generic_parameters(tokens, name_index + 1) {
 1922       Ok(parameters) => {
 1923         if parameters.next >= tokens.len() || tokens[parameters.next].text != "{" {
 1924           Error(parse_error(
 1925             "expected opening record brace",
 1926             token_position(tokens, parameters.next)
 1927           ))
 1928         } else {
 1929           fields: [RecordField] = []
 1930           parse_record_fields(tokens, name, parameters.values, fields, [], parameters.next + 1)
 1931         }
 1932       },
 1933       Error(error) => Error(error)
 1934     }
 1935   }
 1936 }
 1937 
 1938 pure parse_enum_variants(
 1939   tokens: [Token],
 1940   name: Str,
 1941   parameters: [Str],
 1942   variants: [EnumVariant],
 1943   type_spans: [SourceSpan],
 1944   index: Nat
 1945 ): Result[ParsedTopLevel, Diagnostic] {
 1946   if index >= tokens.len() {
 1947     Error(parse_error("expected closing enum brace", token_position(tokens, index)))
 1948   } else {
 1949     if tokens[index].text == "}" {
 1950       declaration: TopLevel = EnumDeclaration(name, parameters, variants)
 1951       Ok(ParsedTopLevel(declaration, type_spans, index + 1))
 1952     } else {
 1953       if tokens[index].kind != Identifier() {
 1954         Error(parse_error("expected enum variant name", tokens[index].position))
 1955       } else {
 1956         variant_name: Str = tokens[index].text
 1957         payload_index: Nat = index + 1
 1958         if payload_index < tokens.len() && tokens[payload_index].text == "(" {
 1959           match parse_variant_payload(tokens, payload_index + 1) {
 1960             Ok(payload) => parse_enum_variant_tail(
 1961               tokens,
 1962               name,
 1963               parameters,
 1964               variants,
 1965               variant_name,
 1966               payload.values,
 1967               type_spans.concat(payload.spans),
 1968               payload.next
 1969             ),
 1970             Error(error) => Error(error)
 1971           }
 1972         } else {
 1973           payload: [Str] = []
 1974           parse_enum_variant_tail(
 1975             tokens,
 1976             name,
 1977             parameters,
 1978             variants,
 1979             variant_name,
 1980             payload,
 1981             type_spans,
 1982             payload_index
 1983           )
 1984         }
 1985       }
 1986     }
 1987   }
 1988 }
 1989 
 1990 pure parse_enum_variant_tail(
 1991   tokens: [Token],
 1992   name: Str,
 1993   parameters: [Str],
 1994   variants: [EnumVariant],
 1995   variant_name: Str,
 1996   payload: [Str],
 1997   type_spans: [SourceSpan],
 1998   index: Nat
 1999 ): Result[ParsedTopLevel, Diagnostic] {
 2000   variant: EnumVariant = EnumVariant(variant_name, payload)
 2001   values: [EnumVariant] = variants.append(variant)
 2002 
 2003   if index >= tokens.len() {
 2004     Error(parse_error("expected closing enum brace", token_position(tokens, index)))
 2005   } else {
 2006     if tokens[index].text == "," {
 2007       parse_enum_variants(tokens, name, parameters, values, type_spans, index + 1)
 2008     } else {
 2009       if tokens[index].text == "}" {
 2010         declaration: TopLevel = EnumDeclaration(name, parameters, values)
 2011         Ok(ParsedTopLevel(declaration, type_spans, index + 1))
 2012       } else {
 2013         Error(parse_error("expected comma or closing enum brace", tokens[index].position))
 2014       }
 2015     }
 2016   }
 2017 }
 2018 
 2019 pure parse_enum_declaration(tokens: [Token], index: Nat): Result[ParsedTopLevel, Diagnostic] {
 2020   name_index: Nat = index + 1
 2021 
 2022   if name_index >= tokens.len() || tokens[name_index].kind != Identifier() {
 2023     Error(parse_error("expected enum name", token_position(tokens, name_index)))
 2024   } else {
 2025     name: Str = tokens[name_index].text
 2026     match parse_generic_parameters(tokens, name_index + 1) {
 2027       Ok(parameters) => {
 2028         if parameters.next >= tokens.len() || tokens[parameters.next].text != "{" {
 2029           Error(parse_error("expected opening enum brace", token_position(tokens, parameters.next)))
 2030         } else {
 2031           variants: [EnumVariant] = []
 2032           parse_enum_variants(tokens, name, parameters.values, variants, [], parameters.next + 1)
 2033         }
 2034       },
 2035       Error(error) => Error(error)
 2036     }
 2037   }
 2038 }
 2039 
 2040 pure parse_function_parameter_items(
 2041   tokens: [Token],
 2042   parameters: [FunctionParameter],
 2043   type_spans: [SourceSpan],
 2044   index: Nat
 2045 ): Result[ParsedFunctionParameterList, Diagnostic] {
 2046   if index >= tokens.len() {
 2047     Error(parse_error("expected function parameter", token_position(tokens, index)))
 2048   } else {
 2049     if tokens[index].kind != Identifier() {
 2050       Error(parse_error("expected function parameter", tokens[index].position))
 2051     } else {
 2052       name: Str = tokens[index].text
 2053       colon_index: Nat = index + 1
 2054       if colon_index >= tokens.len() || tokens[colon_index].text != ":" {
 2055         Error(parse_error(
 2056           "expected colon after parameter name",
 2057           token_position(tokens, colon_index)
 2058         ))
 2059       } else {
 2060         match parse_type_ref(tokens, colon_index + 1) {
 2061           Ok(type_ref) => {
 2062             parameter: FunctionParameter = FunctionParameter(name, type_ref.text)
 2063             values: [FunctionParameter] = parameters.append(parameter)
 2064             if type_ref.next >= tokens.len() {
 2065               Error(parse_error(
 2066                 "expected closing function parenthesis",
 2067                 token_position(tokens, type_ref.next)
 2068               ))
 2069             } else {
 2070               if tokens[type_ref.next].text == ")" {
 2071                 Ok(ParsedFunctionParameterList(values, type_spans.append(type_ref.span), type_ref.next + 1))
 2072               } else {
 2073                 if tokens[type_ref.next].text == "," {
 2074                   parse_function_parameter_items(tokens, values, type_spans.append(type_ref.span), type_ref.next + 1)
 2075                 } else {
 2076                   Error(parse_error(
 2077                     "expected comma or closing function parenthesis",
 2078                     tokens[type_ref.next].position
 2079                   ))
 2080                 }
 2081               }
 2082             }
 2083           },
 2084           Error(error) => Error(error)
 2085         }
 2086       }
 2087     }
 2088   }
 2089 }
 2090 
 2091 pure parse_function_parameters(
 2092   tokens: [Token],
 2093   index: Nat
 2094 ): Result[ParsedFunctionParameterList, Diagnostic] {
 2095   if index < tokens.len() && tokens[index].text == ")" {
 2096     parameters: [FunctionParameter] = []
 2097     Ok(ParsedFunctionParameterList(parameters, [], index + 1))
 2098   } else {
 2099     parameters: [FunctionParameter] = []
 2100     parse_function_parameter_items(tokens, parameters, [], index)
 2101   }
 2102 }
 2103 
 2104 pure parse_function_declaration(tokens: [Token], index: Nat): Result[ParsedTopLevel, Diagnostic] {
 2105   is_pure: Bool = tokens[index].text == "pure"
 2106   is_async: Bool = tokens[index].text == "async"
 2107   name_index: Nat = if is_pure || is_async {
 2108     index + 1
 2109   } else {
 2110     index
 2111   }
 2112   if name_index >= tokens.len() || tokens[name_index].kind != Identifier() {
 2113     Error(parse_error("expected function name", token_position(tokens, name_index)))
 2114   } else {
 2115     name: Str = tokens[name_index].text
 2116     match parse_generic_parameters(tokens, name_index + 1) {
 2117       Error(error) => Error(error),
 2118       Ok(generics) => {
 2119         opening_index: Nat = generics.next
 2120         if opening_index >= tokens.len() || tokens[opening_index].text != "(" {
 2121           Error(parse_error(
 2122             "expected opening function parenthesis",
 2123             token_position(tokens, opening_index)
 2124           ))
 2125         } else {
 2126           match parse_function_parameters(tokens, opening_index + 1) {
 2127             Ok(parameters) => {
 2128               colon_index: Nat = parameters.next
 2129               if colon_index >= tokens.len() || tokens[colon_index].text != ":" {
 2130                 Error(parse_error(
 2131                   "expected colon after function parameters",
 2132                   token_position(tokens, colon_index)
 2133                 ))
 2134               } else {
 2135                 match parse_type_ref(tokens, colon_index + 1) {
 2136                   Ok(return_type) => {
 2137                     match parse_block(tokens, return_type.next) {
 2138                       Ok(body) => {
 2139                         declaration: TopLevel = FunctionDeclaration(
 2140                           name,
 2141                           parameters.values,
 2142                           return_type.text,
 2143                           is_pure,
 2144                           is_async,
 2145                           body.value,
 2146                           generics.values
 2147                         )
 2148                         Ok(ParsedTopLevel(
 2149                           declaration,
 2150                           parameters.type_spans.concat([return_type.span]),
 2151                           body.next
 2152                         ))
 2153                       },
 2154                       Error(error) => Error(error)
 2155                     }
 2156                   },
 2157                   Error(error) => Error(error)
 2158                 }
 2159               }
 2160             },
 2161             Error(error) => Error(error)
 2162           }
 2163         }
 2164       }
 2165     }
 2166   }
 2167 }
 2168 
 2169 // Source syntax stays separate from checked declaration identities. This metadata
 2170 // lets the project loader choose identity-aware checking before lowering.
 2171 pub record ImportSelector {
 2172   name: Str,
 2173   alias: Str,
 2174   span: SourceSpan
 2175 }
 2176 
 2177 pub enum ImportBindingSyntax {
 2178   NoImportBinding,
 2179   NamespaceImportBinding(Str, Bool),
 2180   SelectiveImportBinding([ImportSelector])
 2181 }
 2182 
 2183 pub record OwnedMethodSyntax {
 2184   owner: Str,
 2185   parameters: [Str],
 2186   name: Str
 2187 }
 2188 
 2189 pub record DeclarationSyntax {
 2190   span: SourceSpan,
 2191   type_spans: [SourceSpan],
 2192   is_public: Bool,
 2193   binding: ImportBindingSyntax,
 2194   method: Option[OwnedMethodSyntax]
 2195 }
 2196 
 2197 pub record OwnedImplementationSyntax {
 2198   owner: Str,
 2199   parameters: [Str],
 2200   span: SourceSpan
 2201 }
 2202 
 2203 pub record ParsedModule {
 2204   program: Program,
 2205   syntax: [DeclarationSyntax],
 2206   implementations: [OwnedImplementationSyntax]
 2207 }
 2208 
 2209 record ParsedImportBinding {
 2210   binding: ImportBindingSyntax,
 2211   next: Nat
 2212 }
 2213 
 2214 pub pure default_import_alias(path: Str): Str {
 2215   mut start: Nat = 0
 2216   mut end: Nat = path.len()
 2217   mut cursor: Nat = 0
 2218 
 2219   while cursor < path.len() {
 2220     if path[cursor] == "/" {
 2221       start = cursor + 1
 2222     } else {}
 2223     if path.starts_with_at(".panack", cursor) && cursor + 7 == path.len() {
 2224       end = cursor
 2225     } else {}
 2226     cursor = cursor + 1
 2227   }
 2228   path.slice(start, end)
 2229 }
 2230 
 2231 pure import_identifier(tokens: [Token], index: Nat): Bool {
 2232   index < tokens.len() && tokens[index].kind == Identifier() &&
 2233     tokens[index].text != "as" && tokens[index].text != "pub" && tokens[index].text != "import"
 2234 }
 2235 
 2236 pure parse_import_selectors(
 2237   tokens: [Token],
 2238   index: Nat,
 2239   selectors: [ImportSelector]
 2240 ): Result[ParsedImportBinding, Diagnostic] {
 2241   if !import_identifier(tokens, index) {
 2242     Error(parse_error("expected imported declaration name", token_position(tokens, index)))
 2243   } else {
 2244     mut name: Str = tokens[index].text
 2245     mut alias: Str = tokens[index].text
 2246     mut missing_alias: Bool = false
 2247     mut cursor: Nat = index + 1
 2248     // Enum variants use a qualified selector; nested exported namespaces follow
 2249     // the same retained path representation and are resolved in a later slice.
 2250     while cursor < tokens.len() && tokens[cursor].text == "." && import_identifier(
 2251       tokens,
 2252       cursor + 1
 2253     ) {
 2254       alias = tokens[cursor + 1].text
 2255       name = name + "." + alias
 2256       cursor = cursor + 2
 2257     }
 2258     if cursor < tokens.len() && tokens[cursor].text == "as" {
 2259       cursor = cursor + 1
 2260       if import_identifier(tokens, cursor) {
 2261         alias = tokens[cursor].text
 2262         cursor = cursor + 1
 2263       } else {
 2264         missing_alias = true
 2265       }
 2266     } else {}
 2267     if missing_alias {
 2268       Error(parse_error("expected import alias after as", token_position(tokens, cursor)))
 2269     } else {
 2270       selected: ImportSelector = ImportSelector(
 2271         name,
 2272         alias,
 2273         SourceSpan(token_position(tokens, index), token_end_position(tokens, cursor))
 2274       )
 2275       if cursor < tokens.len() && tokens[cursor].text == "}" {
 2276         Ok(ParsedImportBinding(SelectiveImportBinding(selectors.append(selected)), cursor + 1))
 2277       } else {
 2278         if cursor < tokens.len() && tokens[cursor].text == "," {
 2279           parse_import_selectors(tokens, cursor + 1, selectors.append(selected))
 2280         } else {
 2281           Error(parse_error(
 2282             "expected ',' or '}' after import selector",
 2283             token_position(tokens, cursor)
 2284           ))
 2285         }
 2286       }
 2287     }
 2288   }
 2289 }
 2290 
 2291 pure parse_import_binding(
 2292   tokens: [Token],
 2293   index: Nat,
 2294   path: Str
 2295 ): Result[ParsedImportBinding, Diagnostic] {
 2296   if index < tokens.len() && tokens[index].text == "as" {
 2297     if import_identifier(tokens, index + 1) {
 2298       Ok(ParsedImportBinding(NamespaceImportBinding(tokens[index + 1].text, true), index + 2))
 2299     } else {
 2300       Error(parse_error("expected namespace alias after as", token_position(tokens, index + 1)))
 2301     }
 2302   } else {
 2303     if index < tokens.len() && tokens[index].text == ":" {
 2304       if index + 2 < tokens.len() && tokens[index + 1].text == ":" && tokens[index + 2].text == "{" {
 2305         parse_import_selectors(tokens, index + 3, [])
 2306       } else {
 2307         Error(parse_error("expected '::{...}' selective import", token_position(tokens, index)))
 2308       }
 2309     } else {
 2310       Ok(ParsedImportBinding(NamespaceImportBinding(default_import_alias(path), false), index))
 2311     }
 2312   }
 2313 }
 2314 
 2315 pure parse_nonimport_declaration(tokens: [Token], index: Nat): Result[ParsedTopLevel, Diagnostic] {
 2316   if index >= tokens.len() {
 2317     Error(parse_error("expected top-level declaration", token_position(tokens, index)))
 2318   } else {
 2319     if tokens[index].text == "type" {
 2320       parse_type_declaration(tokens, index)
 2321     } else {
 2322       if tokens[index].text == "record" {
 2323         parse_record_declaration(tokens, index)
 2324       } else {
 2325         if tokens[index].text == "enum" {
 2326           parse_enum_declaration(tokens, index)
 2327         } else {
 2328           if tokens[index].kind == Identifier() {
 2329             parse_function_declaration(tokens, index)
 2330           } else {
 2331             Error(parse_error("expected top-level declaration", tokens[index].position))
 2332           }
 2333         }
 2334       }
 2335     }
 2336   }
 2337 }
 2338 
 2339 // Owned methods have compiler-only names, never ordinary source callables.
 2340 // Owner validity is checked after collecting all module declarations.
 2341 pub pure owned_method_name(owner: Str, method: Str): Str {
 2342   "$owned$" + owner + "$" + method
 2343 }
 2344 
 2345 pure parse_impl_items(
 2346   tokens: [Token],
 2347   declarations: [TopLevel],
 2348   syntax: [DeclarationSyntax],
 2349   owner: Str,
 2350   owner_span: SourceSpan,
 2351   owner_parameters: [Str],
 2352   owner_type: Str,
 2353   index: Nat
 2354 ): Result[ParsedModule, Diagnostic] {
 2355   if index >= tokens.len() {
 2356     Error(parse_error("expected closing impl brace", token_position(tokens, index)))
 2357   } else if tokens[index].text == ";" {
 2358     parse_impl_items(tokens, declarations, syntax, owner, owner_span, owner_parameters, owner_type, index + 1)
 2359   } else if tokens[index].text == "}" {
 2360     parse_module_items(tokens, declarations, syntax, index + 1)
 2361   } else {
 2362     is_public: Bool = tokens[index].text == "pub"
 2363     start: Nat = if is_public { index + 1 } else { index }
 2364     match parse_function_declaration(tokens, start) {
 2365       Error(error) => Error(error),
 2366       Ok(parsed) => match parsed.value {
 2367         FunctionDeclaration(name, parameters, result, pure_flag, async_flag, body, types) => {
 2368           method: TopLevel = FunctionDeclaration(
 2369             owned_method_name(owner, name),
 2370             [FunctionParameter("self", owner_type)].concat(parameters),
 2371             result, pure_flag, async_flag, body, owner_parameters.concat(types)
 2372           )
 2373           metadata: DeclarationSyntax = DeclarationSyntax(
 2374             SourceSpan(token_position(tokens, index), token_end_position(tokens, parsed.next)),
 2375             [owner_span].concat(parsed.type_spans), is_public, NoImportBinding(),
 2376             Some(OwnedMethodSyntax(owner, owner_parameters, name))
 2377           )
 2378           parse_impl_items(tokens, declarations.append(method), syntax.append(metadata), owner, owner_span, owner_parameters, owner_type, parsed.next)
 2379         },
 2380         ImportDeclaration(path) => Error(parse_error("expected method", token_position(tokens, index))),
 2381         TypeDeclaration(name, base, guard_name, guard) => Error(parse_error("expected method", token_position(tokens, index))),
 2382         RecordDeclaration(name, types, fields) => Error(parse_error("expected method", token_position(tokens, index))),
 2383         EnumDeclaration(name, types, variants) => Error(parse_error("expected method", token_position(tokens, index)))
 2384       }
 2385     }
 2386   }
 2387 }
 2388 
 2389 pure parse_impl_declaration(
 2390   tokens: [Token], declarations: [TopLevel], syntax: [DeclarationSyntax], index: Nat
 2391 ): Result[ParsedModule, Diagnostic] {
 2392   match parse_generic_parameters(tokens, index + 1) {
 2393     Error(error) => Error(error),
 2394     Ok(parameters) => {
 2395       owner_start: Nat = parameters.next
 2396       if owner_start >= tokens.len() || (tokens[owner_start].kind != Identifier() && tokens[owner_start].text != "[") {
 2397         Error(parse_error("expected impl owner", token_position(tokens, owner_start)))
 2398       } else {
 2399         match parse_type_ref(tokens, owner_start) {
 2400           Error(error) => Error(error),
 2401           Ok(owner) => {
 2402             if owner.next >= tokens.len() || tokens[owner.next].text != "{" {
 2403               Error(parse_error("expected opening impl brace", token_position(tokens, owner.next)))
 2404             } else {
 2405               match parse_impl_items(tokens, declarations, syntax,
 2406                 if tokens[owner_start].text == "[" { "Array" } else { tokens[owner_start].text },
 2407                 owner.span, parameters.values, owner.text, owner.next + 1) {
 2408                 Error(error) => Error(error),
 2409                 Ok(module) => Ok(ParsedModule(module.program, module.syntax,
 2410                   module.implementations.append(OwnedImplementationSyntax(
 2411                     owner.text, parameters.values, owner.span))))
 2412               }
 2413             }
 2414           }
 2415         }
 2416       }
 2417     }
 2418   }
 2419 }
 2420 
 2421 pure parse_module_items(
 2422   tokens: [Token],
 2423   declarations: [TopLevel],
 2424   syntax: [DeclarationSyntax],
 2425   index: Nat
 2426 ): Result[ParsedModule, Diagnostic] {
 2427   if index == tokens.len() {
 2428     Ok(ParsedModule(indexed_program(declarations), syntax, []))
 2429   } else {
 2430     if tokens[index].text == ";" {
 2431       parse_module_items(tokens, declarations, syntax, index + 1)
 2432     } else if tokens[index].text == "impl" && index + 1 < tokens.len() &&
 2433         (tokens[index + 1].kind == Identifier() || tokens[index + 1].text == "[") {
 2434       parse_impl_declaration(tokens, declarations, syntax, index)
 2435     } else {
 2436       is_public: Bool = tokens[index].text == "pub"
 2437       start: Nat = if is_public {
 2438         index + 1
 2439       } else {
 2440         index
 2441       }
 2442       if start < tokens.len() && tokens[start].text == "import" {
 2443         match parse_import_path(tokens, start + 1) {
 2444           Error(error) => Error(error),
 2445           Ok(path) => match parse_import_binding(tokens, path.next, path.text) {
 2446             Error(error) => Error(error),
 2447             Ok(parsed) => {
 2448               metadata: DeclarationSyntax = DeclarationSyntax(
 2449                 SourceSpan(token_position(tokens, index), token_end_position(tokens, parsed.next)),
 2450                 [],
 2451                 is_public,
 2452                 parsed.binding, None()
 2453               )
 2454               if parsed.next == tokens.len() || tokens[parsed.next].text == ";" {
 2455                 next: Nat = if parsed.next == tokens.len() {
 2456                   parsed.next
 2457                 } else {
 2458                   parsed.next + 1
 2459                 }
 2460                 parse_module_items(
 2461                   tokens,
 2462                   declarations.append(ImportDeclaration(path.text)),
 2463                   syntax.append(metadata),
 2464                   next
 2465                 )
 2466               } else {
 2467                 Error(parse_error(
 2468                   "expected line break or semicolon after import",
 2469                   token_position(tokens, parsed.next)
 2470                 ))
 2471               }
 2472             }
 2473           }
 2474         }
 2475       } else {
 2476         match parse_nonimport_declaration(tokens, start) {
 2477           Error(error) => Error(error),
 2478           Ok(parsed) => {
 2479             metadata: DeclarationSyntax = DeclarationSyntax(
 2480               SourceSpan(token_position(tokens, index), token_end_position(tokens, parsed.next)),
 2481               parsed.type_spans,
 2482               is_public,
 2483               NoImportBinding(), None()
 2484             )
 2485             parse_module_items(
 2486               tokens,
 2487               declarations.append(parsed.value),
 2488               syntax.append(metadata),
 2489               parsed.next
 2490             )
 2491           }
 2492         }
 2493       }
 2494     }
 2495   }
 2496 }
 2497 
 2498 pub pure parse_module_complete(tokens: [Token]): Result[ParsedModule, Diagnostic] {
 2499   parse_module_items(tokens, [], [], 0)
 2500 }
 2501 
 2502 // The standalone parser has no module graph, so callers that need namespace
 2503 // identity must use project loading and its checked module pipeline.
 2504 pub pure module_execution_diagnostics(module: ParsedModule): [Diagnostic] {
 2505   mut aliases: Set[Str] = set()
 2506 
 2507   for syntax in module.syntax {
 2508     match syntax.binding {
 2509       NamespaceImportBinding(alias, explicit_alias) => {
 2510         aliases = aliases.add(alias)
 2511       },
 2512       NoImportBinding() => {},
 2513       SelectiveImportBinding(selectors) => {}
 2514     }
 2515   }
 2516   for declaration in module.program.declarations {
 2517     match declaration {
 2518       EnumDeclaration(name, parameters, variants) => {
 2519         aliases = aliases.add(name)
 2520       },
 2521       ImportDeclaration(path) => {},
 2522       TypeDeclaration(name, base, guard_name, guard) => {},
 2523       RecordDeclaration(name, parameters, fields) => {},
 2524       FunctionDeclaration(name, parameters, return_type, is_pure, is_async, body, type_parameters) => {}
 2525     }
 2526   }
 2527   mut diagnostics: [Diagnostic] = []
 2528   for implementation in module.implementations {
 2529     diagnostics = diagnostics.append(Diagnostic(
 2530       "namespace syntax is parsed but execution is not yet supported (language namespace migration pending)",
 2531       implementation.span.start))
 2532   }
 2533   mut index: Nat = 0
 2534   for syntax in module.syntax {
 2535     mut requires_namespaces: Bool = syntax.is_public || syntax.method != None() || declaration_requires_namespaces(
 2536       module.program.declarations[index],
 2537       aliases,
 2538       set()
 2539     )
 2540     match syntax.binding {
 2541       NoImportBinding() => {},
 2542       NamespaceImportBinding(alias, explicit_alias) => {
 2543         requires_namespaces = requires_namespaces || explicit_alias
 2544       },
 2545       SelectiveImportBinding(selectors) => {
 2546         requires_namespaces = true
 2547       }
 2548     }
 2549     if requires_namespaces {
 2550       diagnostics = diagnostics.append(
 2551         Diagnostic(
 2552         "namespace syntax is parsed but execution is not yet supported (language namespace migration pending)",
 2553         syntax.span.start
 2554       )
 2555       )
 2556     }
 2557     index = index + 1
 2558   }
 2559 
 2560   diagnostics
 2561 }
 2562 
 2563 pub pure parse_program_complete(tokens: [Token]): Result[Program, Diagnostic] {
 2564   match parse_module_complete(tokens) {
 2565     Error(error) => Error(error),
 2566     Ok(module) => {
 2567       diagnostics: [Diagnostic] = module_execution_diagnostics(module)
 2568       if diagnostics.len() > 0 {
 2569         Error(diagnostics[0])
 2570       } else {
 2571         Ok(module.program)
 2572       }
 2573     }
 2574   }
 2575 }
 2576 
 2577 pure render_expr_list(expressions: [Expr]): Str {
 2578   mut output: Str = ""
 2579   mut first: Bool = true
 2580 
 2581   for expression in expressions {
 2582     if first {
 2583       first = false
 2584     } else {
 2585       output = output + ", "
 2586     }
 2587     output = output + render_expr(expression)
 2588   }
 2589 
 2590   output
 2591 }
 2592 
 2593 pure render_name_list(names: [Str]): Str {
 2594   mut output: Str = ""
 2595   mut first: Bool = true
 2596 
 2597   for name in names {
 2598     if first {
 2599       first = false
 2600     } else {
 2601       output = output + ", "
 2602     }
 2603     output = output + name
 2604   }
 2605 
 2606   output
 2607 }
 2608 
 2609 pure render_match_arm(arm: MatchArm): Str {
 2610   variant: Str = arm.pattern.variant
 2611   bindings_text: Str = render_name_list(arm.pattern.bindings)
 2612   body_text: Str = render_expr(arm.body)
 2613   "${variant}(${bindings_text}) => ${body_text}"
 2614 }
 2615 
 2616 pure render_match_arms(arms: [MatchArm]): Str {
 2617   mut output: Str = ""
 2618   mut first: Bool = true
 2619 
 2620   for arm in arms {
 2621     if first {
 2622       first = false
 2623     } else {
 2624       output = output + ", "
 2625     }
 2626     output = output + render_match_arm(arm)
 2627   }
 2628 
 2629   output
 2630 }
 2631 
 2632 pub pure render_expr(expression: Expr): Str {
 2633   match expression {
 2634     LocatedExpr(position, value, located_type_argument_spans) => render_expr(value),
 2635     NatExpr(value) => "${value}",
 2636     DecimalExpr(text) => text,
 2637     StringExpr(text) => text,
 2638     BoolExpr(value) => if value {
 2639       "true"
 2640     } else {
 2641       "false"
 2642     },
 2643     NameExpr(name) => name,
 2644     FunctionExpr(name) => "@${name}",
 2645     AnonymousExpr(effect, parameters, result_type, body) => {
 2646       mut names: [Str] = []
 2647       for parameter in parameters {
 2648         annotation = match parameter.annotation {
 2649           None() => "",
 2650           Some(type_ref) => ": " + type_ref.text
 2651         }
 2652         names = names.append(parameter.name + annotation)
 2653       }
 2654       annotation = match result_type {
 2655         None() => "",
 2656         Some(type_ref) => ": " + type_ref.text
 2657       }
 2658       prefix = if effect == "inferred" { "" } else { effect + " " }
 2659       "(" + prefix + "(" + render_name_list(names) + ")" + annotation + " => " + render_expr(body) + ")"
 2660     },
 2661     ArrayExpr(items) => {
 2662       items_text: Str = render_expr_list(items)
 2663       "[${items_text}]"
 2664     },
 2665     UnaryExpr(operator, operand) => {
 2666       operand_text: Str = render_expr(operand)
 2667       if operator == "await" {
 2668         "(await ${operand_text})"
 2669       } else {
 2670         "(${operator}${operand_text})"
 2671       }
 2672     },
 2673     BinaryExpr(operator, left, right) => {
 2674       left_text: Str = render_expr(left)
 2675       right_text: Str = render_expr(right)
 2676       "(${left_text} ${operator} ${right_text})"
 2677     },
 2678     CallExpr(name, arguments, type_arguments) => {
 2679       arguments_text: Str = render_expr_list(arguments)
 2680       types_text: Str = render_type_parameters(type_arguments)
 2681       "${name}${types_text}(${arguments_text})"
 2682     },
 2683     OwnedCallExpr(target, name, arguments, types) => render_expr(target) + "." + name + render_type_parameters(types) + "(" + render_expr_list(arguments) + ")",
 2684     DotCallExpr(target, name, arguments, types) => render_expr(target) + "." + name + render_type_parameters(types) + "(" + render_expr_list(arguments) + ")",
 2685     FieldExpr(target, field) => {
 2686       target_text: Str = render_expr(target)
 2687       "${target_text}.${field}"
 2688     },
 2689     IndexExpr(target, index) => {
 2690       target_text: Str = render_expr(target)
 2691       index_text: Str = render_expr(index)
 2692       "${target_text}[${index_text}]"
 2693     },
 2694     IfExpr(condition, yes, no, has_else) => {
 2695       condition_text: Str = render_expr(condition)
 2696       yes_text: Str = render_block(yes)
 2697       if has_else {
 2698         no_text: Str = render_block(no)
 2699         "if ${condition_text} ${yes_text} else ${no_text}"
 2700       } else {
 2701         "if ${condition_text} ${yes_text}"
 2702       }
 2703     },
 2704     BlockExpr(block) => render_block(block),
 2705     MatchExpr(subject, arms) => {
 2706       subject_text: Str = render_expr(subject)
 2707       arms_text: Str = render_match_arms(arms)
 2708       if arms_text.len() == 0 {
 2709         "match ${subject_text} {}"
 2710       } else {
 2711         "match ${subject_text} { ${arms_text} }"
 2712       }
 2713     }
 2714   }
 2715 }
 2716 
 2717 pure render_statement(statement: Statement): Str {
 2718   match statement {
 2719     BindingStatement(name, type_name, annotation_span, mutable, value) => {
 2720       prefix: Str = if mutable {
 2721         "mut "
 2722       } else {
 2723         ""
 2724       }
 2725       value_text: Str = render_expr(value)
 2726       annotation: Str = if type_name.len() > 0 {
 2727         ": ${type_name}"
 2728       } else {
 2729         ""
 2730       }
 2731       "${prefix}${name}${annotation} = ${value_text};"
 2732     },
 2733     AssignmentStatement(name, value) => {
 2734       value_text: Str = render_expr(value)
 2735       "${name} = ${value_text};"
 2736     },
 2737     ExpressionStatement(expression) => {
 2738       expression_text: Str = render_expr(expression)
 2739       "${expression_text};"
 2740     },
 2741     WhileStatement(condition, body) => {
 2742       condition_text: Str = render_expr(condition)
 2743       body_text: Str = render_block(body)
 2744       "while ${condition_text} ${body_text}"
 2745     },
 2746     ForStatement(variable, iterable, body) => {
 2747       iterable_text: Str = render_expr(iterable)
 2748       body_text: Str = render_block(body)
 2749       "for ${variable} in ${iterable_text} ${body_text}"
 2750     }
 2751   }
 2752 }
 2753 
 2754 pure render_block(block: Block): Str {
 2755   mut contents: Str = ""
 2756 
 2757   for statement in block.statements {
 2758     if contents.len() > 0 {
 2759       contents = contents + " "
 2760     } else {
 2761     }
 2762     contents = contents + render_statement(statement)
 2763   }
 2764   match block.value {
 2765     NoBlockValue() => {},
 2766     TailBlockValue(value) => {
 2767       if contents.len() > 0 {
 2768         contents = contents + " "
 2769       } else {
 2770       }
 2771       contents = contents + render_expr(value)
 2772     }
 2773   }
 2774   if contents.len() == 0 {
 2775     "{}"
 2776   } else {
 2777     "{ ${contents} }"
 2778   }
 2779 }
 2780 
 2781 pure render_type_parameters(parameters: [Str]): Str {
 2782   if parameters.len() == 0 {
 2783     ""
 2784   } else {
 2785     parameters_text: Str = render_type_ref_list(parameters)
 2786     "[${parameters_text}]"
 2787   }
 2788 }
 2789 
 2790 pure render_record_fields(fields: [RecordField]): Str {
 2791   mut output: Str = ""
 2792   mut first: Bool = true
 2793 
 2794   for field in fields {
 2795     if first {
 2796       first = false
 2797     } else {
 2798       output = output + ", "
 2799     }
 2800     field_name: Str = field.name
 2801     type_name: Str = field.type_name
 2802     output = output + "${field_name}: ${type_name}"
 2803   }
 2804 
 2805   output
 2806 }
 2807 
 2808 pure render_record_declaration(name: Str, parameters: [Str], fields: [RecordField]): Str {
 2809   parameters_text: Str = render_type_parameters(parameters)
 2810   fields_text: Str = render_record_fields(fields)
 2811 
 2812   if fields_text.len() == 0 {
 2813     "record ${name}${parameters_text} {}"
 2814   } else {
 2815     "record ${name}${parameters_text} { ${fields_text} }"
 2816   }
 2817 }
 2818 
 2819 pure render_enum_variants(variants: [EnumVariant]): Str {
 2820   mut output: Str = ""
 2821   mut first: Bool = true
 2822 
 2823   for variant in variants {
 2824     if first {
 2825       first = false
 2826     } else {
 2827       output = output + ", "
 2828     }
 2829     variant_name: Str = variant.name
 2830     if variant.payload.len() == 0 {
 2831       output = output + variant_name
 2832     } else {
 2833       payload_text: Str = render_type_ref_list(variant.payload)
 2834       output = output + "${variant_name}(${payload_text})"
 2835     }
 2836   }
 2837 
 2838   output
 2839 }
 2840 
 2841 pure render_enum_declaration(name: Str, parameters: [Str], variants: [EnumVariant]): Str {
 2842   parameters_text: Str = render_type_parameters(parameters)
 2843   variants_text: Str = render_enum_variants(variants)
 2844 
 2845   if variants_text.len() == 0 {
 2846     "enum ${name}${parameters_text} {}"
 2847   } else {
 2848     "enum ${name}${parameters_text} { ${variants_text} }"
 2849   }
 2850 }
 2851 
 2852 pure render_function_parameters(parameters: [FunctionParameter]): Str {
 2853   mut output: Str = ""
 2854   mut first: Bool = true
 2855 
 2856   for parameter in parameters {
 2857     if first {
 2858       first = false
 2859     } else {
 2860       output = output + ", "
 2861     }
 2862     parameter_name: Str = parameter.name
 2863     type_name: Str = parameter.type_name
 2864     output = output + "${parameter_name}: ${type_name}"
 2865   }
 2866 
 2867   output
 2868 }
 2869 
 2870 pure render_function_declaration(
 2871   name: Str,
 2872   parameters: [FunctionParameter],
 2873   return_type: Str,
 2874   is_pure: Bool,
 2875   body: Block
 2876 ): Str {
 2877   prefix: Str = if is_pure {
 2878     "pure "
 2879   } else {
 2880     ""
 2881   }
 2882   parameters_text: Str = render_function_parameters(parameters)
 2883   body_text: Str = render_block(body)
 2884   "${prefix}${name}(${parameters_text}): ${return_type} ${body_text}"
 2885 }
 2886 
 2887 pure render_top_level(declaration: TopLevel): Str {
 2888   match declaration {
 2889     ImportDeclaration(path) => "import \"${path}\";",
 2890     TypeDeclaration(name, base, guard_name, guard) => {
 2891       guard_text: Str = render_expr(guard)
 2892       "type ${name} = ${base} where ${guard_name} => ${guard_text};"
 2893     },
 2894     RecordDeclaration(name, parameters, fields) => render_record_declaration(
 2895       name,
 2896       parameters,
 2897       fields
 2898     ),
 2899     EnumDeclaration(name, parameters, variants) => render_enum_declaration(
 2900       name,
 2901       parameters,
 2902       variants
 2903     ),
 2904     FunctionDeclaration(name, parameters, return_type, is_pure, is_async, body, type_parameters) => {
 2905       types_text: Str = render_type_parameters(type_parameters)
 2906       rendered: Str = render_function_declaration(
 2907         "${name}${types_text}",
 2908         parameters,
 2909         return_type,
 2910         is_pure,
 2911         body
 2912       )
 2913       if is_async {
 2914         "async ${rendered}"
 2915       } else {
 2916         rendered
 2917       }
 2918     }
 2919   }
 2920 }
 2921 
 2922 pure render_program(program: Program): Str {
 2923   mut output: Str = ""
 2924 
 2925   for declaration in program.declarations {
 2926     if output.len() > 0 {
 2927       output = output + " "
 2928     } else {
 2929     }
 2930     output = output + render_top_level(declaration)
 2931   }
 2932 
 2933   output
 2934 }
 2935 
 2936 pub pure parse_source(source: Str): Str {
 2937   match lex(source) {
 2938     Ok(tokens) => {
 2939       match parse_complete(tokens) {
 2940         Ok(expression) => render_expr(expression),
 2941         Error(error) => error.message
 2942       }
 2943     },
 2944     Error(errors) => "lexing failed"
 2945   }
 2946 }
 2947 
 2948 pub pure parse_block_source(source: Str): Str {
 2949   match lex(source) {
 2950     Ok(tokens) => {
 2951       match parse_block_complete(tokens) {
 2952         Ok(block) => render_block(block),
 2953         Error(error) => error.message
 2954       }
 2955     },
 2956     Error(errors) => "lexing failed"
 2957   }
 2958 }
 2959 
 2960 pub pure parse_program_source(source: Str): Str {
 2961   match lex(source) {
 2962     Ok(tokens) => {
 2963       match parse_program_complete(tokens) {
 2964         Ok(program) => render_program(program),
 2965         Error(error) => error.message
 2966       }
 2967     },
 2968     Error(errors) => "lexing failed"
 2969   }
 2970 }
 2971 
 2972 pub pure parse_type_source(source: Str): Str {
 2973   match lex(source) {
 2974     Ok(tokens) => {
 2975       match parse_type_complete(tokens) {
 2976         Ok(type_name) => type_name,
 2977         Error(error) => error.message
 2978       }
 2979     },
 2980     Error(errors) => "lexing failed"
 2981   }
 2982 }
 2983 
 2984 pub pure reference_head(name: Str): Str {
 2985   mut end: Nat = 0
 2986 
 2987   while end < name.len() && name[end] != "." {
 2988     end = end + 1
 2989   }
 2990   name.slice(0, end)
 2991 }
 2992 
 2993 pub pure reference_tail(name: Str): Str {
 2994   head: Str = reference_head(name)
 2995 
 2996   if head.len() < name.len() {
 2997     name.slice(head.len() + 1, name.len())
 2998   } else {
 2999     ""
 3000   }
 3001 }
 3002 
 3003 pub pure expression_reference_path(expression: Expr): Str {
 3004   match expression {
 3005     LocatedExpr(span, value, located_type_argument_spans) => expression_reference_path(value),
 3006     NameExpr(name) => name,
 3007     FieldExpr(target, field) => {
 3008       path: Str = expression_reference_path(target)
 3009       if path == "" {
 3010         ""
 3011       } else {
 3012         path + "." + field
 3013       }
 3014     },
 3015     NatExpr(value) => "",
 3016     DecimalExpr(text) => "",
 3017     StringExpr(text) => "",
 3018     BoolExpr(value) => "",
 3019     FunctionExpr(name) => "",
 3020     AnonymousExpr(effect, parameters, result_type, body) => "",
 3021     ArrayExpr(items) => "",
 3022     UnaryExpr(operator, operand) => "",
 3023     BinaryExpr(operator, left, right) => "",
 3024     CallExpr(name, arguments, types) => "",
 3025     OwnedCallExpr(target, name, arguments, types) => "",
 3026     DotCallExpr(target, name, arguments, types) => "",
 3027     IndexExpr(target, index) => "",
 3028     IfExpr(condition, yes, no, has_else) => "",
 3029     BlockExpr(block) => "",
 3030     MatchExpr(subject, arms) => ""
 3031   }
 3032 }
 3033 
 3034 pub pure type_has_qualification(name: Str): Bool {
 3035   mut found: Bool = false
 3036   mut index: Nat = 0
 3037 
 3038   while index < name.len() {
 3039     if name[index] == "." {
 3040       found = true
 3041     }
 3042     index = index + 1
 3043   }
 3044 
 3045   found
 3046 }
 3047 
 3048 // Only candidate namespace roots need membership in the gate's lexical set.
 3049 // Tracking unrelated locals changes no lookup and copies unnecessary sets.
 3050 pure expression_requires_namespaces(expression: Expr, aliases: Set[Str], locals: Set[Str]): Bool {
 3051   match expression {
 3052     LocatedExpr(span, value, located_type_argument_spans) => expression_requires_namespaces(value, aliases, locals),
 3053     OwnedCallExpr(target, name, arguments, types) => true,
 3054     DotCallExpr(target, name, arguments, types) => {
 3055       mut required: Bool = (aliases.has(reference_head(expression_reference_path(target))) &&
 3056         !locals.has(reference_head(expression_reference_path(target)))) ||
 3057         expression_requires_namespaces(
 3058         target,
 3059         aliases,
 3060         locals
 3061       )
 3062       for argument in arguments {
 3063         required = required || expression_requires_namespaces(argument, aliases, locals)
 3064       }
 3065       for type_name in types {
 3066         required = required || type_has_qualification(type_name)
 3067       }
 3068       required
 3069     },
 3070     FieldExpr(target, field) => (aliases.has(reference_head(expression_reference_path(target))) &&
 3071       !locals.has(reference_head(expression_reference_path(target)))) ||
 3072       expression_requires_namespaces(
 3073       target,
 3074       aliases,
 3075       locals
 3076     ),
 3077     FunctionExpr(name) => type_has_qualification(name),
 3078     AnonymousExpr(effect, parameters, result_type, body) => {
 3079       mut nested: Set[Str] = locals
 3080       mut required: Bool = false
 3081       for parameter in parameters {
 3082         nested = nested.add(parameter.name)
 3083         match parameter.annotation {
 3084           None() => {},
 3085           Some(type_ref) => { required = required || type_has_qualification(type_ref.text) }
 3086         }
 3087       }
 3088       match result_type {
 3089         None() => {},
 3090         Some(type_ref) => { required = required || type_has_qualification(type_ref.text) }
 3091       }
 3092       required || expression_requires_namespaces(body, aliases, nested)
 3093     },
 3094     CallExpr(name, arguments, types) => {
 3095       mut required: Bool = type_has_qualification(name)
 3096       for argument in arguments {
 3097         required = required || expression_requires_namespaces(argument, aliases, locals)
 3098       }
 3099       for type_name in types {
 3100         required = required || type_has_qualification(type_name)
 3101       }
 3102       required
 3103     },
 3104     ArrayExpr(items) => {
 3105       mut required: Bool = false
 3106       for item in items {
 3107         required = required || expression_requires_namespaces(item, aliases, locals)
 3108       }
 3109       required
 3110     },
 3111     UnaryExpr(operator, operand) => expression_requires_namespaces(operand, aliases, locals),
 3112     BinaryExpr(operator, left, right) => expression_requires_namespaces(
 3113       left,
 3114       aliases,
 3115       locals
 3116     ) || expression_requires_namespaces(right, aliases, locals),
 3117     IndexExpr(target, index) => expression_requires_namespaces(
 3118       target,
 3119       aliases,
 3120       locals
 3121     ) || expression_requires_namespaces(index, aliases, locals),
 3122     IfExpr(condition, yes, no, has_else) => expression_requires_namespaces(
 3123       condition,
 3124       aliases,
 3125       locals
 3126     ) || block_requires_namespaces(
 3127       yes,
 3128       aliases,
 3129       locals
 3130     ) || block_requires_namespaces(no, aliases, locals),
 3131     BlockExpr(block) => block_requires_namespaces(block, aliases, locals),
 3132     MatchExpr(subject, arms) => {
 3133       mut required: Bool = expression_requires_namespaces(subject, aliases, locals)
 3134       for arm in arms {
 3135         mut arm_locals: Set[Str] = locals
 3136         for name in arm.pattern.bindings {
 3137           if aliases.has(name) {
 3138             arm_locals = arm_locals.add(name)
 3139           }
 3140         }
 3141         required = required ||
 3142           type_has_qualification(arm.pattern.variant) ||
 3143           expression_requires_namespaces(
 3144           arm.body,
 3145           aliases,
 3146           arm_locals
 3147         )
 3148       }
 3149       required
 3150     },
 3151     NatExpr(value) => false,
 3152     DecimalExpr(text) => false,
 3153     StringExpr(text) => false,
 3154     BoolExpr(value) => false,
 3155     NameExpr(name) => false
 3156   }
 3157 }
 3158 
 3159 pure block_requires_namespaces(block: Block, aliases: Set[Str], locals: Set[Str]): Bool {
 3160   mut required: Bool = false
 3161   mut visible: Set[Str] = locals
 3162 
 3163   for statement in block.statements {
 3164     match statement {
 3165       BindingStatement(name, type_name, annotation_span, mutable, value) => {
 3166         required = required || type_has_qualification(type_name) || expression_requires_namespaces(
 3167           value,
 3168           aliases,
 3169           visible
 3170         )
 3171         if aliases.has(name) {
 3172           visible = visible.add(name)
 3173         }
 3174       },
 3175       AssignmentStatement(name, value) => {
 3176         required = required || expression_requires_namespaces(value, aliases, visible)
 3177         if aliases.has(name) {
 3178           visible = visible.add(name)
 3179         }
 3180       },
 3181       ExpressionStatement(value) => {
 3182         required = required || expression_requires_namespaces(value, aliases, visible)
 3183       },
 3184       WhileStatement(condition, body) => {
 3185         required = required || expression_requires_namespaces(
 3186           condition,
 3187           aliases,
 3188           visible
 3189         ) || block_requires_namespaces(body, aliases, visible)
 3190       },
 3191       ForStatement(name, values, body) => {
 3192         required = required || expression_requires_namespaces(
 3193           values,
 3194           aliases,
 3195           visible
 3196         ) || block_requires_namespaces(body, aliases, if aliases.has(name) {
 3197             visible.add(name)
 3198           } else {
 3199             visible
 3200           })
 3201       }
 3202     }
 3203   }
 3204   required || match block.value {
 3205     NoBlockValue() => false,
 3206     TailBlockValue(value) => expression_requires_namespaces(value, aliases, visible)
 3207   }
 3208 }
 3209 
 3210 pure declaration_requires_namespaces(
 3211   declaration: TopLevel,
 3212   aliases: Set[Str],
 3213   locals: Set[Str]
 3214 ): Bool {
 3215   match declaration {
 3216     ImportDeclaration(path) => false,
 3217     TypeDeclaration(name, base, guard_name, guard) => type_has_qualification(base) ||
 3218       expression_requires_namespaces(
 3219       guard,
 3220       aliases,
 3221       if aliases.has(guard_name) {
 3222         locals.add(guard_name)
 3223       } else {
 3224         locals
 3225       }),
 3226     RecordDeclaration(name, parameters, fields) => {
 3227       mut required: Bool = false
 3228       for field in fields {
 3229         required = required || type_has_qualification(field.type_name)
 3230       }
 3231       required
 3232     },
 3233     EnumDeclaration(name, parameters, variants) => {
 3234       mut required: Bool = false
 3235       for variant in variants {
 3236         for type_name in variant.payload {
 3237           required = required || type_has_qualification(type_name)
 3238         }
 3239       }
 3240       required
 3241     },
 3242     FunctionDeclaration(name, parameters, return_type, is_pure, is_async, body, type_parameters) => {
 3243       mut parameters_in_scope: Set[Str] = locals
 3244       for parameter in parameters {
 3245         if aliases.has(parameter.name) {
 3246           parameters_in_scope = parameters_in_scope.add(parameter.name)
 3247         }
 3248       }
 3249       mut required: Bool = type_has_qualification(return_type) || block_requires_namespaces(
 3250         body,
 3251         aliases,
 3252         parameters_in_scope
 3253       )
 3254       for parameter in parameters {
 3255         required = required || type_has_qualification(parameter.type_name)
 3256       }
 3257       required
 3258     }
 3259   }
 3260 }
 3261 

Functions

[
  {
    "id": "declaration/3",
    "name": "unlocated_expression",
    "line": 33,
    "state": "covered",
    "entries": "480359"
  },
  {
    "id": "declaration/12",
    "name": "indexed_program",
    "line": 116,
    "state": "covered",
    "entries": "3198"
  },
  {
    "id": "declaration/25",
    "name": "token_end_position",
    "line": 218,
    "state": "covered",
    "entries": "280681"
  },
  {
    "id": "declaration/26",
    "name": "token_span",
    "line": 232,
    "state": "covered",
    "entries": "118224"
  },
  {
    "id": "declaration/27",
    "name": "located_expression",
    "line": 236,
    "state": "covered",
    "entries": "85030"
  },
  {
    "id": "declaration/28",
    "name": "located_expression_with_type_argument_spans",
    "line": 244,
    "state": "covered",
    "entries": "16819"
  },
  {
    "id": "declaration/29",
    "name": "expression_type_argument_spans",
    "line": 258,
    "state": "covered",
    "entries": "96747"
  },
  {
    "id": "declaration/30",
    "name": "expression_span",
    "line": 282,
    "state": "covered",
    "entries": "84898"
  },
  {
    "id": "declaration/31",
    "name": "extended_expression",
    "line": 308,
    "state": "covered",
    "entries": "30320"
  },
  {
    "id": "declaration/32",
    "name": "extended_expression_with_type_argument_spans",
    "line": 315,
    "state": "covered",
    "entries": "10508"
  },
  {
    "id": "declaration/34",
    "name": "interpolation_position",
    "line": 340,
    "state": "zero",
    "entries": "0"
  },
  {
    "id": "declaration/35",
    "name": "parse_error",
    "line": 355,
    "state": "covered",
    "entries": "120"
  },
  {
    "id": "declaration/36",
    "name": "string_token_value",
    "line": 359,
    "state": "covered",
    "entries": "101"
  },
  {
    "id": "declaration/37",
    "name": "token_position",
    "line": 384,
    "state": "covered",
    "entries": "239933"
  },
  {
    "id": "declaration/38",
    "name": "parse_logical_import_path_tail",
    "line": 396,
    "state": "covered",
    "entries": "1888"
  },
  {
    "id": "declaration/39",
    "name": "parse_import_path",
    "line": 441,
    "state": "covered",
    "entries": "733"
  },
  {
    "id": "declaration/40",
    "name": "render_type_ref_list",
    "line": 457,
    "state": "covered",
    "entries": "4323"
  },
  {
    "id": "declaration/41",
    "name": "parse_type_ref_list_tail",
    "line": 473,
    "state": "covered",
    "entries": "7350"
  },
  {
    "id": "declaration/42",
    "name": "parse_type_ref_list",
    "line": 502,
    "state": "covered",
    "entries": "4439"
  },
  {
    "id": "declaration/43",
    "name": "parse_reference_path",
    "line": 512,
    "state": "covered",
    "entries": "40818"
  },
  {
    "id": "declaration/44",
    "name": "parse_type_ref",
    "line": 535,
    "state": "covered",
    "entries": "38496"
  },
  {
    "id": "declaration/45",
    "name": "parse_type_complete",
    "line": 577,
    "state": "covered",
    "entries": "11"
  },
  {
    "id": "declaration/46",
    "name": "parse_generic_parameter_tail",
    "line": 590,
    "state": "covered",
    "entries": "3848"
  },
  {
    "id": "declaration/47",
    "name": "parse_generic_parameters",
    "line": 622,
    "state": "covered",
    "entries": "13515"
  },
  {
    "id": "declaration/48",
    "name": "parse_variant_payload_tail",
    "line": 637,
    "state": "covered",
    "entries": "2773"
  },
  {
    "id": "declaration/49",
    "name": "parse_variant_payload",
    "line": 666,
    "state": "covered",
    "entries": "2657"
  },
  {
    "id": "declaration/50",
    "name": "parse_expression_list_tail",
    "line": 681,
    "state": "covered",
    "entries": "34203"
  },
  {
    "id": "declaration/51",
    "name": "parse_expression_list",
    "line": 710,
    "state": "covered",
    "entries": "29647"
  },
  {
    "id": "declaration/52",
    "name": "parse_pattern_bindings",
    "line": 729,
    "state": "covered",
    "entries": "8323"
  },
  {
    "id": "declaration/53",
    "name": "parse_expression_body",
    "line": 770,
    "state": "covered",
    "entries": "6068"
  },
  {
    "id": "declaration/54",
    "name": "parse_match_arms",
    "line": 784,
    "state": "covered",
    "entries": "5733"
  },
  {
    "id": "declaration/55",
    "name": "parse_match_expression",
    "line": 865,
    "state": "covered",
    "entries": "1546"
  },
  {
    "id": "declaration/57",
    "name": "discard_block_result",
    "line": 898,
    "state": "covered",
    "entries": "313"
  },
  {
    "id": "declaration/58",
    "name": "parse_if_branches",
    "line": 912,
    "state": "covered",
    "entries": "4788"
  },
  {
    "id": "declaration/59",
    "name": "parse_if_chain",
    "line": 969,
    "state": "covered",
    "entries": "4793"
  },
  {
    "id": "declaration/60",
    "name": "parse_if_expression",
    "line": 979,
    "state": "covered",
    "entries": "3968"
  },
  {
    "id": "declaration/61",
    "name": "parse_call_type_arguments",
    "line": 986,
    "state": "covered",
    "entries": "85057"
  },
  {
    "id": "declaration/64",
    "name": "anonymous_header_finish",
    "line": 1028,
    "state": "covered",
    "entries": "357"
  },
  {
    "id": "declaration/65",
    "name": "anonymous_header_parameters",
    "line": 1054,
    "state": "covered",
    "entries": "275"
  },
  {
    "id": "declaration/66",
    "name": "parse_anonymous_header",
    "line": 1097,
    "state": "covered",
    "entries": "97493"
  },
  {
    "id": "declaration/67",
    "name": "parse_named_expression",
    "line": 1133,
    "state": "covered",
    "entries": "65267"
  },
  {
    "id": "declaration/68",
    "name": "parse_primary",
    "line": 1161,
    "state": "covered",
    "entries": "97481"
  },
  {
    "id": "declaration/69",
    "name": "parse_non_anonymous_primary",
    "line": 1178,
    "state": "covered",
    "entries": "97129"
  },
  {
    "id": "declaration/70",
    "name": "parse_postfix_tail",
    "line": 1283,
    "state": "covered",
    "entries": "119096"
  },
  {
    "id": "declaration/71",
    "name": "parse_postfix",
    "line": 1348,
    "state": "covered",
    "entries": "97481"
  },
  {
    "id": "declaration/72",
    "name": "parse_unary",
    "line": 1355,
    "state": "covered",
    "entries": "98234"
  },
  {
    "id": "declaration/73",
    "name": "parse_product_tail",
    "line": 1373,
    "state": "covered",
    "entries": "97442"
  },
  {
    "id": "declaration/74",
    "name": "parse_product",
    "line": 1392,
    "state": "covered",
    "entries": "96052"
  },
  {
    "id": "declaration/75",
    "name": "parse_sum_tail",
    "line": 1399,
    "state": "covered",
    "entries": "96013"
  },
  {
    "id": "declaration/76",
    "name": "parse_sum",
    "line": 1415,
    "state": "covered",
    "entries": "91429"
  },
  {
    "id": "declaration/77",
    "name": "parse_comparison_tail",
    "line": 1422,
    "state": "covered",
    "entries": "91390"
  },
  {
    "id": "declaration/78",
    "name": "parse_comparison",
    "line": 1446,
    "state": "covered",
    "entries": "88237"
  },
  {
    "id": "declaration/79",
    "name": "parse_equality_tail",
    "line": 1453,
    "state": "covered",
    "entries": "88198"
  },
  {
    "id": "declaration/80",
    "name": "parse_equality",
    "line": 1469,
    "state": "covered",
    "entries": "83004"
  },
  {
    "id": "declaration/81",
    "name": "parse_and_tail",
    "line": 1476,
    "state": "covered",
    "entries": "82965"
  },
  {
    "id": "declaration/82",
    "name": "parse_and",
    "line": 1491,
    "state": "covered",
    "entries": "81068"
  },
  {
    "id": "declaration/83",
    "name": "parse_or_tail",
    "line": 1498,
    "state": "covered",
    "entries": "81029"
  },
  {
    "id": "declaration/84",
    "name": "parse_or",
    "line": 1513,
    "state": "covered",
    "entries": "78576"
  },
  {
    "id": "declaration/85",
    "name": "parse_range_tail",
    "line": 1520,
    "state": "covered",
    "entries": "78537"
  },
  {
    "id": "declaration/86",
    "name": "parse_expression",
    "line": 1535,
    "state": "covered",
    "entries": "78301"
  },
  {
    "id": "declaration/87",
    "name": "parse_complete",
    "line": 1542,
    "state": "covered",
    "entries": "157"
  },
  {
    "id": "declaration/88",
    "name": "parse_while_statement",
    "line": 1555,
    "state": "covered",
    "entries": "645"
  },
  {
    "id": "declaration/89",
    "name": "parse_for_statement",
    "line": 1580,
    "state": "covered",
    "entries": "1055"
  },
  {
    "id": "declaration/90",
    "name": "parse_block_items",
    "line": 1620,
    "state": "covered",
    "entries": "37643"
  },
  {
    "id": "declaration/91",
    "name": "parse_block",
    "line": 1767,
    "state": "covered",
    "entries": "20793"
  },
  {
    "id": "declaration/92",
    "name": "parse_block_complete",
    "line": 1780,
    "state": "covered",
    "entries": "32"
  },
  {
    "id": "declaration/93",
    "name": "parse_type_declaration",
    "line": 1793,
    "state": "covered",
    "entries": "146"
  },
  {
    "id": "declaration/94",
    "name": "parse_record_fields",
    "line": 1854,
    "state": "covered",
    "entries": "1470"
  },
  {
    "id": "declaration/95",
    "name": "parse_record_declaration",
    "line": 1914,
    "state": "covered",
    "entries": "616"
  },
  {
    "id": "declaration/96",
    "name": "parse_enum_variants",
    "line": 1938,
    "state": "covered",
    "entries": "4663"
  },
  {
    "id": "declaration/97",
    "name": "parse_enum_variant_tail",
    "line": 1990,
    "state": "covered",
    "entries": "4656"
  },
  {
    "id": "declaration/98",
    "name": "parse_enum_declaration",
    "line": 2019,
    "state": "covered",
    "entries": "2087"
  },
  {
    "id": "declaration/99",
    "name": "parse_function_parameter_items",
    "line": 2040,
    "state": "covered",
    "entries": "7782"
  },
  {
    "id": "declaration/100",
    "name": "parse_function_parameters",
    "line": 2091,
    "state": "covered",
    "entries": "8726"
  },
  {
    "id": "declaration/101",
    "name": "parse_function_declaration",
    "line": 2104,
    "state": "covered",
    "entries": "8734"
  },
  {
    "id": "declaration/109",
    "name": "default_import_alias",
    "line": 2214,
    "state": "covered",
    "entries": "38"
  },
  {
    "id": "declaration/110",
    "name": "import_identifier",
    "line": 2231,
    "state": "covered",
    "entries": "2967"
  },
  {
    "id": "declaration/111",
    "name": "parse_import_selectors",
    "line": 2236,
    "state": "covered",
    "entries": "1810"
  },
  {
    "id": "declaration/112",
    "name": "parse_import_binding",
    "line": 2291,
    "state": "covered",
    "entries": "729"
  },
  {
    "id": "declaration/113",
    "name": "parse_nonimport_declaration",
    "line": 2315,
    "state": "covered",
    "entries": "6910"
  },
  {
    "id": "declaration/114",
    "name": "owned_method_name",
    "line": 2341,
    "state": "covered",
    "entries": "4673"
  },
  {
    "id": "declaration/115",
    "name": "parse_impl_items",
    "line": 2345,
    "state": "covered",
    "entries": "9273"
  },
  {
    "id": "declaration/116",
    "name": "parse_impl_declaration",
    "line": 2389,
    "state": "covered",
    "entries": "2081"
  },
  {
    "id": "declaration/117",
    "name": "parse_module_items",
    "line": 2421,
    "state": "covered",
    "entries": "18319"
  },
  {
    "id": "declaration/118",
    "name": "parse_module_complete",
    "line": 2498,
    "state": "covered",
    "entries": "2596"
  },
  {
    "id": "declaration/119",
    "name": "module_execution_diagnostics",
    "line": 2504,
    "state": "covered",
    "entries": "782"
  },
  {
    "id": "declaration/120",
    "name": "parse_program_complete",
    "line": 2563,
    "state": "covered",
    "entries": "514"
  },
  {
    "id": "declaration/121",
    "name": "render_expr_list",
    "line": 2577,
    "state": "covered",
    "entries": "89"
  },
  {
    "id": "declaration/122",
    "name": "render_name_list",
    "line": 2593,
    "state": "covered",
    "entries": "26"
  },
  {
    "id": "declaration/123",
    "name": "render_match_arm",
    "line": 2609,
    "state": "covered",
    "entries": "13"
  },
  {
    "id": "declaration/124",
    "name": "render_match_arms",
    "line": 2616,
    "state": "covered",
    "entries": "8"
  },
  {
    "id": "declaration/125",
    "name": "render_expr",
    "line": 2632,
    "state": "covered",
    "entries": "2062"
  },
  {
    "id": "declaration/126",
    "name": "render_statement",
    "line": 2717,
    "state": "covered",
    "entries": "37"
  },
  {
    "id": "declaration/127",
    "name": "render_block",
    "line": 2754,
    "state": "covered",
    "entries": "70"
  },
  {
    "id": "declaration/128",
    "name": "render_type_parameters",
    "line": 2781,
    "state": "covered",
    "entries": "104"
  },
  {
    "id": "declaration/129",
    "name": "render_record_fields",
    "line": 2790,
    "state": "covered",
    "entries": "5"
  },
  {
    "id": "declaration/130",
    "name": "render_record_declaration",
    "line": 2808,
    "state": "covered",
    "entries": "5"
  },
  {
    "id": "declaration/131",
    "name": "render_enum_variants",
    "line": 2819,
    "state": "covered",
    "entries": "6"
  },
  {
    "id": "declaration/132",
    "name": "render_enum_declaration",
    "line": 2841,
    "state": "covered",
    "entries": "6"
  },
  {
    "id": "declaration/133",
    "name": "render_function_parameters",
    "line": 2852,
    "state": "covered",
    "entries": "8"
  },
  {
    "id": "declaration/134",
    "name": "render_function_declaration",
    "line": 2870,
    "state": "covered",
    "entries": "8"
  },
  {
    "id": "declaration/135",
    "name": "render_top_level",
    "line": 2887,
    "state": "covered",
    "entries": "32"
  },
  {
    "id": "declaration/136",
    "name": "render_program",
    "line": 2922,
    "state": "covered",
    "entries": "25"
  },
  {
    "id": "declaration/137",
    "name": "parse_source",
    "line": 2936,
    "state": "covered",
    "entries": "104"
  },
  {
    "id": "declaration/138",
    "name": "parse_block_source",
    "line": 2948,
    "state": "covered",
    "entries": "32"
  },
  {
    "id": "declaration/139",
    "name": "parse_program_source",
    "line": 2960,
    "state": "covered",
    "entries": "75"
  },
  {
    "id": "declaration/140",
    "name": "parse_type_source",
    "line": 2972,
    "state": "covered",
    "entries": "11"
  },
  {
    "id": "declaration/141",
    "name": "reference_head",
    "line": 2984,
    "state": "covered",
    "entries": "182247"
  },
  {
    "id": "declaration/142",
    "name": "reference_tail",
    "line": 2993,
    "state": "covered",
    "entries": "57375"
  },
  {
    "id": "declaration/143",
    "name": "expression_reference_path",
    "line": 3003,
    "state": "covered",
    "entries": "160019"
  },
  {
    "id": "declaration/144",
    "name": "type_has_qualification",
    "line": 3034,
    "state": "covered",
    "entries": "20791"
  },
  {
    "id": "declaration/145",
    "name": "expression_requires_namespaces",
    "line": 3050,
    "state": "covered",
    "entries": "125966"
  },
  {
    "id": "declaration/146",
    "name": "block_requires_namespaces",
    "line": 3159,
    "state": "covered",
    "entries": "9334"
  },
  {
    "id": "declaration/147",
    "name": "declaration_requires_namespaces",
    "line": 3210,
    "state": "covered",
    "entries": "3090"
  }
]

Source branch outcomes

[
  {
    "id": "declaration/3/statement/1/value/arm/0",
    "outcome": "LocatedExpr",
    "line": 37,
    "state": "covered",
    "hits": "181164"
  },
  {
    "id": "declaration/3/statement/1/value/arm/1",
    "outcome": "NatExpr",
    "line": 40,
    "state": "covered",
    "hits": "34797"
  },
  {
    "id": "declaration/3/statement/1/value/arm/2",
    "outcome": "DecimalExpr",
    "line": 41,
    "state": "covered",
    "hits": "81"
  },
  {
    "id": "declaration/3/statement/1/value/arm/3",
    "outcome": "StringExpr",
    "line": 42,
    "state": "covered",
    "hits": "20754"
  },
  {
    "id": "declaration/3/statement/1/value/arm/4",
    "outcome": "BoolExpr",
    "line": 43,
    "state": "covered",
    "hits": "4867"
  },
  {
    "id": "declaration/3/statement/1/value/arm/5",
    "outcome": "NameExpr",
    "line": 44,
    "state": "covered",
    "hits": "111586"
  },
  {
    "id": "declaration/3/statement/1/value/arm/6",
    "outcome": "FunctionExpr",
    "line": 45,
    "state": "covered",
    "hits": "297"
  },
  {
    "id": "declaration/3/statement/1/value/arm/7",
    "outcome": "AnonymousExpr",
    "line": 46,
    "state": "covered",
    "hits": "1322"
  },
  {
    "id": "declaration/3/statement/1/value/arm/8",
    "outcome": "ArrayExpr",
    "line": 47,
    "state": "covered",
    "hits": "6412"
  },
  {
    "id": "declaration/3/statement/1/value/arm/9",
    "outcome": "UnaryExpr",
    "line": 48,
    "state": "covered",
    "hits": "1469"
  },
  {
    "id": "declaration/3/statement/1/value/arm/10",
    "outcome": "BinaryExpr",
    "line": 49,
    "state": "covered",
    "hits": "22139"
  },
  {
    "id": "declaration/3/statement/1/value/arm/11",
    "outcome": "CallExpr",
    "line": 50,
    "state": "covered",
    "hits": "38047"
  },
  {
    "id": "declaration/3/statement/1/value/arm/12",
    "outcome": "OwnedCallExpr",
    "line": 51,
    "state": "covered",
    "hits": "216"
  },
  {
    "id": "declaration/3/statement/1/value/arm/13",
    "outcome": "DotCallExpr",
    "line": 52,
    "state": "covered",
    "hits": "14112"
  },
  {
    "id": "declaration/3/statement/1/value/arm/14",
    "outcome": "FieldExpr",
    "line": 53,
    "state": "covered",
    "hits": "11584"
  },
  {
    "id": "declaration/3/statement/1/value/arm/15",
    "outcome": "IndexExpr",
    "line": 54,
    "state": "covered",
    "hits": "2583"
  },
  {
    "id": "declaration/3/statement/1/value/arm/16",
    "outcome": "IfExpr",
    "line": 55,
    "state": "covered",
    "hits": "9328"
  },
  {
    "id": "declaration/3/statement/1/value/arm/17",
    "outcome": "BlockExpr",
    "line": 56,
    "state": "covered",
    "hits": "16526"
  },
  {
    "id": "declaration/3/statement/1/value/arm/18",
    "outcome": "MatchExpr",
    "line": 57,
    "state": "covered",
    "hits": "3075"
  },
  {
    "id": "declaration/12/statement/6/decision/body",
    "outcome": "body",
    "line": 124,
    "state": "covered",
    "hits": "36514"
  },
  {
    "id": "declaration/12/statement/6/decision/exit",
    "outcome": "exit",
    "line": 124,
    "state": "covered",
    "hits": "3198"
  },
  {
    "id": "declaration/12/statement/6/body/statement/0/value/arm/0",
    "outcome": "ImportDeclaration",
    "line": 126,
    "state": "covered",
    "hits": "1492"
  },
  {
    "id": "declaration/12/statement/6/body/statement/0/value/arm/1",
    "outcome": "TypeDeclaration",
    "line": 127,
    "state": "covered",
    "hits": "698"
  },
  {
    "id": "declaration/12/statement/6/body/statement/0/value/arm/2",
    "outcome": "RecordDeclaration",
    "line": 130,
    "state": "covered",
    "hits": "1984"
  },
  {
    "id": "declaration/12/statement/6/body/statement/0/value/arm/3",
    "outcome": "EnumDeclaration",
    "line": 133,
    "state": "covered",
    "hits": "4443"
  },
  {
    "id": "declaration/12/statement/6/body/statement/0/value/arm/3/body/block/statement/1/decision/body",
    "outcome": "body",
    "line": 135,
    "state": "covered",
    "hits": "11121"
  },
  {
    "id": "declaration/12/statement/6/body/statement/0/value/arm/3/body/block/statement/1/decision/exit",
    "outcome": "exit",
    "line": 135,
    "state": "covered",
    "hits": "4443"
  },
  {
    "id": "declaration/12/statement/6/body/statement/0/value/arm/4",
    "outcome": "FunctionDeclaration",
    "line": 139,
    "state": "covered",
    "hits": "27897"
  },
  {
    "id": "declaration/25/tail/decision/true",
    "outcome": "true",
    "line": 219,
    "state": "covered",
    "hits": "280681"
  },
  {
    "id": "declaration/25/tail/decision/false",
    "outcome": "false",
    "line": 219,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/25/tail/true/tail/decision/true",
    "outcome": "true",
    "line": 221,
    "state": "covered",
    "hits": "280681"
  },
  {
    "id": "declaration/25/tail/true/tail/decision/false",
    "outcome": "false",
    "line": 221,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/29/tail/arm/0",
    "outcome": "LocatedExpr",
    "line": 260,
    "state": "covered",
    "hits": "12933"
  },
  {
    "id": "declaration/29/tail/arm/1",
    "outcome": "NatExpr",
    "line": 261,
    "state": "covered",
    "hits": "12333"
  },
  {
    "id": "declaration/29/tail/arm/2",
    "outcome": "DecimalExpr",
    "line": 262,
    "state": "covered",
    "hits": "26"
  },
  {
    "id": "declaration/29/tail/arm/3",
    "outcome": "StringExpr",
    "line": 263,
    "state": "covered",
    "hits": "7824"
  },
  {
    "id": "declaration/29/tail/arm/4",
    "outcome": "BoolExpr",
    "line": 264,
    "state": "covered",
    "hits": "2418"
  },
  {
    "id": "declaration/29/tail/arm/5",
    "outcome": "NameExpr",
    "line": 265,
    "state": "covered",
    "hits": "48447"
  },
  {
    "id": "declaration/29/tail/arm/6",
    "outcome": "FunctionExpr",
    "line": 266,
    "state": "covered",
    "hits": "132"
  },
  {
    "id": "declaration/29/tail/arm/7",
    "outcome": "AnonymousExpr",
    "line": 267,
    "state": "covered",
    "hits": "351"
  },
  {
    "id": "declaration/29/tail/arm/8",
    "outcome": "ArrayExpr",
    "line": 268,
    "state": "covered",
    "hits": "2317"
  },
  {
    "id": "declaration/29/tail/arm/9",
    "outcome": "UnaryExpr",
    "line": 269,
    "state": "covered",
    "hits": "753"
  },
  {
    "id": "declaration/29/tail/arm/10",
    "outcome": "BinaryExpr",
    "line": 270,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/29/tail/arm/11",
    "outcome": "CallExpr",
    "line": 271,
    "state": "covered",
    "hits": "69"
  },
  {
    "id": "declaration/29/tail/arm/12",
    "outcome": "OwnedCallExpr",
    "line": 272,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/29/tail/arm/13",
    "outcome": "DotCallExpr",
    "line": 273,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/29/tail/arm/14",
    "outcome": "FieldExpr",
    "line": 274,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/29/tail/arm/15",
    "outcome": "IndexExpr",
    "line": 275,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/29/tail/arm/16",
    "outcome": "IfExpr",
    "line": 276,
    "state": "covered",
    "hits": "4781"
  },
  {
    "id": "declaration/29/tail/arm/17",
    "outcome": "BlockExpr",
    "line": 277,
    "state": "covered",
    "hits": "2828"
  },
  {
    "id": "declaration/29/tail/arm/18",
    "outcome": "MatchExpr",
    "line": 278,
    "state": "covered",
    "hits": "1535"
  },
  {
    "id": "declaration/30/tail/arm/0",
    "outcome": "LocatedExpr",
    "line": 284,
    "state": "covered",
    "hits": "74191"
  },
  {
    "id": "declaration/30/tail/arm/1",
    "outcome": "NatExpr",
    "line": 285,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/30/tail/arm/2",
    "outcome": "DecimalExpr",
    "line": 286,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/30/tail/arm/3",
    "outcome": "StringExpr",
    "line": 287,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/30/tail/arm/4",
    "outcome": "BoolExpr",
    "line": 288,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/30/tail/arm/5",
    "outcome": "NameExpr",
    "line": 289,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/30/tail/arm/6",
    "outcome": "FunctionExpr",
    "line": 290,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/30/tail/arm/7",
    "outcome": "AnonymousExpr",
    "line": 291,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/30/tail/arm/8",
    "outcome": "ArrayExpr",
    "line": 292,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/30/tail/arm/9",
    "outcome": "UnaryExpr",
    "line": 293,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/30/tail/arm/10",
    "outcome": "BinaryExpr",
    "line": 294,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/30/tail/arm/11",
    "outcome": "CallExpr",
    "line": 295,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/30/tail/arm/12",
    "outcome": "OwnedCallExpr",
    "line": 296,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/30/tail/arm/13",
    "outcome": "DotCallExpr",
    "line": 297,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/30/tail/arm/14",
    "outcome": "FieldExpr",
    "line": 298,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/30/tail/arm/15",
    "outcome": "IndexExpr",
    "line": 299,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/30/tail/arm/16",
    "outcome": "IfExpr",
    "line": 300,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/30/tail/arm/17",
    "outcome": "BlockExpr",
    "line": 301,
    "state": "covered",
    "hits": "10706"
  },
  {
    "id": "declaration/30/tail/arm/18",
    "outcome": "MatchExpr",
    "line": 302,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/31/tail/arm/0",
    "outcome": "Some",
    "line": 310,
    "state": "covered",
    "hits": "30320"
  },
  {
    "id": "declaration/31/tail/arm/1",
    "outcome": "None",
    "line": 311,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/32/tail/arm/0",
    "outcome": "Some",
    "line": 323,
    "state": "covered",
    "hits": "10508"
  },
  {
    "id": "declaration/32/tail/arm/1",
    "outcome": "None",
    "line": 328,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/34/statement/4/decision/body",
    "outcome": "body",
    "line": 345,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/34/statement/4/decision/exit",
    "outcome": "exit",
    "line": 345,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/34/statement/4/body/statement/0/value/decision/true",
    "outcome": "true",
    "line": 346,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/34/statement/4/body/statement/0/value/decision/false",
    "outcome": "false",
    "line": 346,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/34/statement/4/body/statement/1/value/decision/true",
    "outcome": "true",
    "line": 347,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/34/statement/4/body/statement/1/value/decision/false",
    "outcome": "false",
    "line": 347,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/36/statement/4/decision/body",
    "outcome": "body",
    "line": 365,
    "state": "covered",
    "hits": "1367"
  },
  {
    "id": "declaration/36/statement/4/decision/exit",
    "outcome": "exit",
    "line": 365,
    "state": "covered",
    "hits": "101"
  },
  {
    "id": "declaration/36/statement/4/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 365,
    "state": "covered",
    "hits": "1367"
  },
  {
    "id": "declaration/36/statement/4/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 365,
    "state": "covered",
    "hits": "101"
  },
  {
    "id": "declaration/36/statement/4/body/statement/0/value/decision/true",
    "outcome": "true",
    "line": 366,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/36/statement/4/body/statement/0/value/decision/false",
    "outcome": "false",
    "line": 366,
    "state": "covered",
    "hits": "1367"
  },
  {
    "id": "declaration/36/statement/4/body/statement/0/value/false/tail/decision/true",
    "outcome": "true",
    "line": 369,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/36/statement/4/body/statement/0/value/false/tail/decision/false",
    "outcome": "false",
    "line": 369,
    "state": "covered",
    "hits": "1367"
  },
  {
    "id": "declaration/36/statement/4/body/statement/0/value/false/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 372,
    "state": "covered",
    "hits": "101"
  },
  {
    "id": "declaration/36/statement/4/body/statement/0/value/false/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 372,
    "state": "covered",
    "hits": "1266"
  },
  {
    "id": "declaration/37/tail/decision/true",
    "outcome": "true",
    "line": 385,
    "state": "covered",
    "hits": "239896"
  },
  {
    "id": "declaration/37/tail/decision/false",
    "outcome": "false",
    "line": 385,
    "state": "covered",
    "hits": "37"
  },
  {
    "id": "declaration/37/tail/false/statement/1/decision/body",
    "outcome": "body",
    "line": 389,
    "state": "covered",
    "hits": "110"
  },
  {
    "id": "declaration/37/tail/false/statement/1/decision/exit",
    "outcome": "exit",
    "line": 389,
    "state": "covered",
    "hits": "37"
  },
  {
    "id": "declaration/38/tail/decision/true",
    "outcome": "true",
    "line": 402,
    "state": "covered",
    "hits": "1258"
  },
  {
    "id": "declaration/38/tail/decision/false",
    "outcome": "false",
    "line": 402,
    "state": "covered",
    "hits": "630"
  },
  {
    "id": "declaration/38/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 402,
    "state": "covered",
    "hits": "1887"
  },
  {
    "id": "declaration/38/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 402,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/38/tail/true/tail/decision/true",
    "outcome": "true",
    "line": 404,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/38/tail/true/tail/decision/false",
    "outcome": "false",
    "line": 404,
    "state": "covered",
    "hits": "1257"
  },
  {
    "id": "declaration/38/tail/true/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 404,
    "state": "covered",
    "hits": "1258"
  },
  {
    "id": "declaration/38/tail/true/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 404,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/38/tail/true/tail/condition/right/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 405,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/38/tail/true/tail/condition/right/decision/skip-right",
    "outcome": "skip-right",
    "line": 405,
    "state": "covered",
    "hits": "1257"
  },
  {
    "id": "declaration/38/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 415,
    "state": "covered",
    "hits": "3"
  },
  {
    "id": "declaration/38/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 415,
    "state": "covered",
    "hits": "627"
  },
  {
    "id": "declaration/38/tail/false/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 415,
    "state": "covered",
    "hits": "629"
  },
  {
    "id": "declaration/38/tail/false/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 415,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/38/tail/false/tail/true/tail/decision/true",
    "outcome": "true",
    "line": 417,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/38/tail/false/tail/true/tail/decision/false",
    "outcome": "false",
    "line": 417,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/38/tail/false/tail/true/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 417,
    "state": "covered",
    "hits": "3"
  },
  {
    "id": "declaration/38/tail/false/tail/true/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 417,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/38/tail/false/tail/true/tail/condition/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 417,
    "state": "covered",
    "hits": "3"
  },
  {
    "id": "declaration/38/tail/false/tail/true/tail/condition/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 417,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/38/tail/false/tail/true/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 425,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/38/tail/false/tail/true/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 425,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/38/tail/false/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 432,
    "state": "covered",
    "hits": "627"
  },
  {
    "id": "declaration/38/tail/false/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 432,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/39/tail/decision/true",
    "outcome": "true",
    "line": 442,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/39/tail/decision/false",
    "outcome": "false",
    "line": 442,
    "state": "covered",
    "hits": "732"
  },
  {
    "id": "declaration/39/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 445,
    "state": "covered",
    "hits": "101"
  },
  {
    "id": "declaration/39/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 445,
    "state": "covered",
    "hits": "631"
  },
  {
    "id": "declaration/39/tail/false/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 448,
    "state": "covered",
    "hits": "631"
  },
  {
    "id": "declaration/39/tail/false/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 448,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/40/statement/2/decision/body",
    "outcome": "body",
    "line": 461,
    "state": "covered",
    "hits": "7236"
  },
  {
    "id": "declaration/40/statement/2/decision/exit",
    "outcome": "exit",
    "line": 461,
    "state": "covered",
    "hits": "4323"
  },
  {
    "id": "declaration/40/statement/2/body/statement/0/value/decision/true",
    "outcome": "true",
    "line": 462,
    "state": "covered",
    "hits": "4323"
  },
  {
    "id": "declaration/40/statement/2/body/statement/0/value/decision/false",
    "outcome": "false",
    "line": 462,
    "state": "covered",
    "hits": "2913"
  },
  {
    "id": "declaration/41/tail/decision/true",
    "outcome": "true",
    "line": 479,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/41/tail/decision/false",
    "outcome": "false",
    "line": 479,
    "state": "covered",
    "hits": "7350"
  },
  {
    "id": "declaration/41/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 482,
    "state": "covered",
    "hits": "4435"
  },
  {
    "id": "declaration/41/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 482,
    "state": "covered",
    "hits": "2915"
  },
  {
    "id": "declaration/41/tail/false/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 485,
    "state": "covered",
    "hits": "2914"
  },
  {
    "id": "declaration/41/tail/false/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 485,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/41/tail/false/tail/false/tail/true/tail/arm/0",
    "outcome": "Ok",
    "line": 487,
    "state": "covered",
    "hits": "2913"
  },
  {
    "id": "declaration/41/tail/false/tail/false/tail/true/tail/arm/1",
    "outcome": "Error",
    "line": 493,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/42/tail/arm/0",
    "outcome": "Ok",
    "line": 504,
    "state": "covered",
    "hits": "4437"
  },
  {
    "id": "declaration/42/tail/arm/1",
    "outcome": "Error",
    "line": 508,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/43/tail/decision/true",
    "outcome": "true",
    "line": 513,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/43/tail/decision/false",
    "outcome": "false",
    "line": 513,
    "state": "covered",
    "hits": "40818"
  },
  {
    "id": "declaration/43/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 513,
    "state": "covered",
    "hits": "40818"
  },
  {
    "id": "declaration/43/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 513,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/43/tail/false/statement/3/decision/body",
    "outcome": "body",
    "line": 519,
    "state": "covered",
    "hits": "151"
  },
  {
    "id": "declaration/43/tail/false/statement/3/decision/exit",
    "outcome": "exit",
    "line": 519,
    "state": "covered",
    "hits": "40818"
  },
  {
    "id": "declaration/43/tail/false/statement/3/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 519,
    "state": "covered",
    "hits": "151"
  },
  {
    "id": "declaration/43/tail/false/statement/3/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 519,
    "state": "covered",
    "hits": "40818"
  },
  {
    "id": "declaration/43/tail/false/statement/3/condition/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 519,
    "state": "covered",
    "hits": "40906"
  },
  {
    "id": "declaration/43/tail/false/statement/3/condition/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 519,
    "state": "covered",
    "hits": "63"
  },
  {
    "id": "declaration/43/tail/false/statement/3/body/tail/decision/true",
    "outcome": "true",
    "line": 520,
    "state": "covered",
    "hits": "151"
  },
  {
    "id": "declaration/43/tail/false/statement/3/body/tail/decision/false",
    "outcome": "false",
    "line": 520,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/43/tail/false/statement/3/body/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 520,
    "state": "covered",
    "hits": "151"
  },
  {
    "id": "declaration/43/tail/false/statement/3/body/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 520,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/43/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 527,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/43/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 527,
    "state": "covered",
    "hits": "40818"
  },
  {
    "id": "declaration/44/tail/decision/true",
    "outcome": "true",
    "line": 536,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/44/tail/decision/false",
    "outcome": "false",
    "line": 536,
    "state": "covered",
    "hits": "38495"
  },
  {
    "id": "declaration/44/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 539,
    "state": "covered",
    "hits": "3584"
  },
  {
    "id": "declaration/44/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 539,
    "state": "covered",
    "hits": "34911"
  },
  {
    "id": "declaration/44/tail/false/tail/true/tail/arm/0",
    "outcome": "Ok",
    "line": 541,
    "state": "covered",
    "hits": "3583"
  },
  {
    "id": "declaration/44/tail/false/tail/true/tail/arm/0/body/block/tail/decision/true",
    "outcome": "true",
    "line": 542,
    "state": "covered",
    "hits": "3582"
  },
  {
    "id": "declaration/44/tail/false/tail/true/tail/arm/0/body/block/tail/decision/false",
    "outcome": "false",
    "line": 542,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/44/tail/false/tail/true/tail/arm/0/body/block/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 542,
    "state": "covered",
    "hits": "3582"
  },
  {
    "id": "declaration/44/tail/false/tail/true/tail/arm/0/body/block/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 542,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/44/tail/false/tail/true/tail/arm/1",
    "outcome": "Error",
    "line": 549,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/44/tail/false/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 552,
    "state": "covered",
    "hits": "34899"
  },
  {
    "id": "declaration/44/tail/false/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 552,
    "state": "covered",
    "hits": "12"
  },
  {
    "id": "declaration/44/tail/false/tail/false/tail/true/tail/arm/0",
    "outcome": "Error",
    "line": 554,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/44/tail/false/tail/false/tail/true/tail/arm/1",
    "outcome": "Ok",
    "line": 555,
    "state": "covered",
    "hits": "34899"
  },
  {
    "id": "declaration/44/tail/false/tail/false/tail/true/tail/arm/1/body/block/tail/decision/true",
    "outcome": "true",
    "line": 557,
    "state": "covered",
    "hits": "4311"
  },
  {
    "id": "declaration/44/tail/false/tail/false/tail/true/tail/arm/1/body/block/tail/decision/false",
    "outcome": "false",
    "line": 557,
    "state": "covered",
    "hits": "30588"
  },
  {
    "id": "declaration/44/tail/false/tail/false/tail/true/tail/arm/1/body/block/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 557,
    "state": "covered",
    "hits": "34894"
  },
  {
    "id": "declaration/44/tail/false/tail/false/tail/true/tail/arm/1/body/block/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 557,
    "state": "covered",
    "hits": "5"
  },
  {
    "id": "declaration/44/tail/false/tail/false/tail/true/tail/arm/1/body/block/tail/true/tail/arm/0",
    "outcome": "Ok",
    "line": 559,
    "state": "covered",
    "hits": "4307"
  },
  {
    "id": "declaration/44/tail/false/tail/false/tail/true/tail/arm/1/body/block/tail/true/tail/arm/1",
    "outcome": "Error",
    "line": 563,
    "state": "covered",
    "hits": "4"
  },
  {
    "id": "declaration/45/tail/arm/0",
    "outcome": "Ok",
    "line": 579,
    "state": "covered",
    "hits": "5"
  },
  {
    "id": "declaration/45/tail/arm/0/body/block/tail/decision/true",
    "outcome": "true",
    "line": 580,
    "state": "covered",
    "hits": "4"
  },
  {
    "id": "declaration/45/tail/arm/0/body/block/tail/decision/false",
    "outcome": "false",
    "line": 580,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/45/tail/arm/1",
    "outcome": "Error",
    "line": 586,
    "state": "covered",
    "hits": "6"
  },
  {
    "id": "declaration/46/tail/decision/true",
    "outcome": "true",
    "line": 595,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/46/tail/decision/false",
    "outcome": "false",
    "line": 595,
    "state": "covered",
    "hits": "3848"
  },
  {
    "id": "declaration/46/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 598,
    "state": "covered",
    "hits": "2924"
  },
  {
    "id": "declaration/46/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 598,
    "state": "covered",
    "hits": "924"
  },
  {
    "id": "declaration/46/tail/false/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 601,
    "state": "covered",
    "hits": "921"
  },
  {
    "id": "declaration/46/tail/false/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 601,
    "state": "covered",
    "hits": "3"
  },
  {
    "id": "declaration/46/tail/false/tail/false/tail/true/tail/decision/true",
    "outcome": "true",
    "line": 603,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/46/tail/false/tail/false/tail/true/tail/decision/false",
    "outcome": "false",
    "line": 603,
    "state": "covered",
    "hits": "919"
  },
  {
    "id": "declaration/46/tail/false/tail/false/tail/true/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 603,
    "state": "covered",
    "hits": "921"
  },
  {
    "id": "declaration/46/tail/false/tail/false/tail/true/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 603,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/47/tail/decision/true",
    "outcome": "true",
    "line": 623,
    "state": "covered",
    "hits": "10584"
  },
  {
    "id": "declaration/47/tail/decision/false",
    "outcome": "false",
    "line": 623,
    "state": "covered",
    "hits": "2931"
  },
  {
    "id": "declaration/47/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 623,
    "state": "covered",
    "hits": "13509"
  },
  {
    "id": "declaration/47/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 623,
    "state": "covered",
    "hits": "6"
  },
  {
    "id": "declaration/47/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 628,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/47/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 628,
    "state": "covered",
    "hits": "2929"
  },
  {
    "id": "declaration/47/tail/false/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 628,
    "state": "covered",
    "hits": "2931"
  },
  {
    "id": "declaration/47/tail/false/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 628,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/48/tail/decision/true",
    "outcome": "true",
    "line": 643,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/48/tail/decision/false",
    "outcome": "false",
    "line": 643,
    "state": "covered",
    "hits": "2773"
  },
  {
    "id": "declaration/48/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 646,
    "state": "covered",
    "hits": "2653"
  },
  {
    "id": "declaration/48/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 646,
    "state": "covered",
    "hits": "120"
  },
  {
    "id": "declaration/48/tail/false/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 649,
    "state": "covered",
    "hits": "118"
  },
  {
    "id": "declaration/48/tail/false/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 649,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/48/tail/false/tail/false/tail/true/tail/arm/0",
    "outcome": "Ok",
    "line": 651,
    "state": "covered",
    "hits": "117"
  },
  {
    "id": "declaration/48/tail/false/tail/false/tail/true/tail/arm/1",
    "outcome": "Error",
    "line": 657,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/49/tail/decision/true",
    "outcome": "true",
    "line": 667,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/49/tail/decision/false",
    "outcome": "false",
    "line": 667,
    "state": "covered",
    "hits": "2657"
  },
  {
    "id": "declaration/49/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 667,
    "state": "covered",
    "hits": "2657"
  },
  {
    "id": "declaration/49/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 667,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/49/tail/false/tail/arm/0",
    "outcome": "Ok",
    "line": 672,
    "state": "covered",
    "hits": "2656"
  },
  {
    "id": "declaration/49/tail/false/tail/arm/1",
    "outcome": "Error",
    "line": 676,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/50/tail/decision/true",
    "outcome": "true",
    "line": 687,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/50/tail/decision/false",
    "outcome": "false",
    "line": 687,
    "state": "covered",
    "hits": "34203"
  },
  {
    "id": "declaration/50/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 690,
    "state": "covered",
    "hits": "19967"
  },
  {
    "id": "declaration/50/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 690,
    "state": "covered",
    "hits": "14236"
  },
  {
    "id": "declaration/50/tail/false/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 693,
    "state": "covered",
    "hits": "14234"
  },
  {
    "id": "declaration/50/tail/false/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 693,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/50/tail/false/tail/false/tail/true/tail/arm/0",
    "outcome": "Ok",
    "line": 695,
    "state": "covered",
    "hits": "14233"
  },
  {
    "id": "declaration/50/tail/false/tail/false/tail/true/tail/arm/1",
    "outcome": "Error",
    "line": 701,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/51/tail/decision/true",
    "outcome": "true",
    "line": 715,
    "state": "covered",
    "hits": "9677"
  },
  {
    "id": "declaration/51/tail/decision/false",
    "outcome": "false",
    "line": 715,
    "state": "covered",
    "hits": "19970"
  },
  {
    "id": "declaration/51/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 715,
    "state": "covered",
    "hits": "29647"
  },
  {
    "id": "declaration/51/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 715,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/51/tail/false/tail/arm/0",
    "outcome": "Ok",
    "line": 720,
    "state": "covered",
    "hits": "19970"
  },
  {
    "id": "declaration/51/tail/false/tail/arm/1",
    "outcome": "Error",
    "line": 724,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/52/tail/decision/true",
    "outcome": "true",
    "line": 734,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/52/tail/decision/false",
    "outcome": "false",
    "line": 734,
    "state": "covered",
    "hits": "8323"
  },
  {
    "id": "declaration/52/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 737,
    "state": "covered",
    "hits": "1387"
  },
  {
    "id": "declaration/52/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 737,
    "state": "covered",
    "hits": "6936"
  },
  {
    "id": "declaration/52/tail/false/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 740,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/52/tail/false/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 740,
    "state": "covered",
    "hits": "6935"
  },
  {
    "id": "declaration/52/tail/false/tail/false/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 745,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/52/tail/false/tail/false/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 745,
    "state": "covered",
    "hits": "6935"
  },
  {
    "id": "declaration/52/tail/false/tail/false/tail/false/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 748,
    "state": "covered",
    "hits": "4330"
  },
  {
    "id": "declaration/52/tail/false/tail/false/tail/false/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 748,
    "state": "covered",
    "hits": "2605"
  },
  {
    "id": "declaration/52/tail/false/tail/false/tail/false/tail/false/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 751,
    "state": "covered",
    "hits": "2604"
  },
  {
    "id": "declaration/52/tail/false/tail/false/tail/false/tail/false/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 751,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/52/tail/false/tail/false/tail/false/tail/false/tail/false/tail/true/tail/decision/true",
    "outcome": "true",
    "line": 752,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/52/tail/false/tail/false/tail/false/tail/false/tail/false/tail/true/tail/decision/false",
    "outcome": "false",
    "line": 752,
    "state": "covered",
    "hits": "2603"
  },
  {
    "id": "declaration/52/tail/false/tail/false/tail/false/tail/false/tail/false/tail/true/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 752,
    "state": "covered",
    "hits": "2604"
  },
  {
    "id": "declaration/52/tail/false/tail/false/tail/false/tail/false/tail/false/tail/true/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 752,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/53/tail/decision/true",
    "outcome": "true",
    "line": 771,
    "state": "covered",
    "hits": "2828"
  },
  {
    "id": "declaration/53/tail/decision/false",
    "outcome": "false",
    "line": 771,
    "state": "covered",
    "hits": "3240"
  },
  {
    "id": "declaration/53/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 771,
    "state": "covered",
    "hits": "6067"
  },
  {
    "id": "declaration/53/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 771,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/53/tail/true/tail/arm/0",
    "outcome": "Ok",
    "line": 773,
    "state": "covered",
    "hits": "2828"
  },
  {
    "id": "declaration/53/tail/true/tail/arm/1",
    "outcome": "Error",
    "line": 777,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/54/tail/decision/true",
    "outcome": "true",
    "line": 789,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/54/tail/decision/false",
    "outcome": "false",
    "line": 789,
    "state": "covered",
    "hits": "5732"
  },
  {
    "id": "declaration/54/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 792,
    "state": "covered",
    "hits": "10"
  },
  {
    "id": "declaration/54/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 792,
    "state": "covered",
    "hits": "5722"
  },
  {
    "id": "declaration/54/tail/false/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 795,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/54/tail/false/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 795,
    "state": "covered",
    "hits": "5721"
  },
  {
    "id": "declaration/54/tail/false/tail/false/tail/false/tail/arm/0",
    "outcome": "Error",
    "line": 799,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/54/tail/false/tail/false/tail/false/tail/arm/1",
    "outcome": "Ok",
    "line": 800,
    "state": "covered",
    "hits": "5721"
  },
  {
    "id": "declaration/54/tail/false/tail/false/tail/false/tail/arm/1/body/block/tail/decision/true",
    "outcome": "true",
    "line": 803,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/54/tail/false/tail/false/tail/false/tail/arm/1/body/block/tail/decision/false",
    "outcome": "false",
    "line": 803,
    "state": "covered",
    "hits": "5720"
  },
  {
    "id": "declaration/54/tail/false/tail/false/tail/false/tail/arm/1/body/block/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 803,
    "state": "covered",
    "hits": "5721"
  },
  {
    "id": "declaration/54/tail/false/tail/false/tail/false/tail/arm/1/body/block/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 803,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/54/tail/false/tail/false/tail/false/tail/arm/1/body/block/tail/false/tail/arm/0",
    "outcome": "Ok",
    "line": 811,
    "state": "covered",
    "hits": "5717"
  },
  {
    "id": "declaration/54/tail/false/tail/false/tail/false/tail/arm/1/body/block/tail/false/tail/arm/0/body/block/tail/decision/true",
    "outcome": "true",
    "line": 812,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/54/tail/false/tail/false/tail/false/tail/arm/1/body/block/tail/false/tail/arm/0/body/block/tail/decision/false",
    "outcome": "false",
    "line": 812,
    "state": "covered",
    "hits": "5716"
  },
  {
    "id": "declaration/54/tail/false/tail/false/tail/false/tail/arm/1/body/block/tail/false/tail/arm/0/body/block/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 812,
    "state": "covered",
    "hits": "5717"
  },
  {
    "id": "declaration/54/tail/false/tail/false/tail/false/tail/arm/1/body/block/tail/false/tail/arm/0/body/block/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 812,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/54/tail/false/tail/false/tail/false/tail/arm/1/body/block/tail/false/tail/arm/0/body/block/tail/false/tail/arm/0",
    "outcome": "Ok",
    "line": 820,
    "state": "covered",
    "hits": "5715"
  },
  {
    "id": "declaration/54/tail/false/tail/false/tail/false/tail/arm/1/body/block/tail/false/tail/arm/0/body/block/tail/false/tail/arm/0/body/block/tail/decision/true",
    "outcome": "true",
    "line": 831,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/54/tail/false/tail/false/tail/false/tail/arm/1/body/block/tail/false/tail/arm/0/body/block/tail/false/tail/arm/0/body/block/tail/decision/false",
    "outcome": "false",
    "line": 831,
    "state": "covered",
    "hits": "5715"
  },
  {
    "id": "declaration/54/tail/false/tail/false/tail/false/tail/arm/1/body/block/tail/false/tail/arm/0/body/block/tail/false/tail/arm/0/body/block/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 837,
    "state": "covered",
    "hits": "4189"
  },
  {
    "id": "declaration/54/tail/false/tail/false/tail/false/tail/arm/1/body/block/tail/false/tail/arm/0/body/block/tail/false/tail/arm/0/body/block/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 837,
    "state": "covered",
    "hits": "1526"
  },
  {
    "id": "declaration/54/tail/false/tail/false/tail/false/tail/arm/1/body/block/tail/false/tail/arm/0/body/block/tail/false/tail/arm/0/body/block/tail/false/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 840,
    "state": "covered",
    "hits": "1525"
  },
  {
    "id": "declaration/54/tail/false/tail/false/tail/false/tail/arm/1/body/block/tail/false/tail/arm/0/body/block/tail/false/tail/arm/0/body/block/tail/false/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 840,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/54/tail/false/tail/false/tail/false/tail/arm/1/body/block/tail/false/tail/arm/0/body/block/tail/false/tail/arm/1",
    "outcome": "Error",
    "line": 851,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/54/tail/false/tail/false/tail/false/tail/arm/1/body/block/tail/false/tail/arm/1",
    "outcome": "Error",
    "line": 855,
    "state": "covered",
    "hits": "3"
  },
  {
    "id": "declaration/55/tail/arm/0",
    "outcome": "Ok",
    "line": 867,
    "state": "covered",
    "hits": "1545"
  },
  {
    "id": "declaration/55/tail/arm/0/body/block/tail/decision/true",
    "outcome": "true",
    "line": 868,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/55/tail/arm/0/body/block/tail/decision/false",
    "outcome": "false",
    "line": 868,
    "state": "covered",
    "hits": "1544"
  },
  {
    "id": "declaration/55/tail/arm/0/body/block/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 868,
    "state": "covered",
    "hits": "1544"
  },
  {
    "id": "declaration/55/tail/arm/0/body/block/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 868,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/55/tail/arm/0/body/block/tail/false/tail/arm/0",
    "outcome": "Ok",
    "line": 873,
    "state": "covered",
    "hits": "1535"
  },
  {
    "id": "declaration/55/tail/arm/0/body/block/tail/false/tail/arm/1",
    "outcome": "Error",
    "line": 882,
    "state": "covered",
    "hits": "9"
  },
  {
    "id": "declaration/55/tail/arm/1",
    "outcome": "Error",
    "line": 886,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/57/statement/0/value/arm/0",
    "outcome": "NoBlockValue",
    "line": 900,
    "state": "covered",
    "hits": "301"
  },
  {
    "id": "declaration/57/statement/0/value/arm/1",
    "outcome": "TailBlockValue",
    "line": 901,
    "state": "covered",
    "hits": "12"
  },
  {
    "id": "declaration/57/statement/1/value/arm/0",
    "outcome": "NoBlockValue",
    "line": 904,
    "state": "covered",
    "hits": "301"
  },
  {
    "id": "declaration/57/statement/1/value/arm/1",
    "outcome": "TailBlockValue",
    "line": 905,
    "state": "covered",
    "hits": "12"
  },
  {
    "id": "declaration/57/statement/1/value/arm/1/body/arm/0",
    "outcome": "Some",
    "line": 906,
    "state": "covered",
    "hits": "12"
  },
  {
    "id": "declaration/57/statement/1/value/arm/1/body/arm/1",
    "outcome": "None",
    "line": 906,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/58/tail/decision/true",
    "outcome": "true",
    "line": 918,
    "state": "covered",
    "hits": "3556"
  },
  {
    "id": "declaration/58/tail/decision/false",
    "outcome": "false",
    "line": 918,
    "state": "covered",
    "hits": "1232"
  },
  {
    "id": "declaration/58/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 918,
    "state": "covered",
    "hits": "4783"
  },
  {
    "id": "declaration/58/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 918,
    "state": "covered",
    "hits": "5"
  },
  {
    "id": "declaration/58/tail/true/tail/decision/true",
    "outcome": "true",
    "line": 920,
    "state": "covered",
    "hits": "825"
  },
  {
    "id": "declaration/58/tail/true/tail/decision/false",
    "outcome": "false",
    "line": 920,
    "state": "covered",
    "hits": "2731"
  },
  {
    "id": "declaration/58/tail/true/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 920,
    "state": "covered",
    "hits": "3554"
  },
  {
    "id": "declaration/58/tail/true/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 920,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/58/tail/true/tail/true/tail/arm/0",
    "outcome": "Error",
    "line": 922,
    "state": "covered",
    "hits": "4"
  },
  {
    "id": "declaration/58/tail/true/tail/true/tail/arm/1",
    "outcome": "Ok",
    "line": 923,
    "state": "covered",
    "hits": "821"
  },
  {
    "id": "declaration/58/tail/true/tail/true/tail/arm/1/body/block/statement/1/value/decision/true",
    "outcome": "true",
    "line": 927,
    "state": "covered",
    "hits": "508"
  },
  {
    "id": "declaration/58/tail/true/tail/true/tail/arm/1/body/block/statement/1/value/decision/false",
    "outcome": "false",
    "line": 927,
    "state": "covered",
    "hits": "313"
  },
  {
    "id": "declaration/58/tail/true/tail/true/tail/arm/1/body/block/statement/2/value/decision/true",
    "outcome": "true",
    "line": 932,
    "state": "covered",
    "hits": "508"
  },
  {
    "id": "declaration/58/tail/true/tail/true/tail/arm/1/body/block/statement/2/value/decision/false",
    "outcome": "false",
    "line": 932,
    "state": "covered",
    "hits": "313"
  },
  {
    "id": "declaration/58/tail/true/tail/false/tail/arm/0",
    "outcome": "Ok",
    "line": 947,
    "state": "covered",
    "hits": "2728"
  },
  {
    "id": "declaration/58/tail/true/tail/false/tail/arm/1",
    "outcome": "Error",
    "line": 955,
    "state": "covered",
    "hits": "3"
  },
  {
    "id": "declaration/59/tail/arm/0",
    "outcome": "Ok",
    "line": 971,
    "state": "covered",
    "hits": "4791"
  },
  {
    "id": "declaration/59/tail/arm/0/body/arm/0",
    "outcome": "Ok",
    "line": 972,
    "state": "covered",
    "hits": "4788"
  },
  {
    "id": "declaration/59/tail/arm/0/body/arm/1",
    "outcome": "Error",
    "line": 973,
    "state": "covered",
    "hits": "3"
  },
  {
    "id": "declaration/59/tail/arm/1",
    "outcome": "Error",
    "line": 975,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/60/tail/arm/0",
    "outcome": "Ok",
    "line": 981,
    "state": "covered",
    "hits": "3960"
  },
  {
    "id": "declaration/60/tail/arm/1",
    "outcome": "Error",
    "line": 982,
    "state": "covered",
    "hits": "8"
  },
  {
    "id": "declaration/61/statement/2/value/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 989,
    "state": "covered",
    "hits": "85033"
  },
  {
    "id": "declaration/61/statement/2/value/decision/skip-right",
    "outcome": "skip-right",
    "line": 989,
    "state": "covered",
    "hits": "24"
  },
  {
    "id": "declaration/61/statement/3/decision/body",
    "outcome": "body",
    "line": 991,
    "state": "covered",
    "hits": "6179"
  },
  {
    "id": "declaration/61/statement/3/decision/exit",
    "outcome": "exit",
    "line": 991,
    "state": "covered",
    "hits": "85057"
  },
  {
    "id": "declaration/61/statement/3/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 991,
    "state": "covered",
    "hits": "6180"
  },
  {
    "id": "declaration/61/statement/3/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 991,
    "state": "covered",
    "hits": "85056"
  },
  {
    "id": "declaration/61/statement/3/body/statement/0/value/decision/true",
    "outcome": "true",
    "line": 992,
    "state": "covered",
    "hits": "1969"
  },
  {
    "id": "declaration/61/statement/3/body/statement/0/value/decision/false",
    "outcome": "false",
    "line": 992,
    "state": "covered",
    "hits": "4210"
  },
  {
    "id": "declaration/61/statement/3/body/statement/1/value/decision/true",
    "outcome": "true",
    "line": 995,
    "state": "covered",
    "hits": "1968"
  },
  {
    "id": "declaration/61/statement/3/body/statement/1/value/decision/false",
    "outcome": "false",
    "line": 995,
    "state": "covered",
    "hits": "4211"
  },
  {
    "id": "declaration/61/statement/3/body/statement/1/value/true/tail/decision/true",
    "outcome": "true",
    "line": 997,
    "state": "covered",
    "hits": "1961"
  },
  {
    "id": "declaration/61/statement/3/body/statement/1/value/true/tail/decision/false",
    "outcome": "false",
    "line": 997,
    "state": "covered",
    "hits": "7"
  },
  {
    "id": "declaration/61/statement/3/body/tail/decision/true",
    "outcome": "true",
    "line": 1001,
    "state": "covered",
    "hits": "4218"
  },
  {
    "id": "declaration/61/statement/3/body/tail/decision/false",
    "outcome": "false",
    "line": 1001,
    "state": "covered",
    "hits": "1961"
  },
  {
    "id": "declaration/61/tail/decision/true",
    "outcome": "true",
    "line": 1005,
    "state": "covered",
    "hits": "128"
  },
  {
    "id": "declaration/61/tail/decision/false",
    "outcome": "false",
    "line": 1005,
    "state": "covered",
    "hits": "84929"
  },
  {
    "id": "declaration/61/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1005,
    "state": "covered",
    "hits": "1955"
  },
  {
    "id": "declaration/61/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1005,
    "state": "covered",
    "hits": "83102"
  },
  {
    "id": "declaration/61/tail/condition/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1005,
    "state": "covered",
    "hits": "1962"
  },
  {
    "id": "declaration/61/tail/condition/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 1005,
    "state": "covered",
    "hits": "83095"
  },
  {
    "id": "declaration/64/statement/3/value/decision/true",
    "outcome": "true",
    "line": 1035,
    "state": "covered",
    "hits": "20"
  },
  {
    "id": "declaration/64/statement/3/value/decision/false",
    "outcome": "false",
    "line": 1035,
    "state": "covered",
    "hits": "337"
  },
  {
    "id": "declaration/64/statement/3/value/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1035,
    "state": "covered",
    "hits": "357"
  },
  {
    "id": "declaration/64/statement/3/value/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1035,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/64/statement/3/value/true/tail/arm/0",
    "outcome": "Error",
    "line": 1037,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/64/statement/3/value/true/tail/arm/1",
    "outcome": "Ok",
    "line": 1038,
    "state": "covered",
    "hits": "20"
  },
  {
    "id": "declaration/64/tail/arm/0",
    "outcome": "Some",
    "line": 1042,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/64/tail/arm/1",
    "outcome": "None",
    "line": 1043,
    "state": "covered",
    "hits": "357"
  },
  {
    "id": "declaration/64/tail/arm/1/body/block/tail/decision/true",
    "outcome": "true",
    "line": 1044,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/64/tail/arm/1/body/block/tail/decision/false",
    "outcome": "false",
    "line": 1044,
    "state": "covered",
    "hits": "356"
  },
  {
    "id": "declaration/64/tail/arm/1/body/block/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1044,
    "state": "covered",
    "hits": "357"
  },
  {
    "id": "declaration/64/tail/arm/1/body/block/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1044,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/65/tail/decision/true",
    "outcome": "true",
    "line": 1058,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/65/tail/decision/false",
    "outcome": "false",
    "line": 1058,
    "state": "covered",
    "hits": "274"
  },
  {
    "id": "declaration/65/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1058,
    "state": "covered",
    "hits": "275"
  },
  {
    "id": "declaration/65/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1058,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/65/tail/false/statement/4/decision/body",
    "outcome": "body",
    "line": 1065,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/65/tail/false/statement/4/decision/exit",
    "outcome": "exit",
    "line": 1065,
    "state": "covered",
    "hits": "274"
  },
  {
    "id": "declaration/65/tail/false/statement/4/body/tail/decision/true",
    "outcome": "true",
    "line": 1066,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/65/tail/false/statement/4/body/tail/decision/false",
    "outcome": "false",
    "line": 1066,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/65/tail/false/statement/5/value/decision/true",
    "outcome": "true",
    "line": 1070,
    "state": "covered",
    "hits": "58"
  },
  {
    "id": "declaration/65/tail/false/statement/5/value/decision/false",
    "outcome": "false",
    "line": 1070,
    "state": "covered",
    "hits": "216"
  },
  {
    "id": "declaration/65/tail/false/statement/5/value/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1070,
    "state": "covered",
    "hits": "273"
  },
  {
    "id": "declaration/65/tail/false/statement/5/value/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1070,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/65/tail/false/statement/5/value/condition/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1070,
    "state": "covered",
    "hits": "273"
  },
  {
    "id": "declaration/65/tail/false/statement/5/value/condition/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 1070,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/65/tail/false/statement/5/value/true/tail/arm/0",
    "outcome": "Error",
    "line": 1072,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/65/tail/false/statement/5/value/true/tail/arm/1",
    "outcome": "Ok",
    "line": 1073,
    "state": "covered",
    "hits": "57"
  },
  {
    "id": "declaration/65/tail/false/tail/arm/0",
    "outcome": "Some",
    "line": 1077,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/65/tail/false/tail/arm/1",
    "outcome": "None",
    "line": 1078,
    "state": "covered",
    "hits": "272"
  },
  {
    "id": "declaration/65/tail/false/tail/arm/1/body/block/tail/decision/true",
    "outcome": "true",
    "line": 1080,
    "state": "covered",
    "hits": "269"
  },
  {
    "id": "declaration/65/tail/false/tail/arm/1/body/block/tail/decision/false",
    "outcome": "false",
    "line": 1080,
    "state": "covered",
    "hits": "3"
  },
  {
    "id": "declaration/65/tail/false/tail/arm/1/body/block/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1080,
    "state": "covered",
    "hits": "272"
  },
  {
    "id": "declaration/65/tail/false/tail/arm/1/body/block/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1080,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/65/tail/false/tail/arm/1/body/block/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 1083,
    "state": "covered",
    "hits": "3"
  },
  {
    "id": "declaration/65/tail/false/tail/arm/1/body/block/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 1083,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/65/tail/false/tail/arm/1/body/block/tail/false/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1083,
    "state": "covered",
    "hits": "3"
  },
  {
    "id": "declaration/65/tail/false/tail/arm/1/body/block/tail/false/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1083,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/66/statement/2/value/decision/true",
    "outcome": "true",
    "line": 1100,
    "state": "covered",
    "hits": "20"
  },
  {
    "id": "declaration/66/statement/2/value/decision/false",
    "outcome": "false",
    "line": 1100,
    "state": "covered",
    "hits": "97473"
  },
  {
    "id": "declaration/66/statement/2/value/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1100,
    "state": "covered",
    "hits": "97486"
  },
  {
    "id": "declaration/66/statement/2/value/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1100,
    "state": "covered",
    "hits": "7"
  },
  {
    "id": "declaration/66/statement/2/value/condition/right/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1100,
    "state": "covered",
    "hits": "97474"
  },
  {
    "id": "declaration/66/statement/2/value/condition/right/decision/skip-right",
    "outcome": "skip-right",
    "line": 1100,
    "state": "covered",
    "hits": "12"
  },
  {
    "id": "declaration/66/tail/decision/true",
    "outcome": "true",
    "line": 1104,
    "state": "covered",
    "hits": "95844"
  },
  {
    "id": "declaration/66/tail/decision/false",
    "outcome": "false",
    "line": 1104,
    "state": "covered",
    "hits": "1649"
  },
  {
    "id": "declaration/66/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1104,
    "state": "covered",
    "hits": "97486"
  },
  {
    "id": "declaration/66/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1104,
    "state": "covered",
    "hits": "7"
  },
  {
    "id": "declaration/66/tail/true/tail/decision/true",
    "outcome": "true",
    "line": 1105,
    "state": "covered",
    "hits": "95843"
  },
  {
    "id": "declaration/66/tail/true/tail/decision/false",
    "outcome": "false",
    "line": 1105,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/66/tail/false/statement/2/decision/body",
    "outcome": "body",
    "line": 1111,
    "state": "covered",
    "hits": "17103"
  },
  {
    "id": "declaration/66/tail/false/statement/2/decision/exit",
    "outcome": "exit",
    "line": 1111,
    "state": "covered",
    "hits": "1649"
  },
  {
    "id": "declaration/66/tail/false/statement/2/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1111,
    "state": "covered",
    "hits": "18743"
  },
  {
    "id": "declaration/66/tail/false/statement/2/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1111,
    "state": "covered",
    "hits": "9"
  },
  {
    "id": "declaration/66/tail/false/statement/2/body/statement/0/value/decision/true",
    "outcome": "true",
    "line": 1112,
    "state": "covered",
    "hits": "717"
  },
  {
    "id": "declaration/66/tail/false/statement/2/body/statement/0/value/decision/false",
    "outcome": "false",
    "line": 1112,
    "state": "covered",
    "hits": "16386"
  },
  {
    "id": "declaration/66/tail/false/statement/2/body/statement/1/value/decision/true",
    "outcome": "true",
    "line": 1113,
    "state": "covered",
    "hits": "2365"
  },
  {
    "id": "declaration/66/tail/false/statement/2/body/statement/1/value/decision/false",
    "outcome": "false",
    "line": 1113,
    "state": "covered",
    "hits": "14738"
  },
  {
    "id": "declaration/66/tail/false/statement/2/body/statement/1/value/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1113,
    "state": "covered",
    "hits": "2365"
  },
  {
    "id": "declaration/66/tail/false/statement/2/body/statement/1/value/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1113,
    "state": "covered",
    "hits": "14738"
  },
  {
    "id": "declaration/66/tail/false/statement/3/value/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1116,
    "state": "covered",
    "hits": "1630"
  },
  {
    "id": "declaration/66/tail/false/statement/3/value/decision/skip-right",
    "outcome": "skip-right",
    "line": 1116,
    "state": "covered",
    "hits": "19"
  },
  {
    "id": "declaration/66/tail/false/statement/3/value/right/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1117,
    "state": "covered",
    "hits": "1621"
  },
  {
    "id": "declaration/66/tail/false/statement/3/value/right/decision/skip-right",
    "outcome": "skip-right",
    "line": 1117,
    "state": "covered",
    "hits": "9"
  },
  {
    "id": "declaration/66/tail/false/statement/3/value/right/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1117,
    "state": "covered",
    "hits": "1629"
  },
  {
    "id": "declaration/66/tail/false/statement/3/value/right/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 1117,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/66/tail/false/statement/3/value/right/right/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1117,
    "state": "covered",
    "hits": "1290"
  },
  {
    "id": "declaration/66/tail/false/statement/3/value/right/right/decision/skip-right",
    "outcome": "skip-right",
    "line": 1117,
    "state": "covered",
    "hits": "331"
  },
  {
    "id": "declaration/66/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 1118,
    "state": "covered",
    "hits": "1289"
  },
  {
    "id": "declaration/66/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 1118,
    "state": "covered",
    "hits": "360"
  },
  {
    "id": "declaration/66/tail/false/tail/false/statement/0/value/decision/true",
    "outcome": "true",
    "line": 1120,
    "state": "covered",
    "hits": "88"
  },
  {
    "id": "declaration/66/tail/false/tail/false/statement/0/value/decision/false",
    "outcome": "false",
    "line": 1120,
    "state": "covered",
    "hits": "272"
  },
  {
    "id": "declaration/66/tail/false/tail/false/statement/0/value/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1120,
    "state": "covered",
    "hits": "360"
  },
  {
    "id": "declaration/66/tail/false/tail/false/statement/0/value/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1120,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/66/tail/false/tail/false/tail/arm/0",
    "outcome": "Error",
    "line": 1126,
    "state": "covered",
    "hits": "4"
  },
  {
    "id": "declaration/66/tail/false/tail/false/tail/arm/1",
    "outcome": "Ok",
    "line": 1127,
    "state": "covered",
    "hits": "356"
  },
  {
    "id": "declaration/67/tail/arm/0",
    "outcome": "Error",
    "line": 1135,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/67/tail/arm/1",
    "outcome": "Ok",
    "line": 1136,
    "state": "covered",
    "hits": "65267"
  },
  {
    "id": "declaration/67/tail/arm/1/body/block/tail/decision/true",
    "outcome": "true",
    "line": 1137,
    "state": "covered",
    "hits": "16820"
  },
  {
    "id": "declaration/67/tail/arm/1/body/block/tail/decision/false",
    "outcome": "false",
    "line": 1137,
    "state": "covered",
    "hits": "48447"
  },
  {
    "id": "declaration/67/tail/arm/1/body/block/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1137,
    "state": "covered",
    "hits": "65245"
  },
  {
    "id": "declaration/67/tail/arm/1/body/block/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1137,
    "state": "covered",
    "hits": "22"
  },
  {
    "id": "declaration/67/tail/arm/1/body/block/tail/true/tail/arm/0",
    "outcome": "Ok",
    "line": 1139,
    "state": "covered",
    "hits": "16819"
  },
  {
    "id": "declaration/67/tail/arm/1/body/block/tail/true/tail/arm/1",
    "outcome": "Error",
    "line": 1149,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/68/tail/arm/0",
    "outcome": "Error",
    "line": 1163,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/68/tail/arm/1",
    "outcome": "Ok",
    "line": 1164,
    "state": "covered",
    "hits": "97481"
  },
  {
    "id": "declaration/68/tail/arm/1/body/arm/0",
    "outcome": "None",
    "line": 1165,
    "state": "covered",
    "hits": "97129"
  },
  {
    "id": "declaration/68/tail/arm/1/body/arm/1",
    "outcome": "Some",
    "line": 1166,
    "state": "covered",
    "hits": "352"
  },
  {
    "id": "declaration/68/tail/arm/1/body/arm/1/body/arm/0",
    "outcome": "Error",
    "line": 1167,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/68/tail/arm/1/body/arm/1/body/arm/1",
    "outcome": "Ok",
    "line": 1168,
    "state": "covered",
    "hits": "351"
  },
  {
    "id": "declaration/69/tail/decision/true",
    "outcome": "true",
    "line": 1179,
    "state": "covered",
    "hits": "7"
  },
  {
    "id": "declaration/69/tail/decision/false",
    "outcome": "false",
    "line": 1179,
    "state": "covered",
    "hits": "97122"
  },
  {
    "id": "declaration/69/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 1183,
    "state": "covered",
    "hits": "132"
  },
  {
    "id": "declaration/69/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 1183,
    "state": "covered",
    "hits": "96990"
  },
  {
    "id": "declaration/69/tail/false/tail/true/tail/decision/true",
    "outcome": "true",
    "line": 1184,
    "state": "covered",
    "hits": "132"
  },
  {
    "id": "declaration/69/tail/false/tail/true/tail/decision/false",
    "outcome": "false",
    "line": 1184,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/69/tail/false/tail/true/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1184,
    "state": "covered",
    "hits": "132"
  },
  {
    "id": "declaration/69/tail/false/tail/true/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1184,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/69/tail/false/tail/true/tail/condition/right/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1184,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/69/tail/false/tail/true/tail/condition/right/decision/skip-right",
    "outcome": "skip-right",
    "line": 1184,
    "state": "covered",
    "hits": "132"
  },
  {
    "id": "declaration/69/tail/false/tail/true/tail/true/tail/arm/0",
    "outcome": "Error",
    "line": 1186,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/69/tail/false/tail/true/tail/true/tail/arm/1",
    "outcome": "Ok",
    "line": 1187,
    "state": "covered",
    "hits": "132"
  },
  {
    "id": "declaration/69/tail/false/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 1196,
    "state": "covered",
    "hits": "1546"
  },
  {
    "id": "declaration/69/tail/false/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 1196,
    "state": "covered",
    "hits": "95444"
  },
  {
    "id": "declaration/69/tail/false/tail/false/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 1199,
    "state": "covered",
    "hits": "3968"
  },
  {
    "id": "declaration/69/tail/false/tail/false/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 1199,
    "state": "covered",
    "hits": "91476"
  },
  {
    "id": "declaration/69/tail/false/tail/false/tail/false/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 1202,
    "state": "covered",
    "hits": "12333"
  },
  {
    "id": "declaration/69/tail/false/tail/false/tail/false/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 1202,
    "state": "covered",
    "hits": "79143"
  },
  {
    "id": "declaration/69/tail/false/tail/false/tail/false/tail/false/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 1208,
    "state": "covered",
    "hits": "26"
  },
  {
    "id": "declaration/69/tail/false/tail/false/tail/false/tail/false/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 1208,
    "state": "covered",
    "hits": "79117"
  },
  {
    "id": "declaration/69/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 1214,
    "state": "covered",
    "hits": "7824"
  },
  {
    "id": "declaration/69/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 1214,
    "state": "covered",
    "hits": "71293"
  },
  {
    "id": "declaration/69/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/true/tail/arm/0",
    "outcome": "None",
    "line": 1216,
    "state": "covered",
    "hits": "7824"
  },
  {
    "id": "declaration/69/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/true/tail/arm/1",
    "outcome": "Some",
    "line": 1220,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/69/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 1226,
    "state": "covered",
    "hits": "2418"
  },
  {
    "id": "declaration/69/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 1226,
    "state": "covered",
    "hits": "68875"
  },
  {
    "id": "declaration/69/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1226,
    "state": "covered",
    "hits": "69957"
  },
  {
    "id": "declaration/69/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1226,
    "state": "covered",
    "hits": "1336"
  },
  {
    "id": "declaration/69/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 1232,
    "state": "covered",
    "hits": "65267"
  },
  {
    "id": "declaration/69/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 1232,
    "state": "covered",
    "hits": "3608"
  },
  {
    "id": "declaration/69/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 1235,
    "state": "covered",
    "hits": "1286"
  },
  {
    "id": "declaration/69/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 1235,
    "state": "covered",
    "hits": "2322"
  },
  {
    "id": "declaration/69/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/true/tail/decision/true",
    "outcome": "true",
    "line": 1236,
    "state": "covered",
    "hits": "69"
  },
  {
    "id": "declaration/69/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/true/tail/decision/false",
    "outcome": "false",
    "line": 1236,
    "state": "covered",
    "hits": "1217"
  },
  {
    "id": "declaration/69/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/true/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1236,
    "state": "covered",
    "hits": "1286"
  },
  {
    "id": "declaration/69/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/true/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1236,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/69/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/true/tail/false/tail/arm/0",
    "outcome": "Ok",
    "line": 1243,
    "state": "covered",
    "hits": "1217"
  },
  {
    "id": "declaration/69/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/true/tail/false/tail/arm/0/body/block/tail/decision/true",
    "outcome": "true",
    "line": 1244,
    "state": "covered",
    "hits": "1216"
  },
  {
    "id": "declaration/69/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/true/tail/false/tail/arm/0/body/block/tail/decision/false",
    "outcome": "false",
    "line": 1244,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/69/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/true/tail/false/tail/arm/0/body/block/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1244,
    "state": "covered",
    "hits": "1216"
  },
  {
    "id": "declaration/69/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/true/tail/false/tail/arm/0/body/block/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1244,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/69/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/true/tail/false/tail/arm/1",
    "outcome": "Error",
    "line": 1256,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/69/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 1260,
    "state": "covered",
    "hits": "2318"
  },
  {
    "id": "declaration/69/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 1260,
    "state": "covered",
    "hits": "4"
  },
  {
    "id": "declaration/69/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/true/tail/arm/0",
    "outcome": "Ok",
    "line": 1262,
    "state": "covered",
    "hits": "2317"
  },
  {
    "id": "declaration/69/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/true/tail/arm/1",
    "outcome": "Error",
    "line": 1266,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/70/tail/decision/true",
    "outcome": "true",
    "line": 1284,
    "state": "covered",
    "hits": "1861"
  },
  {
    "id": "declaration/70/tail/decision/false",
    "outcome": "false",
    "line": 1284,
    "state": "covered",
    "hits": "117235"
  },
  {
    "id": "declaration/70/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1284,
    "state": "covered",
    "hits": "118943"
  },
  {
    "id": "declaration/70/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1284,
    "state": "covered",
    "hits": "153"
  },
  {
    "id": "declaration/70/tail/true/tail/arm/0",
    "outcome": "Ok",
    "line": 1286,
    "state": "covered",
    "hits": "1861"
  },
  {
    "id": "declaration/70/tail/true/tail/arm/0/body/block/tail/decision/true",
    "outcome": "true",
    "line": 1287,
    "state": "covered",
    "hits": "1860"
  },
  {
    "id": "declaration/70/tail/true/tail/arm/0/body/block/tail/decision/false",
    "outcome": "false",
    "line": 1287,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/70/tail/true/tail/arm/0/body/block/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1287,
    "state": "covered",
    "hits": "1860"
  },
  {
    "id": "declaration/70/tail/true/tail/arm/0/body/block/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1287,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/70/tail/true/tail/arm/1",
    "outcome": "Error",
    "line": 1302,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/70/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 1305,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/70/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 1305,
    "state": "covered",
    "hits": "117233"
  },
  {
    "id": "declaration/70/tail/false/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1305,
    "state": "covered",
    "hits": "117082"
  },
  {
    "id": "declaration/70/tail/false/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1305,
    "state": "covered",
    "hits": "153"
  },
  {
    "id": "declaration/70/tail/false/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 1307,
    "state": "covered",
    "hits": "19791"
  },
  {
    "id": "declaration/70/tail/false/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 1307,
    "state": "covered",
    "hits": "97442"
  },
  {
    "id": "declaration/70/tail/false/tail/false/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1307,
    "state": "covered",
    "hits": "117080"
  },
  {
    "id": "declaration/70/tail/false/tail/false/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1307,
    "state": "covered",
    "hits": "153"
  },
  {
    "id": "declaration/70/tail/false/tail/false/tail/true/tail/decision/true",
    "outcome": "true",
    "line": 1308,
    "state": "covered",
    "hits": "19790"
  },
  {
    "id": "declaration/70/tail/false/tail/false/tail/true/tail/decision/false",
    "outcome": "false",
    "line": 1308,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/70/tail/false/tail/false/tail/true/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1308,
    "state": "covered",
    "hits": "19790"
  },
  {
    "id": "declaration/70/tail/false/tail/false/tail/true/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1308,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/70/tail/false/tail/false/tail/true/tail/condition/right/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1308,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/70/tail/false/tail/false/tail/true/tail/condition/right/decision/skip-right",
    "outcome": "skip-right",
    "line": 1308,
    "state": "covered",
    "hits": "19790"
  },
  {
    "id": "declaration/70/tail/false/tail/false/tail/true/tail/true/tail/arm/0",
    "outcome": "Error",
    "line": 1311,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/70/tail/false/tail/false/tail/true/tail/true/tail/arm/1",
    "outcome": "Ok",
    "line": 1312,
    "state": "covered",
    "hits": "19790"
  },
  {
    "id": "declaration/70/tail/false/tail/false/tail/true/tail/true/tail/arm/1/body/block/tail/decision/true",
    "outcome": "true",
    "line": 1313,
    "state": "covered",
    "hits": "10509"
  },
  {
    "id": "declaration/70/tail/false/tail/false/tail/true/tail/true/tail/arm/1/body/block/tail/decision/false",
    "outcome": "false",
    "line": 1313,
    "state": "covered",
    "hits": "9281"
  },
  {
    "id": "declaration/70/tail/false/tail/false/tail/true/tail/true/tail/arm/1/body/block/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1313,
    "state": "covered",
    "hits": "19788"
  },
  {
    "id": "declaration/70/tail/false/tail/false/tail/true/tail/true/tail/arm/1/body/block/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1313,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/70/tail/false/tail/false/tail/true/tail/true/tail/arm/1/body/block/tail/true/tail/arm/0",
    "outcome": "Ok",
    "line": 1315,
    "state": "covered",
    "hits": "10508"
  },
  {
    "id": "declaration/70/tail/false/tail/false/tail/true/tail/true/tail/arm/1/body/block/tail/true/tail/arm/1",
    "outcome": "Error",
    "line": 1328,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/71/tail/arm/0",
    "outcome": "Ok",
    "line": 1350,
    "state": "covered",
    "hits": "97447"
  },
  {
    "id": "declaration/71/tail/arm/1",
    "outcome": "Error",
    "line": 1351,
    "state": "covered",
    "hits": "34"
  },
  {
    "id": "declaration/72/tail/decision/true",
    "outcome": "true",
    "line": 1356,
    "state": "covered",
    "hits": "753"
  },
  {
    "id": "declaration/72/tail/decision/false",
    "outcome": "false",
    "line": 1356,
    "state": "covered",
    "hits": "97481"
  },
  {
    "id": "declaration/72/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1356,
    "state": "covered",
    "hits": "98227"
  },
  {
    "id": "declaration/72/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1356,
    "state": "covered",
    "hits": "7"
  },
  {
    "id": "declaration/72/tail/condition/right/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1357,
    "state": "covered",
    "hits": "97611"
  },
  {
    "id": "declaration/72/tail/condition/right/decision/skip-right",
    "outcome": "skip-right",
    "line": 1357,
    "state": "covered",
    "hits": "616"
  },
  {
    "id": "declaration/72/tail/condition/right/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1357,
    "state": "covered",
    "hits": "98177"
  },
  {
    "id": "declaration/72/tail/condition/right/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 1357,
    "state": "covered",
    "hits": "50"
  },
  {
    "id": "declaration/72/tail/true/tail/arm/0",
    "outcome": "Ok",
    "line": 1362,
    "state": "covered",
    "hits": "753"
  },
  {
    "id": "declaration/72/tail/true/tail/arm/1",
    "outcome": "Error",
    "line": 1366,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/73/tail/decision/true",
    "outcome": "true",
    "line": 1374,
    "state": "covered",
    "hits": "1429"
  },
  {
    "id": "declaration/73/tail/decision/false",
    "outcome": "false",
    "line": 1374,
    "state": "covered",
    "hits": "96013"
  },
  {
    "id": "declaration/73/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1374,
    "state": "covered",
    "hits": "97289"
  },
  {
    "id": "declaration/73/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1374,
    "state": "covered",
    "hits": "153"
  },
  {
    "id": "declaration/73/tail/condition/right/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1375,
    "state": "covered",
    "hits": "96354"
  },
  {
    "id": "declaration/73/tail/condition/right/decision/skip-right",
    "outcome": "skip-right",
    "line": 1375,
    "state": "covered",
    "hits": "935"
  },
  {
    "id": "declaration/73/tail/condition/right/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1375,
    "state": "covered",
    "hits": "96766"
  },
  {
    "id": "declaration/73/tail/condition/right/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 1375,
    "state": "covered",
    "hits": "523"
  },
  {
    "id": "declaration/73/tail/true/tail/arm/0",
    "outcome": "Ok",
    "line": 1380,
    "state": "covered",
    "hits": "1429"
  },
  {
    "id": "declaration/73/tail/true/tail/arm/1",
    "outcome": "Error",
    "line": 1385,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/74/tail/arm/0",
    "outcome": "Ok",
    "line": 1394,
    "state": "covered",
    "hits": "96013"
  },
  {
    "id": "declaration/74/tail/arm/1",
    "outcome": "Error",
    "line": 1395,
    "state": "covered",
    "hits": "39"
  },
  {
    "id": "declaration/75/tail/decision/true",
    "outcome": "true",
    "line": 1400,
    "state": "covered",
    "hits": "4623"
  },
  {
    "id": "declaration/75/tail/decision/false",
    "outcome": "false",
    "line": 1400,
    "state": "covered",
    "hits": "91390"
  },
  {
    "id": "declaration/75/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1400,
    "state": "covered",
    "hits": "95860"
  },
  {
    "id": "declaration/75/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1400,
    "state": "covered",
    "hits": "153"
  },
  {
    "id": "declaration/75/tail/condition/right/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1400,
    "state": "covered",
    "hits": "91574"
  },
  {
    "id": "declaration/75/tail/condition/right/decision/skip-right",
    "outcome": "skip-right",
    "line": 1400,
    "state": "covered",
    "hits": "4286"
  },
  {
    "id": "declaration/75/tail/true/tail/arm/0",
    "outcome": "Ok",
    "line": 1403,
    "state": "covered",
    "hits": "4622"
  },
  {
    "id": "declaration/75/tail/true/tail/arm/1",
    "outcome": "Error",
    "line": 1408,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/76/tail/arm/0",
    "outcome": "Ok",
    "line": 1417,
    "state": "covered",
    "hits": "91391"
  },
  {
    "id": "declaration/76/tail/arm/1",
    "outcome": "Error",
    "line": 1418,
    "state": "covered",
    "hits": "38"
  },
  {
    "id": "declaration/77/tail/decision/true",
    "outcome": "true",
    "line": 1427,
    "state": "covered",
    "hits": "3192"
  },
  {
    "id": "declaration/77/tail/decision/false",
    "outcome": "false",
    "line": 1427,
    "state": "covered",
    "hits": "88198"
  },
  {
    "id": "declaration/77/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1427,
    "state": "covered",
    "hits": "91237"
  },
  {
    "id": "declaration/77/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1427,
    "state": "covered",
    "hits": "153"
  },
  {
    "id": "declaration/77/tail/condition/right/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1428,
    "state": "covered",
    "hits": "88806"
  },
  {
    "id": "declaration/77/tail/condition/right/decision/skip-right",
    "outcome": "skip-right",
    "line": 1428,
    "state": "covered",
    "hits": "2431"
  },
  {
    "id": "declaration/77/tail/condition/right/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1428,
    "state": "covered",
    "hits": "89273"
  },
  {
    "id": "declaration/77/tail/condition/right/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 1428,
    "state": "covered",
    "hits": "1964"
  },
  {
    "id": "declaration/77/tail/condition/right/left/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1428,
    "state": "covered",
    "hits": "89715"
  },
  {
    "id": "declaration/77/tail/condition/right/left/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 1428,
    "state": "covered",
    "hits": "1522"
  },
  {
    "id": "declaration/77/tail/true/tail/arm/0",
    "outcome": "Ok",
    "line": 1434,
    "state": "covered",
    "hits": "3192"
  },
  {
    "id": "declaration/77/tail/true/tail/arm/1",
    "outcome": "Error",
    "line": 1439,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/78/tail/arm/0",
    "outcome": "Ok",
    "line": 1448,
    "state": "covered",
    "hits": "88198"
  },
  {
    "id": "declaration/78/tail/arm/1",
    "outcome": "Error",
    "line": 1449,
    "state": "covered",
    "hits": "39"
  },
  {
    "id": "declaration/79/tail/decision/true",
    "outcome": "true",
    "line": 1454,
    "state": "covered",
    "hits": "5233"
  },
  {
    "id": "declaration/79/tail/decision/false",
    "outcome": "false",
    "line": 1454,
    "state": "covered",
    "hits": "82965"
  },
  {
    "id": "declaration/79/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1454,
    "state": "covered",
    "hits": "88045"
  },
  {
    "id": "declaration/79/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1454,
    "state": "covered",
    "hits": "153"
  },
  {
    "id": "declaration/79/tail/condition/right/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1454,
    "state": "covered",
    "hits": "83214"
  },
  {
    "id": "declaration/79/tail/condition/right/decision/skip-right",
    "outcome": "skip-right",
    "line": 1454,
    "state": "covered",
    "hits": "4831"
  },
  {
    "id": "declaration/79/tail/true/tail/arm/0",
    "outcome": "Ok",
    "line": 1457,
    "state": "covered",
    "hits": "5233"
  },
  {
    "id": "declaration/79/tail/true/tail/arm/1",
    "outcome": "Error",
    "line": 1462,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/80/tail/arm/0",
    "outcome": "Ok",
    "line": 1471,
    "state": "covered",
    "hits": "82965"
  },
  {
    "id": "declaration/80/tail/arm/1",
    "outcome": "Error",
    "line": 1472,
    "state": "covered",
    "hits": "39"
  },
  {
    "id": "declaration/81/tail/decision/true",
    "outcome": "true",
    "line": 1477,
    "state": "covered",
    "hits": "1936"
  },
  {
    "id": "declaration/81/tail/decision/false",
    "outcome": "false",
    "line": 1477,
    "state": "covered",
    "hits": "81029"
  },
  {
    "id": "declaration/81/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1477,
    "state": "covered",
    "hits": "82812"
  },
  {
    "id": "declaration/81/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1477,
    "state": "covered",
    "hits": "153"
  },
  {
    "id": "declaration/81/tail/true/tail/arm/0",
    "outcome": "Ok",
    "line": 1479,
    "state": "covered",
    "hits": "1936"
  },
  {
    "id": "declaration/81/tail/true/tail/arm/1",
    "outcome": "Error",
    "line": 1484,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/82/tail/arm/0",
    "outcome": "Ok",
    "line": 1493,
    "state": "covered",
    "hits": "81029"
  },
  {
    "id": "declaration/82/tail/arm/1",
    "outcome": "Error",
    "line": 1494,
    "state": "covered",
    "hits": "39"
  },
  {
    "id": "declaration/83/tail/decision/true",
    "outcome": "true",
    "line": 1499,
    "state": "covered",
    "hits": "2492"
  },
  {
    "id": "declaration/83/tail/decision/false",
    "outcome": "false",
    "line": 1499,
    "state": "covered",
    "hits": "78537"
  },
  {
    "id": "declaration/83/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1499,
    "state": "covered",
    "hits": "80876"
  },
  {
    "id": "declaration/83/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1499,
    "state": "covered",
    "hits": "153"
  },
  {
    "id": "declaration/83/tail/true/tail/arm/0",
    "outcome": "Ok",
    "line": 1501,
    "state": "covered",
    "hits": "2492"
  },
  {
    "id": "declaration/83/tail/true/tail/arm/1",
    "outcome": "Error",
    "line": 1506,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/84/tail/arm/0",
    "outcome": "Ok",
    "line": 1515,
    "state": "covered",
    "hits": "78537"
  },
  {
    "id": "declaration/84/tail/arm/1",
    "outcome": "Error",
    "line": 1516,
    "state": "covered",
    "hits": "39"
  },
  {
    "id": "declaration/85/tail/decision/true",
    "outcome": "true",
    "line": 1521,
    "state": "covered",
    "hits": "275"
  },
  {
    "id": "declaration/85/tail/decision/false",
    "outcome": "false",
    "line": 1521,
    "state": "covered",
    "hits": "78262"
  },
  {
    "id": "declaration/85/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1521,
    "state": "covered",
    "hits": "78384"
  },
  {
    "id": "declaration/85/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1521,
    "state": "covered",
    "hits": "153"
  },
  {
    "id": "declaration/85/tail/true/tail/arm/0",
    "outcome": "Ok",
    "line": 1523,
    "state": "covered",
    "hits": "275"
  },
  {
    "id": "declaration/85/tail/true/tail/arm/1",
    "outcome": "Error",
    "line": 1528,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/86/tail/arm/0",
    "outcome": "Ok",
    "line": 1537,
    "state": "covered",
    "hits": "78262"
  },
  {
    "id": "declaration/86/tail/arm/1",
    "outcome": "Error",
    "line": 1538,
    "state": "covered",
    "hits": "39"
  },
  {
    "id": "declaration/87/tail/arm/0",
    "outcome": "Ok",
    "line": 1544,
    "state": "covered",
    "hits": "126"
  },
  {
    "id": "declaration/87/tail/arm/0/body/block/tail/decision/true",
    "outcome": "true",
    "line": 1545,
    "state": "covered",
    "hits": "125"
  },
  {
    "id": "declaration/87/tail/arm/0/body/block/tail/decision/false",
    "outcome": "false",
    "line": 1545,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/87/tail/arm/1",
    "outcome": "Error",
    "line": 1551,
    "state": "covered",
    "hits": "31"
  },
  {
    "id": "declaration/88/tail/arm/0",
    "outcome": "Ok",
    "line": 1562,
    "state": "covered",
    "hits": "644"
  },
  {
    "id": "declaration/88/tail/arm/0/body/block/tail/arm/0",
    "outcome": "Ok",
    "line": 1564,
    "state": "covered",
    "hits": "643"
  },
  {
    "id": "declaration/88/tail/arm/0/body/block/tail/arm/0/body/block/statement/0/value/decision/true",
    "outcome": "true",
    "line": 1565,
    "state": "covered",
    "hits": "619"
  },
  {
    "id": "declaration/88/tail/arm/0/body/block/tail/arm/0/body/block/statement/0/value/decision/false",
    "outcome": "false",
    "line": 1565,
    "state": "covered",
    "hits": "24"
  },
  {
    "id": "declaration/88/tail/arm/0/body/block/tail/arm/0/body/block/statement/0/value/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1565,
    "state": "covered",
    "hits": "643"
  },
  {
    "id": "declaration/88/tail/arm/0/body/block/tail/arm/0/body/block/statement/0/value/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1565,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/88/tail/arm/0/body/block/tail/arm/1",
    "outcome": "Error",
    "line": 1573,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/88/tail/arm/1",
    "outcome": "Error",
    "line": 1576,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/89/tail/decision/true",
    "outcome": "true",
    "line": 1588,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/89/tail/decision/false",
    "outcome": "false",
    "line": 1588,
    "state": "covered",
    "hits": "1054"
  },
  {
    "id": "declaration/89/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1588,
    "state": "covered",
    "hits": "1055"
  },
  {
    "id": "declaration/89/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1588,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/89/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 1592,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/89/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 1592,
    "state": "covered",
    "hits": "1052"
  },
  {
    "id": "declaration/89/tail/false/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1592,
    "state": "covered",
    "hits": "1054"
  },
  {
    "id": "declaration/89/tail/false/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1592,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/89/tail/false/tail/false/tail/arm/0",
    "outcome": "Ok",
    "line": 1596,
    "state": "covered",
    "hits": "1051"
  },
  {
    "id": "declaration/89/tail/false/tail/false/tail/arm/0/body/block/tail/arm/0",
    "outcome": "Ok",
    "line": 1598,
    "state": "covered",
    "hits": "1050"
  },
  {
    "id": "declaration/89/tail/false/tail/false/tail/arm/0/body/block/tail/arm/0/body/block/statement/0/value/decision/true",
    "outcome": "true",
    "line": 1599,
    "state": "covered",
    "hits": "813"
  },
  {
    "id": "declaration/89/tail/false/tail/false/tail/arm/0/body/block/tail/arm/0/body/block/statement/0/value/decision/false",
    "outcome": "false",
    "line": 1599,
    "state": "covered",
    "hits": "237"
  },
  {
    "id": "declaration/89/tail/false/tail/false/tail/arm/0/body/block/tail/arm/0/body/block/statement/0/value/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1599,
    "state": "covered",
    "hits": "1050"
  },
  {
    "id": "declaration/89/tail/false/tail/false/tail/arm/0/body/block/tail/arm/0/body/block/statement/0/value/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1599,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/89/tail/false/tail/false/tail/arm/0/body/block/tail/arm/1",
    "outcome": "Error",
    "line": 1611,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/89/tail/false/tail/false/tail/arm/1",
    "outcome": "Error",
    "line": 1614,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/90/tail/decision/true",
    "outcome": "true",
    "line": 1626,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/90/tail/decision/false",
    "outcome": "false",
    "line": 1626,
    "state": "covered",
    "hits": "37642"
  },
  {
    "id": "declaration/90/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 1629,
    "state": "covered",
    "hits": "6488"
  },
  {
    "id": "declaration/90/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 1629,
    "state": "covered",
    "hits": "31154"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 1632,
    "state": "covered",
    "hits": "4876"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 1632,
    "state": "covered",
    "hits": "26278"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1632,
    "state": "covered",
    "hits": "28094"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1632,
    "state": "covered",
    "hits": "3060"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/condition/right/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1633,
    "state": "covered",
    "hits": "25958"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/condition/right/decision/skip-right",
    "outcome": "skip-right",
    "line": 1633,
    "state": "covered",
    "hits": "2136"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/condition/right/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1633,
    "state": "covered",
    "hits": "25958"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/condition/right/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 1633,
    "state": "covered",
    "hits": "2136"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/true/statement/1/value/decision/true",
    "outcome": "true",
    "line": 1637,
    "state": "covered",
    "hits": "3060"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/true/statement/1/value/decision/false",
    "outcome": "false",
    "line": 1637,
    "state": "covered",
    "hits": "1816"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/true/tail/decision/true",
    "outcome": "true",
    "line": 1642,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/true/tail/decision/false",
    "outcome": "false",
    "line": 1642,
    "state": "covered",
    "hits": "4875"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/true/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1642,
    "state": "covered",
    "hits": "4876"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/true/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1642,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/true/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 1647,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/true/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 1647,
    "state": "covered",
    "hits": "4874"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/true/tail/false/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1647,
    "state": "covered",
    "hits": "4875"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/true/tail/false/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1647,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/true/tail/false/tail/condition/right/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1648,
    "state": "covered",
    "hits": "363"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/true/tail/false/tail/condition/right/decision/skip-right",
    "outcome": "skip-right",
    "line": 1648,
    "state": "covered",
    "hits": "4512"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/true/tail/false/tail/false/statement/0/value/decision/true",
    "outcome": "true",
    "line": 1655,
    "state": "covered",
    "hits": "4512"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/true/tail/false/tail/false/statement/0/value/decision/false",
    "outcome": "false",
    "line": 1655,
    "state": "covered",
    "hits": "362"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/true/tail/false/tail/false/tail/arm/0",
    "outcome": "Ok",
    "line": 1661,
    "state": "covered",
    "hits": "4872"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/true/tail/false/tail/false/tail/arm/0/body/block/tail/decision/true",
    "outcome": "true",
    "line": 1662,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/true/tail/false/tail/false/tail/arm/0/body/block/tail/decision/false",
    "outcome": "false",
    "line": 1662,
    "state": "covered",
    "hits": "4871"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/true/tail/false/tail/false/tail/arm/0/body/block/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1662,
    "state": "covered",
    "hits": "4872"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/true/tail/false/tail/false/tail/arm/0/body/block/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1662,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/true/tail/false/tail/false/tail/arm/0/body/block/tail/false/tail/arm/0",
    "outcome": "Ok",
    "line": 1669,
    "state": "covered",
    "hits": "4871"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/true/tail/false/tail/false/tail/arm/0/body/block/tail/false/tail/arm/0/body/block/statement/1/value/decision/true",
    "outcome": "true",
    "line": 1671,
    "state": "covered",
    "hits": "4509"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/true/tail/false/tail/false/tail/arm/0/body/block/tail/false/tail/arm/0/body/block/statement/1/value/decision/false",
    "outcome": "false",
    "line": 1671,
    "state": "covered",
    "hits": "362"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/true/tail/false/tail/false/tail/arm/0/body/block/tail/false/tail/arm/0/body/block/tail/decision/true",
    "outcome": "true",
    "line": 1683,
    "state": "covered",
    "hits": "4821"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/true/tail/false/tail/false/tail/arm/0/body/block/tail/false/tail/arm/0/body/block/tail/decision/false",
    "outcome": "false",
    "line": 1683,
    "state": "covered",
    "hits": "50"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/true/tail/false/tail/false/tail/arm/0/body/block/tail/false/tail/arm/0/body/block/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1683,
    "state": "covered",
    "hits": "4871"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/true/tail/false/tail/false/tail/arm/0/body/block/tail/false/tail/arm/0/body/block/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1683,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/true/tail/false/tail/false/tail/arm/0/body/block/tail/false/tail/arm/0/body/block/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 1686,
    "state": "covered",
    "hits": "49"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/true/tail/false/tail/false/tail/arm/0/body/block/tail/false/tail/arm/0/body/block/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 1686,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/true/tail/false/tail/false/tail/arm/0/body/block/tail/false/tail/arm/0/body/block/tail/false/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1686,
    "state": "covered",
    "hits": "50"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/true/tail/false/tail/false/tail/arm/0/body/block/tail/false/tail/arm/0/body/block/tail/false/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1686,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/true/tail/false/tail/false/tail/arm/0/body/block/tail/false/tail/arm/1",
    "outcome": "Error",
    "line": 1696,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/true/tail/false/tail/false/tail/arm/1",
    "outcome": "Error",
    "line": 1700,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 1705,
    "state": "covered",
    "hits": "645"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 1705,
    "state": "covered",
    "hits": "25633"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/false/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 1708,
    "state": "covered",
    "hits": "1055"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/false/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 1708,
    "state": "covered",
    "hits": "24578"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/false/tail/false/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 1711,
    "state": "covered",
    "hits": "8141"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/false/tail/false/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 1711,
    "state": "covered",
    "hits": "16437"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/false/tail/false/tail/false/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1711,
    "state": "covered",
    "hits": "22442"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/false/tail/false/tail/false/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1711,
    "state": "covered",
    "hits": "2136"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/false/tail/false/tail/false/tail/condition/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1711,
    "state": "covered",
    "hits": "22442"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/false/tail/false/tail/false/tail/condition/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 1711,
    "state": "covered",
    "hits": "2136"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/false/tail/false/tail/false/tail/true/tail/arm/0",
    "outcome": "Ok",
    "line": 1716,
    "state": "covered",
    "hits": "8141"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/false/tail/false/tail/false/tail/true/tail/arm/0/body/block/tail/decision/true",
    "outcome": "true",
    "line": 1718,
    "state": "covered",
    "hits": "4399"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/false/tail/false/tail/false/tail/true/tail/arm/0/body/block/tail/decision/false",
    "outcome": "false",
    "line": 1718,
    "state": "covered",
    "hits": "3742"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/false/tail/false/tail/false/tail/true/tail/arm/0/body/block/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1718,
    "state": "covered",
    "hits": "8141"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/false/tail/false/tail/false/tail/true/tail/arm/0/body/block/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1718,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/false/tail/false/tail/false/tail/true/tail/arm/0/body/block/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 1721,
    "state": "covered",
    "hits": "3742"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/false/tail/false/tail/false/tail/true/tail/arm/0/body/block/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 1721,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/false/tail/false/tail/false/tail/true/tail/arm/0/body/block/tail/false/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1721,
    "state": "covered",
    "hits": "3742"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/false/tail/false/tail/false/tail/true/tail/arm/0/body/block/tail/false/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1721,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/false/tail/false/tail/false/tail/true/tail/arm/1",
    "outcome": "Error",
    "line": 1731,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/arm/0",
    "outcome": "Ok",
    "line": 1735,
    "state": "covered",
    "hits": "16437"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/arm/0/body/block/tail/decision/true",
    "outcome": "true",
    "line": 1736,
    "state": "covered",
    "hits": "2155"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/arm/0/body/block/tail/decision/false",
    "outcome": "false",
    "line": 1736,
    "state": "covered",
    "hits": "14282"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/arm/0/body/block/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1736,
    "state": "covered",
    "hits": "16436"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/arm/0/body/block/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1736,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/arm/0/body/block/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 1744,
    "state": "covered",
    "hits": "14279"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/arm/0/body/block/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 1744,
    "state": "covered",
    "hits": "3"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/arm/0/body/block/tail/false/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1744,
    "state": "covered",
    "hits": "14281"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/arm/0/body/block/tail/false/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1744,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/90/tail/false/tail/false/tail/false/tail/false/tail/false/tail/false/tail/arm/1",
    "outcome": "Error",
    "line": 1757,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/91/tail/decision/true",
    "outcome": "true",
    "line": 1768,
    "state": "covered",
    "hits": "9"
  },
  {
    "id": "declaration/91/tail/decision/false",
    "outcome": "false",
    "line": 1768,
    "state": "covered",
    "hits": "20784"
  },
  {
    "id": "declaration/91/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1768,
    "state": "covered",
    "hits": "20788"
  },
  {
    "id": "declaration/91/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1768,
    "state": "covered",
    "hits": "5"
  },
  {
    "id": "declaration/91/tail/false/tail/arm/0",
    "outcome": "Error",
    "line": 1773,
    "state": "covered",
    "hits": "17"
  },
  {
    "id": "declaration/91/tail/false/tail/arm/1",
    "outcome": "Ok",
    "line": 1774,
    "state": "covered",
    "hits": "20767"
  },
  {
    "id": "declaration/92/tail/arm/0",
    "outcome": "Ok",
    "line": 1782,
    "state": "covered",
    "hits": "17"
  },
  {
    "id": "declaration/92/tail/arm/0/body/block/tail/decision/true",
    "outcome": "true",
    "line": 1783,
    "state": "covered",
    "hits": "16"
  },
  {
    "id": "declaration/92/tail/arm/0/body/block/tail/decision/false",
    "outcome": "false",
    "line": 1783,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/92/tail/arm/1",
    "outcome": "Error",
    "line": 1789,
    "state": "covered",
    "hits": "15"
  },
  {
    "id": "declaration/93/tail/decision/true",
    "outcome": "true",
    "line": 1796,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/93/tail/decision/false",
    "outcome": "false",
    "line": 1796,
    "state": "covered",
    "hits": "144"
  },
  {
    "id": "declaration/93/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1796,
    "state": "covered",
    "hits": "145"
  },
  {
    "id": "declaration/93/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1796,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/93/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 1800,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/93/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 1800,
    "state": "covered",
    "hits": "143"
  },
  {
    "id": "declaration/93/tail/false/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1800,
    "state": "covered",
    "hits": "144"
  },
  {
    "id": "declaration/93/tail/false/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1800,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/93/tail/false/tail/false/tail/arm/0",
    "outcome": "Error",
    "line": 1805,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/93/tail/false/tail/false/tail/arm/1",
    "outcome": "Ok",
    "line": 1808,
    "state": "covered",
    "hits": "142"
  },
  {
    "id": "declaration/93/tail/false/tail/false/tail/arm/1/body/block/tail/decision/true",
    "outcome": "true",
    "line": 1810,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/93/tail/false/tail/false/tail/arm/1/body/block/tail/decision/false",
    "outcome": "false",
    "line": 1810,
    "state": "covered",
    "hits": "140"
  },
  {
    "id": "declaration/93/tail/false/tail/false/tail/arm/1/body/block/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1810,
    "state": "covered",
    "hits": "142"
  },
  {
    "id": "declaration/93/tail/false/tail/false/tail/arm/1/body/block/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1810,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/93/tail/false/tail/false/tail/arm/1/body/block/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 1818,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/93/tail/false/tail/false/tail/arm/1/body/block/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 1818,
    "state": "covered",
    "hits": "138"
  },
  {
    "id": "declaration/93/tail/false/tail/false/tail/arm/1/body/block/tail/false/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1818,
    "state": "covered",
    "hits": "140"
  },
  {
    "id": "declaration/93/tail/false/tail/false/tail/arm/1/body/block/tail/false/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1818,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/93/tail/false/tail/false/tail/arm/1/body/block/tail/false/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 1820,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/93/tail/false/tail/false/tail/arm/1/body/block/tail/false/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 1820,
    "state": "covered",
    "hits": "137"
  },
  {
    "id": "declaration/93/tail/false/tail/false/tail/arm/1/body/block/tail/false/tail/false/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1820,
    "state": "covered",
    "hits": "138"
  },
  {
    "id": "declaration/93/tail/false/tail/false/tail/arm/1/body/block/tail/false/tail/false/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1820,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/93/tail/false/tail/false/tail/arm/1/body/block/tail/false/tail/false/tail/false/tail/arm/0",
    "outcome": "Ok",
    "line": 1824,
    "state": "covered",
    "hits": "137"
  },
  {
    "id": "declaration/93/tail/false/tail/false/tail/arm/1/body/block/tail/false/tail/false/tail/false/tail/arm/0/body/block/tail/decision/true",
    "outcome": "true",
    "line": 1831,
    "state": "covered",
    "hits": "12"
  },
  {
    "id": "declaration/93/tail/false/tail/false/tail/arm/1/body/block/tail/false/tail/false/tail/false/tail/arm/0/body/block/tail/decision/false",
    "outcome": "false",
    "line": 1831,
    "state": "covered",
    "hits": "125"
  },
  {
    "id": "declaration/93/tail/false/tail/false/tail/arm/1/body/block/tail/false/tail/false/tail/false/tail/arm/0/body/block/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 1834,
    "state": "covered",
    "hits": "125"
  },
  {
    "id": "declaration/93/tail/false/tail/false/tail/arm/1/body/block/tail/false/tail/false/tail/false/tail/arm/0/body/block/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 1834,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/93/tail/false/tail/false/tail/arm/1/body/block/tail/false/tail/false/tail/false/tail/arm/1",
    "outcome": "Error",
    "line": 1844,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/94/tail/decision/true",
    "outcome": "true",
    "line": 1862,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/94/tail/decision/false",
    "outcome": "false",
    "line": 1862,
    "state": "covered",
    "hits": "1470"
  },
  {
    "id": "declaration/94/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 1865,
    "state": "covered",
    "hits": "4"
  },
  {
    "id": "declaration/94/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 1865,
    "state": "covered",
    "hits": "1466"
  },
  {
    "id": "declaration/94/tail/false/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 1869,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/94/tail/false/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 1869,
    "state": "covered",
    "hits": "1465"
  },
  {
    "id": "declaration/94/tail/false/tail/false/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 1874,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/94/tail/false/tail/false/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 1874,
    "state": "covered",
    "hits": "1464"
  },
  {
    "id": "declaration/94/tail/false/tail/false/tail/false/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1874,
    "state": "covered",
    "hits": "1465"
  },
  {
    "id": "declaration/94/tail/false/tail/false/tail/false/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1874,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/94/tail/false/tail/false/tail/false/tail/false/tail/arm/0",
    "outcome": "Ok",
    "line": 1881,
    "state": "covered",
    "hits": "1463"
  },
  {
    "id": "declaration/94/tail/false/tail/false/tail/false/tail/false/tail/arm/0/body/block/tail/decision/true",
    "outcome": "true",
    "line": 1885,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/94/tail/false/tail/false/tail/false/tail/false/tail/arm/0/body/block/tail/decision/false",
    "outcome": "false",
    "line": 1885,
    "state": "covered",
    "hits": "1462"
  },
  {
    "id": "declaration/94/tail/false/tail/false/tail/false/tail/false/tail/arm/0/body/block/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 1891,
    "state": "covered",
    "hits": "859"
  },
  {
    "id": "declaration/94/tail/false/tail/false/tail/false/tail/false/tail/arm/0/body/block/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 1891,
    "state": "covered",
    "hits": "603"
  },
  {
    "id": "declaration/94/tail/false/tail/false/tail/false/tail/false/tail/arm/0/body/block/tail/false/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 1894,
    "state": "covered",
    "hits": "602"
  },
  {
    "id": "declaration/94/tail/false/tail/false/tail/false/tail/false/tail/arm/0/body/block/tail/false/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 1894,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/94/tail/false/tail/false/tail/false/tail/false/tail/arm/1",
    "outcome": "Error",
    "line": 1906,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/95/tail/decision/true",
    "outcome": "true",
    "line": 1917,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/95/tail/decision/false",
    "outcome": "false",
    "line": 1917,
    "state": "covered",
    "hits": "615"
  },
  {
    "id": "declaration/95/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1917,
    "state": "covered",
    "hits": "615"
  },
  {
    "id": "declaration/95/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1917,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/95/tail/false/tail/arm/0",
    "outcome": "Ok",
    "line": 1922,
    "state": "covered",
    "hits": "612"
  },
  {
    "id": "declaration/95/tail/false/tail/arm/0/body/block/tail/decision/true",
    "outcome": "true",
    "line": 1923,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/95/tail/false/tail/arm/0/body/block/tail/decision/false",
    "outcome": "false",
    "line": 1923,
    "state": "covered",
    "hits": "611"
  },
  {
    "id": "declaration/95/tail/false/tail/arm/0/body/block/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1923,
    "state": "covered",
    "hits": "611"
  },
  {
    "id": "declaration/95/tail/false/tail/arm/0/body/block/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1923,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/95/tail/false/tail/arm/1",
    "outcome": "Error",
    "line": 1933,
    "state": "covered",
    "hits": "3"
  },
  {
    "id": "declaration/96/tail/decision/true",
    "outcome": "true",
    "line": 1946,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/96/tail/decision/false",
    "outcome": "false",
    "line": 1946,
    "state": "covered",
    "hits": "4663"
  },
  {
    "id": "declaration/96/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 1949,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/96/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 1949,
    "state": "covered",
    "hits": "4661"
  },
  {
    "id": "declaration/96/tail/false/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 1953,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/96/tail/false/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 1953,
    "state": "covered",
    "hits": "4660"
  },
  {
    "id": "declaration/96/tail/false/tail/false/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 1958,
    "state": "covered",
    "hits": "2657"
  },
  {
    "id": "declaration/96/tail/false/tail/false/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 1958,
    "state": "covered",
    "hits": "2003"
  },
  {
    "id": "declaration/96/tail/false/tail/false/tail/false/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 1958,
    "state": "covered",
    "hits": "4659"
  },
  {
    "id": "declaration/96/tail/false/tail/false/tail/false/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 1958,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/96/tail/false/tail/false/tail/false/tail/true/tail/arm/0",
    "outcome": "Ok",
    "line": 1960,
    "state": "covered",
    "hits": "2653"
  },
  {
    "id": "declaration/96/tail/false/tail/false/tail/false/tail/true/tail/arm/1",
    "outcome": "Error",
    "line": 1970,
    "state": "covered",
    "hits": "4"
  },
  {
    "id": "declaration/97/tail/decision/true",
    "outcome": "true",
    "line": 2003,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/97/tail/decision/false",
    "outcome": "false",
    "line": 2003,
    "state": "covered",
    "hits": "4655"
  },
  {
    "id": "declaration/97/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 2006,
    "state": "covered",
    "hits": "2581"
  },
  {
    "id": "declaration/97/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 2006,
    "state": "covered",
    "hits": "2074"
  },
  {
    "id": "declaration/97/tail/false/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 2009,
    "state": "covered",
    "hits": "2073"
  },
  {
    "id": "declaration/97/tail/false/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 2009,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/98/tail/decision/true",
    "outcome": "true",
    "line": 2022,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/98/tail/decision/false",
    "outcome": "false",
    "line": 2022,
    "state": "covered",
    "hits": "2086"
  },
  {
    "id": "declaration/98/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 2022,
    "state": "covered",
    "hits": "2086"
  },
  {
    "id": "declaration/98/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 2022,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/98/tail/false/tail/arm/0",
    "outcome": "Ok",
    "line": 2027,
    "state": "covered",
    "hits": "2083"
  },
  {
    "id": "declaration/98/tail/false/tail/arm/0/body/block/tail/decision/true",
    "outcome": "true",
    "line": 2028,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/98/tail/false/tail/arm/0/body/block/tail/decision/false",
    "outcome": "false",
    "line": 2028,
    "state": "covered",
    "hits": "2082"
  },
  {
    "id": "declaration/98/tail/false/tail/arm/0/body/block/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 2028,
    "state": "covered",
    "hits": "2082"
  },
  {
    "id": "declaration/98/tail/false/tail/arm/0/body/block/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 2028,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/98/tail/false/tail/arm/1",
    "outcome": "Error",
    "line": 2035,
    "state": "covered",
    "hits": "3"
  },
  {
    "id": "declaration/99/tail/decision/true",
    "outcome": "true",
    "line": 2046,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/99/tail/decision/false",
    "outcome": "false",
    "line": 2046,
    "state": "covered",
    "hits": "7781"
  },
  {
    "id": "declaration/99/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 2049,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/99/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 2049,
    "state": "covered",
    "hits": "7779"
  },
  {
    "id": "declaration/99/tail/false/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 2054,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/99/tail/false/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 2054,
    "state": "covered",
    "hits": "7778"
  },
  {
    "id": "declaration/99/tail/false/tail/false/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 2054,
    "state": "covered",
    "hits": "7779"
  },
  {
    "id": "declaration/99/tail/false/tail/false/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 2054,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/99/tail/false/tail/false/tail/false/tail/arm/0",
    "outcome": "Ok",
    "line": 2061,
    "state": "covered",
    "hits": "7777"
  },
  {
    "id": "declaration/99/tail/false/tail/false/tail/false/tail/arm/0/body/block/tail/decision/true",
    "outcome": "true",
    "line": 2064,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/99/tail/false/tail/false/tail/false/tail/arm/0/body/block/tail/decision/false",
    "outcome": "false",
    "line": 2064,
    "state": "covered",
    "hits": "7776"
  },
  {
    "id": "declaration/99/tail/false/tail/false/tail/false/tail/arm/0/body/block/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 2070,
    "state": "covered",
    "hits": "5067"
  },
  {
    "id": "declaration/99/tail/false/tail/false/tail/false/tail/arm/0/body/block/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 2070,
    "state": "covered",
    "hits": "2709"
  },
  {
    "id": "declaration/99/tail/false/tail/false/tail/false/tail/arm/0/body/block/tail/false/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 2073,
    "state": "covered",
    "hits": "2708"
  },
  {
    "id": "declaration/99/tail/false/tail/false/tail/false/tail/arm/0/body/block/tail/false/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 2073,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/99/tail/false/tail/false/tail/false/tail/arm/1",
    "outcome": "Error",
    "line": 2084,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/100/tail/decision/true",
    "outcome": "true",
    "line": 2095,
    "state": "covered",
    "hits": "3652"
  },
  {
    "id": "declaration/100/tail/decision/false",
    "outcome": "false",
    "line": 2095,
    "state": "covered",
    "hits": "5074"
  },
  {
    "id": "declaration/100/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 2095,
    "state": "covered",
    "hits": "8725"
  },
  {
    "id": "declaration/100/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 2095,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/101/statement/2/value/decision/true",
    "outcome": "true",
    "line": 2107,
    "state": "covered",
    "hits": "7931"
  },
  {
    "id": "declaration/101/statement/2/value/decision/false",
    "outcome": "false",
    "line": 2107,
    "state": "covered",
    "hits": "803"
  },
  {
    "id": "declaration/101/statement/2/value/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 2107,
    "state": "covered",
    "hits": "976"
  },
  {
    "id": "declaration/101/statement/2/value/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 2107,
    "state": "covered",
    "hits": "7758"
  },
  {
    "id": "declaration/101/tail/decision/true",
    "outcome": "true",
    "line": 2112,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/101/tail/decision/false",
    "outcome": "false",
    "line": 2112,
    "state": "covered",
    "hits": "8733"
  },
  {
    "id": "declaration/101/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 2112,
    "state": "covered",
    "hits": "8733"
  },
  {
    "id": "declaration/101/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 2112,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/101/tail/false/tail/arm/0",
    "outcome": "Error",
    "line": 2117,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/101/tail/false/tail/arm/1",
    "outcome": "Ok",
    "line": 2118,
    "state": "covered",
    "hits": "8732"
  },
  {
    "id": "declaration/101/tail/false/tail/arm/1/body/block/tail/decision/true",
    "outcome": "true",
    "line": 2120,
    "state": "covered",
    "hits": "6"
  },
  {
    "id": "declaration/101/tail/false/tail/arm/1/body/block/tail/decision/false",
    "outcome": "false",
    "line": 2120,
    "state": "covered",
    "hits": "8726"
  },
  {
    "id": "declaration/101/tail/false/tail/arm/1/body/block/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 2120,
    "state": "covered",
    "hits": "8728"
  },
  {
    "id": "declaration/101/tail/false/tail/arm/1/body/block/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 2120,
    "state": "covered",
    "hits": "4"
  },
  {
    "id": "declaration/101/tail/false/tail/arm/1/body/block/tail/false/tail/arm/0",
    "outcome": "Ok",
    "line": 2127,
    "state": "covered",
    "hits": "8719"
  },
  {
    "id": "declaration/101/tail/false/tail/arm/1/body/block/tail/false/tail/arm/0/body/block/tail/decision/true",
    "outcome": "true",
    "line": 2129,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/101/tail/false/tail/arm/1/body/block/tail/false/tail/arm/0/body/block/tail/decision/false",
    "outcome": "false",
    "line": 2129,
    "state": "covered",
    "hits": "8717"
  },
  {
    "id": "declaration/101/tail/false/tail/arm/1/body/block/tail/false/tail/arm/0/body/block/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 2129,
    "state": "covered",
    "hits": "8719"
  },
  {
    "id": "declaration/101/tail/false/tail/arm/1/body/block/tail/false/tail/arm/0/body/block/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 2129,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/101/tail/false/tail/arm/1/body/block/tail/false/tail/arm/0/body/block/tail/false/tail/arm/0",
    "outcome": "Ok",
    "line": 2136,
    "state": "covered",
    "hits": "8716"
  },
  {
    "id": "declaration/101/tail/false/tail/arm/1/body/block/tail/false/tail/arm/0/body/block/tail/false/tail/arm/0/body/block/tail/arm/0",
    "outcome": "Ok",
    "line": 2138,
    "state": "covered",
    "hits": "8713"
  },
  {
    "id": "declaration/101/tail/false/tail/arm/1/body/block/tail/false/tail/arm/0/body/block/tail/false/tail/arm/0/body/block/tail/arm/1",
    "outcome": "Error",
    "line": 2154,
    "state": "covered",
    "hits": "3"
  },
  {
    "id": "declaration/101/tail/false/tail/arm/1/body/block/tail/false/tail/arm/0/body/block/tail/false/tail/arm/1",
    "outcome": "Error",
    "line": 2157,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/101/tail/false/tail/arm/1/body/block/tail/false/tail/arm/1",
    "outcome": "Error",
    "line": 2161,
    "state": "covered",
    "hits": "7"
  },
  {
    "id": "declaration/109/statement/3/decision/body",
    "outcome": "body",
    "line": 2219,
    "state": "covered",
    "hits": "510"
  },
  {
    "id": "declaration/109/statement/3/decision/exit",
    "outcome": "exit",
    "line": 2219,
    "state": "covered",
    "hits": "38"
  },
  {
    "id": "declaration/109/statement/3/body/statement/0/value/decision/true",
    "outcome": "true",
    "line": 2220,
    "state": "covered",
    "hits": "20"
  },
  {
    "id": "declaration/109/statement/3/body/statement/0/value/decision/false",
    "outcome": "false",
    "line": 2220,
    "state": "covered",
    "hits": "490"
  },
  {
    "id": "declaration/109/statement/3/body/statement/1/value/decision/true",
    "outcome": "true",
    "line": 2223,
    "state": "covered",
    "hits": "25"
  },
  {
    "id": "declaration/109/statement/3/body/statement/1/value/decision/false",
    "outcome": "false",
    "line": 2223,
    "state": "covered",
    "hits": "485"
  },
  {
    "id": "declaration/109/statement/3/body/statement/1/value/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 2223,
    "state": "covered",
    "hits": "25"
  },
  {
    "id": "declaration/109/statement/3/body/statement/1/value/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 2223,
    "state": "covered",
    "hits": "485"
  },
  {
    "id": "declaration/110/tail/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 2232,
    "state": "covered",
    "hits": "2964"
  },
  {
    "id": "declaration/110/tail/decision/skip-right",
    "outcome": "skip-right",
    "line": 2232,
    "state": "covered",
    "hits": "3"
  },
  {
    "id": "declaration/110/tail/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 2232,
    "state": "covered",
    "hits": "2964"
  },
  {
    "id": "declaration/110/tail/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 2232,
    "state": "covered",
    "hits": "3"
  },
  {
    "id": "declaration/110/tail/left/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 2232,
    "state": "covered",
    "hits": "2964"
  },
  {
    "id": "declaration/110/tail/left/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 2232,
    "state": "covered",
    "hits": "3"
  },
  {
    "id": "declaration/110/tail/left/left/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 2232,
    "state": "covered",
    "hits": "2966"
  },
  {
    "id": "declaration/110/tail/left/left/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 2232,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/111/tail/decision/true",
    "outcome": "true",
    "line": 2241,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/111/tail/decision/false",
    "outcome": "false",
    "line": 2241,
    "state": "covered",
    "hits": "1809"
  },
  {
    "id": "declaration/111/tail/false/statement/4/decision/body",
    "outcome": "body",
    "line": 2250,
    "state": "covered",
    "hits": "807"
  },
  {
    "id": "declaration/111/tail/false/statement/4/decision/exit",
    "outcome": "exit",
    "line": 2250,
    "state": "covered",
    "hits": "1809"
  },
  {
    "id": "declaration/111/tail/false/statement/4/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 2250,
    "state": "covered",
    "hits": "807"
  },
  {
    "id": "declaration/111/tail/false/statement/4/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 2250,
    "state": "covered",
    "hits": "1809"
  },
  {
    "id": "declaration/111/tail/false/statement/4/condition/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 2250,
    "state": "covered",
    "hits": "2616"
  },
  {
    "id": "declaration/111/tail/false/statement/4/condition/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 2250,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/111/tail/false/statement/5/value/decision/true",
    "outcome": "true",
    "line": 2258,
    "state": "covered",
    "hits": "47"
  },
  {
    "id": "declaration/111/tail/false/statement/5/value/decision/false",
    "outcome": "false",
    "line": 2258,
    "state": "covered",
    "hits": "1762"
  },
  {
    "id": "declaration/111/tail/false/statement/5/value/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 2258,
    "state": "covered",
    "hits": "1809"
  },
  {
    "id": "declaration/111/tail/false/statement/5/value/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 2258,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/111/tail/false/statement/5/value/true/tail/decision/true",
    "outcome": "true",
    "line": 2260,
    "state": "covered",
    "hits": "46"
  },
  {
    "id": "declaration/111/tail/false/statement/5/value/true/tail/decision/false",
    "outcome": "false",
    "line": 2260,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/111/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 2267,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/111/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 2267,
    "state": "covered",
    "hits": "1808"
  },
  {
    "id": "declaration/111/tail/false/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 2275,
    "state": "covered",
    "hits": "388"
  },
  {
    "id": "declaration/111/tail/false/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 2275,
    "state": "covered",
    "hits": "1420"
  },
  {
    "id": "declaration/111/tail/false/tail/false/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 2275,
    "state": "covered",
    "hits": "1808"
  },
  {
    "id": "declaration/111/tail/false/tail/false/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 2275,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/111/tail/false/tail/false/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 2278,
    "state": "covered",
    "hits": "1420"
  },
  {
    "id": "declaration/111/tail/false/tail/false/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 2278,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/111/tail/false/tail/false/tail/false/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 2278,
    "state": "covered",
    "hits": "1420"
  },
  {
    "id": "declaration/111/tail/false/tail/false/tail/false/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 2278,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/112/tail/decision/true",
    "outcome": "true",
    "line": 2296,
    "state": "covered",
    "hits": "303"
  },
  {
    "id": "declaration/112/tail/decision/false",
    "outcome": "false",
    "line": 2296,
    "state": "covered",
    "hits": "426"
  },
  {
    "id": "declaration/112/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 2296,
    "state": "covered",
    "hits": "727"
  },
  {
    "id": "declaration/112/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 2296,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/112/tail/true/tail/decision/true",
    "outcome": "true",
    "line": 2297,
    "state": "covered",
    "hits": "302"
  },
  {
    "id": "declaration/112/tail/true/tail/decision/false",
    "outcome": "false",
    "line": 2297,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/112/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 2303,
    "state": "covered",
    "hits": "390"
  },
  {
    "id": "declaration/112/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 2303,
    "state": "covered",
    "hits": "36"
  },
  {
    "id": "declaration/112/tail/false/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 2303,
    "state": "covered",
    "hits": "424"
  },
  {
    "id": "declaration/112/tail/false/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 2303,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/112/tail/false/tail/true/tail/decision/true",
    "outcome": "true",
    "line": 2304,
    "state": "covered",
    "hits": "390"
  },
  {
    "id": "declaration/112/tail/false/tail/true/tail/decision/false",
    "outcome": "false",
    "line": 2304,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/112/tail/false/tail/true/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 2304,
    "state": "covered",
    "hits": "390"
  },
  {
    "id": "declaration/112/tail/false/tail/true/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 2304,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/112/tail/false/tail/true/tail/condition/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 2304,
    "state": "covered",
    "hits": "390"
  },
  {
    "id": "declaration/112/tail/false/tail/true/tail/condition/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 2304,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/113/tail/decision/true",
    "outcome": "true",
    "line": 2316,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/113/tail/decision/false",
    "outcome": "false",
    "line": 2316,
    "state": "covered",
    "hits": "6910"
  },
  {
    "id": "declaration/113/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 2319,
    "state": "covered",
    "hits": "146"
  },
  {
    "id": "declaration/113/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 2319,
    "state": "covered",
    "hits": "6764"
  },
  {
    "id": "declaration/113/tail/false/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 2322,
    "state": "covered",
    "hits": "616"
  },
  {
    "id": "declaration/113/tail/false/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 2322,
    "state": "covered",
    "hits": "6148"
  },
  {
    "id": "declaration/113/tail/false/tail/false/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 2325,
    "state": "covered",
    "hits": "2087"
  },
  {
    "id": "declaration/113/tail/false/tail/false/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 2325,
    "state": "covered",
    "hits": "4061"
  },
  {
    "id": "declaration/113/tail/false/tail/false/tail/false/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 2328,
    "state": "covered",
    "hits": "4061"
  },
  {
    "id": "declaration/113/tail/false/tail/false/tail/false/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 2328,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/115/tail/decision/true",
    "outcome": "true",
    "line": 2355,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/115/tail/decision/false",
    "outcome": "false",
    "line": 2355,
    "state": "covered",
    "hits": "9273"
  },
  {
    "id": "declaration/115/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 2357,
    "state": "covered",
    "hits": "2519"
  },
  {
    "id": "declaration/115/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 2357,
    "state": "covered",
    "hits": "6754"
  },
  {
    "id": "declaration/115/tail/false/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 2359,
    "state": "covered",
    "hits": "2081"
  },
  {
    "id": "declaration/115/tail/false/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 2359,
    "state": "covered",
    "hits": "4673"
  },
  {
    "id": "declaration/115/tail/false/tail/false/tail/false/statement/1/value/decision/true",
    "outcome": "true",
    "line": 2363,
    "state": "covered",
    "hits": "4579"
  },
  {
    "id": "declaration/115/tail/false/tail/false/tail/false/statement/1/value/decision/false",
    "outcome": "false",
    "line": 2363,
    "state": "covered",
    "hits": "94"
  },
  {
    "id": "declaration/115/tail/false/tail/false/tail/false/tail/arm/0",
    "outcome": "Error",
    "line": 2365,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/115/tail/false/tail/false/tail/false/tail/arm/1",
    "outcome": "Ok",
    "line": 2366,
    "state": "covered",
    "hits": "4673"
  },
  {
    "id": "declaration/115/tail/false/tail/false/tail/false/tail/arm/1/body/arm/0",
    "outcome": "FunctionDeclaration",
    "line": 2367,
    "state": "covered",
    "hits": "4673"
  },
  {
    "id": "declaration/115/tail/false/tail/false/tail/false/tail/arm/1/body/arm/1",
    "outcome": "ImportDeclaration",
    "line": 2380,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/115/tail/false/tail/false/tail/false/tail/arm/1/body/arm/2",
    "outcome": "TypeDeclaration",
    "line": 2381,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/115/tail/false/tail/false/tail/false/tail/arm/1/body/arm/3",
    "outcome": "RecordDeclaration",
    "line": 2382,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/115/tail/false/tail/false/tail/false/tail/arm/1/body/arm/4",
    "outcome": "EnumDeclaration",
    "line": 2383,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/116/tail/arm/0",
    "outcome": "Error",
    "line": 2393,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/116/tail/arm/1",
    "outcome": "Ok",
    "line": 2394,
    "state": "covered",
    "hits": "2081"
  },
  {
    "id": "declaration/116/tail/arm/1/body/block/tail/decision/true",
    "outcome": "true",
    "line": 2396,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/116/tail/arm/1/body/block/tail/decision/false",
    "outcome": "false",
    "line": 2396,
    "state": "covered",
    "hits": "2081"
  },
  {
    "id": "declaration/116/tail/arm/1/body/block/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 2396,
    "state": "covered",
    "hits": "2081"
  },
  {
    "id": "declaration/116/tail/arm/1/body/block/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 2396,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/116/tail/arm/1/body/block/tail/condition/right/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 2396,
    "state": "covered",
    "hits": "759"
  },
  {
    "id": "declaration/116/tail/arm/1/body/block/tail/condition/right/decision/skip-right",
    "outcome": "skip-right",
    "line": 2396,
    "state": "covered",
    "hits": "1322"
  },
  {
    "id": "declaration/116/tail/arm/1/body/block/tail/false/tail/arm/0",
    "outcome": "Error",
    "line": 2400,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/116/tail/arm/1/body/block/tail/false/tail/arm/1",
    "outcome": "Ok",
    "line": 2401,
    "state": "covered",
    "hits": "2081"
  },
  {
    "id": "declaration/116/tail/arm/1/body/block/tail/false/tail/arm/1/body/block/tail/decision/true",
    "outcome": "true",
    "line": 2402,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/116/tail/arm/1/body/block/tail/false/tail/arm/1/body/block/tail/decision/false",
    "outcome": "false",
    "line": 2402,
    "state": "covered",
    "hits": "2081"
  },
  {
    "id": "declaration/116/tail/arm/1/body/block/tail/false/tail/arm/1/body/block/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 2402,
    "state": "covered",
    "hits": "2081"
  },
  {
    "id": "declaration/116/tail/arm/1/body/block/tail/false/tail/arm/1/body/block/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 2402,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/116/tail/arm/1/body/block/tail/false/tail/arm/1/body/block/tail/false/tail/subject/args/3/decision/true",
    "outcome": "true",
    "line": 2406,
    "state": "covered",
    "hits": "759"
  },
  {
    "id": "declaration/116/tail/arm/1/body/block/tail/false/tail/arm/1/body/block/tail/false/tail/subject/args/3/decision/false",
    "outcome": "false",
    "line": 2406,
    "state": "covered",
    "hits": "1322"
  },
  {
    "id": "declaration/116/tail/arm/1/body/block/tail/false/tail/arm/1/body/block/tail/false/tail/arm/0",
    "outcome": "Error",
    "line": 2408,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/116/tail/arm/1/body/block/tail/false/tail/arm/1/body/block/tail/false/tail/arm/1",
    "outcome": "Ok",
    "line": 2409,
    "state": "covered",
    "hits": "2081"
  },
  {
    "id": "declaration/117/tail/decision/true",
    "outcome": "true",
    "line": 2427,
    "state": "covered",
    "hits": "2537"
  },
  {
    "id": "declaration/117/tail/decision/false",
    "outcome": "false",
    "line": 2427,
    "state": "covered",
    "hits": "15782"
  },
  {
    "id": "declaration/117/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 2430,
    "state": "covered",
    "hits": "6058"
  },
  {
    "id": "declaration/117/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 2430,
    "state": "covered",
    "hits": "9724"
  },
  {
    "id": "declaration/117/tail/false/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 2432,
    "state": "covered",
    "hits": "2081"
  },
  {
    "id": "declaration/117/tail/false/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 2432,
    "state": "covered",
    "hits": "7643"
  },
  {
    "id": "declaration/117/tail/false/tail/false/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 2432,
    "state": "covered",
    "hits": "2081"
  },
  {
    "id": "declaration/117/tail/false/tail/false/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 2432,
    "state": "covered",
    "hits": "7643"
  },
  {
    "id": "declaration/117/tail/false/tail/false/tail/condition/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 2432,
    "state": "covered",
    "hits": "2081"
  },
  {
    "id": "declaration/117/tail/false/tail/false/tail/condition/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 2432,
    "state": "covered",
    "hits": "7643"
  },
  {
    "id": "declaration/117/tail/false/tail/false/tail/condition/right/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 2433,
    "state": "covered",
    "hits": "976"
  },
  {
    "id": "declaration/117/tail/false/tail/false/tail/condition/right/decision/skip-right",
    "outcome": "skip-right",
    "line": 2433,
    "state": "covered",
    "hits": "1105"
  },
  {
    "id": "declaration/117/tail/false/tail/false/tail/false/statement/1/value/decision/true",
    "outcome": "true",
    "line": 2437,
    "state": "covered",
    "hits": "2269"
  },
  {
    "id": "declaration/117/tail/false/tail/false/tail/false/statement/1/value/decision/false",
    "outcome": "false",
    "line": 2437,
    "state": "covered",
    "hits": "5374"
  },
  {
    "id": "declaration/117/tail/false/tail/false/tail/false/tail/decision/true",
    "outcome": "true",
    "line": 2442,
    "state": "covered",
    "hits": "733"
  },
  {
    "id": "declaration/117/tail/false/tail/false/tail/false/tail/decision/false",
    "outcome": "false",
    "line": 2442,
    "state": "covered",
    "hits": "6910"
  },
  {
    "id": "declaration/117/tail/false/tail/false/tail/false/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 2442,
    "state": "covered",
    "hits": "7643"
  },
  {
    "id": "declaration/117/tail/false/tail/false/tail/false/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 2442,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/117/tail/false/tail/false/tail/false/tail/true/tail/arm/0",
    "outcome": "Error",
    "line": 2444,
    "state": "covered",
    "hits": "4"
  },
  {
    "id": "declaration/117/tail/false/tail/false/tail/false/tail/true/tail/arm/1",
    "outcome": "Ok",
    "line": 2445,
    "state": "covered",
    "hits": "729"
  },
  {
    "id": "declaration/117/tail/false/tail/false/tail/false/tail/true/tail/arm/1/body/arm/0",
    "outcome": "Error",
    "line": 2446,
    "state": "covered",
    "hits": "3"
  },
  {
    "id": "declaration/117/tail/false/tail/false/tail/false/tail/true/tail/arm/1/body/arm/1",
    "outcome": "Ok",
    "line": 2447,
    "state": "covered",
    "hits": "726"
  },
  {
    "id": "declaration/117/tail/false/tail/false/tail/false/tail/true/tail/arm/1/body/arm/1/body/block/tail/decision/true",
    "outcome": "true",
    "line": 2454,
    "state": "covered",
    "hits": "726"
  },
  {
    "id": "declaration/117/tail/false/tail/false/tail/false/tail/true/tail/arm/1/body/arm/1/body/block/tail/decision/false",
    "outcome": "false",
    "line": 2454,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/117/tail/false/tail/false/tail/false/tail/true/tail/arm/1/body/arm/1/body/block/tail/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 2454,
    "state": "covered",
    "hits": "691"
  },
  {
    "id": "declaration/117/tail/false/tail/false/tail/false/tail/true/tail/arm/1/body/arm/1/body/block/tail/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 2454,
    "state": "covered",
    "hits": "35"
  },
  {
    "id": "declaration/117/tail/false/tail/false/tail/false/tail/true/tail/arm/1/body/arm/1/body/block/tail/true/statement/0/value/decision/true",
    "outcome": "true",
    "line": 2455,
    "state": "covered",
    "hits": "35"
  },
  {
    "id": "declaration/117/tail/false/tail/false/tail/false/tail/true/tail/arm/1/body/arm/1/body/block/tail/true/statement/0/value/decision/false",
    "outcome": "false",
    "line": 2455,
    "state": "covered",
    "hits": "691"
  },
  {
    "id": "declaration/117/tail/false/tail/false/tail/false/tail/false/tail/arm/0",
    "outcome": "Error",
    "line": 2477,
    "state": "covered",
    "hits": "52"
  },
  {
    "id": "declaration/117/tail/false/tail/false/tail/false/tail/false/tail/arm/1",
    "outcome": "Ok",
    "line": 2478,
    "state": "covered",
    "hits": "6858"
  },
  {
    "id": "declaration/119/statement/1/decision/body",
    "outcome": "body",
    "line": 2507,
    "state": "covered",
    "hits": "6495"
  },
  {
    "id": "declaration/119/statement/1/decision/exit",
    "outcome": "exit",
    "line": 2507,
    "state": "covered",
    "hits": "782"
  },
  {
    "id": "declaration/119/statement/1/body/tail/arm/0",
    "outcome": "NamespaceImportBinding",
    "line": 2509,
    "state": "covered",
    "hits": "200"
  },
  {
    "id": "declaration/119/statement/1/body/tail/arm/1",
    "outcome": "NoImportBinding",
    "line": 2512,
    "state": "covered",
    "hits": "5937"
  },
  {
    "id": "declaration/119/statement/1/body/tail/arm/2",
    "outcome": "SelectiveImportBinding",
    "line": 2513,
    "state": "covered",
    "hits": "358"
  },
  {
    "id": "declaration/119/statement/2/decision/body",
    "outcome": "body",
    "line": 2516,
    "state": "covered",
    "hits": "6495"
  },
  {
    "id": "declaration/119/statement/2/decision/exit",
    "outcome": "exit",
    "line": 2516,
    "state": "covered",
    "hits": "782"
  },
  {
    "id": "declaration/119/statement/2/body/tail/arm/0",
    "outcome": "EnumDeclaration",
    "line": 2518,
    "state": "covered",
    "hits": "629"
  },
  {
    "id": "declaration/119/statement/2/body/tail/arm/1",
    "outcome": "ImportDeclaration",
    "line": 2521,
    "state": "covered",
    "hits": "558"
  },
  {
    "id": "declaration/119/statement/2/body/tail/arm/2",
    "outcome": "TypeDeclaration",
    "line": 2522,
    "state": "covered",
    "hits": "100"
  },
  {
    "id": "declaration/119/statement/2/body/tail/arm/3",
    "outcome": "RecordDeclaration",
    "line": 2523,
    "state": "covered",
    "hits": "470"
  },
  {
    "id": "declaration/119/statement/2/body/tail/arm/4",
    "outcome": "FunctionDeclaration",
    "line": 2524,
    "state": "covered",
    "hits": "4738"
  },
  {
    "id": "declaration/119/statement/4/decision/body",
    "outcome": "body",
    "line": 2528,
    "state": "covered",
    "hits": "550"
  },
  {
    "id": "declaration/119/statement/4/decision/exit",
    "outcome": "exit",
    "line": 2528,
    "state": "covered",
    "hits": "782"
  },
  {
    "id": "declaration/119/statement/6/decision/body",
    "outcome": "body",
    "line": 2534,
    "state": "covered",
    "hits": "6495"
  },
  {
    "id": "declaration/119/statement/6/decision/exit",
    "outcome": "exit",
    "line": 2534,
    "state": "covered",
    "hits": "782"
  },
  {
    "id": "declaration/119/statement/6/body/statement/0/value/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 2535,
    "state": "covered",
    "hits": "3090"
  },
  {
    "id": "declaration/119/statement/6/body/statement/0/value/decision/skip-right",
    "outcome": "skip-right",
    "line": 2535,
    "state": "covered",
    "hits": "3405"
  },
  {
    "id": "declaration/119/statement/6/body/statement/0/value/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 2535,
    "state": "covered",
    "hits": "3090"
  },
  {
    "id": "declaration/119/statement/6/body/statement/0/value/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 2535,
    "state": "covered",
    "hits": "3405"
  },
  {
    "id": "declaration/119/statement/6/body/statement/1/value/arm/0",
    "outcome": "NoImportBinding",
    "line": 2541,
    "state": "covered",
    "hits": "5937"
  },
  {
    "id": "declaration/119/statement/6/body/statement/1/value/arm/1",
    "outcome": "NamespaceImportBinding",
    "line": 2542,
    "state": "covered",
    "hits": "200"
  },
  {
    "id": "declaration/119/statement/6/body/statement/1/value/arm/1/body/block/statement/0/value/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 2543,
    "state": "covered",
    "hits": "188"
  },
  {
    "id": "declaration/119/statement/6/body/statement/1/value/arm/1/body/block/statement/0/value/decision/skip-right",
    "outcome": "skip-right",
    "line": 2543,
    "state": "covered",
    "hits": "12"
  },
  {
    "id": "declaration/119/statement/6/body/statement/1/value/arm/2",
    "outcome": "SelectiveImportBinding",
    "line": 2545,
    "state": "covered",
    "hits": "358"
  },
  {
    "id": "declaration/119/statement/6/body/statement/2/value/decision/true",
    "outcome": "true",
    "line": 2549,
    "state": "covered",
    "hits": "3916"
  },
  {
    "id": "declaration/119/statement/6/body/statement/2/value/decision/false",
    "outcome": "false",
    "line": 2549,
    "state": "covered",
    "hits": "2579"
  },
  {
    "id": "declaration/120/tail/arm/0",
    "outcome": "Error",
    "line": 2565,
    "state": "covered",
    "hits": "56"
  },
  {
    "id": "declaration/120/tail/arm/1",
    "outcome": "Ok",
    "line": 2566,
    "state": "covered",
    "hits": "458"
  },
  {
    "id": "declaration/120/tail/arm/1/body/block/tail/decision/true",
    "outcome": "true",
    "line": 2568,
    "state": "covered",
    "hits": "35"
  },
  {
    "id": "declaration/120/tail/arm/1/body/block/tail/decision/false",
    "outcome": "false",
    "line": 2568,
    "state": "covered",
    "hits": "423"
  },
  {
    "id": "declaration/121/statement/2/decision/body",
    "outcome": "body",
    "line": 2581,
    "state": "covered",
    "hits": "51"
  },
  {
    "id": "declaration/121/statement/2/decision/exit",
    "outcome": "exit",
    "line": 2581,
    "state": "covered",
    "hits": "89"
  },
  {
    "id": "declaration/121/statement/2/body/statement/0/value/decision/true",
    "outcome": "true",
    "line": 2582,
    "state": "covered",
    "hits": "40"
  },
  {
    "id": "declaration/121/statement/2/body/statement/0/value/decision/false",
    "outcome": "false",
    "line": 2582,
    "state": "covered",
    "hits": "11"
  },
  {
    "id": "declaration/122/statement/2/decision/body",
    "outcome": "body",
    "line": 2597,
    "state": "covered",
    "hits": "17"
  },
  {
    "id": "declaration/122/statement/2/decision/exit",
    "outcome": "exit",
    "line": 2597,
    "state": "covered",
    "hits": "26"
  },
  {
    "id": "declaration/122/statement/2/body/statement/0/value/decision/true",
    "outcome": "true",
    "line": 2598,
    "state": "covered",
    "hits": "16"
  },
  {
    "id": "declaration/122/statement/2/body/statement/0/value/decision/false",
    "outcome": "false",
    "line": 2598,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/124/statement/2/decision/body",
    "outcome": "body",
    "line": 2620,
    "state": "covered",
    "hits": "13"
  },
  {
    "id": "declaration/124/statement/2/decision/exit",
    "outcome": "exit",
    "line": 2620,
    "state": "covered",
    "hits": "8"
  },
  {
    "id": "declaration/124/statement/2/body/statement/0/value/decision/true",
    "outcome": "true",
    "line": 2621,
    "state": "covered",
    "hits": "7"
  },
  {
    "id": "declaration/124/statement/2/body/statement/0/value/decision/false",
    "outcome": "false",
    "line": 2621,
    "state": "covered",
    "hits": "6"
  },
  {
    "id": "declaration/125/tail/arm/0",
    "outcome": "LocatedExpr",
    "line": 2634,
    "state": "covered",
    "hits": "1031"
  },
  {
    "id": "declaration/125/tail/arm/1",
    "outcome": "NatExpr",
    "line": 2635,
    "state": "covered",
    "hits": "267"
  },
  {
    "id": "declaration/125/tail/arm/2",
    "outcome": "DecimalExpr",
    "line": 2636,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/125/tail/arm/3",
    "outcome": "StringExpr",
    "line": 2637,
    "state": "covered",
    "hits": "11"
  },
  {
    "id": "declaration/125/tail/arm/4",
    "outcome": "BoolExpr",
    "line": 2638,
    "state": "covered",
    "hits": "6"
  },
  {
    "id": "declaration/125/tail/arm/4/body/decision/true",
    "outcome": "true",
    "line": 2638,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/125/tail/arm/4/body/decision/false",
    "outcome": "false",
    "line": 2638,
    "state": "covered",
    "hits": "4"
  },
  {
    "id": "declaration/125/tail/arm/5",
    "outcome": "NameExpr",
    "line": 2643,
    "state": "covered",
    "hits": "314"
  },
  {
    "id": "declaration/125/tail/arm/6",
    "outcome": "FunctionExpr",
    "line": 2644,
    "state": "covered",
    "hits": "4"
  },
  {
    "id": "declaration/125/tail/arm/7",
    "outcome": "AnonymousExpr",
    "line": 2645,
    "state": "covered",
    "hits": "13"
  },
  {
    "id": "declaration/125/tail/arm/7/body/block/statement/1/decision/body",
    "outcome": "body",
    "line": 2647,
    "state": "covered",
    "hits": "8"
  },
  {
    "id": "declaration/125/tail/arm/7/body/block/statement/1/decision/exit",
    "outcome": "exit",
    "line": 2647,
    "state": "covered",
    "hits": "13"
  },
  {
    "id": "declaration/125/tail/arm/7/body/block/statement/1/body/statement/0/value/arm/0",
    "outcome": "None",
    "line": 2649,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/125/tail/arm/7/body/block/statement/1/body/statement/0/value/arm/1",
    "outcome": "Some",
    "line": 2650,
    "state": "covered",
    "hits": "7"
  },
  {
    "id": "declaration/125/tail/arm/7/body/block/statement/2/value/arm/0",
    "outcome": "None",
    "line": 2655,
    "state": "covered",
    "hits": "12"
  },
  {
    "id": "declaration/125/tail/arm/7/body/block/statement/2/value/arm/1",
    "outcome": "Some",
    "line": 2656,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/125/tail/arm/7/body/block/statement/3/value/decision/true",
    "outcome": "true",
    "line": 2658,
    "state": "covered",
    "hits": "11"
  },
  {
    "id": "declaration/125/tail/arm/7/body/block/statement/3/value/decision/false",
    "outcome": "false",
    "line": 2658,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/125/tail/arm/8",
    "outcome": "ArrayExpr",
    "line": 2661,
    "state": "covered",
    "hits": "4"
  },
  {
    "id": "declaration/125/tail/arm/9",
    "outcome": "UnaryExpr",
    "line": 2665,
    "state": "covered",
    "hits": "5"
  },
  {
    "id": "declaration/125/tail/arm/9/body/block/tail/decision/true",
    "outcome": "true",
    "line": 2667,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/125/tail/arm/9/body/block/tail/decision/false",
    "outcome": "false",
    "line": 2667,
    "state": "covered",
    "hits": "3"
  },
  {
    "id": "declaration/125/tail/arm/10",
    "outcome": "BinaryExpr",
    "line": 2673,
    "state": "covered",
    "hits": "259"
  },
  {
    "id": "declaration/125/tail/arm/11",
    "outcome": "CallExpr",
    "line": 2678,
    "state": "covered",
    "hits": "31"
  },
  {
    "id": "declaration/125/tail/arm/12",
    "outcome": "OwnedCallExpr",
    "line": 2683,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/125/tail/arm/13",
    "outcome": "DotCallExpr",
    "line": 2684,
    "state": "covered",
    "hits": "54"
  },
  {
    "id": "declaration/125/tail/arm/14",
    "outcome": "FieldExpr",
    "line": 2685,
    "state": "covered",
    "hits": "27"
  },
  {
    "id": "declaration/125/tail/arm/15",
    "outcome": "IndexExpr",
    "line": 2689,
    "state": "covered",
    "hits": "3"
  },
  {
    "id": "declaration/125/tail/arm/16",
    "outcome": "IfExpr",
    "line": 2694,
    "state": "covered",
    "hits": "19"
  },
  {
    "id": "declaration/125/tail/arm/16/body/block/tail/decision/true",
    "outcome": "true",
    "line": 2697,
    "state": "covered",
    "hits": "17"
  },
  {
    "id": "declaration/125/tail/arm/16/body/block/tail/decision/false",
    "outcome": "false",
    "line": 2697,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/125/tail/arm/17",
    "outcome": "BlockExpr",
    "line": 2704,
    "state": "covered",
    "hits": "4"
  },
  {
    "id": "declaration/125/tail/arm/18",
    "outcome": "MatchExpr",
    "line": 2705,
    "state": "covered",
    "hits": "8"
  },
  {
    "id": "declaration/125/tail/arm/18/body/block/tail/decision/true",
    "outcome": "true",
    "line": 2708,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/125/tail/arm/18/body/block/tail/decision/false",
    "outcome": "false",
    "line": 2708,
    "state": "covered",
    "hits": "7"
  },
  {
    "id": "declaration/126/tail/arm/0",
    "outcome": "BindingStatement",
    "line": 2719,
    "state": "covered",
    "hits": "6"
  },
  {
    "id": "declaration/126/tail/arm/0/body/block/statement/0/value/decision/true",
    "outcome": "true",
    "line": 2720,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/126/tail/arm/0/body/block/statement/0/value/decision/false",
    "outcome": "false",
    "line": 2720,
    "state": "covered",
    "hits": "4"
  },
  {
    "id": "declaration/126/tail/arm/0/body/block/statement/2/value/decision/true",
    "outcome": "true",
    "line": 2726,
    "state": "covered",
    "hits": "5"
  },
  {
    "id": "declaration/126/tail/arm/0/body/block/statement/2/value/decision/false",
    "outcome": "false",
    "line": 2726,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/126/tail/arm/1",
    "outcome": "AssignmentStatement",
    "line": 2733,
    "state": "covered",
    "hits": "7"
  },
  {
    "id": "declaration/126/tail/arm/2",
    "outcome": "ExpressionStatement",
    "line": 2737,
    "state": "covered",
    "hits": "18"
  },
  {
    "id": "declaration/126/tail/arm/3",
    "outcome": "WhileStatement",
    "line": 2741,
    "state": "covered",
    "hits": "3"
  },
  {
    "id": "declaration/126/tail/arm/4",
    "outcome": "ForStatement",
    "line": 2746,
    "state": "covered",
    "hits": "3"
  },
  {
    "id": "declaration/127/statement/1/decision/body",
    "outcome": "body",
    "line": 2757,
    "state": "covered",
    "hits": "37"
  },
  {
    "id": "declaration/127/statement/1/decision/exit",
    "outcome": "exit",
    "line": 2757,
    "state": "covered",
    "hits": "70"
  },
  {
    "id": "declaration/127/statement/1/body/statement/0/value/decision/true",
    "outcome": "true",
    "line": 2758,
    "state": "covered",
    "hits": "7"
  },
  {
    "id": "declaration/127/statement/1/body/statement/0/value/decision/false",
    "outcome": "false",
    "line": 2758,
    "state": "covered",
    "hits": "30"
  },
  {
    "id": "declaration/127/statement/2/value/arm/0",
    "outcome": "NoBlockValue",
    "line": 2765,
    "state": "covered",
    "hits": "21"
  },
  {
    "id": "declaration/127/statement/2/value/arm/1",
    "outcome": "TailBlockValue",
    "line": 2766,
    "state": "covered",
    "hits": "49"
  },
  {
    "id": "declaration/127/statement/2/value/arm/1/body/block/statement/0/value/decision/true",
    "outcome": "true",
    "line": 2767,
    "state": "covered",
    "hits": "11"
  },
  {
    "id": "declaration/127/statement/2/value/arm/1/body/block/statement/0/value/decision/false",
    "outcome": "false",
    "line": 2767,
    "state": "covered",
    "hits": "38"
  },
  {
    "id": "declaration/127/tail/decision/true",
    "outcome": "true",
    "line": 2774,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/127/tail/decision/false",
    "outcome": "false",
    "line": 2774,
    "state": "covered",
    "hits": "68"
  },
  {
    "id": "declaration/128/tail/decision/true",
    "outcome": "true",
    "line": 2782,
    "state": "covered",
    "hits": "93"
  },
  {
    "id": "declaration/128/tail/decision/false",
    "outcome": "false",
    "line": 2782,
    "state": "covered",
    "hits": "11"
  },
  {
    "id": "declaration/129/statement/2/decision/body",
    "outcome": "body",
    "line": 2794,
    "state": "covered",
    "hits": "7"
  },
  {
    "id": "declaration/129/statement/2/decision/exit",
    "outcome": "exit",
    "line": 2794,
    "state": "covered",
    "hits": "5"
  },
  {
    "id": "declaration/129/statement/2/body/statement/0/value/decision/true",
    "outcome": "true",
    "line": 2795,
    "state": "covered",
    "hits": "4"
  },
  {
    "id": "declaration/129/statement/2/body/statement/0/value/decision/false",
    "outcome": "false",
    "line": 2795,
    "state": "covered",
    "hits": "3"
  },
  {
    "id": "declaration/130/tail/decision/true",
    "outcome": "true",
    "line": 2812,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/130/tail/decision/false",
    "outcome": "false",
    "line": 2812,
    "state": "covered",
    "hits": "4"
  },
  {
    "id": "declaration/131/statement/2/decision/body",
    "outcome": "body",
    "line": 2823,
    "state": "covered",
    "hits": "12"
  },
  {
    "id": "declaration/131/statement/2/decision/exit",
    "outcome": "exit",
    "line": 2823,
    "state": "covered",
    "hits": "6"
  },
  {
    "id": "declaration/131/statement/2/body/statement/0/value/decision/true",
    "outcome": "true",
    "line": 2824,
    "state": "covered",
    "hits": "5"
  },
  {
    "id": "declaration/131/statement/2/body/statement/0/value/decision/false",
    "outcome": "false",
    "line": 2824,
    "state": "covered",
    "hits": "7"
  },
  {
    "id": "declaration/131/statement/2/body/tail/decision/true",
    "outcome": "true",
    "line": 2830,
    "state": "covered",
    "hits": "7"
  },
  {
    "id": "declaration/131/statement/2/body/tail/decision/false",
    "outcome": "false",
    "line": 2830,
    "state": "covered",
    "hits": "5"
  },
  {
    "id": "declaration/132/tail/decision/true",
    "outcome": "true",
    "line": 2845,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/132/tail/decision/false",
    "outcome": "false",
    "line": 2845,
    "state": "covered",
    "hits": "5"
  },
  {
    "id": "declaration/133/statement/2/decision/body",
    "outcome": "body",
    "line": 2856,
    "state": "covered",
    "hits": "6"
  },
  {
    "id": "declaration/133/statement/2/decision/exit",
    "outcome": "exit",
    "line": 2856,
    "state": "covered",
    "hits": "8"
  },
  {
    "id": "declaration/133/statement/2/body/statement/0/value/decision/true",
    "outcome": "true",
    "line": 2857,
    "state": "covered",
    "hits": "4"
  },
  {
    "id": "declaration/133/statement/2/body/statement/0/value/decision/false",
    "outcome": "false",
    "line": 2857,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/134/statement/0/value/decision/true",
    "outcome": "true",
    "line": 2877,
    "state": "covered",
    "hits": "4"
  },
  {
    "id": "declaration/134/statement/0/value/decision/false",
    "outcome": "false",
    "line": 2877,
    "state": "covered",
    "hits": "4"
  },
  {
    "id": "declaration/135/tail/arm/0",
    "outcome": "ImportDeclaration",
    "line": 2889,
    "state": "covered",
    "hits": "10"
  },
  {
    "id": "declaration/135/tail/arm/1",
    "outcome": "TypeDeclaration",
    "line": 2890,
    "state": "covered",
    "hits": "3"
  },
  {
    "id": "declaration/135/tail/arm/2",
    "outcome": "RecordDeclaration",
    "line": 2894,
    "state": "covered",
    "hits": "5"
  },
  {
    "id": "declaration/135/tail/arm/3",
    "outcome": "EnumDeclaration",
    "line": 2899,
    "state": "covered",
    "hits": "6"
  },
  {
    "id": "declaration/135/tail/arm/4",
    "outcome": "FunctionDeclaration",
    "line": 2904,
    "state": "covered",
    "hits": "8"
  },
  {
    "id": "declaration/135/tail/arm/4/body/block/tail/decision/true",
    "outcome": "true",
    "line": 2913,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/135/tail/arm/4/body/block/tail/decision/false",
    "outcome": "false",
    "line": 2913,
    "state": "covered",
    "hits": "7"
  },
  {
    "id": "declaration/136/statement/1/decision/body",
    "outcome": "body",
    "line": 2925,
    "state": "covered",
    "hits": "32"
  },
  {
    "id": "declaration/136/statement/1/decision/exit",
    "outcome": "exit",
    "line": 2925,
    "state": "covered",
    "hits": "25"
  },
  {
    "id": "declaration/136/statement/1/body/statement/0/value/decision/true",
    "outcome": "true",
    "line": 2926,
    "state": "covered",
    "hits": "8"
  },
  {
    "id": "declaration/136/statement/1/body/statement/0/value/decision/false",
    "outcome": "false",
    "line": 2926,
    "state": "covered",
    "hits": "24"
  },
  {
    "id": "declaration/137/tail/arm/0",
    "outcome": "Ok",
    "line": 2938,
    "state": "covered",
    "hits": "103"
  },
  {
    "id": "declaration/137/tail/arm/0/body/block/tail/arm/0",
    "outcome": "Ok",
    "line": 2940,
    "state": "covered",
    "hits": "72"
  },
  {
    "id": "declaration/137/tail/arm/0/body/block/tail/arm/1",
    "outcome": "Error",
    "line": 2941,
    "state": "covered",
    "hits": "31"
  },
  {
    "id": "declaration/137/tail/arm/1",
    "outcome": "Error",
    "line": 2944,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/138/tail/arm/0",
    "outcome": "Ok",
    "line": 2950,
    "state": "covered",
    "hits": "32"
  },
  {
    "id": "declaration/138/tail/arm/0/body/block/tail/arm/0",
    "outcome": "Ok",
    "line": 2952,
    "state": "covered",
    "hits": "16"
  },
  {
    "id": "declaration/138/tail/arm/0/body/block/tail/arm/1",
    "outcome": "Error",
    "line": 2953,
    "state": "covered",
    "hits": "16"
  },
  {
    "id": "declaration/138/tail/arm/1",
    "outcome": "Error",
    "line": 2956,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/139/tail/arm/0",
    "outcome": "Ok",
    "line": 2962,
    "state": "covered",
    "hits": "74"
  },
  {
    "id": "declaration/139/tail/arm/0/body/block/tail/arm/0",
    "outcome": "Ok",
    "line": 2964,
    "state": "covered",
    "hits": "25"
  },
  {
    "id": "declaration/139/tail/arm/0/body/block/tail/arm/1",
    "outcome": "Error",
    "line": 2965,
    "state": "covered",
    "hits": "49"
  },
  {
    "id": "declaration/139/tail/arm/1",
    "outcome": "Error",
    "line": 2968,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/140/tail/arm/0",
    "outcome": "Ok",
    "line": 2974,
    "state": "covered",
    "hits": "11"
  },
  {
    "id": "declaration/140/tail/arm/0/body/block/tail/arm/0",
    "outcome": "Ok",
    "line": 2976,
    "state": "covered",
    "hits": "4"
  },
  {
    "id": "declaration/140/tail/arm/0/body/block/tail/arm/1",
    "outcome": "Error",
    "line": 2977,
    "state": "covered",
    "hits": "7"
  },
  {
    "id": "declaration/140/tail/arm/1",
    "outcome": "Error",
    "line": 2980,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/141/statement/1/decision/body",
    "outcome": "body",
    "line": 2987,
    "state": "covered",
    "hits": "1817790"
  },
  {
    "id": "declaration/141/statement/1/decision/exit",
    "outcome": "exit",
    "line": 2987,
    "state": "covered",
    "hits": "182247"
  },
  {
    "id": "declaration/141/statement/1/condition/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 2987,
    "state": "covered",
    "hits": "1849887"
  },
  {
    "id": "declaration/141/statement/1/condition/decision/skip-right",
    "outcome": "skip-right",
    "line": 2987,
    "state": "covered",
    "hits": "150150"
  },
  {
    "id": "declaration/142/tail/decision/true",
    "outcome": "true",
    "line": 2996,
    "state": "covered",
    "hits": "9551"
  },
  {
    "id": "declaration/142/tail/decision/false",
    "outcome": "false",
    "line": 2996,
    "state": "covered",
    "hits": "47824"
  },
  {
    "id": "declaration/143/tail/arm/0",
    "outcome": "LocatedExpr",
    "line": 3005,
    "state": "covered",
    "hits": "75126"
  },
  {
    "id": "declaration/143/tail/arm/1",
    "outcome": "NameExpr",
    "line": 3006,
    "state": "covered",
    "hits": "63268"
  },
  {
    "id": "declaration/143/tail/arm/2",
    "outcome": "FieldExpr",
    "line": 3007,
    "state": "covered",
    "hits": "15534"
  },
  {
    "id": "declaration/143/tail/arm/2/body/block/tail/decision/true",
    "outcome": "true",
    "line": 3009,
    "state": "covered",
    "hits": "569"
  },
  {
    "id": "declaration/143/tail/arm/2/body/block/tail/decision/false",
    "outcome": "false",
    "line": 3009,
    "state": "covered",
    "hits": "14965"
  },
  {
    "id": "declaration/143/tail/arm/3",
    "outcome": "NatExpr",
    "line": 3015,
    "state": "covered",
    "hits": "72"
  },
  {
    "id": "declaration/143/tail/arm/4",
    "outcome": "DecimalExpr",
    "line": 3016,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/143/tail/arm/5",
    "outcome": "StringExpr",
    "line": 3017,
    "state": "covered",
    "hits": "499"
  },
  {
    "id": "declaration/143/tail/arm/6",
    "outcome": "BoolExpr",
    "line": 3018,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/143/tail/arm/7",
    "outcome": "FunctionExpr",
    "line": 3019,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/143/tail/arm/8",
    "outcome": "AnonymousExpr",
    "line": 3020,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/143/tail/arm/9",
    "outcome": "ArrayExpr",
    "line": 3021,
    "state": "covered",
    "hits": "477"
  },
  {
    "id": "declaration/143/tail/arm/10",
    "outcome": "UnaryExpr",
    "line": 3022,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/143/tail/arm/11",
    "outcome": "BinaryExpr",
    "line": 3023,
    "state": "covered",
    "hits": "677"
  },
  {
    "id": "declaration/143/tail/arm/12",
    "outcome": "CallExpr",
    "line": 3024,
    "state": "covered",
    "hits": "1268"
  },
  {
    "id": "declaration/143/tail/arm/13",
    "outcome": "OwnedCallExpr",
    "line": 3025,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/143/tail/arm/14",
    "outcome": "DotCallExpr",
    "line": 3026,
    "state": "covered",
    "hits": "2091"
  },
  {
    "id": "declaration/143/tail/arm/15",
    "outcome": "IndexExpr",
    "line": 3027,
    "state": "covered",
    "hits": "1007"
  },
  {
    "id": "declaration/143/tail/arm/16",
    "outcome": "IfExpr",
    "line": 3028,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/143/tail/arm/17",
    "outcome": "BlockExpr",
    "line": 3029,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/143/tail/arm/18",
    "outcome": "MatchExpr",
    "line": 3030,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/144/statement/2/decision/body",
    "outcome": "body",
    "line": 3038,
    "state": "covered",
    "hits": "205072"
  },
  {
    "id": "declaration/144/statement/2/decision/exit",
    "outcome": "exit",
    "line": 3038,
    "state": "covered",
    "hits": "20791"
  },
  {
    "id": "declaration/144/statement/2/body/statement/0/value/decision/true",
    "outcome": "true",
    "line": 3039,
    "state": "covered",
    "hits": "40"
  },
  {
    "id": "declaration/144/statement/2/body/statement/0/value/decision/false",
    "outcome": "false",
    "line": 3039,
    "state": "covered",
    "hits": "205032"
  },
  {
    "id": "declaration/145/tail/arm/0",
    "outcome": "LocatedExpr",
    "line": 3052,
    "state": "covered",
    "hits": "62983"
  },
  {
    "id": "declaration/145/tail/arm/1",
    "outcome": "OwnedCallExpr",
    "line": 3053,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/145/tail/arm/2",
    "outcome": "DotCallExpr",
    "line": 3054,
    "state": "covered",
    "hits": "3434"
  },
  {
    "id": "declaration/145/tail/arm/2/body/block/statement/0/value/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 3055,
    "state": "covered",
    "hits": "3304"
  },
  {
    "id": "declaration/145/tail/arm/2/body/block/statement/0/value/decision/skip-right",
    "outcome": "skip-right",
    "line": 3055,
    "state": "covered",
    "hits": "130"
  },
  {
    "id": "declaration/145/tail/arm/2/body/block/statement/0/value/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 3055,
    "state": "covered",
    "hits": "140"
  },
  {
    "id": "declaration/145/tail/arm/2/body/block/statement/0/value/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 3055,
    "state": "covered",
    "hits": "3294"
  },
  {
    "id": "declaration/145/tail/arm/2/body/block/statement/1/decision/body",
    "outcome": "body",
    "line": 3062,
    "state": "covered",
    "hits": "2269"
  },
  {
    "id": "declaration/145/tail/arm/2/body/block/statement/1/decision/exit",
    "outcome": "exit",
    "line": 3062,
    "state": "covered",
    "hits": "3434"
  },
  {
    "id": "declaration/145/tail/arm/2/body/block/statement/1/body/statement/0/value/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 3063,
    "state": "covered",
    "hits": "2089"
  },
  {
    "id": "declaration/145/tail/arm/2/body/block/statement/1/body/statement/0/value/decision/skip-right",
    "outcome": "skip-right",
    "line": 3063,
    "state": "covered",
    "hits": "180"
  },
  {
    "id": "declaration/145/tail/arm/2/body/block/statement/2/decision/body",
    "outcome": "body",
    "line": 3065,
    "state": "covered",
    "hits": "3"
  },
  {
    "id": "declaration/145/tail/arm/2/body/block/statement/2/decision/exit",
    "outcome": "exit",
    "line": 3065,
    "state": "covered",
    "hits": "3434"
  },
  {
    "id": "declaration/145/tail/arm/2/body/block/statement/2/body/statement/0/value/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 3066,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/145/tail/arm/2/body/block/statement/2/body/statement/0/value/decision/skip-right",
    "outcome": "skip-right",
    "line": 3066,
    "state": "covered",
    "hits": "3"
  },
  {
    "id": "declaration/145/tail/arm/3",
    "outcome": "FieldExpr",
    "line": 3070,
    "state": "covered",
    "hits": "6551"
  },
  {
    "id": "declaration/145/tail/arm/3/body/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 3070,
    "state": "covered",
    "hits": "6551"
  },
  {
    "id": "declaration/145/tail/arm/3/body/decision/skip-right",
    "outcome": "skip-right",
    "line": 3070,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/145/tail/arm/3/body/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 3070,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/145/tail/arm/3/body/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 3070,
    "state": "covered",
    "hits": "6549"
  },
  {
    "id": "declaration/145/tail/arm/4",
    "outcome": "FunctionExpr",
    "line": 3077,
    "state": "covered",
    "hits": "79"
  },
  {
    "id": "declaration/145/tail/arm/5",
    "outcome": "AnonymousExpr",
    "line": 3078,
    "state": "covered",
    "hits": "158"
  },
  {
    "id": "declaration/145/tail/arm/5/body/block/statement/2/decision/body",
    "outcome": "body",
    "line": 3081,
    "state": "covered",
    "hits": "134"
  },
  {
    "id": "declaration/145/tail/arm/5/body/block/statement/2/decision/exit",
    "outcome": "exit",
    "line": 3081,
    "state": "covered",
    "hits": "158"
  },
  {
    "id": "declaration/145/tail/arm/5/body/block/statement/2/body/tail/arm/0",
    "outcome": "None",
    "line": 3084,
    "state": "covered",
    "hits": "112"
  },
  {
    "id": "declaration/145/tail/arm/5/body/block/statement/2/body/tail/arm/1",
    "outcome": "Some",
    "line": 3085,
    "state": "covered",
    "hits": "22"
  },
  {
    "id": "declaration/145/tail/arm/5/body/block/statement/2/body/tail/arm/1/body/block/statement/0/value/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 3085,
    "state": "covered",
    "hits": "22"
  },
  {
    "id": "declaration/145/tail/arm/5/body/block/statement/2/body/tail/arm/1/body/block/statement/0/value/decision/skip-right",
    "outcome": "skip-right",
    "line": 3085,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/145/tail/arm/5/body/block/statement/3/value/arm/0",
    "outcome": "None",
    "line": 3089,
    "state": "covered",
    "hits": "150"
  },
  {
    "id": "declaration/145/tail/arm/5/body/block/statement/3/value/arm/1",
    "outcome": "Some",
    "line": 3090,
    "state": "covered",
    "hits": "8"
  },
  {
    "id": "declaration/145/tail/arm/5/body/block/statement/3/value/arm/1/body/block/statement/0/value/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 3090,
    "state": "covered",
    "hits": "8"
  },
  {
    "id": "declaration/145/tail/arm/5/body/block/statement/3/value/arm/1/body/block/statement/0/value/decision/skip-right",
    "outcome": "skip-right",
    "line": 3090,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/145/tail/arm/5/body/block/tail/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 3092,
    "state": "covered",
    "hits": "158"
  },
  {
    "id": "declaration/145/tail/arm/5/body/block/tail/decision/skip-right",
    "outcome": "skip-right",
    "line": 3092,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/145/tail/arm/6",
    "outcome": "CallExpr",
    "line": 3094,
    "state": "covered",
    "hits": "9078"
  },
  {
    "id": "declaration/145/tail/arm/6/body/block/statement/1/decision/body",
    "outcome": "body",
    "line": 3096,
    "state": "covered",
    "hits": "15785"
  },
  {
    "id": "declaration/145/tail/arm/6/body/block/statement/1/decision/exit",
    "outcome": "exit",
    "line": 3096,
    "state": "covered",
    "hits": "9078"
  },
  {
    "id": "declaration/145/tail/arm/6/body/block/statement/1/body/statement/0/value/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 3097,
    "state": "covered",
    "hits": "15784"
  },
  {
    "id": "declaration/145/tail/arm/6/body/block/statement/1/body/statement/0/value/decision/skip-right",
    "outcome": "skip-right",
    "line": 3097,
    "state": "covered",
    "hits": "1"
  },
  {
    "id": "declaration/145/tail/arm/6/body/block/statement/2/decision/body",
    "outcome": "body",
    "line": 3099,
    "state": "covered",
    "hits": "72"
  },
  {
    "id": "declaration/145/tail/arm/6/body/block/statement/2/decision/exit",
    "outcome": "exit",
    "line": 3099,
    "state": "covered",
    "hits": "9078"
  },
  {
    "id": "declaration/145/tail/arm/6/body/block/statement/2/body/statement/0/value/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 3100,
    "state": "covered",
    "hits": "72"
  },
  {
    "id": "declaration/145/tail/arm/6/body/block/statement/2/body/statement/0/value/decision/skip-right",
    "outcome": "skip-right",
    "line": 3100,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/145/tail/arm/7",
    "outcome": "ArrayExpr",
    "line": 3104,
    "state": "covered",
    "hits": "1120"
  },
  {
    "id": "declaration/145/tail/arm/7/body/block/statement/1/decision/body",
    "outcome": "body",
    "line": 3106,
    "state": "covered",
    "hits": "604"
  },
  {
    "id": "declaration/145/tail/arm/7/body/block/statement/1/decision/exit",
    "outcome": "exit",
    "line": 3106,
    "state": "covered",
    "hits": "1120"
  },
  {
    "id": "declaration/145/tail/arm/7/body/block/statement/1/body/statement/0/value/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 3107,
    "state": "covered",
    "hits": "604"
  },
  {
    "id": "declaration/145/tail/arm/7/body/block/statement/1/body/statement/0/value/decision/skip-right",
    "outcome": "skip-right",
    "line": 3107,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/145/tail/arm/8",
    "outcome": "UnaryExpr",
    "line": 3111,
    "state": "covered",
    "hits": "298"
  },
  {
    "id": "declaration/145/tail/arm/9",
    "outcome": "BinaryExpr",
    "line": 3112,
    "state": "covered",
    "hits": "6397"
  },
  {
    "id": "declaration/145/tail/arm/9/body/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 3112,
    "state": "covered",
    "hits": "6386"
  },
  {
    "id": "declaration/145/tail/arm/9/body/decision/skip-right",
    "outcome": "skip-right",
    "line": 3112,
    "state": "covered",
    "hits": "11"
  },
  {
    "id": "declaration/145/tail/arm/10",
    "outcome": "IndexExpr",
    "line": 3117,
    "state": "covered",
    "hits": "737"
  },
  {
    "id": "declaration/145/tail/arm/10/body/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 3117,
    "state": "covered",
    "hits": "737"
  },
  {
    "id": "declaration/145/tail/arm/10/body/decision/skip-right",
    "outcome": "skip-right",
    "line": 3117,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/145/tail/arm/11",
    "outcome": "IfExpr",
    "line": 3122,
    "state": "covered",
    "hits": "2355"
  },
  {
    "id": "declaration/145/tail/arm/11/body/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 3122,
    "state": "covered",
    "hits": "2337"
  },
  {
    "id": "declaration/145/tail/arm/11/body/decision/skip-right",
    "outcome": "skip-right",
    "line": 3122,
    "state": "covered",
    "hits": "18"
  },
  {
    "id": "declaration/145/tail/arm/11/body/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 3122,
    "state": "covered",
    "hits": "2349"
  },
  {
    "id": "declaration/145/tail/arm/11/body/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 3122,
    "state": "covered",
    "hits": "6"
  },
  {
    "id": "declaration/145/tail/arm/12",
    "outcome": "BlockExpr",
    "line": 3131,
    "state": "covered",
    "hits": "2014"
  },
  {
    "id": "declaration/145/tail/arm/13",
    "outcome": "MatchExpr",
    "line": 3132,
    "state": "covered",
    "hits": "855"
  },
  {
    "id": "declaration/145/tail/arm/13/body/block/statement/1/decision/body",
    "outcome": "body",
    "line": 3134,
    "state": "covered",
    "hits": "3569"
  },
  {
    "id": "declaration/145/tail/arm/13/body/block/statement/1/decision/exit",
    "outcome": "exit",
    "line": 3134,
    "state": "covered",
    "hits": "855"
  },
  {
    "id": "declaration/145/tail/arm/13/body/block/statement/1/body/statement/1/decision/body",
    "outcome": "body",
    "line": 3136,
    "state": "covered",
    "hits": "4494"
  },
  {
    "id": "declaration/145/tail/arm/13/body/block/statement/1/body/statement/1/decision/exit",
    "outcome": "exit",
    "line": 3136,
    "state": "covered",
    "hits": "3569"
  },
  {
    "id": "declaration/145/tail/arm/13/body/block/statement/1/body/statement/1/body/tail/decision/true",
    "outcome": "true",
    "line": 3137,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/145/tail/arm/13/body/block/statement/1/body/statement/1/body/tail/decision/false",
    "outcome": "false",
    "line": 3137,
    "state": "covered",
    "hits": "4492"
  },
  {
    "id": "declaration/145/tail/arm/13/body/block/statement/1/body/statement/2/value/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 3141,
    "state": "covered",
    "hits": "3526"
  },
  {
    "id": "declaration/145/tail/arm/13/body/block/statement/1/body/statement/2/value/decision/skip-right",
    "outcome": "skip-right",
    "line": 3141,
    "state": "covered",
    "hits": "43"
  },
  {
    "id": "declaration/145/tail/arm/13/body/block/statement/1/body/statement/2/value/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 3141,
    "state": "covered",
    "hits": "3532"
  },
  {
    "id": "declaration/145/tail/arm/13/body/block/statement/1/body/statement/2/value/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 3141,
    "state": "covered",
    "hits": "37"
  },
  {
    "id": "declaration/145/tail/arm/14",
    "outcome": "NatExpr",
    "line": 3151,
    "state": "covered",
    "hits": "3835"
  },
  {
    "id": "declaration/145/tail/arm/15",
    "outcome": "DecimalExpr",
    "line": 3152,
    "state": "covered",
    "hits": "19"
  },
  {
    "id": "declaration/145/tail/arm/16",
    "outcome": "StringExpr",
    "line": 3153,
    "state": "covered",
    "hits": "3782"
  },
  {
    "id": "declaration/145/tail/arm/17",
    "outcome": "BoolExpr",
    "line": 3154,
    "state": "covered",
    "hits": "841"
  },
  {
    "id": "declaration/145/tail/arm/18",
    "outcome": "NameExpr",
    "line": 3155,
    "state": "covered",
    "hits": "21430"
  },
  {
    "id": "declaration/146/statement/2/decision/body",
    "outcome": "body",
    "line": 3163,
    "state": "covered",
    "hits": "8312"
  },
  {
    "id": "declaration/146/statement/2/decision/exit",
    "outcome": "exit",
    "line": 3163,
    "state": "covered",
    "hits": "9334"
  },
  {
    "id": "declaration/146/statement/2/body/tail/arm/0",
    "outcome": "BindingStatement",
    "line": 3165,
    "state": "covered",
    "hits": "2501"
  },
  {
    "id": "declaration/146/statement/2/body/tail/arm/0/body/block/statement/0/value/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 3166,
    "state": "covered",
    "hits": "2440"
  },
  {
    "id": "declaration/146/statement/2/body/tail/arm/0/body/block/statement/0/value/decision/skip-right",
    "outcome": "skip-right",
    "line": 3166,
    "state": "covered",
    "hits": "61"
  },
  {
    "id": "declaration/146/statement/2/body/tail/arm/0/body/block/statement/0/value/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 3166,
    "state": "covered",
    "hits": "2446"
  },
  {
    "id": "declaration/146/statement/2/body/tail/arm/0/body/block/statement/0/value/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 3166,
    "state": "covered",
    "hits": "55"
  },
  {
    "id": "declaration/146/statement/2/body/tail/arm/0/body/block/tail/decision/true",
    "outcome": "true",
    "line": 3171,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/146/statement/2/body/tail/arm/0/body/block/tail/decision/false",
    "outcome": "false",
    "line": 3171,
    "state": "covered",
    "hits": "2499"
  },
  {
    "id": "declaration/146/statement/2/body/tail/arm/1",
    "outcome": "AssignmentStatement",
    "line": 3175,
    "state": "covered",
    "hits": "3709"
  },
  {
    "id": "declaration/146/statement/2/body/tail/arm/1/body/block/statement/0/value/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 3176,
    "state": "covered",
    "hits": "3688"
  },
  {
    "id": "declaration/146/statement/2/body/tail/arm/1/body/block/statement/0/value/decision/skip-right",
    "outcome": "skip-right",
    "line": 3176,
    "state": "covered",
    "hits": "21"
  },
  {
    "id": "declaration/146/statement/2/body/tail/arm/1/body/block/tail/decision/true",
    "outcome": "true",
    "line": 3177,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/146/statement/2/body/tail/arm/1/body/block/tail/decision/false",
    "outcome": "false",
    "line": 3177,
    "state": "covered",
    "hits": "3707"
  },
  {
    "id": "declaration/146/statement/2/body/tail/arm/2",
    "outcome": "ExpressionStatement",
    "line": 3181,
    "state": "covered",
    "hits": "1475"
  },
  {
    "id": "declaration/146/statement/2/body/tail/arm/2/body/block/statement/0/value/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 3182,
    "state": "covered",
    "hits": "1391"
  },
  {
    "id": "declaration/146/statement/2/body/tail/arm/2/body/block/statement/0/value/decision/skip-right",
    "outcome": "skip-right",
    "line": 3182,
    "state": "covered",
    "hits": "84"
  },
  {
    "id": "declaration/146/statement/2/body/tail/arm/3",
    "outcome": "WhileStatement",
    "line": 3184,
    "state": "covered",
    "hits": "118"
  },
  {
    "id": "declaration/146/statement/2/body/tail/arm/3/body/block/statement/0/value/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 3185,
    "state": "covered",
    "hits": "115"
  },
  {
    "id": "declaration/146/statement/2/body/tail/arm/3/body/block/statement/0/value/decision/skip-right",
    "outcome": "skip-right",
    "line": 3185,
    "state": "covered",
    "hits": "3"
  },
  {
    "id": "declaration/146/statement/2/body/tail/arm/3/body/block/statement/0/value/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 3185,
    "state": "covered",
    "hits": "115"
  },
  {
    "id": "declaration/146/statement/2/body/tail/arm/3/body/block/statement/0/value/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 3185,
    "state": "covered",
    "hits": "3"
  },
  {
    "id": "declaration/146/statement/2/body/tail/arm/4",
    "outcome": "ForStatement",
    "line": 3191,
    "state": "covered",
    "hits": "509"
  },
  {
    "id": "declaration/146/statement/2/body/tail/arm/4/body/block/statement/0/value/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 3192,
    "state": "covered",
    "hits": "505"
  },
  {
    "id": "declaration/146/statement/2/body/tail/arm/4/body/block/statement/0/value/decision/skip-right",
    "outcome": "skip-right",
    "line": 3192,
    "state": "covered",
    "hits": "4"
  },
  {
    "id": "declaration/146/statement/2/body/tail/arm/4/body/block/statement/0/value/left/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 3192,
    "state": "covered",
    "hits": "505"
  },
  {
    "id": "declaration/146/statement/2/body/tail/arm/4/body/block/statement/0/value/left/decision/skip-right",
    "outcome": "skip-right",
    "line": 3192,
    "state": "covered",
    "hits": "4"
  },
  {
    "id": "declaration/146/statement/2/body/tail/arm/4/body/block/statement/0/value/right/args/2/decision/true",
    "outcome": "true",
    "line": 3196,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/146/statement/2/body/tail/arm/4/body/block/statement/0/value/right/args/2/decision/false",
    "outcome": "false",
    "line": 3196,
    "state": "covered",
    "hits": "503"
  },
  {
    "id": "declaration/146/tail/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 3204,
    "state": "covered",
    "hits": "9266"
  },
  {
    "id": "declaration/146/tail/decision/skip-right",
    "outcome": "skip-right",
    "line": 3204,
    "state": "covered",
    "hits": "68"
  },
  {
    "id": "declaration/146/tail/right/arm/0",
    "outcome": "NoBlockValue",
    "line": 3205,
    "state": "covered",
    "hits": "4278"
  },
  {
    "id": "declaration/146/tail/right/arm/1",
    "outcome": "TailBlockValue",
    "line": 3206,
    "state": "covered",
    "hits": "4988"
  },
  {
    "id": "declaration/147/tail/arm/0",
    "outcome": "ImportDeclaration",
    "line": 3216,
    "state": "covered",
    "hits": "387"
  },
  {
    "id": "declaration/147/tail/arm/1",
    "outcome": "TypeDeclaration",
    "line": 3217,
    "state": "covered",
    "hits": "75"
  },
  {
    "id": "declaration/147/tail/arm/1/body/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 3217,
    "state": "covered",
    "hits": "75"
  },
  {
    "id": "declaration/147/tail/arm/1/body/decision/skip-right",
    "outcome": "skip-right",
    "line": 3217,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/147/tail/arm/1/body/right/args/2/decision/true",
    "outcome": "true",
    "line": 3221,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/147/tail/arm/1/body/right/args/2/decision/false",
    "outcome": "false",
    "line": 3221,
    "state": "covered",
    "hits": "75"
  },
  {
    "id": "declaration/147/tail/arm/2",
    "outcome": "RecordDeclaration",
    "line": 3226,
    "state": "covered",
    "hits": "210"
  },
  {
    "id": "declaration/147/tail/arm/2/body/block/statement/1/decision/body",
    "outcome": "body",
    "line": 3228,
    "state": "covered",
    "hits": "478"
  },
  {
    "id": "declaration/147/tail/arm/2/body/block/statement/1/decision/exit",
    "outcome": "exit",
    "line": 3228,
    "state": "covered",
    "hits": "210"
  },
  {
    "id": "declaration/147/tail/arm/2/body/block/statement/1/body/statement/0/value/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 3229,
    "state": "covered",
    "hits": "478"
  },
  {
    "id": "declaration/147/tail/arm/2/body/block/statement/1/body/statement/0/value/decision/skip-right",
    "outcome": "skip-right",
    "line": 3229,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/147/tail/arm/3",
    "outcome": "EnumDeclaration",
    "line": 3233,
    "state": "covered",
    "hits": "404"
  },
  {
    "id": "declaration/147/tail/arm/3/body/block/statement/1/decision/body",
    "outcome": "body",
    "line": 3235,
    "state": "covered",
    "hits": "878"
  },
  {
    "id": "declaration/147/tail/arm/3/body/block/statement/1/decision/exit",
    "outcome": "exit",
    "line": 3235,
    "state": "covered",
    "hits": "404"
  },
  {
    "id": "declaration/147/tail/arm/3/body/block/statement/1/body/statement/0/decision/body",
    "outcome": "body",
    "line": 3236,
    "state": "covered",
    "hits": "399"
  },
  {
    "id": "declaration/147/tail/arm/3/body/block/statement/1/body/statement/0/decision/exit",
    "outcome": "exit",
    "line": 3236,
    "state": "covered",
    "hits": "878"
  },
  {
    "id": "declaration/147/tail/arm/3/body/block/statement/1/body/statement/0/body/statement/0/value/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 3237,
    "state": "covered",
    "hits": "399"
  },
  {
    "id": "declaration/147/tail/arm/3/body/block/statement/1/body/statement/0/body/statement/0/value/decision/skip-right",
    "outcome": "skip-right",
    "line": 3237,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/147/tail/arm/4",
    "outcome": "FunctionDeclaration",
    "line": 3242,
    "state": "covered",
    "hits": "2014"
  },
  {
    "id": "declaration/147/tail/arm/4/body/block/statement/1/decision/body",
    "outcome": "body",
    "line": 3244,
    "state": "covered",
    "hits": "2715"
  },
  {
    "id": "declaration/147/tail/arm/4/body/block/statement/1/decision/exit",
    "outcome": "exit",
    "line": 3244,
    "state": "covered",
    "hits": "2014"
  },
  {
    "id": "declaration/147/tail/arm/4/body/block/statement/1/body/tail/decision/true",
    "outcome": "true",
    "line": 3245,
    "state": "covered",
    "hits": "4"
  },
  {
    "id": "declaration/147/tail/arm/4/body/block/statement/1/body/tail/decision/false",
    "outcome": "false",
    "line": 3245,
    "state": "covered",
    "hits": "2711"
  },
  {
    "id": "declaration/147/tail/arm/4/body/block/statement/2/value/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 3249,
    "state": "covered",
    "hits": "2014"
  },
  {
    "id": "declaration/147/tail/arm/4/body/block/statement/2/value/decision/skip-right",
    "outcome": "skip-right",
    "line": 3249,
    "state": "zero",
    "hits": "0"
  },
  {
    "id": "declaration/147/tail/arm/4/body/block/statement/3/decision/body",
    "outcome": "body",
    "line": 3254,
    "state": "covered",
    "hits": "2715"
  },
  {
    "id": "declaration/147/tail/arm/4/body/block/statement/3/decision/exit",
    "outcome": "exit",
    "line": 3254,
    "state": "covered",
    "hits": "2014"
  },
  {
    "id": "declaration/147/tail/arm/4/body/block/statement/3/body/statement/0/value/decision/evaluate-right",
    "outcome": "evaluate-right",
    "line": 3255,
    "state": "covered",
    "hits": "2516"
  },
  {
    "id": "declaration/147/tail/arm/4/body/block/statement/3/body/statement/0/value/decision/skip-right",
    "outcome": "skip-right",
    "line": 3255,
    "state": "covered",
    "hits": "199"
  }
]

Reviewed declaration exclusions

[
  {
    "id": "declaration/0",
    "reason": "import",
    "line": 1
  },
  {
    "id": "declaration/1",
    "reason": "import",
    "line": 2
  },
  {
    "id": "declaration/2",
    "reason": "enum-declaration",
    "line": 7
  },
  {
    "id": "declaration/4",
    "reason": "record-declaration",
    "line": 63
  },
  {
    "id": "declaration/5",
    "reason": "record-declaration",
    "line": 69
  },
  {
    "id": "declaration/6",
    "reason": "enum-declaration",
    "line": 74
  },
  {
    "id": "declaration/7",
    "reason": "record-declaration",
    "line": 83
  },
  {
    "id": "declaration/8",
    "reason": "record-declaration",
    "line": 88
  },
  {
    "id": "declaration/9",
    "reason": "record-declaration",
    "line": 93
  },
  {
    "id": "declaration/10",
    "reason": "record-declaration",
    "line": 98
  },
  {
    "id": "declaration/11",
    "reason": "record-declaration",
    "line": 104
  },
  {
    "id": "declaration/13",
    "reason": "enum-declaration",
    "line": 148
  },
  {
    "id": "declaration/14",
    "reason": "enum-declaration",
    "line": 158
  },
  {
    "id": "declaration/15",
    "reason": "record-declaration",
    "line": 163
  },
  {
    "id": "declaration/16",
    "reason": "record-declaration",
    "line": 170
  },
  {
    "id": "declaration/17",
    "reason": "record-declaration",
    "line": 175
  },
  {
    "id": "declaration/18",
    "reason": "record-declaration",
    "line": 180
  },
  {
    "id": "declaration/19",
    "reason": "record-declaration",
    "line": 185
  },
  {
    "id": "declaration/20",
    "reason": "record-declaration",
    "line": 190
  },
  {
    "id": "declaration/21",
    "reason": "record-declaration",
    "line": 196
  },
  {
    "id": "declaration/22",
    "reason": "record-declaration",
    "line": 201
  },
  {
    "id": "declaration/23",
    "reason": "record-declaration",
    "line": 207
  },
  {
    "id": "declaration/24",
    "reason": "record-declaration",
    "line": 212
  },
  {
    "id": "declaration/33",
    "reason": "record-declaration",
    "line": 332
  },
  {
    "id": "declaration/56",
    "reason": "record-declaration",
    "line": 893
  },
  {
    "id": "declaration/62",
    "reason": "record-declaration",
    "line": 1014
  },
  {
    "id": "declaration/63",
    "reason": "record-declaration",
    "line": 1020
  },
  {
    "id": "declaration/102",
    "reason": "record-declaration",
    "line": 2171
  },
  {
    "id": "declaration/103",
    "reason": "enum-declaration",
    "line": 2177
  },
  {
    "id": "declaration/104",
    "reason": "record-declaration",
    "line": 2183
  },
  {
    "id": "declaration/105",
    "reason": "record-declaration",
    "line": 2189
  },
  {
    "id": "declaration/106",
    "reason": "record-declaration",
    "line": 2197
  },
  {
    "id": "declaration/107",
    "reason": "record-declaration",
    "line": 2203
  },
  {
    "id": "declaration/108",
    "reason": "record-declaration",
    "line": 2209
  }
]