Searched refs:AstValue (Results 1 – 7 of 7) sorted by relevance
127 bool AstValue::IsPropertyName() const { in IsPropertyName()136 bool AstValue::BooleanValue() const { in BooleanValue()164 void AstValue::Internalize(Isolate* isolate) { in Internalize()277 const AstValue* AstValueFactory::NewString(const AstRawString* string) { in NewString()278 AstValue* value = new (zone_) AstValue(string); in NewString()288 const AstValue* AstValueFactory::NewSymbol(const char* name) { in NewSymbol()289 AstValue* value = new (zone_) AstValue(name); in NewSymbol()298 const AstValue* AstValueFactory::NewNumber(double number, bool with_dot) { in NewNumber()299 AstValue* value = new (zone_) AstValue(number, with_dot); in NewNumber()308 const AstValue* AstValueFactory::NewSmi(int number) { in NewSmi()[all …]
136 class AstValue : public ZoneObject {200 explicit AstValue(const AstRawString* s) : type_(STRING) { string_ = s; } in AstValue() function202 explicit AstValue(const char* name) : type_(SYMBOL) { symbol_name_ = name; } in AstValue() function204 explicit AstValue(double n, bool with_dot) { in AstValue() function213 AstValue(Type t, int i) : type_(t) { in AstValue() function218 explicit AstValue(bool b) : type_(BOOLEAN) { bool_ = b; } in AstValue() function220 explicit AstValue(Type t) : type_(t) { in AstValue() function334 const AstValue* NewString(const AstRawString* string);336 const AstValue* NewSymbol(const char* name);337 const AstValue* NewNumber(double number, bool with_dot = false);[all …]
1142 const AstValue* x = static_cast<Literal*>(literal1)->raw_value(); in Match()1143 const AstValue* y = static_cast<Literal*>(literal2)->raw_value(); in Match()
1310 const AstValue* raw_value() const { return value_; } in raw_value()1323 Literal(Zone* zone, const AstValue* value, int position) in Literal()1330 const AstValue* value_;
1180 const AstValue* right_value = expr->right()->AsLiteral()->raw_value(); in VisitBinaryOperation()
1139 const i::AstValue* val = lit->raw_value(); in CheckParsesToNumber()1146 const i::AstValue* val = rlit->raw_value(); in CheckParsesToNumber()
476 const AstValue* literal = expression->AsLiteral()->raw_value(); in BuildUnaryExpression()