Home
last modified time | relevance | path

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

/third_party/node/deps/v8/src/ast/
H A Dscopes.cc116 Variable* Scope::DeclareHomeObjectVariable(AstValueFactory* ast_value_factory) { in DeclareHomeObjectVariable() argument
119 zone(), ast_value_factory->dot_home_object_string(), VariableMode::kConst, in DeclareHomeObjectVariable()
129 AstValueFactory* ast_value_factory) { in DeclareStaticHomeObjectVariable()
132 Declare(zone(), ast_value_factory->dot_static_home_object_string(), in DeclareStaticHomeObjectVariable()
143 AstValueFactory* ast_value_factory, in DeclarationScope()
153 receiver_ = DeclareDynamicGlobal(ast_value_factory->this_string(), in DeclarationScope()
195 AstValueFactory* ast_value_factory, in ClassScope()
197 : Scope(zone, CLASS_SCOPE, ast_value_factory, scope_info), in ClassScope()
202 LookupInScopeInfo(ast_value_factory->dot_brand_string(), this); in ClassScope()
219 ast_value_factory, in ClassScope()
128 DeclareStaticHomeObjectVariable( AstValueFactory* ast_value_factory) DeclareStaticHomeObjectVariable() argument
142 DeclarationScope(Zone* zone, AstValueFactory* ast_value_factory, REPLMode repl_mode) DeclarationScope() argument
194 ClassScope(IsolateT* isolate, Zone* zone, AstValueFactory* ast_value_factory, Handle<ScopeInfo> scope_info) ClassScope() argument
238 Scope(Zone* zone, ScopeType scope_type, AstValueFactory* ast_value_factory, Handle<ScopeInfo> scope_info) Scope() argument
271 DeclarationScope(Zone* zone, ScopeType scope_type, AstValueFactory* ast_value_factory, Handle<ScopeInfo> scope_info) DeclarationScope() argument
417 DeserializeScopeChain(IsolateT* isolate, Zone* zone, ScopeInfo scope_info, DeclarationScope* script_scope, AstValueFactory* ast_value_factory, DeserializationMode deserialization_mode) DeserializeScopeChain() argument
732 DeclareThis(AstValueFactory* ast_value_factory) DeclareThis() argument
746 DeclareArguments(AstValueFactory* ast_value_factory) DeclareArguments() argument
778 DeclareDefaultFunctionVariables( AstValueFactory* ast_value_factory) DeclareDefaultFunctionVariables() argument
1009 DeclareParameter(const AstRawString* name, VariableMode mode, bool is_optional, bool is_rest, AstValueFactory* ast_value_factory, int position) DeclareParameter() argument
1335 DeserializeReceiver(AstValueFactory* ast_value_factory) DeserializeReceiver() argument
1670 ResetAfterPreparsing(AstValueFactory* ast_value_factory, bool aborted) ResetAfterPreparsing() argument
2794 FinalizeReparsedClassScope( Isolate* isolate, MaybeHandle<ScopeInfo> maybe_scope_info, AstValueFactory* ast_value_factory, bool needs_allocation_fixup) FinalizeReparsedClassScope() argument
3051 DeclareBrandVariable(AstValueFactory* ast_value_factory, IsStaticFlag is_static_flag, int class_token_pos) DeclareBrandVariable() argument
3069 DeclareClassVariable(AstValueFactory* ast_value_factory, const AstRawString* name, int class_token_pos) DeclareClassVariable() argument
[all...]
H A Dscopes.h156 AstValueFactory* ast_value_factory,
220 Variable* DeclareHomeObjectVariable(AstValueFactory* ast_value_factory);
221 Variable* DeclareStaticHomeObjectVariable(AstValueFactory* ast_value_factory);
733 Scope(Zone* zone, ScopeType type, AstValueFactory* ast_value_factory,
861 AstValueFactory* ast_value_factory,
864 DeclarationScope(Zone* zone, AstValueFactory* ast_value_factory,
942 void DeserializeReceiver(AstValueFactory* ast_value_factory);
999 void DeclareThis(AstValueFactory* ast_value_factory);
1000 void DeclareArguments(AstValueFactory* ast_value_factory);
1001 void DeclareDefaultFunctionVariables(AstValueFactory* ast_value_factory);
[all...]
H A Dast.h1247 ObjectLiteralProperty(AstValueFactory* ast_value_factory, Expression* key,
2308 AstValueFactory* ast_value_factory, DeclarationScope* scope, in FunctionLiteral()
2326 raw_inferred_name_(ast_value_factory->empty_cons_string()), in FunctionLiteral()
2812 AstNodeFactory(AstValueFactory* ast_value_factory, Zone* zone) in AstNodeFactory() argument
2814 ast_value_factory_(ast_value_factory), in AstNodeFactory()
2820 AstValueFactory* ast_value_factory() const { return ast_value_factory_; } in ast_value_factory() function in v8::internal::final
2307 FunctionLiteral(Zone* zone, const AstConsString* name, AstValueFactory* ast_value_factory, DeclarationScope* scope, const ScopedPtrList<Statement>& body, int expected_property_count, int parameter_count, int function_length, FunctionSyntaxKind function_syntax_kind, ParameterFlag has_duplicate_parameters, EagerCompileHint eager_compile_hint, int position, bool has_braces, int function_literal_id, ProducedPreparseData* produced_preparse_data = nullptr) FunctionLiteral() argument
H A Dast.cc285 ObjectLiteralProperty::ObjectLiteralProperty(AstValueFactory* ast_value_factory, in ObjectLiteralProperty() argument
290 key->AsLiteral()->AsRawString() == ast_value_factory->proto_string()) { in ObjectLiteralProperty()
/third_party/node/deps/v8/src/parsing/
H A Dparser.cc59 auto constructor_args_name = ast_value_factory()->empty_string(); in DefaultConstructor()
64 ast_value_factory(), pos); in DefaultConstructor()
253 return ast_value_factory()->GetOneByteString(literal); in GetBigIntAsSymbol()
257 return ast_value_factory()->GetOneByteString(decimal.get()); in GetBigIntAsSymbol()
312 NewUnresolved(ast_value_factory()->new_target_string(), pos); in NewSuperCallReference()
314 NewUnresolved(ast_value_factory()->this_function_string(), pos); in NewSuperCallReference()
320 auto proxy = NewUnresolved(ast_value_factory()->new_target_string(), pos); in NewTargetExpression()
440 info->ast_value_factory(), info->pending_error_handler(), in Parser()
501 ast_value_factory(), mode); in DeserializeScopeChain()
504 ast_value_factory()); in DeserializeScopeChain()
[all...]
H A Dparser.h270 &preparser_zone_, &scanner_, stack_limit_, ast_value_factory(), in reusable_preparser()
543 return identifier == ast_value_factory()->eval_string(); in IsEval()
547 return identifier == ast_value_factory()->async_string(); in IsAsync()
551 return identifier == ast_value_factory()->arguments_string(); in IsArguments()
594 return identifier == ast_value_factory()->constructor_string(); in IsConstructor()
598 return identifier == ast_value_factory()->name_string(); in IsName()
614 ast_value_factory()->native_string(); in IsNative()
636 *default_string = ast_value_factory()->default_string(); in GetDefaultStrings()
637 *dot_default_string = ast_value_factory()->dot_default_string(); in GetDefaultStrings()
654 fni_.PushLiteralName(ast_value_factory() in PushPropertyName()
[all...]
H A Drewriter.cc21 Variable* result, AstValueFactory* ast_value_factory, Zone* zone) in Processor()
26 factory_(ast_value_factory, zone), in Processor()
35 AstValueFactory* ast_value_factory, Zone* zone) in Processor()
40 factory_(ast_value_factory, zone_), in Processor()
257 factory()->ast_value_factory()->dot_result_string()); in VisitTryFinallyStatement()
415 info->ast_value_factory()->dot_result_string()); in RewriteBody()
417 result, info->ast_value_factory(), info->zone()); in RewriteBody()
20 Processor(uintptr_t stack_limit, DeclarationScope* closure_scope, Variable* result, AstValueFactory* ast_value_factory, Zone* zone) Processor() argument
34 Processor(Parser* parser, DeclarationScope* closure_scope, Variable* result, AstValueFactory* ast_value_factory, Zone* zone) Processor() argument
H A Dpending-compilation-error-handler.cc149 IsolateT* isolate, AstValueFactory* ast_value_factory) { in PrepareErrors()
154 ast_value_factory->Internalize(isolate); in PrepareErrors()
159 PrepareErrors(Isolate* isolate, AstValueFactory* ast_value_factory);
162 PrepareErrors(LocalIsolate* isolate, AstValueFactory* ast_value_factory);
148 PrepareErrors( IsolateT* isolate, AstValueFactory* ast_value_factory) PrepareErrors() argument
H A Dpending-compilation-error-handler.h60 void PrepareErrors(IsolateT* isolate, AstValueFactory* ast_value_factory);
177 Isolate* isolate, AstValueFactory* ast_value_factory);
179 LocalIsolate* isolate, AstValueFactory* ast_value_factory);
H A Dscanner.cc1013 AstValueFactory* ast_value_factory) const { in CurrentSymbol()
1015 return ast_value_factory->GetOneByteString(literal_one_byte_string()); in CurrentSymbol()
1017 return ast_value_factory->GetTwoByteString(literal_two_byte_string()); in CurrentSymbol()
1021 AstValueFactory* ast_value_factory) const { in NextSymbol()
1023 return ast_value_factory->GetOneByteString(next_literal_one_byte_string()); in NextSymbol()
1025 return ast_value_factory->GetTwoByteString(next_literal_two_byte_string()); in NextSymbol()
1029 AstValueFactory* ast_value_factory) const { in CurrentRawSymbol()
1031 return ast_value_factory->GetOneByteString(raw_literal_one_byte_string()); in CurrentRawSymbol()
1033 return ast_value_factory->GetTwoByteString(raw_literal_two_byte_string()); in CurrentRawSymbol()
H A Dfunc-name-inferrer.cc14 FuncNameInferrer::FuncNameInferrer(AstValueFactory* ast_value_factory) in FuncNameInferrer() argument
15 : ast_value_factory_(ast_value_factory) {} in FuncNameInferrer()
H A Dpreparse-data-impl.h160 AstValueFactory* ast_value_factory,
168 void RestoreDataForScope(Scope* scope, AstValueFactory* ast_value_factory,
172 AstValueFactory* ast_value_factory,
H A Dpreparse-data.cc627 DeclarationScope* scope, AstValueFactory* ast_value_factory, Zone* zone) { in RestoreScopeAllocationData()
642 RestoreDataForScope(scope, ast_value_factory, zone); in RestoreScopeAllocationData()
650 Scope* scope, AstValueFactory* ast_value_factory, Zone* zone) { in RestoreDataForScope()
684 ast_value_factory, nullptr, kNoSourcePosition); in RestoreDataForScope()
685 AstNodeFactory factory(ast_value_factory, zone); in RestoreDataForScope()
704 RestoreDataForInnerScopes(scope, ast_value_factory, zone); in RestoreDataForScope()
744 Scope* scope, AstValueFactory* ast_value_factory, Zone* zone) { in RestoreDataForInnerScopes()
747 RestoreDataForScope(inner, ast_value_factory, zone); in RestoreDataForInnerScopes()
626 RestoreScopeAllocationData( DeclarationScope* scope, AstValueFactory* ast_value_factory, Zone* zone) RestoreScopeAllocationData() argument
649 RestoreDataForScope( Scope* scope, AstValueFactory* ast_value_factory, Zone* zone) RestoreDataForScope() argument
743 RestoreDataForInnerScopes( Scope* scope, AstValueFactory* ast_value_factory, Zone* zone) RestoreDataForInnerScopes() argument
H A Dparse-info.h200 AstValueFactory* ast_value_factory() const { in ast_value_factory() function in v8::internal::ReusableUnoptimizedCompileState
303 AstValueFactory* ast_value_factory() const { in ast_value_factory() function in v8::internal::ParseInfo
304 return reusable_state_->ast_value_factory(); in ast_value_factory()
H A Dpreparser.cc64 const AstRawString* result = scanner()->CurrentSymbol(ast_value_factory()); in GetIdentifier()
66 GetIdentifierHelper(scanner(), result, ast_value_factory()); in GetIdentifier()
226 function_scope->DeclareArguments(ast_value_factory()); in PreParseFunction()
H A Dparser-base.h247 AstValueFactory* ast_value_factory, in ParserBase()
254 fni_(ast_value_factory), in ParserBase()
255 ast_value_factory_(ast_value_factory), in ParserBase()
256 ast_node_factory_(ast_value_factory, zone), in ParserBase()
303 Zone* main_zone() const { return ast_value_factory()->single_parse_zone(); } in main_zone()
763 const AstRawString* ClassFieldVariableName(AstValueFactory* ast_value_factory, in ClassFieldVariableName() argument
766 return ast_value_factory->GetOneByteString(name.c_str()); in ClassFieldVariableName()
770 return zone()->template New<DeclarationScope>(zone(), ast_value_factory(), in NewScriptScope()
779 return zone()->template New<ModuleScope>(parent, ast_value_factory()); in NewModuleScope()
818 DCHECK(ast_value_factory()); in NewFunctionScope()
246 ParserBase(Zone* zone, Scanner* scanner, uintptr_t stack_limit, AstValueFactory* ast_value_factory, PendingCompilationErrorHandler* pending_error_handler, RuntimeCallStats* runtime_call_stats, Logger* logger, UnoptimizedCompileFlags flags, bool parsing_on_main_thread) ParserBase() argument
857 AstValueFactory* ast_value_factory() const { return ast_value_factory_; } ast_value_factory() function in v8::internal::ParseFunctionFlag::ParserBase
[all...]
H A Dfunc-name-inferrer.h46 explicit FuncNameInferrer(AstValueFactory* ast_value_factory);
H A Dpreparser.h521 explicit PreParserFactory(AstValueFactory* ast_value_factory, Zone* zone) in PreParserFactory() argument
522 : ast_node_factory_(ast_value_factory, zone), zone_(zone) {} in PreParserFactory()
934 AstValueFactory* ast_value_factory, in PreParser()
938 : ParserBase<PreParser>(zone, scanner, stack_limit, ast_value_factory, in PreParser()
1197 scope->DeclareClassVariable(ast_value_factory(), name.string_, in DeclareClassVariable()
1211 ClassFieldVariableName(ast_value_factory(), in DeclarePublicClassField()
1506 result.string_ = ast_value_factory()->empty_string(); in EmptyIdentifierString()
1546 ast_value_factory()->this_function_string(), pos, in NewSuperCallReference()
1549 ast_value_factory()->new_target_string(), pos, in NewSuperCallReference()
933 PreParser(Zone* zone, Scanner* scanner, uintptr_t stack_limit, AstValueFactory* ast_value_factory, PendingCompilationErrorHandler* pending_error_handler, RuntimeCallStats* runtime_call_stats, Logger* logger, UnoptimizedCompileFlags flags, bool parsing_on_main_thread = true) PreParser() argument
H A Dscanner.h332 const AstRawString* CurrentSymbol(AstValueFactory* ast_value_factory) const;
334 const AstRawString* NextSymbol(AstValueFactory* ast_value_factory) const;
336 AstValueFactory* ast_value_factory) const;
H A Dpreparse-data.h305 AstValueFactory* ast_value_factory,
/third_party/node/deps/v8/src/execution/
H A Dmessages.cc784 info.ast_value_factory()->Internalize(isolate); in RenderCallSite()
844 info.ast_value_factory()->Internalize(isolate); in ThrowSpreadArgError()
921 info.ast_value_factory()->Internalize(isolate); in ThrowLoadFromNullOrUndefined()
/third_party/node/deps/v8/src/interpreter/
H A Dinterpreter.cc218 parse_info()->ast_value_factory()->Internalize(isolate); in CheckAndPrintBytecodeMismatch()
/third_party/node/deps/v8/src/debug/
H A Dliveedit.cc770 isolate, parse_info->ast_value_factory()); in ParseScript()
/third_party/node/deps/v8/src/codegen/
H A Dcompiler.cc1302 isolate, parse_info->ast_value_factory()); in PreparePendingException()
1655 info.set_function_name(info.ast_value_factory()->GetString( in Run()
/third_party/node/deps/v8/src/d8/
H A Dd8.cc711 i_isolate, parse_info.ast_value_factory()); in ExecuteString()

Completed in 54 milliseconds