Home | History | Annotate | Download | only in ast

Lines Matching defs:DeclarationScope

172 DeclarationScope::DeclarationScope(Zone* zone,
183 DeclarationScope::DeclarationScope(Zone* zone, Scope* outer_scope,
193 bool DeclarationScope::IsDeclaredParameter(const AstRawString* name) {
200 ModuleScope::ModuleScope(DeclarationScope* script_scope,
202 : DeclarationScope(ast_value_factory->zone(), script_scope, MODULE_SCOPE,
212 : DeclarationScope(avfactory->zone(), MODULE_SCOPE, scope_info) {
276 DeclarationScope::DeclarationScope(Zone* zone, ScopeType scope_type,
305 void DeclarationScope::SetDefaults() {
324 DeclarationScope* outer_declaration_scope =
365 DeclarationScope* scope = GetClosureScope();
369 bool DeclarationScope::ShouldEagerCompile() const {
373 void DeclarationScope::set_should_eager_compile() {
377 void DeclarationScope::set_asm_module() {
402 DeclarationScope* script_scope,
431 DeclarationScope(zone, FUNCTION_SCOPE, handle(scope_info, isolate));
436 DeclarationScope(zone, EVAL_SCOPE, handle(scope_info, isolate));
440 DeclarationScope(zone, BLOCK_SCOPE, handle(scope_info, isolate));
477 DeclarationScope* Scope::AsDeclarationScope() {
479 return static_cast<DeclarationScope*>(this);
482 const DeclarationScope* Scope::AsDeclarationScope() const {
484 return static_cast<const DeclarationScope*>(this);
501 void DeclarationScope::DeclareSloppyBlockFunction(
512 void DeclarationScope::HoistSloppyBlockFunctions(AstNodeFactory* factory) {
559 DeclarationScope* decl_scope = this;
634 void DeclarationScope::AttachOuterScopeInfo(ParseInfo* info, Isolate* isolate) {
643 DeclarationScope* script_scope = new (info->zone())
644 DeclarationScope(info->zone(), info->ast_value_factory());
657 bool DeclarationScope::Analyze(ParseInfo* info) {
664 DeclarationScope* scope = info->literal()->scope();
709 void DeclarationScope::DeclareThis(AstValueFactory* ast_value_factory) {
723 void DeclarationScope::DeclareArguments(AstValueFactory* ast_value_factory) {
741 void DeclarationScope::DeclareDefaultFunctionVariables(
758 Variable* DeclarationScope::DeclareFunctionVar(const AstRawString* name) {
774 Variable* DeclarationScope::DeclareGeneratorObjectVar(
785 Variable* DeclarationScope::DeclarePromiseVar(const AstRawString* name) {
866 void DeclarationScope::AddLocal(Variable* var) {
885 void Scope::Snapshot::Reparent(DeclarationScope* new_parent) const {
927 DeclarationScope* outer_closure = outer_scope_->GetClosureScope();
1021 Variable* DeclarationScope::DeclareParameter(
1050 Variable* DeclarationScope::DeclareParameterName(
1268 Variable* DeclarationScope::DeclareDynamicGlobal(const AstRawString* name,
1301 DeclarationScope* scope = GetClosureScope();
1362 bool DeclarationScope::AllocateVariables(ParseInfo* info) {
1400 bool DeclarationScope::AllowsLazyCompilation() const {
1429 DeclarationScope* Scope::GetDeclarationScope() {
1437 const DeclarationScope* Scope::GetClosureScope() const {
1445 DeclarationScope* Scope::GetClosureScope() {
1466 DeclarationScope* Scope::GetReceiverScope() {
1484 Handle<StringSet> DeclarationScope::CollectNonLocals(
1494 void DeclarationScope::ResetAfterPreparsing(AstValueFactory* ast_value_factory,
1544 void DeclarationScope::SavePreParsedScopeDataForDeclarationScope() {
1551 void DeclarationScope::AnalyzePartially(AstNodeFactory* ast_node_factory) {
1694 void DeclarationScope::PrintParameters() {
1754 DeclarationScope* scope = AsDeclarationScope();
2077 VariableProxy* Scope::FetchFreeVariables(DeclarationScope* max_outer_scope,
2178 void DeclarationScope::AllocateParameterLocals() {
2215 void DeclarationScope::AllocateParameter(Variable* var, int index) {
2232 void DeclarationScope::AllocateReceiver() {
2262 void DeclarationScope::AllocateLocals() {
2367 void DeclarationScope::AllocateScopeInfos(ParseInfo* info, Isolate* isolate) {
2368 DeclarationScope* scope = info->literal()->scope();