Home
last modified time | relevance | path

Searched refs:IsAnyType (Results 1 – 7 of 7) sorted by relevance

/external/chromium-trace/trace-viewer/tracing/third_party/closure_linter/closure_linter/
Dtokenutil.py163 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),
Dclosurizednamespacesinfo.py391 not prev_token.IsAnyType(TokenType.COMMENT_TYPES)):
403 not next_token.IsAnyType(TokenType.COMMENT_TYPES)):
Drequireprovidesorter.py237 while previous_first_token.IsAnyType(Type.COMMENT_TYPES):
Derror_fixer.py331 if current_token.IsAnyType(Type.WHITESPACE,
Dstatetracker.py1005 if not token.IsAnyType(Type.WHITESPACE, Type.BLANK_LINE):
/external/chromium-trace/trace-viewer/tracing/third_party/closure_linter/closure_linter/common/
Dtokens_test.py88 self.assertTrue(a.IsAnyType(['fakeType1', 'fakeType2']))
89 self.assertFalse(a.IsAnyType(['fakeType3', 'fakeType4']))
Dtokens.py108 def IsAnyType(self, *token_types): member in Token