Home
last modified time | relevance | path

Searched refs:ast_value_factory (Results 1 – 22 of 22) 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) { in Processor()
33 AstValueFactory* ast_value_factory) in Processor() argument
39 zone_(ast_value_factory->zone()), in Processor()
41 factory_(ast_value_factory) { in Processor()
257 factory()->ast_value_factory()->dot_result_string()); in VisitTryFinallyStatement()
376 info->ast_value_factory()->dot_result_string()); in DECLARATION_NODE_LIST()
378 closure_scope, result, info->ast_value_factory()); in DECLARATION_NODE_LIST()
389 info->ast_value_factory()->Internalize(info->isolate()); in DECLARATION_NODE_LIST()
Dparser.h442 AstValueFactory* ast_value_factory() const {
443 return parser_->ast_value_factory();
694 return identifier == ast_value_factory()->eval_string();
698 return identifier == ast_value_factory()->arguments_string();
706 return identifier == ast_value_factory()->undefined_string();
736 return identifier == ast_value_factory()->prototype_string();
740 return identifier == ast_value_factory()->constructor_string();
744 return identifier == ast_value_factory()->name_string();
756 ast_value_factory()->native_string();
765 return IsStringLiteral(statement, ast_value_factory()->use_strict_string());
[all …]
Dparser.cc172 if (name == nullptr) name = ast_value_factory()->empty_string(); in DefaultConstructor()
189 auto constructor_args_name = ast_value_factory()->empty_string(); in DefaultConstructor()
195 ast_value_factory()); in DefaultConstructor()
386 NewUnresolved(ast_value_factory()->this_function_string(), pos); in NewSuperPropertyReference()
397 NewUnresolved(ast_value_factory()->new_target_string(), pos); in NewSuperCallReference()
399 NewUnresolved(ast_value_factory()->this_function_string(), pos); in NewSuperCallReference()
406 auto proxy = NewUnresolved(ast_value_factory()->new_target_string(), pos); in NewTargetExpression()
505 info->extension(), info->ast_value_factory(), in Parser()
560 if (info->ast_value_factory() == NULL) { in Parser()
565 ast_value_factory_ = info->ast_value_factory(); in Parser()
[all …]
Dparsing.cc39 info->ast_value_factory()->Internalize(isolate); in ParseProgram()
62 info->ast_value_factory()->Internalize(isolate); in ParseFunction()
Dfunc-name-inferrer.cc15 FuncNameInferrer::FuncNameInferrer(AstValueFactory* ast_value_factory, in FuncNameInferrer() argument
17 : ast_value_factory_(ast_value_factory), in FuncNameInferrer()
Dparse-info.h133 AstValueFactory* ast_value_factory() const { return ast_value_factory_; } in ast_value_factory() function
134 void set_ast_value_factory(AstValueFactory* ast_value_factory) { in set_ast_value_factory() argument
135 ast_value_factory_ = ast_value_factory; in set_ast_value_factory()
Dpreparser.cc81 const AstRawString* result = scanner()->CurrentSymbol(ast_value_factory()); in GetSymbol()
172 function_scope->DeclareArguments(ast_value_factory()); in PreParseFunction()
316 AstNodeFactory factory(ast_value_factory()); in ExpressionFromIdentifier()
Dscanner.cc1682 const AstRawString* Scanner::CurrentSymbol(AstValueFactory* ast_value_factory) { in CurrentSymbol() argument
1684 return ast_value_factory->GetOneByteString(literal_one_byte_string()); in CurrentSymbol()
1686 return ast_value_factory->GetTwoByteString(literal_two_byte_string()); in CurrentSymbol()
1690 const AstRawString* Scanner::NextSymbol(AstValueFactory* ast_value_factory) { in NextSymbol() argument
1692 return ast_value_factory->GetOneByteString(next_literal_one_byte_string()); in NextSymbol()
1694 return ast_value_factory->GetTwoByteString(next_literal_two_byte_string()); in NextSymbol()
1699 AstValueFactory* ast_value_factory) { in CurrentRawSymbol() argument
1701 return ast_value_factory->GetOneByteString(raw_literal_one_byte_string()); in CurrentRawSymbol()
1703 return ast_value_factory->GetTwoByteString(raw_literal_two_byte_string()); in CurrentRawSymbol()
Dpattern-rewriter.cc249 auto temp = scope()->NewTemporary(ast_value_factory()->empty_string()); in CreateTempVar()
474 factory()->NewStringLiteral(ast_value_factory()->done_string(), in VisitArrayLiteral()
486 factory()->NewStringLiteral(ast_value_factory()->value_string(), in VisitArrayLiteral()
603 ast_value_factory()->value_string(), nopos), in VisitArrayLiteral()
624 ast_value_factory()->done_string(), nopos), in VisitArrayLiteral()
Dpreparser.h542 explicit PreParserFactory(AstValueFactory* ast_value_factory) in PreParserFactory() argument
543 : ast_value_factory_(ast_value_factory), in PreParserFactory()
544 zone_(ast_value_factory->zone()) {} in PreParserFactory()
889 AstValueFactory* ast_value_factory,
894 ast_value_factory, runtime_call_stats,
1532 AstNodeFactory factory(ast_value_factory());
1537 &factory, ast_value_factory()->this_string(), pos, THIS_VARIABLE);
1639 ast_value_factory());
Dfunc-name-inferrer.h32 FuncNameInferrer(AstValueFactory* ast_value_factory, Zone* zone);
Dscanner.h254 const AstRawString* CurrentSymbol(AstValueFactory* ast_value_factory);
255 const AstRawString* NextSymbol(AstValueFactory* ast_value_factory);
256 const AstRawString* CurrentRawSymbol(AstValueFactory* ast_value_factory);
Dparser-base.h201 v8::Extension* extension, AstValueFactory* ast_value_factory,
208 ast_value_factory_(ast_value_factory), in scope_()
209 ast_node_factory_(ast_value_factory), in scope_()
651 return new (zone()) DeclarationScope(zone(), ast_value_factory()); in NewScriptScope()
659 return new (zone()) ModuleScope(parent, ast_value_factory()); in NewModuleScope()
688 DCHECK(ast_value_factory());
694 result->DeclareDefaultFunctionVariables(ast_value_factory());
707 AstValueFactory* ast_value_factory() const { return ast_value_factory_; } in ast_value_factory() function
4036 function_scope->DeclareArguments(ast_value_factory()); in ParseFunctionBody()
/external/v8/src/ast/
Dscopes.h131 AstValueFactory* ast_value_factory, in NON_EXPORTED_BASE()
621 DeclarationScope(Zone* zone, AstValueFactory* ast_value_factory);
671 void DeclareThis(AstValueFactory* ast_value_factory);
672 void DeclareArguments(AstValueFactory* ast_value_factory);
673 void DeclareDefaultFunctionVariables(AstValueFactory* ast_value_factory);
695 AstValueFactory* ast_value_factory);
700 AstValueFactory* ast_value_factory);
849 void ResetAfterPreparsing(AstValueFactory* ast_value_factory, bool aborted);
947 AstValueFactory* ast_value_factory);
954 AstValueFactory* ast_value_factory);
Dscopes.cc161 AstValueFactory* ast_value_factory) in DeclarationScope() argument
171 DeclareDynamicGlobal(ast_value_factory->this_string(), THIS_VARIABLE); in DeclarationScope()
187 AstValueFactory* ast_value_factory) in ModuleScope() argument
188 : DeclarationScope(ast_value_factory->zone(), script_scope, MODULE_SCOPE, in ModuleScope()
190 Zone* zone = ast_value_factory->zone(); in ModuleScope()
193 DeclareThis(ast_value_factory); in ModuleScope()
375 AstValueFactory* ast_value_factory, in DeserializeScopeChain() argument
419 ModuleScope(isolate, handle(scope_info), ast_value_factory); in DeserializeScopeChain()
425 Scope(zone, ast_value_factory->GetString(handle(name, isolate)), in DeserializeScopeChain()
595 DeclarationScope(info->zone(), info->ast_value_factory()); in Analyze()
[all …]
Dast.h1365 ObjectLiteralProperty(AstValueFactory* ast_value_factory, Expression* key,
2701 AstValueFactory* ast_value_factory, DeclarationScope* scope, in FunctionLiteral() argument
2718 raw_inferred_name_(ast_value_factory->empty_string()), in FunctionLiteral()
3150 explicit AstNodeFactory(AstValueFactory* ast_value_factory) in AstNodeFactory() argument
3151 : zone_(nullptr), ast_value_factory_(ast_value_factory) { in AstNodeFactory()
3152 if (ast_value_factory != nullptr) { in AstNodeFactory()
3153 zone_ = ast_value_factory->zone(); in AstNodeFactory()
3157 AstValueFactory* ast_value_factory() const { return ast_value_factory_; } in ast_value_factory() function
3158 void set_ast_value_factory(AstValueFactory* ast_value_factory) { in set_ast_value_factory() argument
3159 ast_value_factory_ = ast_value_factory; in set_ast_value_factory()
[all …]
Dast.cc358 ObjectLiteralProperty::ObjectLiteralProperty(AstValueFactory* ast_value_factory, in ObjectLiteralProperty() argument
364 ast_value_factory->proto_string())) { in ObjectLiteralProperty()
/external/v8/src/compiler-dispatcher/
Dcompiler-dispatcher-job.cc236 parse_info_->ast_value_factory()->GetString(name)); in PrepareToParseOnMainThread()
308 parse_info_->ast_value_factory()->Internalize(isolate_); in FinalizeParsingOnMainThread()
/external/v8/src/
Dcompiler.cc565 outer_info->parse_info()->ast_value_factory()); in CompileUnoptimizedInnerFunctions()
664 info->parse_info()->ast_value_factory()->Internalize(info->isolate()); in GetUnoptimizedCode()
1164 parse_info->ast_value_factory()->Internalize(info->isolate()); in CompileToplevel()
Dapi.cc2459 source->info->ast_value_factory()->Internalize(isolate); in Compile()
/external/v8/src/asmjs/
Dasm-wasm-builder.cc59 AstValueFactory* ast_value_factory, Handle<Script> script, in AsmWasmBuilderImpl() argument
74 ast_value_factory_(ast_value_factory), in AsmWasmBuilderImpl()
2001 info_->parse_info()->ast_value_factory(), in Run()
/external/v8/src/crankshaft/
Dhydrogen.cc8101 top_info()->parse_info()->ast_value_factory()); in TryInline()