Home | History | Annotate | Download | only in src

Lines Matching refs:Literal

103   V(Literal)                                    \
347 // True iff the expression is a literal represented as a smi.
350 // True iff the expression is a string literal.
353 // True iff the expression is the null literal.
356 // True if we can prove that the expression is the undefined literal.
819 // True if there is a function literal subexpression in the condition.
876 // True if there is a function literal subexpression in the condition.
1327 class Literal: public Expression {
1329 DECLARE_NODE_TYPE(Literal)
1363 // Support for using Literal as a HashMap key. NOTE: Currently, this works
1368 Handle<String> s1 = static_cast<Literal*>(literal1)->ToString();
1369 Handle<String> s2 = static_cast<Literal*>(literal2)->ToString();
1376 Literal(Isolate* isolate, Handle<Object> value)
1394 // A materialized literal is simple if the values consist of only
1418 // about an object literal's properties from the parser
1425 MATERIALIZED_LITERAL, // Property value is a materialized literal.
1430 ObjectLiteralProperty(Literal* key, Expression* value, Isolate* isolate);
1432 Literal* key() { return key_; }
1450 void set_key(Literal* key) { key_ = key; }
1453 Literal* key_;
1461 // An object literal has a boilerplate object that is used
1520 // Node for capturing a regexp literal.
1542 // An array literal has a literals object that is used
2280 // literal. We consider the following constructs as hints that the
3025 Literal* NewLiteral(Handle<Object> handle) {
3026 Literal* lit = new(zone_) Literal(isolate_, handle);
3027 VISIT_AND_RETURN(Literal, lit)
3030 Literal* NewNumberLiteral(double number) {
3204 // Top-level literal doesn't count for the AST's properties.