def _MarkLocalVariableUsed(self, identifier):
    identifier = identifier.split('.', 1)[0]
    # Find the first instance of the identifier in the stack of function scopes
    # and mark it used.
    for unused_local_variables in reversed(
        self._unused_local_variables_by_scope):
      if identifier in unused_local_variables:
        del unused_local_variables[identifier]
        break
Marks the local variable as used in the relevant scope.
dataset/ETHPy150Open google/closure-linter/closure_linter/javascriptlintrules.py/JavaScriptLintRules._MarkLocalVariableUsed