Home | History | Annotate | Download | only in src

Lines Matching refs:Literal

99   V(Literal)                                    \
332 // True iff the expression is a literal represented as a smi.
335 // True iff the expression is a string literal.
338 // True iff the expression is the null literal.
785 // True if there is a function literal subexpression in the condition.
843 // True if there is a function literal subexpression in the condition.
1210 class Literal: public Expression {
1212 DECLARE_NODE_TYPE(Literal)
1246 // Support for using Literal as a HashMap key. NOTE: Currently, this works
1251 Handle<String> s1 = static_cast<Literal*>(literal1)->ToString();
1252 Handle<String> s2 = static_cast<Literal*>(literal2)->ToString();
1259 Literal(Isolate* isolate, Handle<Object> handle)
1277 // A materialized literal is simple if the values consist of only
1300 // An object literal has a boilerplate object that is used
1305 // about an object literal's properties from the parser
1312 MATERIALIZED_LITERAL, // Property value is a materialized literal.
1317 Property(Literal* key, Expression* value, Isolate* isolate);
1319 Literal* key() { return key_; }
1337 void set_key(Literal* key) { key_ = key; }
1340 Literal* key_;
1400 // Node for capturing a regexp literal.
1424 // An array literal has a literals object that is used
2784 Literal* NewLiteral(Handle<Object> handle) {
2785 Literal* lit = new(zone_) Literal(isolate_, handle);
2786 VISIT_AND_RETURN(Literal, lit)
2789 Literal* NewNumberLiteral(double number) {
2954 // Top-level literal doesn't count for the AST's properties.