Home
last modified time | relevance | path

Searched refs:ast_value_factory (Results 1 – 25 of 25) sorted by relevance

/external/v8/src/parsing/
Drewriter.cc19 Variable* result, AstValueFactory* ast_value_factory) in Processor() argument
25 zone_(ast_value_factory->zone()), in Processor()
27 factory_(ast_value_factory, ast_value_factory->zone()) { in Processor()
33 AstValueFactory* ast_value_factory) in Processor() argument
39 zone_(ast_value_factory->zone()), in Processor()
41 factory_(ast_value_factory, zone_) { in Processor()
254 factory()->ast_value_factory()->dot_result_string()); in VisitTryFinallyStatement()
387 info->ast_value_factory()->dot_result_string()); in DECLARATION_NODE_LIST()
389 result, info->ast_value_factory()); in DECLARATION_NODE_LIST()
Dparser.h241 new PreParser(zone(), &scanner_, stack_limit_, ast_value_factory(),
572 return identifier == ast_value_factory()->eval_string();
576 return identifier == ast_value_factory()->arguments_string();
611 return identifier == ast_value_factory()->constructor_string();
615 return identifier == ast_value_factory()->name_string();
627 ast_value_factory()->native_string();
636 return IsStringLiteral(statement, ast_value_factory()->use_strict_string());
640 return IsStringLiteral(statement, ast_value_factory()->use_asm_string());
658 *default_string = ast_value_factory()->default_string();
659 *star_default_star_string = ast_value_factory()->star_default_star_string();
[all …]
Dparser.cc103 auto constructor_args_name = ast_value_factory()->empty_string(); in DefaultConstructor()
109 &is_duplicate, ast_value_factory(), pos); in DefaultConstructor()
297 NewUnresolved(ast_value_factory()->this_function_string(), pos); in NewSuperPropertyReference()
308 NewUnresolved(ast_value_factory()->new_target_string(), pos); in NewSuperCallReference()
310 NewUnresolved(ast_value_factory()->this_function_string(), pos); in NewSuperCallReference()
317 auto proxy = NewUnresolved(ast_value_factory()->new_target_string(), pos); in NewTargetExpression()
473 isolate, zone(), *outer_scope_info, script_scope, ast_value_factory(), in DeserializeScopeChain()
506 fni_ = new (zone()) FuncNameInferrer(ast_value_factory(), zone()); in ParseProgram()
570 auto name = ast_value_factory()->empty_string(); in DoParseProgram()
576 ast_value_factory(), beg_pos); in DoParseProgram()
[all …]
Dpreparser.h563 explicit PreParserFactory(AstValueFactory* ast_value_factory, Zone* zone) in PreParserFactory() argument
564 : ast_node_factory_(ast_value_factory, zone), zone_(zone) {} in PreParserFactory()
944 AstValueFactory* ast_value_factory,
950 ast_value_factory, pending_error_handler,
1107 catch_name = ast_value_factory()->dot_catch_string();
1218 ClassFieldVariableName(ast_value_factory(),
1564 factory()->ast_node_factory(), ast_value_factory()->this_string(),
1576 ast_value_factory()->this_function_string(), pos,
1579 ast_value_factory()->this_string(), pos,
1588 ast_value_factory()->this_function_string(), pos,
[all …]
Dfunc-name-inferrer.cc14 FuncNameInferrer::FuncNameInferrer(AstValueFactory* ast_value_factory, in FuncNameInferrer() argument
16 : ast_value_factory_(ast_value_factory), in FuncNameInferrer()
Dpattern-rewriter.cc98 AstValueFactory* ast_value_factory() const { in ast_value_factory() function in v8::internal::PatternRewriter
99 return parser_->ast_value_factory(); in ast_value_factory()
283 auto temp = scope()->NewTemporary(ast_value_factory()->empty_string()); in CreateTempVar()
451 factory()->NewStringLiteral(ast_value_factory()->next_string(), in VisitArrayLiteral()
490 factory()->NewStringLiteral(ast_value_factory()->done_string(), in VisitArrayLiteral()
502 factory()->NewStringLiteral(ast_value_factory()->value_string(), in VisitArrayLiteral()
624 factory()->NewStringLiteral(ast_value_factory()->value_string(), in VisitArrayLiteral()
647 ast_value_factory()->done_string(), nopos), in VisitArrayLiteral()
Dscanner.cc1739 AstValueFactory* ast_value_factory) const { in CurrentSymbol()
1741 return ast_value_factory->GetOneByteString(literal_one_byte_string()); in CurrentSymbol()
1743 return ast_value_factory->GetTwoByteString(literal_two_byte_string()); in CurrentSymbol()
1747 AstValueFactory* ast_value_factory) const { in NextSymbol()
1749 return ast_value_factory->GetOneByteString(next_literal_one_byte_string()); in NextSymbol()
1751 return ast_value_factory->GetTwoByteString(next_literal_two_byte_string()); in NextSymbol()
1755 AstValueFactory* ast_value_factory) const { in CurrentRawSymbol()
1757 return ast_value_factory->GetOneByteString(raw_literal_one_byte_string()); in CurrentRawSymbol()
1759 return ast_value_factory->GetTwoByteString(raw_literal_two_byte_string()); in CurrentRawSymbol()
1782 AstValueFactory* ast_value_factory) const { in IsDuplicateSymbol()
[all …]
Dparsing.cc43 info->ast_value_factory()); in ParseProgram()
81 info->ast_value_factory()); in ParseFunction()
Dscanner.h273 const AstRawString* CurrentSymbol(AstValueFactory* ast_value_factory) const;
274 const AstRawString* NextSymbol(AstValueFactory* ast_value_factory) const;
276 AstValueFactory* ast_value_factory) const;
325 AstValueFactory* ast_value_factory) const;
Dfunc-name-inferrer.h33 FuncNameInferrer(AstValueFactory* ast_value_factory, Zone* zone);
Dpreparser.cc83 const AstRawString* result = scanner()->CurrentSymbol(ast_value_factory()); in GetSymbol()
213 function_scope->DeclareArguments(ast_value_factory()); in PreParseFunction()
Dparser-base.h257 v8::Extension* extension, AstValueFactory* ast_value_factory, in ParserBase() argument
266 ast_value_factory_(ast_value_factory), in ParserBase()
267 ast_node_factory_(ast_value_factory, zone), in ParserBase()
344 Zone* main_zone() const { return ast_value_factory()->zone(); } in main_zone()
612 const AstRawString* ClassFieldVariableName(AstValueFactory* ast_value_factory, in ClassFieldVariableName() argument
615 return ast_value_factory->GetOneByteString(name.c_str()); in ClassFieldVariableName()
619 return new (zone()) DeclarationScope(zone(), ast_value_factory()); in NewScriptScope()
627 return new (zone()) ModuleScope(parent, ast_value_factory()); in NewModuleScope()
656 DCHECK(ast_value_factory());
666 result->DeclareDefaultFunctionVariables(ast_value_factory());
[all …]
Dparse-info.cc171 return ast_value_factory(); in GetOrCreateAstValueFactory()
Dparse-info.h118 AstValueFactory* ast_value_factory() const { in ast_value_factory() function
/external/v8/src/ast/
Dscopes.cc173 AstValueFactory* ast_value_factory) in DeclarationScope() argument
180 DeclareDynamicGlobal(ast_value_factory->this_string(), THIS_VARIABLE); in DeclarationScope()
201 AstValueFactory* ast_value_factory) in ModuleScope() argument
202 : DeclarationScope(ast_value_factory->zone(), script_scope, MODULE_SCOPE, in ModuleScope()
204 Zone* zone = ast_value_factory->zone(); in ModuleScope()
207 DeclareThis(ast_value_factory); in ModuleScope()
403 AstValueFactory* ast_value_factory, in DeserializeScopeChain() argument
447 ModuleScope(isolate, handle(scope_info, isolate), ast_value_factory); in DeserializeScopeChain()
457 Scope(zone, ast_value_factory->GetString(handle(name, isolate)), in DeserializeScopeChain()
641 info->ast_value_factory()->Internalize(isolate); in AttachOuterScopeInfo()
[all …]
Dscopes.h138 AstValueFactory* ast_value_factory, in NON_EXPORTED_BASE()
647 DeclarationScope(Zone* zone, AstValueFactory* ast_value_factory);
702 void DeclareThis(AstValueFactory* ast_value_factory);
703 void DeclareArguments(AstValueFactory* ast_value_factory);
704 void DeclareDefaultFunctionVariables(AstValueFactory* ast_value_factory);
726 AstValueFactory* ast_value_factory, int position);
731 AstValueFactory* ast_value_factory,
902 void ResetAfterPreparsing(AstValueFactory* ast_value_factory, bool aborted);
1032 AstValueFactory* ast_value_factory);
1039 AstValueFactory* ast_value_factory);
Dast.h1310 ObjectLiteralProperty(AstValueFactory* ast_value_factory, Expression* key,
2361 Zone* zone, const AstRawString* name, AstValueFactory* ast_value_factory,
2375 raw_name_(name ? ast_value_factory->NewConsString(name) : nullptr), in Expression()
2378 raw_inferred_name_(ast_value_factory->empty_cons_string()), in Expression()
2828 AstNodeFactory(AstValueFactory* ast_value_factory, Zone* zone) in AstNodeFactory() argument
2829 : zone_(zone), ast_value_factory_(ast_value_factory) {} in AstNodeFactory()
2831 AstValueFactory* ast_value_factory() const { return ast_value_factory_; } in ast_value_factory() function
Dast.cc312 ObjectLiteralProperty::ObjectLiteralProperty(AstValueFactory* ast_value_factory, in ObjectLiteralProperty() argument
317 key->AsLiteral()->AsRawString() == ast_value_factory->proto_string()) { in ObjectLiteralProperty()
/external/v8/src/
Dpending-compilation-error-handler.cc79 AstValueFactory* ast_value_factory) { in ReportErrors() argument
85 ast_value_factory->Internalize(isolate); in ReportErrors()
Dpending-compilation-error-handler.h58 AstValueFactory* ast_value_factory);
Dcompiler.cc830 isolate, parse_info->script(), parse_info->ast_value_factory()); in FailWithPendingException()
845 parse_info->ast_value_factory()->Internalize(isolate); in FinalizeTopLevel()
1099 parse_info.ast_value_factory()->Internalize(isolate); in Compile()
1802 isolate, script, parse_info->ast_value_factory()); in GetSharedFunctionInfoForStreamedScript()
/external/v8/src/compiler-dispatcher/
Dunoptimized-compile-job.cc207 parse_info_->ast_value_factory()->GetString(name)); in PrepareOnMainThread()
283 parse_info_->ast_value_factory()->Internalize(isolate); in FinalizeOnMainThread()
315 isolate, script, parse_info_->ast_value_factory()); in ReportErrorsOnMainThread()
/external/v8/src/runtime/
Druntime-internal.cc352 info.ast_value_factory()->Internalize(isolate); in RenderCallSite()
/external/v8/src/debug/
Ddebug-scopes.cc144 info_->ast_value_factory()->Internalize(isolate_); in TryParseAndRetrieveScopes()
Dliveedit.cc762 parse_info->ast_value_factory()->Internalize(isolate); in ParseScript()