Lines Matching defs:literal

10 #include "src/ast/ast-function-literal-id-reindexer.h"
241 // TODO(leszeks): Do some literal collapsing here if we're appending Smi or
251 base::Vector<const uint8_t> literal = scanner()->BigIntLiteral();
252 if (literal[0] != '0' || literal.length() == 1) {
253 return ast_value_factory()->GetOneByteString(literal);
256 BigIntLiteralToDecimal(local_isolate_, literal);
263 const Literal* literal = expression->AsLiteral();
264 if (literal != nullptr) {
266 // Convert the literal to a boolean condition and negate it.
267 return factory()->NewBooleanLiteral(literal->ToBooleanIsFalse(), pos);
268 } else if (literal->IsNumberLiteral()) {
270 double value = literal->AsNumber();
702 FunctionLiteral* literal) {
703 if (literal == nullptr) return;
705 info->set_literal(literal);
706 info->set_language_mode(literal->language_mode());
717 // Null out the literal to indicate that something failed.
725 FunctionLiteral* literal);
728 FunctionLiteral* literal);
811 // object literal:
888 // Function literal IDs for inner functions haven't been allocated when
960 // Parse the function literal.
1018 // renumber them to shift down so the next function literal id for
1110 // in order to collect the function literal ids.
1120 ClassLiteral* literal = expr->AsClassLiteral();
1122 literal->instance_members_initializer_function();
1124 // Reindex so that the function literal ids match.
1139 ClassScope* reparsed_scope = literal->scope();
1236 // Keep track of the first string literal local name exported for error
1625 // never conflict with a string literal export name, as literal string export
3422 DCHECK_NULL(info->literal());
3618 // of an object literal.