{
  "type": "Program",
  "start": 0,
  "end": 2455,
  "loc": {
    "start": {
      "line": 1,
      "column": 0
    },
    "end": {
      "line": 61,
      "column": 0
    }
  },
  "sourceType": "module",
  "body": [
    {
      "type": "VariableDeclaration",
      "start": 348,
      "end": 439,
      "loc": {
        "start": {
          "line": 10,
          "column": 0
        },
        "end": {
          "line": 12,
          "column": 2
        }
      },
      "declarations": [
        {
          "type": "VariableDeclarator",
          "start": 354,
          "end": 438,
          "loc": {
            "start": {
              "line": 10,
              "column": 6
            },
            "end": {
              "line": 12,
              "column": 1
            }
          },
          "id": {
            "type": "Identifier",
            "start": 354,
            "end": 365,
            "loc": {
              "start": {
                "line": 10,
                "column": 6
              },
              "end": {
                "line": 10,
                "column": 17
              }
            },
            "name": "regexEscape",
            "leadingComments": null
          },
          "init": {
            "type": "FunctionExpression",
            "start": 368,
            "end": 438,
            "loc": {
              "start": {
                "line": 10,
                "column": 20
              },
              "end": {
                "line": 12,
                "column": 1
              }
            },
            "id": {
              "type": "Identifier",
              "start": 354,
              "end": 365,
              "loc": {
                "start": {
                  "line": 10,
                  "column": 6
                },
                "end": {
                  "line": 10,
                  "column": 17
                }
              },
              "name": "regexEscape",
              "leadingComments": null
            },
            "generator": false,
            "expression": false,
            "async": false,
            "params": [
              {
                "type": "Identifier",
                "start": 377,
                "end": 380,
                "loc": {
                  "start": {
                    "line": 10,
                    "column": 29
                  },
                  "end": {
                    "line": 10,
                    "column": 32
                  }
                },
                "name": "str"
              }
            ],
            "body": {
              "type": "BlockStatement",
              "start": 382,
              "end": 438,
              "loc": {
                "start": {
                  "line": 10,
                  "column": 34
                },
                "end": {
                  "line": 12,
                  "column": 1
                }
              },
              "body": [
                {
                  "type": "ReturnStatement",
                  "start": 386,
                  "end": 436,
                  "loc": {
                    "start": {
                      "line": 11,
                      "column": 2
                    },
                    "end": {
                      "line": 11,
                      "column": 52
                    }
                  },
                  "argument": {
                    "type": "CallExpression",
                    "start": 393,
                    "end": 435,
                    "loc": {
                      "start": {
                        "line": 11,
                        "column": 9
                      },
                      "end": {
                        "line": 11,
                        "column": 51
                      }
                    },
                    "callee": {
                      "type": "MemberExpression",
                      "start": 393,
                      "end": 404,
                      "loc": {
                        "start": {
                          "line": 11,
                          "column": 9
                        },
                        "end": {
                          "line": 11,
                          "column": 20
                        }
                      },
                      "object": {
                        "type": "Identifier",
                        "start": 393,
                        "end": 396,
                        "loc": {
                          "start": {
                            "line": 11,
                            "column": 9
                          },
                          "end": {
                            "line": 11,
                            "column": 12
                          }
                        },
                        "name": "str"
                      },
                      "property": {
                        "type": "Identifier",
                        "start": 397,
                        "end": 404,
                        "loc": {
                          "start": {
                            "line": 11,
                            "column": 13
                          },
                          "end": {
                            "line": 11,
                            "column": 20
                          }
                        },
                        "name": "replace"
                      },
                      "computed": false
                    },
                    "arguments": [
                      {
                        "type": "Literal",
                        "start": 405,
                        "end": 426,
                        "loc": {
                          "start": {
                            "line": 11,
                            "column": 21
                          },
                          "end": {
                            "line": 11,
                            "column": 42
                          }
                        },
                        "value": {},
                        "rawValue": {},
                        "raw": "/[\\\\^$*+?.()|[\\]{}]/g",
                        "regex": {
                          "pattern": "[\\\\^$*+?.()|[\\]{}]",
                          "flags": "g"
                        }
                      },
                      {
                        "type": "Literal",
                        "start": 428,
                        "end": 434,
                        "loc": {
                          "start": {
                            "line": 11,
                            "column": 44
                          },
                          "end": {
                            "line": 11,
                            "column": 50
                          }
                        },
                        "value": "\\$&",
                        "rawValue": "\\$&",
                        "raw": "'\\\\$&'"
                      }
                    ]
                  }
                }
              ]
            }
          },
          "leadingComments": null
        }
      ],
      "kind": "const",
      "leadingComments": [
        {
          "type": "Block",
          "value": "*\n * This module analyses special markdown insertions (includes and resources)\n * Takes a peritext-markdown string + syntax params as input\n * Parses inline resources expressions\n * Parses ``include`` statements\n * Returns cleaned string, plus a list of include statements and resources to parse\n * @module converters/markdownIncludesParser\n ",
          "start": 0,
          "end": 346,
          "loc": {
            "start": {
              "line": 1,
              "column": 0
            },
            "end": {
              "line": 8,
              "column": 3
            }
          },
          "range": [
            0,
            346
          ]
        }
      ],
      "trailingComments": [
        {
          "type": "Block",
          "value": "*\n * Parses markdown string for markdown files includes statements and inline resources descriptions\n * @param {string} str - the string to parse\n * @param {Object} expressions - the wrapping expressions to use in order to parse includes and inline resources\n * @param {function(error: error, results: {extracted: array, cleanStr: string})} - callback - returns error, results as an array of extracted statements and clean string (without statements)\n ",
          "start": 441,
          "end": 897,
          "loc": {
            "start": {
              "line": 14,
              "column": 0
            },
            "end": {
              "line": 19,
              "column": 3
            }
          },
          "range": [
            441,
            897
          ]
        }
      ]
    },
    {
      "type": "ExportNamedDeclaration",
      "start": 898,
      "end": 2454,
      "loc": {
        "start": {
          "line": 20,
          "column": 0
        },
        "end": {
          "line": 60,
          "column": 2
        }
      },
      "declaration": {
        "type": "VariableDeclaration",
        "start": 905,
        "end": 2454,
        "loc": {
          "start": {
            "line": 20,
            "column": 7
          },
          "end": {
            "line": 60,
            "column": 2
          }
        },
        "declarations": [
          {
            "type": "VariableDeclarator",
            "start": 911,
            "end": 2453,
            "loc": {
              "start": {
                "line": 20,
                "column": 13
              },
              "end": {
                "line": 60,
                "column": 1
              }
            },
            "id": {
              "type": "Identifier",
              "start": 911,
              "end": 924,
              "loc": {
                "start": {
                  "line": 20,
                  "column": 13
                },
                "end": {
                  "line": 20,
                  "column": 26
                }
              },
              "name": "parseMarkdown",
              "leadingComments": null
            },
            "init": {
              "type": "ArrowFunctionExpression",
              "start": 927,
              "end": 2453,
              "loc": {
                "start": {
                  "line": 20,
                  "column": 29
                },
                "end": {
                  "line": 60,
                  "column": 1
                }
              },
              "id": null,
              "generator": false,
              "expression": false,
              "async": false,
              "params": [
                {
                  "type": "Identifier",
                  "start": 928,
                  "end": 931,
                  "loc": {
                    "start": {
                      "line": 20,
                      "column": 30
                    },
                    "end": {
                      "line": 20,
                      "column": 33
                    }
                  },
                  "name": "str"
                },
                {
                  "type": "ObjectPattern",
                  "start": 933,
                  "end": 973,
                  "loc": {
                    "start": {
                      "line": 20,
                      "column": 35
                    },
                    "end": {
                      "line": 20,
                      "column": 75
                    }
                  },
                  "properties": [
                    {
                      "type": "Property",
                      "start": 934,
                      "end": 954,
                      "loc": {
                        "start": {
                          "line": 20,
                          "column": 36
                        },
                        "end": {
                          "line": 20,
                          "column": 56
                        }
                      },
                      "method": false,
                      "shorthand": true,
                      "computed": false,
                      "key": {
                        "type": "Identifier",
                        "start": 934,
                        "end": 954,
                        "loc": {
                          "start": {
                            "line": 20,
                            "column": 36
                          },
                          "end": {
                            "line": 20,
                            "column": 56
                          }
                        },
                        "name": "includeWrappingChars"
                      },
                      "kind": "init",
                      "value": {
                        "type": "Identifier",
                        "start": 934,
                        "end": 954,
                        "loc": {
                          "start": {
                            "line": 20,
                            "column": 36
                          },
                          "end": {
                            "line": 20,
                            "column": 56
                          }
                        },
                        "name": "includeWrappingChars"
                      }
                    },
                    {
                      "type": "Property",
                      "start": 956,
                      "end": 972,
                      "loc": {
                        "start": {
                          "line": 20,
                          "column": 58
                        },
                        "end": {
                          "line": 20,
                          "column": 74
                        }
                      },
                      "method": false,
                      "shorthand": true,
                      "computed": false,
                      "key": {
                        "type": "Identifier",
                        "start": 956,
                        "end": 972,
                        "loc": {
                          "start": {
                            "line": 20,
                            "column": 58
                          },
                          "end": {
                            "line": 20,
                            "column": 74
                          }
                        },
                        "name": "resWrappingChars"
                      },
                      "kind": "init",
                      "value": {
                        "type": "Identifier",
                        "start": 956,
                        "end": 972,
                        "loc": {
                          "start": {
                            "line": 20,
                            "column": 58
                          },
                          "end": {
                            "line": 20,
                            "column": 74
                          }
                        },
                        "name": "resWrappingChars"
                      }
                    }
                  ]
                },
                {
                  "type": "Identifier",
                  "start": 975,
                  "end": 983,
                  "loc": {
                    "start": {
                      "line": 20,
                      "column": 77
                    },
                    "end": {
                      "line": 20,
                      "column": 85
                    }
                  },
                  "name": "callback"
                }
              ],
              "body": {
                "type": "BlockStatement",
                "start": 988,
                "end": 2453,
                "loc": {
                  "start": {
                    "line": 20,
                    "column": 90
                  },
                  "end": {
                    "line": 60,
                    "column": 1
                  }
                },
                "body": [
                  {
                    "type": "VariableDeclaration",
                    "start": 992,
                    "end": 1131,
                    "loc": {
                      "start": {
                        "line": 21,
                        "column": 2
                      },
                      "end": {
                        "line": 21,
                        "column": 141
                      }
                    },
                    "declarations": [
                      {
                        "type": "VariableDeclarator",
                        "start": 998,
                        "end": 1130,
                        "loc": {
                          "start": {
                            "line": 21,
                            "column": 8
                          },
                          "end": {
                            "line": 21,
                            "column": 140
                          }
                        },
                        "id": {
                          "type": "Identifier",
                          "start": 998,
                          "end": 1012,
                          "loc": {
                            "start": {
                              "line": 21,
                              "column": 8
                            },
                            "end": {
                              "line": 21,
                              "column": 22
                            }
                          },
                          "name": "includesRegexp"
                        },
                        "init": {
                          "type": "NewExpression",
                          "start": 1015,
                          "end": 1130,
                          "loc": {
                            "start": {
                              "line": 21,
                              "column": 25
                            },
                            "end": {
                              "line": 21,
                              "column": 140
                            }
                          },
                          "callee": {
                            "type": "Identifier",
                            "start": 1019,
                            "end": 1025,
                            "loc": {
                              "start": {
                                "line": 21,
                                "column": 29
                              },
                              "end": {
                                "line": 21,
                                "column": 35
                              }
                            },
                            "name": "RegExp"
                          },
                          "arguments": [
                            {
                              "type": "BinaryExpression",
                              "start": 1026,
                              "end": 1124,
                              "loc": {
                                "start": {
                                  "line": 21,
                                  "column": 36
                                },
                                "end": {
                                  "line": 21,
                                  "column": 134
                                }
                              },
                              "left": {
                                "type": "BinaryExpression",
                                "start": 1026,
                                "end": 1085,
                                "loc": {
                                  "start": {
                                    "line": 21,
                                    "column": 36
                                  },
                                  "end": {
                                    "line": 21,
                                    "column": 95
                                  }
                                },
                                "left": {
                                  "type": "CallExpression",
                                  "start": 1026,
                                  "end": 1062,
                                  "loc": {
                                    "start": {
                                      "line": 21,
                                      "column": 36
                                    },
                                    "end": {
                                      "line": 21,
                                      "column": 72
                                    }
                                  },
                                  "callee": {
                                    "type": "Identifier",
                                    "start": 1026,
                                    "end": 1037,
                                    "loc": {
                                      "start": {
                                        "line": 21,
                                        "column": 36
                                      },
                                      "end": {
                                        "line": 21,
                                        "column": 47
                                      }
                                    },
                                    "name": "regexEscape"
                                  },
                                  "arguments": [
                                    {
                                      "type": "MemberExpression",
                                      "start": 1038,
                                      "end": 1061,
                                      "loc": {
                                        "start": {
                                          "line": 21,
                                          "column": 48
                                        },
                                        "end": {
                                          "line": 21,
                                          "column": 71
                                        }
                                      },
                                      "object": {
                                        "type": "Identifier",
                                        "start": 1038,
                                        "end": 1058,
                                        "loc": {
                                          "start": {
                                            "line": 21,
                                            "column": 48
                                          },
                                          "end": {
                                            "line": 21,
                                            "column": 68
                                          }
                                        },
                                        "name": "includeWrappingChars"
                                      },
                                      "property": {
                                        "type": "Literal",
                                        "start": 1059,
                                        "end": 1060,
                                        "loc": {
                                          "start": {
                                            "line": 21,
                                            "column": 69
                                          },
                                          "end": {
                                            "line": 21,
                                            "column": 70
                                          }
                                        },
                                        "value": 0,
                                        "rawValue": 0,
                                        "raw": "0"
                                      },
                                      "computed": true
                                    }
                                  ]
                                },
                                "operator": "+",
                                "right": {
                                  "type": "Literal",
                                  "start": 1065,
                                  "end": 1085,
                                  "loc": {
                                    "start": {
                                      "line": 21,
                                      "column": 75
                                    },
                                    "end": {
                                      "line": 21,
                                      "column": 95
                                    }
                                  },
                                  "value": "include:([^\\}]+)",
                                  "rawValue": "include:([^\\}]+)",
                                  "raw": "'include:([^\\\\\\}]+)'"
                                }
                              },
                              "operator": "+",
                              "right": {
                                "type": "CallExpression",
                                "start": 1088,
                                "end": 1124,
                                "loc": {
                                  "start": {
                                    "line": 21,
                                    "column": 98
                                  },
                                  "end": {
                                    "line": 21,
                                    "column": 134
                                  }
                                },
                                "callee": {
                                  "type": "Identifier",
                                  "start": 1088,
                                  "end": 1099,
                                  "loc": {
                                    "start": {
                                      "line": 21,
                                      "column": 98
                                    },
                                    "end": {
                                      "line": 21,
                                      "column": 109
                                    }
                                  },
                                  "name": "regexEscape"
                                },
                                "arguments": [
                                  {
                                    "type": "MemberExpression",
                                    "start": 1100,
                                    "end": 1123,
                                    "loc": {
                                      "start": {
                                        "line": 21,
                                        "column": 110
                                      },
                                      "end": {
                                        "line": 21,
                                        "column": 133
                                      }
                                    },
                                    "object": {
                                      "type": "Identifier",
                                      "start": 1100,
                                      "end": 1120,
                                      "loc": {
                                        "start": {
                                          "line": 21,
                                          "column": 110
                                        },
                                        "end": {
                                          "line": 21,
                                          "column": 130
                                        }
                                      },
                                      "name": "includeWrappingChars"
                                    },
                                    "property": {
                                      "type": "Literal",
                                      "start": 1121,
                                      "end": 1122,
                                      "loc": {
                                        "start": {
                                          "line": 21,
                                          "column": 131
                                        },
                                        "end": {
                                          "line": 21,
                                          "column": 132
                                        }
                                      },
                                      "value": 1,
                                      "rawValue": 1,
                                      "raw": "1"
                                    },
                                    "computed": true
                                  }
                                ]
                              }
                            },
                            {
                              "type": "Literal",
                              "start": 1126,
                              "end": 1129,
                              "loc": {
                                "start": {
                                  "line": 21,
                                  "column": 136
                                },
                                "end": {
                                  "line": 21,
                                  "column": 139
                                }
                              },
                              "value": "g",
                              "rawValue": "g",
                              "raw": "'g'"
                            }
                          ]
                        }
                      }
                    ],
                    "kind": "const"
                  },
                  {
                    "type": "VariableDeclaration",
                    "start": 1134,
                    "end": 1269,
                    "loc": {
                      "start": {
                        "line": 22,
                        "column": 2
                      },
                      "end": {
                        "line": 22,
                        "column": 137
                      }
                    },
                    "declarations": [
                      {
                        "type": "VariableDeclarator",
                        "start": 1140,
                        "end": 1268,
                        "loc": {
                          "start": {
                            "line": 22,
                            "column": 8
                          },
                          "end": {
                            "line": 22,
                            "column": 136
                          }
                        },
                        "id": {
                          "type": "Identifier",
                          "start": 1140,
                          "end": 1155,
                          "loc": {
                            "start": {
                              "line": 22,
                              "column": 8
                            },
                            "end": {
                              "line": 22,
                              "column": 23
                            }
                          },
                          "name": "resourcesRegexp"
                        },
                        "init": {
                          "type": "NewExpression",
                          "start": 1158,
                          "end": 1268,
                          "loc": {
                            "start": {
                              "line": 22,
                              "column": 26
                            },
                            "end": {
                              "line": 22,
                              "column": 136
                            }
                          },
                          "callee": {
                            "type": "Identifier",
                            "start": 1162,
                            "end": 1168,
                            "loc": {
                              "start": {
                                "line": 22,
                                "column": 30
                              },
                              "end": {
                                "line": 22,
                                "column": 36
                              }
                            },
                            "name": "RegExp"
                          },
                          "arguments": [
                            {
                              "type": "BinaryExpression",
                              "start": 1169,
                              "end": 1262,
                              "loc": {
                                "start": {
                                  "line": 22,
                                  "column": 37
                                },
                                "end": {
                                  "line": 22,
                                  "column": 130
                                }
                              },
                              "left": {
                                "type": "BinaryExpression",
                                "start": 1169,
                                "end": 1227,
                                "loc": {
                                  "start": {
                                    "line": 22,
                                    "column": 37
                                  },
                                  "end": {
                                    "line": 22,
                                    "column": 95
                                  }
                                },
                                "left": {
                                  "type": "CallExpression",
                                  "start": 1169,
                                  "end": 1201,
                                  "loc": {
                                    "start": {
                                      "line": 22,
                                      "column": 37
                                    },
                                    "end": {
                                      "line": 22,
                                      "column": 69
                                    }
                                  },
                                  "callee": {
                                    "type": "Identifier",
                                    "start": 1169,
                                    "end": 1180,
                                    "loc": {
                                      "start": {
                                        "line": 22,
                                        "column": 37
                                      },
                                      "end": {
                                        "line": 22,
                                        "column": 48
                                      }
                                    },
                                    "name": "regexEscape"
                                  },
                                  "arguments": [
                                    {
                                      "type": "MemberExpression",
                                      "start": 1181,
                                      "end": 1200,
                                      "loc": {
                                        "start": {
                                          "line": 22,
                                          "column": 49
                                        },
                                        "end": {
                                          "line": 22,
                                          "column": 68
                                        }
                                      },
                                      "object": {
                                        "type": "Identifier",
                                        "start": 1181,
                                        "end": 1197,
                                        "loc": {
                                          "start": {
                                            "line": 22,
                                            "column": 49
                                          },
                                          "end": {
                                            "line": 22,
                                            "column": 65
                                          }
                                        },
                                        "name": "resWrappingChars"
                                      },
                                      "property": {
                                        "type": "Literal",
                                        "start": 1198,
                                        "end": 1199,
                                        "loc": {
                                          "start": {
                                            "line": 22,
                                            "column": 66
                                          },
                                          "end": {
                                            "line": 22,
                                            "column": 67
                                          }
                                        },
                                        "value": 0,
                                        "rawValue": 0,
                                        "raw": "0"
                                      },
                                      "computed": true
                                    }
                                  ]
                                },
                                "operator": "+",
                                "right": {
                                  "type": "Literal",
                                  "start": 1204,
                                  "end": 1227,
                                  "loc": {
                                    "start": {
                                      "line": 22,
                                      "column": 72
                                    },
                                    "end": {
                                      "line": 22,
                                      "column": 95
                                    }
                                  },
                                  "value": "\\\n([\\w\\W]+)\\\n",
                                  "rawValue": "\\\n([\\w\\W]+)\\\n",
                                  "raw": "'\\\\\\n([\\\\\\w\\\\\\W]+)\\\\\\n'"
                                }
                              },
                              "operator": "+",
                              "right": {
                                "type": "CallExpression",
                                "start": 1230,
                                "end": 1262,
                                "loc": {
                                  "start": {
                                    "line": 22,
                                    "column": 98
                                  },
                                  "end": {
                                    "line": 22,
                                    "column": 130
                                  }
                                },
                                "callee": {
                                  "type": "Identifier",
                                  "start": 1230,
                                  "end": 1241,
                                  "loc": {
                                    "start": {
                                      "line": 22,
                                      "column": 98
                                    },
                                    "end": {
                                      "line": 22,
                                      "column": 109
                                    }
                                  },
                                  "name": "regexEscape"
                                },
                                "arguments": [
                                  {
                                    "type": "MemberExpression",
                                    "start": 1242,
                                    "end": 1261,
                                    "loc": {
                                      "start": {
                                        "line": 22,
                                        "column": 110
                                      },
                                      "end": {
                                        "line": 22,
                                        "column": 129
                                      }
                                    },
                                    "object": {
                                      "type": "Identifier",
                                      "start": 1242,
                                      "end": 1258,
                                      "loc": {
                                        "start": {
                                          "line": 22,
                                          "column": 110
                                        },
                                        "end": {
                                          "line": 22,
                                          "column": 126
                                        }
                                      },
                                      "name": "resWrappingChars"
                                    },
                                    "property": {
                                      "type": "Literal",
                                      "start": 1259,
                                      "end": 1260,
                                      "loc": {
                                        "start": {
                                          "line": 22,
                                          "column": 127
                                        },
                                        "end": {
                                          "line": 22,
                                          "column": 128
                                        }
                                      },
                                      "value": 1,
                                      "rawValue": 1,
                                      "raw": "1"
                                    },
                                    "computed": true
                                  }
                                ]
                              }
                            },
                            {
                              "type": "Literal",
                              "start": 1264,
                              "end": 1267,
                              "loc": {
                                "start": {
                                  "line": 22,
                                  "column": 132
                                },
                                "end": {
                                  "line": 22,
                                  "column": 135
                                }
                              },
                              "value": "g",
                              "rawValue": "g",
                              "raw": "'g'"
                            }
                          ]
                        }
                      }
                    ],
                    "kind": "const"
                  },
                  {
                    "type": "VariableDeclaration",
                    "start": 1272,
                    "end": 1291,
                    "loc": {
                      "start": {
                        "line": 23,
                        "column": 2
                      },
                      "end": {
                        "line": 23,
                        "column": 21
                      }
                    },
                    "declarations": [
                      {
                        "type": "VariableDeclarator",
                        "start": 1276,
                        "end": 1290,
                        "loc": {
                          "start": {
                            "line": 23,
                            "column": 6
                          },
                          "end": {
                            "line": 23,
                            "column": 20
                          }
                        },
                        "id": {
                          "type": "Identifier",
                          "start": 1276,
                          "end": 1285,
                          "loc": {
                            "start": {
                              "line": 23,
                              "column": 6
                            },
                            "end": {
                              "line": 23,
                              "column": 15
                            }
                          },
                          "name": "extracted"
                        },
                        "init": {
                          "type": "ArrayExpression",
                          "start": 1288,
                          "end": 1290,
                          "loc": {
                            "start": {
                              "line": 23,
                              "column": 18
                            },
                            "end": {
                              "line": 23,
                              "column": 20
                            }
                          },
                          "elements": []
                        }
                      }
                    ],
                    "kind": "let"
                  },
                  {
                    "type": "VariableDeclaration",
                    "start": 1294,
                    "end": 1313,
                    "loc": {
                      "start": {
                        "line": 24,
                        "column": 2
                      },
                      "end": {
                        "line": 24,
                        "column": 21
                      }
                    },
                    "declarations": [
                      {
                        "type": "VariableDeclarator",
                        "start": 1298,
                        "end": 1312,
                        "loc": {
                          "start": {
                            "line": 24,
                            "column": 6
                          },
                          "end": {
                            "line": 24,
                            "column": 20
                          }
                        },
                        "id": {
                          "type": "Identifier",
                          "start": 1298,
                          "end": 1306,
                          "loc": {
                            "start": {
                              "line": 24,
                              "column": 6
                            },
                            "end": {
                              "line": 24,
                              "column": 14
                            }
                          },
                          "name": "cleanStr"
                        },
                        "init": {
                          "type": "Identifier",
                          "start": 1309,
                          "end": 1312,
                          "loc": {
                            "start": {
                              "line": 24,
                              "column": 17
                            },
                            "end": {
                              "line": 24,
                              "column": 20
                            }
                          },
                          "name": "str"
                        }
                      }
                    ],
                    "kind": "let"
                  },
                  {
                    "type": "VariableDeclaration",
                    "start": 1316,
                    "end": 1326,
                    "loc": {
                      "start": {
                        "line": 25,
                        "column": 2
                      },
                      "end": {
                        "line": 25,
                        "column": 12
                      }
                    },
                    "declarations": [
                      {
                        "type": "VariableDeclarator",
                        "start": 1320,
                        "end": 1325,
                        "loc": {
                          "start": {
                            "line": 25,
                            "column": 6
                          },
                          "end": {
                            "line": 25,
                            "column": 11
                          }
                        },
                        "id": {
                          "type": "Identifier",
                          "start": 1320,
                          "end": 1325,
                          "loc": {
                            "start": {
                              "line": 25,
                              "column": 6
                            },
                            "end": {
                              "line": 25,
                              "column": 11
                            }
                          },
                          "name": "match"
                        },
                        "init": null
                      }
                    ],
                    "kind": "let"
                  },
                  {
                    "type": "VariableDeclaration",
                    "start": 1329,
                    "end": 1338,
                    "loc": {
                      "start": {
                        "line": 26,
                        "column": 2
                      },
                      "end": {
                        "line": 26,
                        "column": 11
                      }
                    },
                    "declarations": [
                      {
                        "type": "VariableDeclarator",
                        "start": 1333,
                        "end": 1337,
                        "loc": {
                          "start": {
                            "line": 26,
                            "column": 6
                          },
                          "end": {
                            "line": 26,
                            "column": 10
                          }
                        },
                        "id": {
                          "type": "Identifier",
                          "start": 1333,
                          "end": 1337,
                          "loc": {
                            "start": {
                              "line": 26,
                              "column": 6
                            },
                            "end": {
                              "line": 26,
                              "column": 10
                            }
                          },
                          "name": "extr"
                        },
                        "init": null
                      }
                    ],
                    "kind": "let",
                    "trailingComments": [
                      {
                        "type": "CommentLine",
                        "value": " recursively check for one of the two substitution expressions",
                        "start": 1342,
                        "end": 1406,
                        "loc": {
                          "start": {
                            "line": 28,
                            "column": 2
                          },
                          "end": {
                            "line": 28,
                            "column": 66
                          }
                        },
                        "range": [
                          1342,
                          1406
                        ]
                      }
                    ]
                  },
                  {
                    "type": "WhileStatement",
                    "start": 1409,
                    "end": 2219,
                    "loc": {
                      "start": {
                        "line": 29,
                        "column": 2
                      },
                      "end": {
                        "line": 50,
                        "column": 3
                      }
                    },
                    "test": {
                      "type": "LogicalExpression",
                      "start": 1416,
                      "end": 1521,
                      "loc": {
                        "start": {
                          "line": 29,
                          "column": 9
                        },
                        "end": {
                          "line": 29,
                          "column": 114
                        }
                      },
                      "left": {
                        "type": "BinaryExpression",
                        "start": 1417,
                        "end": 1466,
                        "loc": {
                          "start": {
                            "line": 29,
                            "column": 10
                          },
                          "end": {
                            "line": 29,
                            "column": 59
                          }
                        },
                        "left": {
                          "type": "AssignmentExpression",
                          "start": 1418,
                          "end": 1456,
                          "loc": {
                            "start": {
                              "line": 29,
                              "column": 11
                            },
                            "end": {
                              "line": 29,
                              "column": 49
                            }
                          },
                          "operator": "=",
                          "left": {
                            "type": "Identifier",
                            "start": 1418,
                            "end": 1423,
                            "loc": {
                              "start": {
                                "line": 29,
                                "column": 11
                              },
                              "end": {
                                "line": 29,
                                "column": 16
                              }
                            },
                            "name": "match",
                            "leadingComments": null
                          },
                          "right": {
                            "type": "CallExpression",
                            "start": 1426,
                            "end": 1456,
                            "loc": {
                              "start": {
                                "line": 29,
                                "column": 19
                              },
                              "end": {
                                "line": 29,
                                "column": 49
                              }
                            },
                            "callee": {
                              "type": "MemberExpression",
                              "start": 1426,
                              "end": 1446,
                              "loc": {
                                "start": {
                                  "line": 29,
                                  "column": 19
                                },
                                "end": {
                                  "line": 29,
                                  "column": 39
                                }
                              },
                              "object": {
                                "type": "Identifier",
                                "start": 1426,
                                "end": 1441,
                                "loc": {
                                  "start": {
                                    "line": 29,
                                    "column": 19
                                  },
                                  "end": {
                                    "line": 29,
                                    "column": 34
                                  }
                                },
                                "name": "resourcesRegexp"
                              },
                              "property": {
                                "type": "Identifier",
                                "start": 1442,
                                "end": 1446,
                                "loc": {
                                  "start": {
                                    "line": 29,
                                    "column": 35
                                  },
                                  "end": {
                                    "line": 29,
                                    "column": 39
                                  }
                                },
                                "name": "exec"
                              },
                              "computed": false
                            },
                            "arguments": [
                              {
                                "type": "Identifier",
                                "start": 1447,
                                "end": 1455,
                                "loc": {
                                  "start": {
                                    "line": 29,
                                    "column": 40
                                  },
                                  "end": {
                                    "line": 29,
                                    "column": 48
                                  }
                                },
                                "name": "cleanStr"
                              }
                            ]
                          },
                          "leadingComments": null,
                          "parenthesizedExpression": true
                        },
                        "operator": "!==",
                        "right": {
                          "type": "Literal",
                          "start": 1462,
                          "end": 1466,
                          "loc": {
                            "start": {
                              "line": 29,
                              "column": 55
                            },
                            "end": {
                              "line": 29,
                              "column": 59
                            }
                          },
                          "value": null,
                          "rawValue": null,
                          "raw": "null"
                        },
                        "leadingComments": null,
                        "parenthesizedExpression": true
                      },
                      "operator": "||",
                      "right": {
                        "type": "BinaryExpression",
                        "start": 1472,
                        "end": 1520,
                        "loc": {
                          "start": {
                            "line": 29,
                            "column": 65
                          },
                          "end": {
                            "line": 29,
                            "column": 113
                          }
                        },
                        "left": {
                          "type": "AssignmentExpression",
                          "start": 1473,
                          "end": 1510,
                          "loc": {
                            "start": {
                              "line": 29,
                              "column": 66
                            },
                            "end": {
                              "line": 29,
                              "column": 103
                            }
                          },
                          "operator": "=",
                          "left": {
                            "type": "Identifier",
                            "start": 1473,
                            "end": 1478,
                            "loc": {
                              "start": {
                                "line": 29,
                                "column": 66
                              },
                              "end": {
                                "line": 29,
                                "column": 71
                              }
                            },
                            "name": "match"
                          },
                          "right": {
                            "type": "CallExpression",
                            "start": 1481,
                            "end": 1510,
                            "loc": {
                              "start": {
                                "line": 29,
                                "column": 74
                              },
                              "end": {
                                "line": 29,
                                "column": 103
                              }
                            },
                            "callee": {
                              "type": "MemberExpression",
                              "start": 1481,
                              "end": 1500,
                              "loc": {
                                "start": {
                                  "line": 29,
                                  "column": 74
                                },
                                "end": {
                                  "line": 29,
                                  "column": 93
                                }
                              },
                              "object": {
                                "type": "Identifier",
                                "start": 1481,
                                "end": 1495,
                                "loc": {
                                  "start": {
                                    "line": 29,
                                    "column": 74
                                  },
                                  "end": {
                                    "line": 29,
                                    "column": 88
                                  }
                                },
                                "name": "includesRegexp"
                              },
                              "property": {
                                "type": "Identifier",
                                "start": 1496,
                                "end": 1500,
                                "loc": {
                                  "start": {
                                    "line": 29,
                                    "column": 89
                                  },
                                  "end": {
                                    "line": 29,
                                    "column": 93
                                  }
                                },
                                "name": "exec"
                              },
                              "computed": false
                            },
                            "arguments": [
                              {
                                "type": "Identifier",
                                "start": 1501,
                                "end": 1509,
                                "loc": {
                                  "start": {
                                    "line": 29,
                                    "column": 94
                                  },
                                  "end": {
                                    "line": 29,
                                    "column": 102
                                  }
                                },
                                "name": "cleanStr"
                              }
                            ]
                          },
                          "parenthesizedExpression": true
                        },
                        "operator": "!==",
                        "right": {
                          "type": "Literal",
                          "start": 1516,
                          "end": 1520,
                          "loc": {
                            "start": {
                              "line": 29,
                              "column": 109
                            },
                            "end": {
                              "line": 29,
                              "column": 113
                            }
                          },
                          "value": null,
                          "rawValue": null,
                          "raw": "null"
                        },
                        "parenthesizedExpression": true
                      },
                      "leadingComments": null
                    },
                    "body": {
                      "type": "BlockStatement",
                      "start": 1523,
                      "end": 2219,
                      "loc": {
                        "start": {
                          "line": 29,
                          "column": 116
                        },
                        "end": {
                          "line": 50,
                          "column": 3
                        }
                      },
                      "body": [
                        {
                          "type": "ExpressionStatement",
                          "start": 1575,
                          "end": 1681,
                          "loc": {
                            "start": {
                              "line": 31,
                              "column": 4
                            },
                            "end": {
                              "line": 31,
                              "column": 110
                            }
                          },
                          "expression": {
                            "type": "AssignmentExpression",
                            "start": 1575,
                            "end": 1680,
                            "loc": {
                              "start": {
                                "line": 31,
                                "column": 4
                              },
                              "end": {
                                "line": 31,
                                "column": 109
                              }
                            },
                            "operator": "=",
                            "left": {
                              "type": "Identifier",
                              "start": 1575,
                              "end": 1583,
                              "loc": {
                                "start": {
                                  "line": 31,
                                  "column": 4
                                },
                                "end": {
                                  "line": 31,
                                  "column": 12
                                }
                              },
                              "name": "cleanStr",
                              "leadingComments": null
                            },
                            "right": {
                              "type": "CallExpression",
                              "start": 1586,
                              "end": 1680,
                              "loc": {
                                "start": {
                                  "line": 31,
                                  "column": 15
                                },
                                "end": {
                                  "line": 31,
                                  "column": 109
                                }
                              },
                              "callee": {
                                "type": "MemberExpression",
                                "start": 1586,
                                "end": 1676,
                                "loc": {
                                  "start": {
                                    "line": 31,
                                    "column": 15
                                  },
                                  "end": {
                                    "line": 31,
                                    "column": 105
                                  }
                                },
                                "object": {
                                  "type": "ArrayExpression",
                                  "start": 1586,
                                  "end": 1671,
                                  "loc": {
                                    "start": {
                                      "line": 31,
                                      "column": 15
                                    },
                                    "end": {
                                      "line": 31,
                                      "column": 100
                                    }
                                  },
                                  "elements": [
                                    {
                                      "type": "CallExpression",
                                      "start": 1587,
                                      "end": 1622,
                                      "loc": {
                                        "start": {
                                          "line": 31,
                                          "column": 16
                                        },
                                        "end": {
                                          "line": 31,
                                          "column": 51
                                        }
                                      },
                                      "callee": {
                                        "type": "MemberExpression",
                                        "start": 1587,
                                        "end": 1602,
                                        "loc": {
                                          "start": {
                                            "line": 31,
                                            "column": 16
                                          },
                                          "end": {
                                            "line": 31,
                                            "column": 31
                                          }
                                        },
                                        "object": {
                                          "type": "Identifier",
                                          "start": 1587,
                                          "end": 1595,
                                          "loc": {
                                            "start": {
                                              "line": 31,
                                              "column": 16
                                            },
                                            "end": {
                                              "line": 31,
                                              "column": 24
                                            }
                                          },
                                          "name": "cleanStr"
                                        },
                                        "property": {
                                          "type": "Identifier",
                                          "start": 1596,
                                          "end": 1602,
                                          "loc": {
                                            "start": {
                                              "line": 31,
                                              "column": 25
                                            },
                                            "end": {
                                              "line": 31,
                                              "column": 31
                                            }
                                          },
                                          "name": "substr"
                                        },
                                        "computed": false
                                      },
                                      "arguments": [
                                        {
                                          "type": "Literal",
                                          "start": 1603,
                                          "end": 1604,
                                          "loc": {
                                            "start": {
                                              "line": 31,
                                              "column": 32
                                            },
                                            "end": {
                                              "line": 31,
                                              "column": 33
                                            }
                                          },
                                          "value": 0,
                                          "rawValue": 0,
                                          "raw": "0"
                                        },
                                        {
                                          "type": "BinaryExpression",
                                          "start": 1606,
                                          "end": 1621,
                                          "loc": {
                                            "start": {
                                              "line": 31,
                                              "column": 35
                                            },
                                            "end": {
                                              "line": 31,
                                              "column": 50
                                            }
                                          },
                                          "left": {
                                            "type": "MemberExpression",
                                            "start": 1606,
                                            "end": 1617,
                                            "loc": {
                                              "start": {
                                                "line": 31,
                                                "column": 35
                                              },
                                              "end": {
                                                "line": 31,
                                                "column": 46
                                              }
                                            },
                                            "object": {
                                              "type": "Identifier",
                                              "start": 1606,
                                              "end": 1611,
                                              "loc": {
                                                "start": {
                                                  "line": 31,
                                                  "column": 35
                                                },
                                                "end": {
                                                  "line": 31,
                                                  "column": 40
                                                }
                                              },
                                              "name": "match"
                                            },
                                            "property": {
                                              "type": "Identifier",
                                              "start": 1612,
                                              "end": 1617,
                                              "loc": {
                                                "start": {
                                                  "line": 31,
                                                  "column": 41
                                                },
                                                "end": {
                                                  "line": 31,
                                                  "column": 46
                                                }
                                              },
                                              "name": "index"
                                            },
                                            "computed": false
                                          },
                                          "operator": "-",
                                          "right": {
                                            "type": "Literal",
                                            "start": 1620,
                                            "end": 1621,
                                            "loc": {
                                              "start": {
                                                "line": 31,
                                                "column": 49
                                              },
                                              "end": {
                                                "line": 31,
                                                "column": 50
                                              }
                                            },
                                            "value": 1,
                                            "rawValue": 1,
                                            "raw": "1"
                                          }
                                        }
                                      ]
                                    },
                                    {
                                      "type": "CallExpression",
                                      "start": 1624,
                                      "end": 1670,
                                      "loc": {
                                        "start": {
                                          "line": 31,
                                          "column": 53
                                        },
                                        "end": {
                                          "line": 31,
                                          "column": 99
                                        }
                                      },
                                      "callee": {
                                        "type": "MemberExpression",
                                        "start": 1624,
                                        "end": 1639,
                                        "loc": {
                                          "start": {
                                            "line": 31,
                                            "column": 53
                                          },
                                          "end": {
                                            "line": 31,
                                            "column": 68
                                          }
                                        },
                                        "object": {
                                          "type": "Identifier",
                                          "start": 1624,
                                          "end": 1632,
                                          "loc": {
                                            "start": {
                                              "line": 31,
                                              "column": 53
                                            },
                                            "end": {
                                              "line": 31,
                                              "column": 61
                                            }
                                          },
                                          "name": "cleanStr"
                                        },
                                        "property": {
                                          "type": "Identifier",
                                          "start": 1633,
                                          "end": 1639,
                                          "loc": {
                                            "start": {
                                              "line": 31,
                                              "column": 62
                                            },
                                            "end": {
                                              "line": 31,
                                              "column": 68
                                            }
                                          },
                                          "name": "substr"
                                        },
                                        "computed": false
                                      },
                                      "arguments": [
                                        {
                                          "type": "BinaryExpression",
                                          "start": 1640,
                                          "end": 1669,
                                          "loc": {
                                            "start": {
                                              "line": 31,
                                              "column": 69
                                            },
                                            "end": {
                                              "line": 31,
                                              "column": 98
                                            }
                                          },
                                          "left": {
                                            "type": "MemberExpression",
                                            "start": 1640,
                                            "end": 1651,
                                            "loc": {
                                              "start": {
                                                "line": 31,
                                                "column": 69
                                              },
                                              "end": {
                                                "line": 31,
                                                "column": 80
                                              }
                                            },
                                            "object": {
                                              "type": "Identifier",
                                              "start": 1640,
                                              "end": 1645,
                                              "loc": {
                                                "start": {
                                                  "line": 31,
                                                  "column": 69
                                                },
                                                "end": {
                                                  "line": 31,
                                                  "column": 74
                                                }
                                              },
                                              "name": "match"
                                            },
                                            "property": {
                                              "type": "Identifier",
                                              "start": 1646,
                                              "end": 1651,
                                              "loc": {
                                                "start": {
                                                  "line": 31,
                                                  "column": 75
                                                },
                                                "end": {
                                                  "line": 31,
                                                  "column": 80
                                                }
                                              },
                                              "name": "index"
                                            },
                                            "computed": false
                                          },
                                          "operator": "+",
                                          "right": {
                                            "type": "MemberExpression",
                                            "start": 1654,
                                            "end": 1669,
                                            "loc": {
                                              "start": {
                                                "line": 31,
                                                "column": 83
                                              },
                                              "end": {
                                                "line": 31,
                                                "column": 98
                                              }
                                            },
                                            "object": {
                                              "type": "MemberExpression",
                                              "start": 1654,
                                              "end": 1662,
                                              "loc": {
                                                "start": {
                                                  "line": 31,
                                                  "column": 83
                                                },
                                                "end": {
                                                  "line": 31,
                                                  "column": 91
                                                }
                                              },
                                              "object": {
                                                "type": "Identifier",
                                                "start": 1654,
                                                "end": 1659,
                                                "loc": {
                                                  "start": {
                                                    "line": 31,
                                                    "column": 83
                                                  },
                                                  "end": {
                                                    "line": 31,
                                                    "column": 88
                                                  }
                                                },
                                                "name": "match"
                                              },
                                              "property": {
                                                "type": "Literal",
                                                "start": 1660,
                                                "end": 1661,
                                                "loc": {
                                                  "start": {
                                                    "line": 31,
                                                    "column": 89
                                                  },
                                                  "end": {
                                                    "line": 31,
                                                    "column": 90
                                                  }
                                                },
                                                "value": 0,
                                                "rawValue": 0,
                                                "raw": "0"
                                              },
                                              "computed": true
                                            },
                                            "property": {
                                              "type": "Identifier",
                                              "start": 1663,
                                              "end": 1669,
                                              "loc": {
                                                "start": {
                                                  "line": 31,
                                                  "column": 92
                                                },
                                                "end": {
                                                  "line": 31,
                                                  "column": 98
                                                }
                                              },
                                              "name": "length"
                                            },
                                            "computed": false
                                          }
                                        }
                                      ]
                                    }
                                  ]
                                },
                                "property": {
                                  "type": "Identifier",
                                  "start": 1672,
                                  "end": 1676,
                                  "loc": {
                                    "start": {
                                      "line": 31,
                                      "column": 101
                                    },
                                    "end": {
                                      "line": 31,
                                      "column": 105
                                    }
                                  },
                                  "name": "join"
                                },
                                "computed": false
                              },
                              "arguments": [
                                {
                                  "type": "Literal",
                                  "start": 1677,
                                  "end": 1679,
                                  "loc": {
                                    "start": {
                                      "line": 31,
                                      "column": 106
                                    },
                                    "end": {
                                      "line": 31,
                                      "column": 108
                                    }
                                  },
                                  "value": "",
                                  "rawValue": "",
                                  "raw": "''"
                                }
                              ]
                            },
                            "leadingComments": null
                          },
                          "leadingComments": [
                            {
                              "type": "CommentLine",
                              "value": " if match, swipe out original statement",
                              "start": 1529,
                              "end": 1570,
                              "loc": {
                                "start": {
                                  "line": 30,
                                  "column": 4
                                },
                                "end": {
                                  "line": 30,
                                  "column": 45
                                }
                              },
                              "range": [
                                1529,
                                1570
                              ]
                            }
                          ],
                          "trailingComments": [
                            {
                              "type": "CommentLine",
                              "value": " save statement position and type",
                              "start": 1686,
                              "end": 1721,
                              "loc": {
                                "start": {
                                  "line": 32,
                                  "column": 4
                                },
                                "end": {
                                  "line": 32,
                                  "column": 39
                                }
                              },
                              "range": [
                                1686,
                                1721
                              ]
                            }
                          ]
                        },
                        {
                          "type": "ExpressionStatement",
                          "start": 1726,
                          "end": 1793,
                          "loc": {
                            "start": {
                              "line": 33,
                              "column": 4
                            },
                            "end": {
                              "line": 36,
                              "column": 6
                            }
                          },
                          "expression": {
                            "type": "AssignmentExpression",
                            "start": 1726,
                            "end": 1792,
                            "loc": {
                              "start": {
                                "line": 33,
                                "column": 4
                              },
                              "end": {
                                "line": 36,
                                "column": 5
                              }
                            },
                            "operator": "=",
                            "left": {
                              "type": "Identifier",
                              "start": 1726,
                              "end": 1730,
                              "loc": {
                                "start": {
                                  "line": 33,
                                  "column": 4
                                },
                                "end": {
                                  "line": 33,
                                  "column": 8
                                }
                              },
                              "name": "extr",
                              "leadingComments": null
                            },
                            "right": {
                              "type": "ObjectExpression",
                              "start": 1733,
                              "end": 1792,
                              "loc": {
                                "start": {
                                  "line": 33,
                                  "column": 11
                                },
                                "end": {
                                  "line": 36,
                                  "column": 5
                                }
                              },
                              "properties": [
                                {
                                  "type": "Property",
                                  "start": 1741,
                                  "end": 1759,
                                  "loc": {
                                    "start": {
                                      "line": 34,
                                      "column": 6
                                    },
                                    "end": {
                                      "line": 34,
                                      "column": 24
                                    }
                                  },
                                  "method": false,
                                  "shorthand": false,
                                  "computed": false,
                                  "key": {
                                    "type": "Identifier",
                                    "start": 1741,
                                    "end": 1746,
                                    "loc": {
                                      "start": {
                                        "line": 34,
                                        "column": 6
                                      },
                                      "end": {
                                        "line": 34,
                                        "column": 11
                                      }
                                    },
                                    "name": "index"
                                  },
                                  "value": {
                                    "type": "MemberExpression",
                                    "start": 1748,
                                    "end": 1759,
                                    "loc": {
                                      "start": {
                                        "line": 34,
                                        "column": 13
                                      },
                                      "end": {
                                        "line": 34,
                                        "column": 24
                                      }
                                    },
                                    "object": {
                                      "type": "Identifier",
                                      "start": 1748,
                                      "end": 1753,
                                      "loc": {
                                        "start": {
                                          "line": 34,
                                          "column": 13
                                        },
                                        "end": {
                                          "line": 34,
                                          "column": 18
                                        }
                                      },
                                      "name": "match"
                                    },
                                    "property": {
                                      "type": "Identifier",
                                      "start": 1754,
                                      "end": 1759,
                                      "loc": {
                                        "start": {
                                          "line": 34,
                                          "column": 19
                                        },
                                        "end": {
                                          "line": 34,
                                          "column": 24
                                        }
                                      },
                                      "name": "index"
                                    },
                                    "computed": false
                                  },
                                  "kind": "init"
                                },
                                {
                                  "type": "Property",
                                  "start": 1767,
                                  "end": 1786,
                                  "loc": {
                                    "start": {
                                      "line": 35,
                                      "column": 6
                                    },
                                    "end": {
                                      "line": 35,
                                      "column": 25
                                    }
                                  },
                                  "method": false,
                                  "shorthand": false,
                                  "computed": false,
                                  "key": {
                                    "type": "Identifier",
                                    "start": 1767,
                                    "end": 1776,
                                    "loc": {
                                      "start": {
                                        "line": 35,
                                        "column": 6
                                      },
                                      "end": {
                                        "line": 35,
                                        "column": 15
                                      }
                                    },
                                    "name": "statement"
                                  },
                                  "value": {
                                    "type": "MemberExpression",
                                    "start": 1778,
                                    "end": 1786,
                                    "loc": {
                                      "start": {
                                        "line": 35,
                                        "column": 17
                                      },
                                      "end": {
                                        "line": 35,
                                        "column": 25
                                      }
                                    },
                                    "object": {
                                      "type": "Identifier",
                                      "start": 1778,
                                      "end": 1783,
                                      "loc": {
                                        "start": {
                                          "line": 35,
                                          "column": 17
                                        },
                                        "end": {
                                          "line": 35,
                                          "column": 22
                                        }
                                      },
                                      "name": "match"
                                    },
                                    "property": {
                                      "type": "Literal",
                                      "start": 1784,
                                      "end": 1785,
                                      "loc": {
                                        "start": {
                                          "line": 35,
                                          "column": 23
                                        },
                                        "end": {
                                          "line": 35,
                                          "column": 24
                                        }
                                      },
                                      "value": 1,
                                      "rawValue": 1,
                                      "raw": "1"
                                    },
                                    "computed": true
                                  },
                                  "kind": "init"
                                }
                              ]
                            },
                            "leadingComments": null
                          },
                          "leadingComments": [
                            {
                              "type": "CommentLine",
                              "value": " save statement position and type",
                              "start": 1686,
                              "end": 1721,
                              "loc": {
                                "start": {
                                  "line": 32,
                                  "column": 4
                                },
                                "end": {
                                  "line": 32,
                                  "column": 39
                                }
                              },
                              "range": [
                                1686,
                                1721
                              ]
                            }
                          ]
                        },
                        {
                          "type": "IfStatement",
                          "start": 1798,
                          "end": 1967,
                          "loc": {
                            "start": {
                              "line": 37,
                              "column": 4
                            },
                            "end": {
                              "line": 41,
                              "column": 5
                            }
                          },
                          "test": {
                            "type": "CallExpression",
                            "start": 1802,
                            "end": 1833,
                            "loc": {
                              "start": {
                                "line": 37,
                                "column": 8
                              },
                              "end": {
                                "line": 37,
                                "column": 39
                              }
                            },
                            "callee": {
                              "type": "MemberExpression",
                              "start": 1802,
                              "end": 1816,
                              "loc": {
                                "start": {
                                  "line": 37,
                                  "column": 8
                                },
                                "end": {
                                  "line": 37,
                                  "column": 22
                                }
                              },
                              "object": {
                                "type": "MemberExpression",
                                "start": 1802,
                                "end": 1810,
                                "loc": {
                                  "start": {
                                    "line": 37,
                                    "column": 8
                                  },
                                  "end": {
                                    "line": 37,
                                    "column": 16
                                  }
                                },
                                "object": {
                                  "type": "Identifier",
                                  "start": 1802,
                                  "end": 1807,
                                  "loc": {
                                    "start": {
                                      "line": 37,
                                      "column": 8
                                    },
                                    "end": {
                                      "line": 37,
                                      "column": 13
                                    }
                                  },
                                  "name": "match"
                                },
                                "property": {
                                  "type": "Literal",
                                  "start": 1808,
                                  "end": 1809,
                                  "loc": {
                                    "start": {
                                      "line": 37,
                                      "column": 14
                                    },
                                    "end": {
                                      "line": 37,
                                      "column": 15
                                    }
                                  },
                                  "value": 0,
                                  "rawValue": 0,
                                  "raw": "0"
                                },
                                "computed": true
                              },
                              "property": {
                                "type": "Identifier",
                                "start": 1811,
                                "end": 1816,
                                "loc": {
                                  "start": {
                                    "line": 37,
                                    "column": 17
                                  },
                                  "end": {
                                    "line": 37,
                                    "column": 22
                                  }
                                },
                                "name": "match"
                              },
                              "computed": false
                            },
                            "arguments": [
                              {
                                "type": "Identifier",
                                "start": 1817,
                                "end": 1832,
                                "loc": {
                                  "start": {
                                    "line": 37,
                                    "column": 23
                                  },
                                  "end": {
                                    "line": 37,
                                    "column": 38
                                  }
                                },
                                "name": "resourcesRegexp"
                              }
                            ]
                          },
                          "consequent": {
                            "type": "BlockStatement",
                            "start": 1835,
                            "end": 1881,
                            "loc": {
                              "start": {
                                "line": 37,
                                "column": 41
                              },
                              "end": {
                                "line": 39,
                                "column": 5
                              }
                            },
                            "body": [
                              {
                                "type": "ExpressionStatement",
                                "start": 1843,
                                "end": 1875,
                                "loc": {
                                  "start": {
                                    "line": 38,
                                    "column": 6
                                  },
                                  "end": {
                                    "line": 38,
                                    "column": 38
                                  }
                                },
                                "expression": {
                                  "type": "AssignmentExpression",
                                  "start": 1843,
                                  "end": 1874,
                                  "loc": {
                                    "start": {
                                      "line": 38,
                                      "column": 6
                                    },
                                    "end": {
                                      "line": 38,
                                      "column": 37
                                    }
                                  },
                                  "operator": "=",
                                  "left": {
                                    "type": "MemberExpression",
                                    "start": 1843,
                                    "end": 1852,
                                    "loc": {
                                      "start": {
                                        "line": 38,
                                        "column": 6
                                      },
                                      "end": {
                                        "line": 38,
                                        "column": 15
                                      }
                                    },
                                    "object": {
                                      "type": "Identifier",
                                      "start": 1843,
                                      "end": 1847,
                                      "loc": {
                                        "start": {
                                          "line": 38,
                                          "column": 6
                                        },
                                        "end": {
                                          "line": 38,
                                          "column": 10
                                        }
                                      },
                                      "name": "extr"
                                    },
                                    "property": {
                                      "type": "Identifier",
                                      "start": 1848,
                                      "end": 1852,
                                      "loc": {
                                        "start": {
                                          "line": 38,
                                          "column": 11
                                        },
                                        "end": {
                                          "line": 38,
                                          "column": 15
                                        }
                                      },
                                      "name": "type"
                                    },
                                    "computed": false
                                  },
                                  "right": {
                                    "type": "Literal",
                                    "start": 1855,
                                    "end": 1874,
                                    "loc": {
                                      "start": {
                                        "line": 38,
                                        "column": 18
                                      },
                                      "end": {
                                        "line": 38,
                                        "column": 37
                                      }
                                    },
                                    "value": "resourceStatement",
                                    "rawValue": "resourceStatement",
                                    "raw": "'resourceStatement'"
                                  }
                                }
                              }
                            ]
                          },
                          "alternate": {
                            "type": "IfStatement",
                            "start": 1886,
                            "end": 1967,
                            "loc": {
                              "start": {
                                "line": 39,
                                "column": 10
                              },
                              "end": {
                                "line": 41,
                                "column": 5
                              }
                            },
                            "test": {
                              "type": "CallExpression",
                              "start": 1890,
                              "end": 1920,
                              "loc": {
                                "start": {
                                  "line": 39,
                                  "column": 14
                                },
                                "end": {
                                  "line": 39,
                                  "column": 44
                                }
                              },
                              "callee": {
                                "type": "MemberExpression",
                                "start": 1890,
                                "end": 1904,
                                "loc": {
                                  "start": {
                                    "line": 39,
                                    "column": 14
                                  },
                                  "end": {
                                    "line": 39,
                                    "column": 28
                                  }
                                },
                                "object": {
                                  "type": "MemberExpression",
                                  "start": 1890,
                                  "end": 1898,
                                  "loc": {
                                    "start": {
                                      "line": 39,
                                      "column": 14
                                    },
                                    "end": {
                                      "line": 39,
                                      "column": 22
                                    }
                                  },
                                  "object": {
                                    "type": "Identifier",
                                    "start": 1890,
                                    "end": 1895,
                                    "loc": {
                                      "start": {
                                        "line": 39,
                                        "column": 14
                                      },
                                      "end": {
                                        "line": 39,
                                        "column": 19
                                      }
                                    },
                                    "name": "match"
                                  },
                                  "property": {
                                    "type": "Literal",
                                    "start": 1896,
                                    "end": 1897,
                                    "loc": {
                                      "start": {
                                        "line": 39,
                                        "column": 20
                                      },
                                      "end": {
                                        "line": 39,
                                        "column": 21
                                      }
                                    },
                                    "value": 0,
                                    "rawValue": 0,
                                    "raw": "0"
                                  },
                                  "computed": true
                                },
                                "property": {
                                  "type": "Identifier",
                                  "start": 1899,
                                  "end": 1904,
                                  "loc": {
                                    "start": {
                                      "line": 39,
                                      "column": 23
                                    },
                                    "end": {
                                      "line": 39,
                                      "column": 28
                                    }
                                  },
                                  "name": "match"
                                },
                                "computed": false
                              },
                              "arguments": [
                                {
                                  "type": "Identifier",
                                  "start": 1905,
                                  "end": 1919,
                                  "loc": {
                                    "start": {
                                      "line": 39,
                                      "column": 29
                                    },
                                    "end": {
                                      "line": 39,
                                      "column": 43
                                    }
                                  },
                                  "name": "includesRegexp"
                                }
                              ]
                            },
                            "consequent": {
                              "type": "BlockStatement",
                              "start": 1922,
                              "end": 1967,
                              "loc": {
                                "start": {
                                  "line": 39,
                                  "column": 46
                                },
                                "end": {
                                  "line": 41,
                                  "column": 5
                                }
                              },
                              "body": [
                                {
                                  "type": "ExpressionStatement",
                                  "start": 1930,
                                  "end": 1961,
                                  "loc": {
                                    "start": {
                                      "line": 40,
                                      "column": 6
                                    },
                                    "end": {
                                      "line": 40,
                                      "column": 37
                                    }
                                  },
                                  "expression": {
                                    "type": "AssignmentExpression",
                                    "start": 1930,
                                    "end": 1960,
                                    "loc": {
                                      "start": {
                                        "line": 40,
                                        "column": 6
                                      },
                                      "end": {
                                        "line": 40,
                                        "column": 36
                                      }
                                    },
                                    "operator": "=",
                                    "left": {
                                      "type": "MemberExpression",
                                      "start": 1930,
                                      "end": 1939,
                                      "loc": {
                                        "start": {
                                          "line": 40,
                                          "column": 6
                                        },
                                        "end": {
                                          "line": 40,
                                          "column": 15
                                        }
                                      },
                                      "object": {
                                        "type": "Identifier",
                                        "start": 1930,
                                        "end": 1934,
                                        "loc": {
                                          "start": {
                                            "line": 40,
                                            "column": 6
                                          },
                                          "end": {
                                            "line": 40,
                                            "column": 10
                                          }
                                        },
                                        "name": "extr"
                                      },
                                      "property": {
                                        "type": "Identifier",
                                        "start": 1935,
                                        "end": 1939,
                                        "loc": {
                                          "start": {
                                            "line": 40,
                                            "column": 11
                                          },
                                          "end": {
                                            "line": 40,
                                            "column": 15
                                          }
                                        },
                                        "name": "type"
                                      },
                                      "computed": false
                                    },
                                    "right": {
                                      "type": "Literal",
                                      "start": 1942,
                                      "end": 1960,
                                      "loc": {
                                        "start": {
                                          "line": 40,
                                          "column": 18
                                        },
                                        "end": {
                                          "line": 40,
                                          "column": 36
                                        }
                                      },
                                      "value": "includeStatement",
                                      "rawValue": "includeStatement",
                                      "raw": "'includeStatement'"
                                    }
                                  }
                                }
                              ],
                              "trailingComments": null
                            },
                            "alternate": null,
                            "trailingComments": null
                          },
                          "trailingComments": [
                            {
                              "type": "CommentLine",
                              "value": " update other statements' position that would be further in string",
                              "start": 1972,
                              "end": 2040,
                              "loc": {
                                "start": {
                                  "line": 42,
                                  "column": 4
                                },
                                "end": {
                                  "line": 42,
                                  "column": 72
                                }
                              },
                              "range": [
                                1972,
                                2040
                              ]
                            }
                          ]
                        },
                        {
                          "type": "ExpressionStatement",
                          "start": 2045,
                          "end": 2189,
                          "loc": {
                            "start": {
                              "line": 43,
                              "column": 4
                            },
                            "end": {
                              "line": 48,
                              "column": 7
                            }
                          },
                          "expression": {
                            "type": "AssignmentExpression",
                            "start": 2045,
                            "end": 2188,
                            "loc": {
                              "start": {
                                "line": 43,
                                "column": 4
                              },
                              "end": {
                                "line": 48,
                                "column": 6
                              }
                            },
                            "operator": "=",
                            "left": {
                              "type": "Identifier",
                              "start": 2045,
                              "end": 2054,
                              "loc": {
                                "start": {
                                  "line": 43,
                                  "column": 4
                                },
                                "end": {
                                  "line": 43,
                                  "column": 13
                                }
                              },
                              "name": "extracted",
                              "leadingComments": null
                            },
                            "right": {
                              "type": "CallExpression",
                              "start": 2057,
                              "end": 2188,
                              "loc": {
                                "start": {
                                  "line": 43,
                                  "column": 16
                                },
                                "end": {
                                  "line": 48,
                                  "column": 6
                                }
                              },
                              "callee": {
                                "type": "MemberExpression",
                                "start": 2057,
                                "end": 2070,
                                "loc": {
                                  "start": {
                                    "line": 43,
                                    "column": 16
                                  },
                                  "end": {
                                    "line": 43,
                                    "column": 29
                                  }
                                },
                                "object": {
                                  "type": "Identifier",
                                  "start": 2057,
                                  "end": 2066,
                                  "loc": {
                                    "start": {
                                      "line": 43,
                                      "column": 16
                                    },
                                    "end": {
                                      "line": 43,
                                      "column": 25
                                    }
                                  },
                                  "name": "extracted"
                                },
                                "property": {
                                  "type": "Identifier",
                                  "start": 2067,
                                  "end": 2070,
                                  "loc": {
                                    "start": {
                                      "line": 43,
                                      "column": 26
                                    },
                                    "end": {
                                      "line": 43,
                                      "column": 29
                                    }
                                  },
                                  "name": "map"
                                },
                                "computed": false
                              },
                              "arguments": [
                                {
                                  "type": "ArrowFunctionExpression",
                                  "start": 2071,
                                  "end": 2187,
                                  "loc": {
                                    "start": {
                                      "line": 43,
                                      "column": 30
                                    },
                                    "end": {
                                      "line": 48,
                                      "column": 5
                                    }
                                  },
                                  "id": null,
                                  "generator": false,
                                  "expression": false,
                                  "async": false,
                                  "params": [
                                    {
                                      "type": "Identifier",
                                      "start": 2072,
                                      "end": 2074,
                                      "loc": {
                                        "start": {
                                          "line": 43,
                                          "column": 31
                                        },
                                        "end": {
                                          "line": 43,
                                          "column": 33
                                        }
                                      },
                                      "name": "ex"
                                    }
                                  ],
                                  "body": {
                                    "type": "BlockStatement",
                                    "start": 2079,
                                    "end": 2187,
                                    "loc": {
                                      "start": {
                                        "line": 43,
                                        "column": 38
                                      },
                                      "end": {
                                        "line": 48,
                                        "column": 5
                                      }
                                    },
                                    "body": [
                                      {
                                        "type": "IfStatement",
                                        "start": 2087,
                                        "end": 2164,
                                        "loc": {
                                          "start": {
                                            "line": 44,
                                            "column": 6
                                          },
                                          "end": {
                                            "line": 46,
                                            "column": 7
                                          }
                                        },
                                        "test": {
                                          "type": "BinaryExpression",
                                          "start": 2091,
                                          "end": 2112,
                                          "loc": {
                                            "start": {
                                              "line": 44,
                                              "column": 10
                                            },
                                            "end": {
                                              "line": 44,
                                              "column": 31
                                            }
                                          },
                                          "left": {
                                            "type": "MemberExpression",
                                            "start": 2091,
                                            "end": 2099,
                                            "loc": {
                                              "start": {
                                                "line": 44,
                                                "column": 10
                                              },
                                              "end": {
                                                "line": 44,
                                                "column": 18
                                              }
                                            },
                                            "object": {
                                              "type": "Identifier",
                                              "start": 2091,
                                              "end": 2093,
                                              "loc": {
                                                "start": {
                                                  "line": 44,
                                                  "column": 10
                                                },
                                                "end": {
                                                  "line": 44,
                                                  "column": 12
                                                }
                                              },
                                              "name": "ex"
                                            },
                                            "property": {
                                              "type": "Identifier",
                                              "start": 2094,
                                              "end": 2099,
                                              "loc": {
                                                "start": {
                                                  "line": 44,
                                                  "column": 13
                                                },
                                                "end": {
                                                  "line": 44,
                                                  "column": 18
                                                }
                                              },
                                              "name": "index"
                                            },
                                            "computed": false
                                          },
                                          "operator": ">",
                                          "right": {
                                            "type": "MemberExpression",
                                            "start": 2102,
                                            "end": 2112,
                                            "loc": {
                                              "start": {
                                                "line": 44,
                                                "column": 21
                                              },
                                              "end": {
                                                "line": 44,
                                                "column": 31
                                              }
                                            },
                                            "object": {
                                              "type": "Identifier",
                                              "start": 2102,
                                              "end": 2106,
                                              "loc": {
                                                "start": {
                                                  "line": 44,
                                                  "column": 21
                                                },
                                                "end": {
                                                  "line": 44,
                                                  "column": 25
                                                }
                                              },
                                              "name": "extr"
                                            },
                                            "property": {
                                              "type": "Identifier",
                                              "start": 2107,
                                              "end": 2112,
                                              "loc": {
                                                "start": {
                                                  "line": 44,
                                                  "column": 26
                                                },
                                                "end": {
                                                  "line": 44,
                                                  "column": 31
                                                }
                                              },
                                              "name": "index"
                                            },
                                            "computed": false
                                          }
                                        },
                                        "consequent": {
                                          "type": "BlockStatement",
                                          "start": 2114,
                                          "end": 2164,
                                          "loc": {
                                            "start": {
                                              "line": 44,
                                              "column": 33
                                            },
                                            "end": {
                                              "line": 46,
                                              "column": 7
                                            }
                                          },
                                          "body": [
                                            {
                                              "type": "ExpressionStatement",
                                              "start": 2124,
                                              "end": 2156,
                                              "loc": {
                                                "start": {
                                                  "line": 45,
                                                  "column": 8
                                                },
                                                "end": {
                                                  "line": 45,
                                                  "column": 40
                                                }
                                              },
                                              "expression": {
                                                "type": "AssignmentExpression",
                                                "start": 2124,
                                                "end": 2155,
                                                "loc": {
                                                  "start": {
                                                    "line": 45,
                                                    "column": 8
                                                  },
                                                  "end": {
                                                    "line": 45,
                                                    "column": 39
                                                  }
                                                },
                                                "operator": "-=",
                                                "left": {
                                                  "type": "MemberExpression",
                                                  "start": 2124,
                                                  "end": 2132,
                                                  "loc": {
                                                    "start": {
                                                      "line": 45,
                                                      "column": 8
                                                    },
                                                    "end": {
                                                      "line": 45,
                                                      "column": 16
                                                    }
                                                  },
                                                  "object": {
                                                    "type": "Identifier",
                                                    "start": 2124,
                                                    "end": 2126,
                                                    "loc": {
                                                      "start": {
                                                        "line": 45,
                                                        "column": 8
                                                      },
                                                      "end": {
                                                        "line": 45,
                                                        "column": 10
                                                      }
                                                    },
                                                    "name": "ex"
                                                  },
                                                  "property": {
                                                    "type": "Identifier",
                                                    "start": 2127,
                                                    "end": 2132,
                                                    "loc": {
                                                      "start": {
                                                        "line": 45,
                                                        "column": 11
                                                      },
                                                      "end": {
                                                        "line": 45,
                                                        "column": 16
                                                      }
                                                    },
                                                    "name": "index"
                                                  },
                                                  "computed": false
                                                },
                                                "right": {
                                                  "type": "BinaryExpression",
                                                  "start": 2136,
                                                  "end": 2155,
                                                  "loc": {
                                                    "start": {
                                                      "line": 45,
                                                      "column": 20
                                                    },
                                                    "end": {
                                                      "line": 45,
                                                      "column": 39
                                                    }
                                                  },
                                                  "left": {
                                                    "type": "MemberExpression",
                                                    "start": 2136,
                                                    "end": 2151,
                                                    "loc": {
                                                      "start": {
                                                        "line": 45,
                                                        "column": 20
                                                      },
                                                      "end": {
                                                        "line": 45,
                                                        "column": 35
                                                      }
                                                    },
                                                    "object": {
                                                      "type": "MemberExpression",
                                                      "start": 2136,
                                                      "end": 2144,
                                                      "loc": {
                                                        "start": {
                                                          "line": 45,
                                                          "column": 20
                                                        },
                                                        "end": {
                                                          "line": 45,
                                                          "column": 28
                                                        }
                                                      },
                                                      "object": {
                                                        "type": "Identifier",
                                                        "start": 2136,
                                                        "end": 2141,
                                                        "loc": {
                                                          "start": {
                                                            "line": 45,
                                                            "column": 20
                                                          },
                                                          "end": {
                                                            "line": 45,
                                                            "column": 25
                                                          }
                                                        },
                                                        "name": "match"
                                                      },
                                                      "property": {
                                                        "type": "Literal",
                                                        "start": 2142,
                                                        "end": 2143,
                                                        "loc": {
                                                          "start": {
                                                            "line": 45,
                                                            "column": 26
                                                          },
                                                          "end": {
                                                            "line": 45,
                                                            "column": 27
                                                          }
                                                        },
                                                        "value": 0,
                                                        "rawValue": 0,
                                                        "raw": "0"
                                                      },
                                                      "computed": true
                                                    },
                                                    "property": {
                                                      "type": "Identifier",
                                                      "start": 2145,
                                                      "end": 2151,
                                                      "loc": {
                                                        "start": {
                                                          "line": 45,
                                                          "column": 29
                                                        },
                                                        "end": {
                                                          "line": 45,
                                                          "column": 35
                                                        }
                                                      },
                                                      "name": "length"
                                                    },
                                                    "computed": false
                                                  },
                                                  "operator": "+",
                                                  "right": {
                                                    "type": "Literal",
                                                    "start": 2154,
                                                    "end": 2155,
                                                    "loc": {
                                                      "start": {
                                                        "line": 45,
                                                        "column": 38
                                                      },
                                                      "end": {
                                                        "line": 45,
                                                        "column": 39
                                                      }
                                                    },
                                                    "value": 1,
                                                    "rawValue": 1,
                                                    "raw": "1"
                                                  }
                                                }
                                              }
                                            }
                                          ]
                                        },
                                        "alternate": null
                                      },
                                      {
                                        "type": "ReturnStatement",
                                        "start": 2171,
                                        "end": 2181,
                                        "loc": {
                                          "start": {
                                            "line": 47,
                                            "column": 6
                                          },
                                          "end": {
                                            "line": 47,
                                            "column": 16
                                          }
                                        },
                                        "argument": {
                                          "type": "Identifier",
                                          "start": 2178,
                                          "end": 2180,
                                          "loc": {
                                            "start": {
                                              "line": 47,
                                              "column": 13
                                            },
                                            "end": {
                                              "line": 47,
                                              "column": 15
                                            }
                                          },
                                          "name": "ex"
                                        }
                                      }
                                    ]
                                  }
                                }
                              ]
                            },
                            "leadingComments": null
                          },
                          "leadingComments": [
                            {
                              "type": "CommentLine",
                              "value": " update other statements' position that would be further in string",
                              "start": 1972,
                              "end": 2040,
                              "loc": {
                                "start": {
                                  "line": 42,
                                  "column": 4
                                },
                                "end": {
                                  "line": 42,
                                  "column": 72
                                }
                              },
                              "range": [
                                1972,
                                2040
                              ]
                            }
                          ]
                        },
                        {
                          "type": "ExpressionStatement",
                          "start": 2194,
                          "end": 2215,
                          "loc": {
                            "start": {
                              "line": 49,
                              "column": 4
                            },
                            "end": {
                              "line": 49,
                              "column": 25
                            }
                          },
                          "expression": {
                            "type": "CallExpression",
                            "start": 2194,
                            "end": 2214,
                            "loc": {
                              "start": {
                                "line": 49,
                                "column": 4
                              },
                              "end": {
                                "line": 49,
                                "column": 24
                              }
                            },
                            "callee": {
                              "type": "MemberExpression",
                              "start": 2194,
                              "end": 2208,
                              "loc": {
                                "start": {
                                  "line": 49,
                                  "column": 4
                                },
                                "end": {
                                  "line": 49,
                                  "column": 18
                                }
                              },
                              "object": {
                                "type": "Identifier",
                                "start": 2194,
                                "end": 2203,
                                "loc": {
                                  "start": {
                                    "line": 49,
                                    "column": 4
                                  },
                                  "end": {
                                    "line": 49,
                                    "column": 13
                                  }
                                },
                                "name": "extracted"
                              },
                              "property": {
                                "type": "Identifier",
                                "start": 2204,
                                "end": 2208,
                                "loc": {
                                  "start": {
                                    "line": 49,
                                    "column": 14
                                  },
                                  "end": {
                                    "line": 49,
                                    "column": 18
                                  }
                                },
                                "name": "push"
                              },
                              "computed": false
                            },
                            "arguments": [
                              {
                                "type": "Identifier",
                                "start": 2209,
                                "end": 2213,
                                "loc": {
                                  "start": {
                                    "line": 49,
                                    "column": 19
                                  },
                                  "end": {
                                    "line": 49,
                                    "column": 23
                                  }
                                },
                                "name": "extr"
                              }
                            ]
                          }
                        }
                      ],
                      "trailingComments": null
                    },
                    "leadingComments": [
                      {
                        "type": "CommentLine",
                        "value": " recursively check for one of the two substitution expressions",
                        "start": 1342,
                        "end": 1406,
                        "loc": {
                          "start": {
                            "line": 28,
                            "column": 2
                          },
                          "end": {
                            "line": 28,
                            "column": 66
                          }
                        },
                        "range": [
                          1342,
                          1406
                        ]
                      }
                    ],
                    "trailingComments": [
                      {
                        "type": "CommentLine",
                        "value": " reverse sort (for further string substitution operations)",
                        "start": 2223,
                        "end": 2283,
                        "loc": {
                          "start": {
                            "line": 52,
                            "column": 2
                          },
                          "end": {
                            "line": 52,
                            "column": 62
                          }
                        },
                        "range": [
                          2223,
                          2283
                        ]
                      }
                    ]
                  },
                  {
                    "type": "ExpressionStatement",
                    "start": 2286,
                    "end": 2403,
                    "loc": {
                      "start": {
                        "line": 53,
                        "column": 2
                      },
                      "end": {
                        "line": 58,
                        "column": 5
                      }
                    },
                    "expression": {
                      "type": "AssignmentExpression",
                      "start": 2286,
                      "end": 2402,
                      "loc": {
                        "start": {
                          "line": 53,
                          "column": 2
                        },
                        "end": {
                          "line": 58,
                          "column": 4
                        }
                      },
                      "operator": "=",
                      "left": {
                        "type": "Identifier",
                        "start": 2286,
                        "end": 2295,
                        "loc": {
                          "start": {
                            "line": 53,
                            "column": 2
                          },
                          "end": {
                            "line": 53,
                            "column": 11
                          }
                        },
                        "name": "extracted",
                        "leadingComments": null
                      },
                      "right": {
                        "type": "CallExpression",
                        "start": 2298,
                        "end": 2402,
                        "loc": {
                          "start": {
                            "line": 53,
                            "column": 14
                          },
                          "end": {
                            "line": 58,
                            "column": 4
                          }
                        },
                        "callee": {
                          "type": "MemberExpression",
                          "start": 2298,
                          "end": 2312,
                          "loc": {
                            "start": {
                              "line": 53,
                              "column": 14
                            },
                            "end": {
                              "line": 53,
                              "column": 28
                            }
                          },
                          "object": {
                            "type": "Identifier",
                            "start": 2298,
                            "end": 2307,
                            "loc": {
                              "start": {
                                "line": 53,
                                "column": 14
                              },
                              "end": {
                                "line": 53,
                                "column": 23
                              }
                            },
                            "name": "extracted"
                          },
                          "property": {
                            "type": "Identifier",
                            "start": 2308,
                            "end": 2312,
                            "loc": {
                              "start": {
                                "line": 53,
                                "column": 24
                              },
                              "end": {
                                "line": 53,
                                "column": 28
                              }
                            },
                            "name": "sort"
                          },
                          "computed": false
                        },
                        "arguments": [
                          {
                            "type": "ArrowFunctionExpression",
                            "start": 2313,
                            "end": 2401,
                            "loc": {
                              "start": {
                                "line": 53,
                                "column": 29
                              },
                              "end": {
                                "line": 58,
                                "column": 3
                              }
                            },
                            "id": null,
                            "generator": false,
                            "expression": false,
                            "async": false,
                            "params": [
                              {
                                "type": "Identifier",
                                "start": 2314,
                                "end": 2317,
                                "loc": {
                                  "start": {
                                    "line": 53,
                                    "column": 30
                                  },
                                  "end": {
                                    "line": 53,
                                    "column": 33
                                  }
                                },
                                "name": "one"
                              },
                              {
                                "type": "Identifier",
                                "start": 2319,
                                "end": 2322,
                                "loc": {
                                  "start": {
                                    "line": 53,
                                    "column": 35
                                  },
                                  "end": {
                                    "line": 53,
                                    "column": 38
                                  }
                                },
                                "name": "two"
                              }
                            ],
                            "body": {
                              "type": "BlockStatement",
                              "start": 2326,
                              "end": 2401,
                              "loc": {
                                "start": {
                                  "line": 53,
                                  "column": 42
                                },
                                "end": {
                                  "line": 58,
                                  "column": 3
                                }
                              },
                              "body": [
                                {
                                  "type": "IfStatement",
                                  "start": 2332,
                                  "end": 2383,
                                  "loc": {
                                    "start": {
                                      "line": 54,
                                      "column": 4
                                    },
                                    "end": {
                                      "line": 56,
                                      "column": 5
                                    }
                                  },
                                  "test": {
                                    "type": "BinaryExpression",
                                    "start": 2336,
                                    "end": 2357,
                                    "loc": {
                                      "start": {
                                        "line": 54,
                                        "column": 8
                                      },
                                      "end": {
                                        "line": 54,
                                        "column": 29
                                      }
                                    },
                                    "left": {
                                      "type": "MemberExpression",
                                      "start": 2336,
                                      "end": 2345,
                                      "loc": {
                                        "start": {
                                          "line": 54,
                                          "column": 8
                                        },
                                        "end": {
                                          "line": 54,
                                          "column": 17
                                        }
                                      },
                                      "object": {
                                        "type": "Identifier",
                                        "start": 2336,
                                        "end": 2339,
                                        "loc": {
                                          "start": {
                                            "line": 54,
                                            "column": 8
                                          },
                                          "end": {
                                            "line": 54,
                                            "column": 11
                                          }
                                        },
                                        "name": "one"
                                      },
                                      "property": {
                                        "type": "Identifier",
                                        "start": 2340,
                                        "end": 2345,
                                        "loc": {
                                          "start": {
                                            "line": 54,
                                            "column": 12
                                          },
                                          "end": {
                                            "line": 54,
                                            "column": 17
                                          }
                                        },
                                        "name": "index"
                                      },
                                      "computed": false
                                    },
                                    "operator": ">",
                                    "right": {
                                      "type": "MemberExpression",
                                      "start": 2348,
                                      "end": 2357,
                                      "loc": {
                                        "start": {
                                          "line": 54,
                                          "column": 20
                                        },
                                        "end": {
                                          "line": 54,
                                          "column": 29
                                        }
                                      },
                                      "object": {
                                        "type": "Identifier",
                                        "start": 2348,
                                        "end": 2351,
                                        "loc": {
                                          "start": {
                                            "line": 54,
                                            "column": 20
                                          },
                                          "end": {
                                            "line": 54,
                                            "column": 23
                                          }
                                        },
                                        "name": "two"
                                      },
                                      "property": {
                                        "type": "Identifier",
                                        "start": 2352,
                                        "end": 2357,
                                        "loc": {
                                          "start": {
                                            "line": 54,
                                            "column": 24
                                          },
                                          "end": {
                                            "line": 54,
                                            "column": 29
                                          }
                                        },
                                        "name": "index"
                                      },
                                      "computed": false
                                    }
                                  },
                                  "consequent": {
                                    "type": "BlockStatement",
                                    "start": 2359,
                                    "end": 2383,
                                    "loc": {
                                      "start": {
                                        "line": 54,
                                        "column": 31
                                      },
                                      "end": {
                                        "line": 56,
                                        "column": 5
                                      }
                                    },
                                    "body": [
                                      {
                                        "type": "ReturnStatement",
                                        "start": 2367,
                                        "end": 2377,
                                        "loc": {
                                          "start": {
                                            "line": 55,
                                            "column": 6
                                          },
                                          "end": {
                                            "line": 55,
                                            "column": 16
                                          }
                                        },
                                        "argument": {
                                          "type": "UnaryExpression",
                                          "start": 2374,
                                          "end": 2376,
                                          "loc": {
                                            "start": {
                                              "line": 55,
                                              "column": 13
                                            },
                                            "end": {
                                              "line": 55,
                                              "column": 15
                                            }
                                          },
                                          "operator": "-",
                                          "prefix": true,
                                          "argument": {
                                            "type": "Literal",
                                            "start": 2375,
                                            "end": 2376,
                                            "loc": {
                                              "start": {
                                                "line": 55,
                                                "column": 14
                                              },
                                              "end": {
                                                "line": 55,
                                                "column": 15
                                              }
                                            },
                                            "value": 1,
                                            "rawValue": 1,
                                            "raw": "1"
                                          }
                                        }
                                      }
                                    ]
                                  },
                                  "alternate": null
                                },
                                {
                                  "type": "ReturnStatement",
                                  "start": 2388,
                                  "end": 2397,
                                  "loc": {
                                    "start": {
                                      "line": 57,
                                      "column": 4
                                    },
                                    "end": {
                                      "line": 57,
                                      "column": 13
                                    }
                                  },
                                  "argument": {
                                    "type": "Literal",
                                    "start": 2395,
                                    "end": 2396,
                                    "loc": {
                                      "start": {
                                        "line": 57,
                                        "column": 11
                                      },
                                      "end": {
                                        "line": 57,
                                        "column": 12
                                      }
                                    },
                                    "value": 1,
                                    "rawValue": 1,
                                    "raw": "1"
                                  }
                                }
                              ]
                            }
                          }
                        ]
                      },
                      "leadingComments": null
                    },
                    "leadingComments": [
                      {
                        "type": "CommentLine",
                        "value": " reverse sort (for further string substitution operations)",
                        "start": 2223,
                        "end": 2283,
                        "loc": {
                          "start": {
                            "line": 52,
                            "column": 2
                          },
                          "end": {
                            "line": 52,
                            "column": 62
                          }
                        },
                        "range": [
                          2223,
                          2283
                        ]
                      }
                    ]
                  },
                  {
                    "type": "ReturnStatement",
                    "start": 2406,
                    "end": 2451,
                    "loc": {
                      "start": {
                        "line": 59,
                        "column": 2
                      },
                      "end": {
                        "line": 59,
                        "column": 47
                      }
                    },
                    "argument": {
                      "type": "CallExpression",
                      "start": 2413,
                      "end": 2450,
                      "loc": {
                        "start": {
                          "line": 59,
                          "column": 9
                        },
                        "end": {
                          "line": 59,
                          "column": 46
                        }
                      },
                      "callee": {
                        "type": "Identifier",
                        "start": 2413,
                        "end": 2421,
                        "loc": {
                          "start": {
                            "line": 59,
                            "column": 9
                          },
                          "end": {
                            "line": 59,
                            "column": 17
                          }
                        },
                        "name": "callback"
                      },
                      "arguments": [
                        {
                          "type": "Literal",
                          "start": 2422,
                          "end": 2426,
                          "loc": {
                            "start": {
                              "line": 59,
                              "column": 18
                            },
                            "end": {
                              "line": 59,
                              "column": 22
                            }
                          },
                          "value": null,
                          "rawValue": null,
                          "raw": "null"
                        },
                        {
                          "type": "ObjectExpression",
                          "start": 2428,
                          "end": 2449,
                          "loc": {
                            "start": {
                              "line": 59,
                              "column": 24
                            },
                            "end": {
                              "line": 59,
                              "column": 45
                            }
                          },
                          "properties": [
                            {
                              "type": "Property",
                              "start": 2429,
                              "end": 2438,
                              "loc": {
                                "start": {
                                  "line": 59,
                                  "column": 25
                                },
                                "end": {
                                  "line": 59,
                                  "column": 34
                                }
                              },
                              "method": false,
                              "shorthand": true,
                              "computed": false,
                              "key": {
                                "type": "Identifier",
                                "start": 2429,
                                "end": 2438,
                                "loc": {
                                  "start": {
                                    "line": 59,
                                    "column": 25
                                  },
                                  "end": {
                                    "line": 59,
                                    "column": 34
                                  }
                                },
                                "name": "extracted"
                              },
                              "kind": "init",
                              "value": {
                                "type": "Identifier",
                                "start": 2429,
                                "end": 2438,
                                "loc": {
                                  "start": {
                                    "line": 59,
                                    "column": 25
                                  },
                                  "end": {
                                    "line": 59,
                                    "column": 34
                                  }
                                },
                                "name": "extracted"
                              }
                            },
                            {
                              "type": "Property",
                              "start": 2440,
                              "end": 2448,
                              "loc": {
                                "start": {
                                  "line": 59,
                                  "column": 36
                                },
                                "end": {
                                  "line": 59,
                                  "column": 44
                                }
                              },
                              "method": false,
                              "shorthand": true,
                              "computed": false,
                              "key": {
                                "type": "Identifier",
                                "start": 2440,
                                "end": 2448,
                                "loc": {
                                  "start": {
                                    "line": 59,
                                    "column": 36
                                  },
                                  "end": {
                                    "line": 59,
                                    "column": 44
                                  }
                                },
                                "name": "cleanStr"
                              },
                              "kind": "init",
                              "value": {
                                "type": "Identifier",
                                "start": 2440,
                                "end": 2448,
                                "loc": {
                                  "start": {
                                    "line": 59,
                                    "column": 36
                                  },
                                  "end": {
                                    "line": 59,
                                    "column": 44
                                  }
                                },
                                "name": "cleanStr"
                              }
                            }
                          ]
                        }
                      ]
                    }
                  }
                ]
              }
            },
            "leadingComments": null
          }
        ],
        "kind": "const",
        "leadingComments": [
          {
            "type": "Block",
            "value": "*\n * Parses markdown string for markdown files includes statements and inline resources descriptions\n * @param {string} str - the string to parse\n * @param {Object} expressions - the wrapping expressions to use in order to parse includes and inline resources\n * @param {function(error: error, results: {extracted: array, cleanStr: string})} - callback - returns error, results as an array of extracted statements and clean string (without statements)\n ",
            "start": 441,
            "end": 897,
            "loc": {
              "start": {
                "line": 14,
                "column": 0
              },
              "end": {
                "line": 19,
                "column": 3
              }
            },
            "range": [
              441,
              897
            ]
          }
        ],
        "trailingComments": []
      },
      "specifiers": [],
      "source": null,
      "leadingComments": [
        {
          "type": "Block",
          "value": "*\n * Parses markdown string for markdown files includes statements and inline resources descriptions\n * @param {string} str - the string to parse\n * @param {Object} expressions - the wrapping expressions to use in order to parse includes and inline resources\n * @param {function(error: error, results: {extracted: array, cleanStr: string})} - callback - returns error, results as an array of extracted statements and clean string (without statements)\n ",
          "start": 441,
          "end": 897,
          "loc": {
            "start": {
              "line": 14,
              "column": 0
            },
            "end": {
              "line": 19,
              "column": 3
            }
          },
          "range": [
            441,
            897
          ]
        }
      ]
    }
  ]
}