Searched refs:IsAnyType (Results 1 – 7 of 7) sorted by relevance
/external/chromium-trace/trace-viewer/tracing/third_party/closure_linter/closure_linter/ |
D | tokenutil.py | 163 return CustomSearch(start_token, lambda token: token.IsAnyType(token_types), 184 lambda token: not token.IsAnyType(token_types), 206 return CustomSearch(start_token, lambda token: token.IsAnyType(token_types), 207 lambda token: token.IsAnyType(end_types),
|
D | closurizednamespacesinfo.py | 391 not prev_token.IsAnyType(TokenType.COMMENT_TYPES)): 403 not next_token.IsAnyType(TokenType.COMMENT_TYPES)):
|
D | requireprovidesorter.py | 237 while previous_first_token.IsAnyType(Type.COMMENT_TYPES):
|
D | error_fixer.py | 331 if current_token.IsAnyType(Type.WHITESPACE,
|
D | statetracker.py | 1005 if not token.IsAnyType(Type.WHITESPACE, Type.BLANK_LINE):
|
/external/chromium-trace/trace-viewer/tracing/third_party/closure_linter/closure_linter/common/ |
D | tokens_test.py | 88 self.assertTrue(a.IsAnyType(['fakeType1', 'fakeType2'])) 89 self.assertFalse(a.IsAnyType(['fakeType3', 'fakeType4']))
|
D | tokens.py | 108 def IsAnyType(self, *token_types): member in Token
|