Home
last modified time | relevance | path

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

12

/external/v8/src/ast/
Dscopes.cc172 DeclarationScope::DeclarationScope(Zone* zone, in DeclarationScope() function in v8::internal::DeclarationScope
183 DeclarationScope::DeclarationScope(Zone* zone, Scope* outer_scope, in DeclarationScope() function in v8::internal::DeclarationScope
193 bool DeclarationScope::IsDeclaredParameter(const AstRawString* name) { in IsDeclaredParameter()
200 ModuleScope::ModuleScope(DeclarationScope* script_scope, in ModuleScope()
202 : DeclarationScope(ast_value_factory->zone(), script_scope, MODULE_SCOPE, in ModuleScope()
212 : DeclarationScope(avfactory->zone(), MODULE_SCOPE, scope_info) { in ModuleScope()
276 DeclarationScope::DeclarationScope(Zone* zone, ScopeType scope_type, in DeclarationScope() function in v8::internal::DeclarationScope
305 void DeclarationScope::SetDefaults() { in SetDefaults()
324 DeclarationScope* outer_declaration_scope = in SetDefaults()
365 DeclarationScope* scope = GetClosureScope(); in HasSimpleParameters()
[all …]
Dscopes.h112 DeclarationScope* AsDeclarationScope(); in NON_EXPORTED_BASE()
113 const DeclarationScope* AsDeclarationScope() const; in NON_EXPORTED_BASE()
122 void Reparent(DeclarationScope* new_parent) const; in NON_EXPORTED_BASE()
137 DeclarationScope* script_scope, in NON_EXPORTED_BASE()
424 DeclarationScope* GetDeclarationScope(); in NON_EXPORTED_BASE()
431 DeclarationScope* GetClosureScope(); in NON_EXPORTED_BASE()
432 const DeclarationScope* GetClosureScope() const; in NON_EXPORTED_BASE()
436 DeclarationScope* GetReceiverScope(); in NON_EXPORTED_BASE()
600 VariableProxy* FetchFreeVariables(DeclarationScope* max_outer_scope, in NON_EXPORTED_BASE()
636 friend class DeclarationScope; in NON_EXPORTED_BASE() local
[all …]
Dprettyprinter.h103 void PrintParameters(DeclarationScope* scope);
Dast.h2235 DeclarationScope* scope() const { return scope_; } in scope()
2362 DeclarationScope* scope, ZonePtrList<Statement>* body,
2411 DeclarationScope* scope_;
3214 const AstRawString* name, DeclarationScope* scope,
3232 FunctionLiteral* NewScriptOrEvalFunctionLiteral(DeclarationScope* scope, in NewScriptOrEvalFunctionLiteral()
Dast-traversal-visitor.h287 DeclarationScope* scope = expr->scope(); in VisitFunctionLiteral()
/external/v8/src/parsing/
Dpreparsed-scope-data.h107 DataGatheringScope(DeclarationScope* function_scope, PreParser* preparser);
113 DeclarationScope* function_scope_;
122 void SaveScopeAllocationData(DeclarationScope* scope);
237 void RestoreScopeAllocationData(DeclarationScope* scope);
Dparse-info.h28 class DeclarationScope; variable
113 DeclarationScope* script_scope() const { return script_scope_; } in script_scope()
114 void set_script_scope(DeclarationScope* script_scope) { in set_script_scope()
131 DeclarationScope* scope() const;
253 DeclarationScope* script_scope_;
Drewriter.h16 class DeclarationScope; variable
35 static bool Rewrite(Parser* parser, DeclarationScope* closure_scope,
Drewriter.cc18 Processor(uintptr_t stack_limit, DeclarationScope* closure_scope, in Processor()
32 Processor(Parser* parser, DeclarationScope* closure_scope, Variable* result, in Processor()
50 DeclarationScope* closure_scope() { return closure_scope_; } in closure_scope()
100 DeclarationScope* closure_scope_;
408 bool Rewriter::Rewrite(Parser* parser, DeclarationScope* closure_scope, in Rewrite()
Dpreparser.cc92 DeclarationScope* scope = NewScriptScope(); in PreParseProgram()
121 DeclarationScope* function_scope, bool is_inner_function, bool may_abort, in PreParseFunction()
179 DeclarationScope* inner_scope = function_scope; in PreParseFunction()
288 DeclarationScope* function_scope = NewFunctionScope(kind); in ParseFunctionLiteral()
Dpreparsed-scope-data.cc188 DeclarationScope* function_scope, PreParser* preparser) in DataGatheringScope()
249 DeclarationScope* scope) { in SaveScopeAllocationData()
356 DeclarationScope* declaration_scope = scope->AsDeclarationScope(); in ScopeIsSkippableFunctionScope()
545 DeclarationScope* scope) { in RestoreScopeAllocationData()
Dparser.h110 explicit ParserFormalParameters(DeclarationScope* scope) in ParserFormalParameters()
229 ZonePtrList<Statement>* body, DeclarationScope* scope,
309 DeclarationScope* function_scope);
318 DeclarationScope* scope, ZonePtrList<ClassLiteral::Property>* fields);
416 void InsertSloppyBlockFunctionVarBindings(DeclarationScope* scope);
448 DeclarationScope* function_scope, int* num_parameters,
459 DeclarationScope* function_scope, int* num_parameters,
925 DeclarationScope* scope,
Dpreparser.h864 explicit PreParserFormalParameters(DeclarationScope* scope) in PreParserFormalParameters()
978 DeclarationScope* function_scope, bool track_unresolved_variables,
1015 DeclarationScope* function_scope, int* num_parameters,
1139 DeclarationScope* function_scope) {
1151 DeclarationScope* function_scope) {
1244 DeclarationScope* function_scope = NewFunctionScope(kind);
1478 V8_INLINE void InsertSloppyBlockFunctionVarBindings(DeclarationScope* scope) {
1673 DeclarationScope* scope,
Dparser-base.h67 explicit FormalParametersBase(DeclarationScope* scope) : scope(scope) {} in FormalParametersBase()
83 DeclarationScope* scope;
394 DeclarationScope* scope);
397 DeclarationScope* scope() const { return scope_->AsDeclarationScope(); } in scope()
489 DeclarationScope* scope_;
607 DeclarationScope* static_fields_scope;
608 DeclarationScope* instance_fields_scope;
618 DeclarationScope* NewScriptScope() const { in NewScriptScope()
619 return new (zone()) DeclarationScope(zone(), ast_value_factory()); in NewScriptScope()
622 DeclarationScope* NewVarblockScope() const { in NewVarblockScope()
[all …]
Dparser.cc90 DeclarationScope* function_scope = NewFunctionScope(kind); in DefaultConstructor()
466 DeclarationScope* script_scope = NewScriptScope(); in DeserializeScopeChain()
559 DeclarationScope* scope = outer->AsDeclarationScope(); in DoParseProgram()
663 DeclarationScope* outer_scope, Zone* zone, bool* ok) { in ParseWrapped()
719 DeclarationScope* function_scope = result->scope(); in ParseFunction()
767 DeclarationScope* outer_function = outer->GetClosureScope(); in DoParseFunction()
791 DeclarationScope* scope = NewFunctionScope(kind); in DoParseFunction()
1776 DeclarationScope* function_scope) { in DeclareFunctionNameVar()
2588 DeclarationScope* scope; in ParseFunctionLiteral()
2720 DeclarationScope* function_scope, int* num_parameters, in SkipFunction()
[all …]
Dparse-info.cc104 DeclarationScope* ParseInfo::scope() const { return literal()->scope(); } in scope()
/external/v8/src/
Dunoptimized-compilation-info.h21 class DeclarationScope; variable
56 DeclarationScope* scope() const;
Dunoptimized-compilation-info.cc39 DeclarationScope* UnoptimizedCompilationInfo::scope() const { in scope()
Doptimized-compilation-info.h25 class DeclarationScope; variable
Dcompiler.cc500 DeclarationScope::AllocateScopeInfos(parse_info, isolate); in FinalizeUnoptimizedCode()
1031 if (!DeclarationScope::Analyze(parse_info)) return false; in Analyze()
/external/v8/src/debug/
Ddebug-scopes.h114 DeclarationScope* closure_scope_ = nullptr;
127 void RetrieveScopeChain(DeclarationScope* scope);
Ddebug-scopes.cc153 CHECK(DeclarationScope::Analyze(info_)); in TryParseAndRetrieveScopes()
513 void ScopeIterator::RetrieveScopeChain(DeclarationScope* scope) { in RetrieveScopeChain()
/external/v8/src/interpreter/
Dbytecode-generator.h300 inline DeclarationScope* closure_scope() const { return closure_scope_; } in closure_scope()
349 DeclarationScope* closure_scope_;
/external/v8/src/compiler-dispatcher/
Dunoptimized-compile-job.cc285 DeclarationScope::AllocateScopeInfos(parse_info_.get(), isolate); in FinalizeOnMainThread()
/external/v8/src/objects/
Dscope-info.cc159 DeclarationScope* function_scope = scope->AsDeclarationScope(); in Create()

12