Home | History | Annotate | Download | only in src

Lines Matching refs:Literal

721     // Parse the function literal.
867 Literal* key1 = p1->key()->AsLiteral();
868 Literal* key2 = p2->key()->AsLiteral();
996 Literal* literal = property->key()->AsLiteral();
998 if (literal != NULL &&
999 literal->handle()->IsString() &&
1000 !String::cast(*(literal->handle()))->Equals(
1002 !String::cast(*(literal->handle()))->AsArrayIndex(&dummy)) {
1003 Handle<String> key = Handle<String>::cast(literal->handle());
1009 Literal* literal = assignment->value()->AsLiteral();
1010 AssignmentFromConstant(key, literal->handle());
1114 Literal *literal;
1117 (literal = e_stat->expression()->AsLiteral()) != NULL &&
1118 literal->handle()->IsString()) {
1119 Handle<String> directive = Handle<String>::cast(literal->handle());
1657 arguments->Add(new(zone()) Literal(name));
1675 // We may want to pass singleton to avoid Literal allocations.
2105 Literal* name_literal = new(zone()) Literal(name);
2364 // If we assign a function literal to a property we pretenure the
2365 // literal so it can be added as a constant function property.
2513 Literal* x_literal = x->AsLiteral();
2518 Literal* y_literal = y->AsLiteral();
2691 result = new(zone()) Property(result, new(zone()) Literal(name), pos);
2780 result = new(zone()) Property(result, new(zone()) Literal(name), pos);
2877 result = new(zone()) Literal(isolate()->factory()->null_value());
2882 result = new(zone()) Literal(isolate()->factory()->true_value());
2887 result = new(zone()) Literal(isolate()->factory()->false_value());
2913 result = new(zone()) Literal(symbol);
3060 // If value is a literal the property value is already set in the
3063 // If value is a materialized literal the property value is already set
3166 Literal *lit = property->key();
3263 // Keep track of the number of elements in the object literal and
3266 // literal with fast elements will be a waste of space.
3348 Literal* key = NULL;
3384 key = new(zone()) Literal(id);
3396 key = new(zone()) Literal(string);
3412 key = new(zone()) Literal(string);
3429 // literal so it can be added as a constant function property.
3812 Literal* Parser::GetLiteralUndefined() {
3813 return new(zone()) Literal(isolate()->factory()->undefined_value());
3817 Literal* Parser::GetLiteralTheHole() {
3818 return new(zone()) Literal(isolate()->factory()->the_hole_value());
3822 Literal* Parser::GetLiteralNumber(double value) {
3879 // Checks whether octal literal last seen is between beg_pos and end_pos.
3965 Literal* Parser::NewNumberLiteral(double number) {
3966 return new(zone()) Literal(isolate()->factory()->NewNumber(number, TENURED));
4013 args->Add(new(zone()) Literal(type));
4014 args->Add(new(zone()) Literal(array));
4281 // If the result of parsing is a literal string atom, and it has the
4524 // reading the backslash as a literal character instead
4680 // Try to parse a decimal literal that is no greater than the total number
4859 // We match JSC in reading the backslash as a literal