Lines Matching refs:AstValue
136 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);
338 const AstValue* NewSmi(int number);
339 const AstValue* NewBoolean(bool b);
340 const AstValue* NewStringList(ZoneList<const AstRawString*>* strings);
341 const AstValue* NewNull();
342 const AstValue* NewUndefined();
343 const AstValue* NewTheHole();
357 List<AstValue*> values_;
368 #define F(name) AstValue* name##_;