

def _ReportIllegalAliasStatement(self, illegal_alias_statements):
    'Reports alias statements that would need a goog.require.'
    for (namespace, token) in illegal_alias_statements.iteritems():
        self._HandleError(errors.ALIAS_STMT_NEEDS_GOOG_REQUIRE, ("The alias definition would need the namespace '%s' which is not required through any other symbol." % namespace), token, position=Position.AtBeginning())

dataset/ETHPy150Open google/closure-linter/closure_linter/javascriptlintrules.py JavaScriptLintRules._ReportIllegalAliasStatement/original