Home
last modified time | relevance | path

Searched refs:AstValue (Results 1 – 7 of 7) sorted by relevance

/external/v8/src/ast/
Dast-value-factory.cc127 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 …]
Dast-value-factory.h136 class AstValue : public ZoneObject {
200 explicit AstValue(const AstRawString* s) : type_(STRING) { string_ = s; } in AstValue() function
202 explicit AstValue(const char* name) : type_(SYMBOL) { symbol_name_ = name; } in AstValue() function
204 explicit AstValue(double n, bool with_dot) { in AstValue() function
213 AstValue(Type t, int i) : type_(t) { in AstValue() function
218 explicit AstValue(bool b) : type_(BOOLEAN) { bool_ = b; } in AstValue() function
220 explicit AstValue(Type t) : type_(t) { in AstValue() function
334 const AstValue* NewString(const AstRawString* string);
336 const AstValue* NewSymbol(const char* name);
337 const AstValue* NewNumber(double number, bool with_dot = false);
[all …]
Dast.cc1142 const AstValue* x = static_cast<Literal*>(literal1)->raw_value(); in Match()
1143 const AstValue* y = static_cast<Literal*>(literal2)->raw_value(); in Match()
Dast.h1310 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_;
/external/v8/src/
Dtyping-asm.cc1180 const AstValue* right_value = expr->right()->AsLiteral()->raw_value(); in VisitBinaryOperation()
/external/v8/test/cctest/
Dtest-parsing.cc1139 const i::AstValue* val = lit->raw_value(); in CheckParsesToNumber()
1146 const i::AstValue* val = rlit->raw_value(); in CheckParsesToNumber()
/external/v8/src/parsing/
Dparser.cc476 const AstValue* literal = expression->AsLiteral()->raw_value(); in BuildUnaryExpression()