Home
last modified time | relevance | path

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

12

/external/v8/src/ast/
Dscopes.cc160 DeclarationScope::DeclarationScope(Zone* zone, in DeclarationScope() function in v8::internal::DeclarationScope
174 DeclarationScope::DeclarationScope(Zone* zone, Scope* outer_scope, in DeclarationScope() function in v8::internal::DeclarationScope
186 ModuleScope::ModuleScope(DeclarationScope* script_scope, in ModuleScope()
188 : DeclarationScope(ast_value_factory->zone(), script_scope, MODULE_SCOPE, in ModuleScope()
198 : DeclarationScope(avfactory->zone(), MODULE_SCOPE, scope_info) { in ModuleScope()
259 DeclarationScope::DeclarationScope(Zone* zone, ScopeType scope_type, in DeclarationScope() function in v8::internal::DeclarationScope
287 void DeclarationScope::SetDefaults() { in SetDefaults()
304 DeclarationScope* outer_declaration_scope = in SetDefaults()
342 DeclarationScope* scope = GetClosureScope(); in HasSimpleParameters()
346 bool DeclarationScope::ShouldEagerCompile() const { in ShouldEagerCompile()
[all …]
Dscopes.h107 DeclarationScope* AsDeclarationScope(); in NON_EXPORTED_BASE()
108 const DeclarationScope* AsDeclarationScope() const; in NON_EXPORTED_BASE()
116 void Reparent(DeclarationScope* new_parent) const; in NON_EXPORTED_BASE()
130 DeclarationScope* script_scope, in NON_EXPORTED_BASE()
393 DeclarationScope* GetDeclarationScope(); in NON_EXPORTED_BASE()
400 DeclarationScope* GetClosureScope(); in NON_EXPORTED_BASE()
401 const DeclarationScope* GetClosureScope() const; in NON_EXPORTED_BASE()
405 DeclarationScope* GetReceiverScope(); in NON_EXPORTED_BASE()
572 VariableProxy* FetchFreeVariables(DeclarationScope* max_outer_scope, in NON_EXPORTED_BASE()
610 friend class DeclarationScope; in NON_EXPORTED_BASE() local
[all …]
Dprettyprinter.h88 void PrintParameters(DeclarationScope* scope);
Dast-traversal-visitor.h289 DeclarationScope* scope = expr->scope(); in VisitFunctionLiteral()
Dast.h2571 DeclarationScope* scope() const { return scope_; } in scope()
2701 AstValueFactory* ast_value_factory, DeclarationScope* scope, in FunctionLiteral()
2748 DeclarationScope* scope_;
3495 const AstRawString* name, DeclarationScope* scope, in NewFunctionLiteral()
3512 FunctionLiteral* NewScriptOrEvalFunctionLiteral(DeclarationScope* scope, in NewScriptOrEvalFunctionLiteral()
/external/v8/src/parsing/
Dparse-info.h24 class DeclarationScope; variable
123 DeclarationScope* script_scope() const { return script_scope_; } in script_scope()
124 void set_script_scope(DeclarationScope* script_scope) { in set_script_scope()
128 DeclarationScope* asm_function_scope() const { return asm_function_scope_; } in asm_function_scope()
129 void set_asm_function_scope(DeclarationScope* scope) { in set_asm_function_scope()
146 DeclarationScope* scope() const;
262 DeclarationScope* script_scope_;
263 DeclarationScope* asm_function_scope_;
Drewriter.h15 class DeclarationScope; variable
34 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_;
371 DeclarationScope* closure_scope = scope->GetClosureScope(); in DECLARATION_NODE_LIST()
405 bool Rewriter::Rewrite(Parser* parser, DeclarationScope* closure_scope, in Rewrite()
Dpreparser.cc89 FunctionKind kind, DeclarationScope* function_scope, bool parsing_module, in PreParseFunction()
138 DeclarationScope* inner_scope = function_scope; in PreParseFunction()
236 DeclarationScope* function_scope = NewFunctionScope(kind); in ParseFunctionLiteral()
Dparser.h169 explicit ParserFormalParameters(DeclarationScope* scope) in ParserFormalParameters()
354 DeclarationScope* function_scope,
519 void InsertSloppyBlockFunctionVarBindings(DeclarationScope* scope);
549 DeclarationScope* function_scope,
563 DeclarationScope* function_scope, int* num_parameters,
1077 DeclarationScope* scope,
Dparser-base.h62 explicit FormalParametersBase(DeclarationScope* scope) : scope(scope) {} in FormalParametersBase()
78 DeclarationScope* scope;
379 DeclarationScope* scope);
382 DeclarationScope* scope() const { return scope_->AsDeclarationScope(); } in scope()
473 DeclarationScope* scope_;
650 DeclarationScope* NewScriptScope() const { in NewScriptScope()
651 return new (zone()) DeclarationScope(zone(), ast_value_factory()); in NewScriptScope()
654 DeclarationScope* NewVarblockScope() const { in NewVarblockScope()
655 return new (zone()) DeclarationScope(zone(), scope(), BLOCK_SCOPE); in NewVarblockScope()
658 ModuleScope* NewModuleScope(DeclarationScope* parent) const { in NewModuleScope()
[all …]
Dpreparser.h809 explicit PreParserFormalParameters(DeclarationScope* scope) in PreParserFormalParameters()
910 DeclarationScope* scope = NewScriptScope();
945 DeclarationScope* function_scope,
967 SkipFunction(FunctionKind kind, DeclarationScope* function_scope,
1101 DeclarationScope* function_scope, PreParserStatementList result,
1407 V8_INLINE void InsertSloppyBlockFunctionVarBindings(DeclarationScope* scope) {
1626 DeclarationScope* scope,
Dparse-info.cc144 DeclarationScope* ParseInfo::scope() const { return literal()->scope(); } in scope()
Dparser.cc176 DeclarationScope* function_scope = NewFunctionScope(kind); in DefaultConstructor()
575 DeclarationScope* script_scope = NewScriptScope(); in DeserializeScopeChain()
680 DeclarationScope* scope = outer->AsDeclarationScope(); in DoParseProgram()
845 DeclarationScope* outer_function = outer->GetClosureScope(); in DoParseFunction()
869 DeclarationScope* scope = NewFunctionScope(kind); in DoParseFunction()
1815 DeclarationScope* function_scope, ZoneList<Statement*>* result, int index) { in CreateFunctionNameAssignment()
2626 DeclarationScope* scope; in ParseFunctionLiteral()
2759 FunctionKind kind, DeclarationScope* function_scope, int* num_parameters, in SkipFunction()
3132 DeclarationScope* function_scope, int* num_parameters, int* function_length, in ParseFunction()
3339 void Parser::InsertSloppyBlockFunctionVarBindings(DeclarationScope* scope) { in InsertSloppyBlockFunctionVarBindings()
/external/v8/src/crankshaft/
Dtyping.h20 class DeclarationScope; variable
27 DeclarationScope* scope, BailoutId osr_ast_id, FunctionLiteral* root,
44 DeclarationScope* scope_;
/external/v8/src/compiler/
Dast-loop-assignment-analyzer.h33 int GetAssignmentCountForTesting(DeclarationScope* scope, Variable* var);
54 static int GetVariableIndex(DeclarationScope* scope, Variable* var);
Dast-loop-assignment-analyzer.cc304 int ALAA::GetVariableIndex(DeclarationScope* scope, Variable* var) { in GetVariableIndex()
312 DeclarationScope* scope, Variable* var) { in GetAssignmentCountForTesting()
Dast-graph-builder.cc300 DeclarationScope* closure_scope = current_scope()->GetClosureScope(); in GetFunctionClosureForContext()
355 DeclarationScope* scope = info()->scope(); in CreateGraph()
414 DeclarationScope* scope = info()->scope(); in CreateGraphBody()
473 static const char* GetDebugParameterName(Zone* zone, DeclarationScope* scope, in GetDebugParameterName()
488 DeclarationScope* scope, in Environment()
2263 DeclarationScope* scope = info()->scope(); in BuildLocalActivationContext()
Dast-graph-builder.h415 Environment(AstGraphBuilder* builder, DeclarationScope* scope,
/external/v8/src/debug/
Ddebug-scopes.h110 void RetrieveScopeChain(DeclarationScope* scope);
112 void CollectNonLocals(ParseInfo* info, DeclarationScope* scope);
Ddebug-scopes.cc113 DeclarationScope* scope = info->literal()->scope(); in ScopeIterator()
118 DeclarationScope::Analyze(info.get(), AnalyzeMode::kDebugger); in ScopeIterator()
462 void ScopeIterator::RetrieveScopeChain(DeclarationScope* scope) { in RetrieveScopeChain()
468 void ScopeIterator::CollectNonLocals(ParseInfo* info, DeclarationScope* scope) { in CollectNonLocals()
/external/v8/src/interpreter/
Dbytecode-generator.h176 inline DeclarationScope* closure_scope() const { return closure_scope_; } in closure_scope()
211 DeclarationScope* closure_scope_;
/external/v8/src/
Dcompilation-info.h22 class DeclarationScope; variable
69 DeclarationScope* scope() const;
Dcompilation-info.cc32 PARSE_INFO_GETTER_WITH_DEFAULT(DeclarationScope*, scope, nullptr) in PARSE_INFO_GETTER()
Dcompiler.cc388 bool UseAsmWasm(DeclarationScope* scope, Handle<SharedFunctionInfo> shared_info, in UseAsmWasm()
396 DeclarationScope* scope, in UseCompilerDispatcher()
1223 DeclarationScope::Analyze(info, AnalyzeMode::kRegular); in Analyze()

12