Home
last modified time | relevance | path

Searched refs:namespaces_info (Results 1 – 2 of 2) sorted by relevance

/external/chromium-trace/catapult/third_party/closure_linter/closure_linter/
Dclosurizednamespacesinfo_test.py68 namespaces_info = closurizednamespacesinfo.ClosurizedNamespacesInfo(
71 actual_namespace = namespaces_info.GetClosurizedNamespace(identifier)
82 namespaces_info = closurizednamespacesinfo.ClosurizedNamespacesInfo(
86 self.assertFalse(namespaces_info.IsExtraRequire(token),
89 namespaces_info = closurizednamespacesinfo.ClosurizedNamespacesInfo(
92 self.assertTrue(namespaces_info.IsExtraRequire(token),
102 token, namespaces_info = self._GetStartTokenAndNamespacesInfoForScript(
105 self.assertFalse(namespaces_info.IsExtraProvide(token),
115 token, namespaces_info = self._GetStartTokenAndNamespacesInfoForScript(
118 self.assertFalse(namespaces_info.IsExtraProvide(token),
[all …]
Djavascriptlintrules.py48 def __init__(self, namespaces_info): argument
51 self._namespaces_info = namespaces_info
78 namespaces_info = self._namespaces_info
94 if namespaces_info:
95 namespace = namespaces_info.GetClosurizedNamespace(identifier)
96 provided_namespaces = namespaces_info.GetProvidedNamespaces()
383 namespaces_info is not None):
387 if not namespace or namespaces_info.IsExtraProvide(token):
403 if namespaces_info.IsLastProvide(token):
405 missing_provides = namespaces_info.GetMissingProvides()
[all …]