Searched refs:IsLiteral (Results 1 – 13 of 13) sorted by relevance
97 bool IsLiteral : 1; // Indicate whether this is a literal value or not. variable108 explicit BitCodeAbbrevOp(uint64_t V) : Val(V), IsLiteral(true) {} in BitCodeAbbrevOp()110 : Val(Data), IsLiteral(false), Enc(E) {} in Val()112 bool isLiteral() const { return IsLiteral; } in isLiteral()113 bool isEncoding() const { return !IsLiteral; } in isEncoding()
87 return IsLiteral() && AsLiteral()->type() == Literal::kSmi; in IsSmiLiteral()91 return IsLiteral() && AsLiteral()->IsNumber(); in IsNumberLiteral()95 return IsLiteral() && AsLiteral()->type() == Literal::kString; in IsStringLiteral()99 return IsLiteral() && AsLiteral()->IsPropertyName(); in IsPropertyName()103 return IsLiteral() && AsLiteral()->type() == Literal::kNull; in IsNullLiteral()107 return IsLiteral() && AsLiteral()->type() == Literal::kTheHole; in IsTheHoleLiteral()111 if (IsLiteral()) return true; in IsCompileTimeValue()118 if (IsLiteral() && AsLiteral()->type() == Literal::kUndefined) return true; in IsUndefinedLiteral()130 return IsLiteral() && !IsNullOrUndefinedLiteral(); in IsLiteralButNotNullOrUndefined()134 return IsLiteral() && AsLiteral()->ToBooleanIsTrue(); in ToBooleanIsTrue()[all …]
72 if (!prop->key()->IsLiteral()) { in VisitClassLiteral()77 if (!prop->key()->IsLiteral()) { in VisitClassLiteral()
487 if (!prop->key()->IsLiteral()) { in VisitClassLiteral()501 if (!prop->key()->IsLiteral()) { in VisitInitializeClassMembersStatement()518 if (!prop->key()->IsLiteral()) { in VisitInitializeClassStaticElementsStatement()
260 bool IsLiteral = Read(1) ? true : false; in ReadAbbrevRecord() local262 Listener->Values.push_back(IsLiteral); in ReadAbbrevRecord()263 if (IsLiteral) { in ReadAbbrevRecord()322 bool IsLiteral = Read(1) ? true : false; in SkipAbbrevRecord() local323 if (IsLiteral) { in SkipAbbrevRecord()
355 bool IsLiteral = MaybeIsLiteral.get(); in ReadAbbrevRecord() local356 if (IsLiteral) { in ReadAbbrevRecord()
382 bool IsLiteral() const { in IsLiteral() function
2858 if (t.IsLiteral()) { in expect_const_expr()
259 static bool IsLiteral(Value token) { in IsLiteral() function
1941 if (Token::IsLiteral(token)) { in ParsePrimaryExpression()
479 bool scanBlockScalar(bool IsLiteral);1585 bool Scanner::scanBlockScalar(bool IsLiteral) { in scanBlockScalar() argument
1810 (expr->IsLiteral() && expr->AsLiteral()->IsNumber() && in IsSmiLiteralSwitchCaseValue()1814 } else if (expr->IsLiteral() && expr->AsLiteral()->IsNumber()) { in IsSmiLiteralSwitchCaseValue()1827 DCHECK(expr->IsLiteral() && expr->AsLiteral()->IsNumber() && in ReduceToSmiSwitchCaseValue()1886 } else if (!(clause->label()->IsLiteral())) { in IsSwitchOptimizable()
66454 bool IsLiteral() const in IsLiteral() function in mozilla::detail::nsStringRepr67522 bool IsLiteral() const in IsLiteral() function in mozilla::detail::nsCStringRepr127319 static __attribute__((always_inline)) inline bool IsLiteral(JSString* str) in IsLiteral() function in XPCStringConvert