Lines Matching refs:IsInRange
237 if (V8_LIKELY(base::IsInRange(token, IDENTIFIER, ASYNC))) return true; in IsValidIdentifier()
244 return base::IsInRange(token, SUPER, ESCAPED_STRICT_RESERVED_WORD); in IsCallable()
248 return base::IsInRange(token, SEMICOLON, EOS); in IsAutoSemicolon()
252 return base::IsInRange(token, IDENTIFIER, ESCAPED_STRICT_RESERVED_WORD); in IsAnyIdentifier()
256 return base::IsInRange(token, YIELD, ESCAPED_STRICT_RESERVED_WORD); in IsStrictReservedWord()
260 return base::IsInRange(token, NULL_LITERAL, STRING); in IsLiteral()
264 return base::IsInRange(token, TEMPLATE_SPAN, TEMPLATE_TAIL); in IsTemplate()
268 return base::IsInRange(token, TEMPLATE_SPAN, LBRACK); in IsMember()
272 return base::IsInRange(token, PERIOD, LBRACK); in IsProperty()
276 return base::IsInRange(token, TEMPLATE_SPAN, LPAREN); in IsPropertyOrCall()
280 return base::IsInRange(token, ARROW, ASSIGN_SUB); in IsArrowOrAssignmentOp()
284 return base::IsInRange(token, INIT, ASSIGN_SUB); in IsAssignmentOp()
288 return base::IsInRange(token, ASSIGN_NULLISH, ASSIGN_AND); in IsLogicalAssignmentOp()
291 static bool IsBinaryOp(Value op) { return base::IsInRange(op, COMMA, SUB); } in IsBinaryOp()
293 static bool IsCompareOp(Value op) { return base::IsInRange(op, EQ, IN); } in IsCompareOp()
296 return base::IsInRange(op, LT, GTE); in IsOrderedRelationalCompareOp()
300 return base::IsInRange(op, EQ, EQ_STRICT); in IsEqualityOp()
304 DCHECK(base::IsInRange(op, ASSIGN_NULLISH, ASSIGN_SUB)); in BinaryOpForAssignment()
311 return base::IsInRange(op, BIT_OR, SHR) || op == BIT_NOT; in IsBitOp()
314 static bool IsUnaryOp(Value op) { return base::IsInRange(op, ADD, VOID); } in IsUnaryOp()
315 static bool IsCountOp(Value op) { return base::IsInRange(op, INC, DEC); } in IsCountOp()
317 return base::IsInRange(op, ADD, DEC); in IsUnaryOrCountOp()
319 static bool IsShiftOp(Value op) { return base::IsInRange(op, SHL, SHR); } in IsShiftOp()