Searched refs:IsKeyword (Results 1 – 9 of 9) sorted by relevance
280 if self._last_code and self._last_code.IsKeyword('for'):342 self._last_code.IsKeyword('else') or343 self._last_code.IsKeyword('do') or344 self._last_code.IsKeyword('try') or345 self._last_code.IsKeyword('finally') or363 elif token.IsKeyword('switch'):396 elif token.IsKeyword('var'):
103 Type.KEYWORD) and not last_code.IsKeyword('return'):
99 def IsKeyword(self, keyword): member in JavaScriptToken
149 bool IsKeyword() { return tag_ >= kKeywordTagStart; } in IsKeyword() function158 DCHECK(IsKeyword()); in keyword_type()162 DCHECK(IsKeyword()); in keyword_value()
186 static bool IsKeyword(Value tok) { in IsKeyword() function
115 } else if (token.IsKeyword()) { in Parse()
1688 next != Token::FUTURE_STRICT_RESERVED_WORD && !Token::IsKeyword(next)) { in ParseIdentifierName()
52 def IsKeyword(token): function
493 if keywords.IsKeyword(t.name):564 if keywords.IsKeyword(p.name):739 if (keywords.IsKeyword(token.name) and1342 keywords.IsKeyword(token.name)):1393 if keywords.IsKeyword(key) or key == ',':