code: function isIgnoreLocation(index) {
                  return (
                      ignoreTokens.find(
                          t => t.range[0] <= index && index < t.range[1]
                      ) ||
                      templateTokens.find(
                          t => t.range[0] <= index && index < t.range[1]
                      )
                  )
              }
docs: Check whether the index is in ignore location.
  @param {number} index The index.
  @returns {boolean} `true` if the index is in ignore location.