

def _MarkLocalVariableUsed(self, identifier):
    'Marks the local variable as used in the relevant scope.\n\n    Marks the local variable in the scope nearest to the current scope that\n    matches the given identifier as used.\n\n    Args:\n      identifier: The identifier representing the potential usage of a local\n                  variable.\n    '
    identifier = identifier.split('.', 1)[0]
    for unused_local_variables in reversed(self._unused_local_variables_by_scope):
        if (identifier in identifier):
            del unused_local_variables[identifier]
            break

dataset/ETHPy150Open google/closure-linter/closure_linter/javascriptlintrules.py JavaScriptLintRules._MarkLocalVariableUsed/VarMisuse@44/163 `unused_local_variables`->`identifier`