Home
last modified time | relevance | path

Searched refs:IsKeyword (Results 1 – 9 of 9) sorted by relevance

/external/chromium-trace/trace-viewer/tracing/third_party/closure_linter/closure_linter/
Decmametadatapass.py280 if self._last_code and self._last_code.IsKeyword('for'):
342 self._last_code.IsKeyword('else') or
343 self._last_code.IsKeyword('do') or
344 self._last_code.IsKeyword('try') or
345 self._last_code.IsKeyword('finally') or
363 elif token.IsKeyword('switch'):
396 elif token.IsKeyword('var'):
Djavascriptstatetracker.py103 Type.KEYWORD) and not last_code.IsKeyword('return'):
Djavascripttokens.py99 def IsKeyword(self, keyword): member in JavaScriptToken
/external/v8/src/
Ddateparser.h149 bool IsKeyword() { return tag_ >= kKeywordTagStart; } in IsKeyword() function
158 DCHECK(IsKeyword()); in keyword_type()
162 DCHECK(IsKeyword()); in keyword_value()
Dtoken.h186 static bool IsKeyword(Value tok) { in IsKeyword() function
Ddateparser-inl.h115 } else if (token.IsKeyword()) { in Parse()
Dpreparser.h1688 next != Token::FUTURE_STRICT_RESERVED_WORD && !Token::IsKeyword(next)) { in ParseIdentifierName()
/external/google-breakpad/src/testing/scripts/generator/cpp/
Dkeywords.py52 def IsKeyword(token): function
Dast.py493 if keywords.IsKeyword(t.name):
564 if keywords.IsKeyword(p.name):
739 if (keywords.IsKeyword(token.name) and
1342 keywords.IsKeyword(token.name)):
1393 if keywords.IsKeyword(key) or key == ',':