Home
last modified time | relevance | path

Searched refs:function_scope (Results 1 – 14 of 14) sorted by relevance

/external/v8/src/parsing/
Dpreparser.cc121 DeclarationScope* function_scope, bool is_inner_function, bool may_abort, in PreParseFunction() argument
124 DCHECK_EQ(FUNCTION_SCOPE, function_scope->scope_type()); in PreParseFunction()
130 function_scope->set_is_being_lazily_parsed(true); in PreParseFunction()
140 new ProducedPreParsedScopeData::DataGatheringScope(function_scope, in PreParseFunction()
154 FunctionState function_state(&function_state_, &scope_, function_scope); in PreParseFunction()
159 PreParserFormalParameters formals(function_scope); in PreParseFunction()
174 formals.arity, kind, formals.has_rest, function_scope->start_position(), in PreParseFunction()
179 DeclarationScope* inner_scope = function_scope; in PreParseFunction()
199 SetLanguageMode(function_scope, inner_scope->language_mode()); in PreParseFunction()
203 if (is_sloppy(function_scope->language_mode())) { in PreParseFunction()
[all …]
Dparser.cc90 DeclarationScope* function_scope = NewFunctionScope(kind); in DefaultConstructor() local
91 SetLanguageMode(function_scope, LanguageMode::kStrict); in DefaultConstructor()
93 function_scope->set_start_position(pos); in DefaultConstructor()
94 function_scope->set_end_position(pos); in DefaultConstructor()
98 FunctionState function_state(&function_state_, &scope_, function_scope); in DefaultConstructor()
107 Variable* constructor_args = function_scope->DeclareParameter( in DefaultConstructor()
126 name, function_scope, body, expected_property_count, parameter_count, in DefaultConstructor()
719 DeclarationScope* function_scope = result->scope(); in ParseFunction() local
723 function_scope->start_position(), in ParseFunction()
724 function_scope->end_position(), function_name.get(), in ParseFunction()
[all …]
Dpreparser.h978 DeclarationScope* function_scope, bool track_unresolved_variables,
1015 DeclarationScope* function_scope, int* num_parameters,
1139 DeclarationScope* function_scope) {
1142 function_scope->LookupLocal(function_name) == nullptr) {
1143 DCHECK_EQ(function_scope, scope());
1144 function_scope->DeclareFunctionVar(function_name);
1151 DeclarationScope* function_scope) {
1153 function_scope);
1244 DeclarationScope* function_scope = NewFunctionScope(kind);
1245 SetLanguageMode(function_scope, LanguageMode::kStrict);
[all …]
Dpreparsed-scope-data.cc188 DeclarationScope* function_scope, PreParser* preparser) in DataGatheringScope() argument
189 : function_scope_(function_scope), in DataGatheringScope()
200 function_scope->set_produced_preparsed_scope_data( in DataGatheringScope()
Dpreparsed-scope-data.h107 DataGatheringScope(DeclarationScope* function_scope, PreParser* preparser);
Dparser.h309 DeclarationScope* function_scope);
448 DeclarationScope* function_scope, int* num_parameters,
459 DeclarationScope* function_scope, int* num_parameters,
Dparser-base.h4199 DeclarationScope* function_scope = scope()->AsDeclarationScope(); in ParseFunctionBody() local
4200 DeclarationScope* inner_scope = function_scope; in ParseFunctionBody()
4244 DCHECK_EQ(function_scope, scope()); in ParseFunctionBody()
4245 DCHECK_EQ(function_scope, inner_scope->outer_scope()); in ParseFunctionBody()
4246 impl()->SetLanguageMode(function_scope, inner_scope->language_mode()); in ParseFunctionBody()
4271 DCHECK_EQ(inner_scope, function_scope); in ParseFunctionBody()
4272 if (is_sloppy(function_scope->language_mode())) { in ParseFunctionBody()
4273 impl()->InsertSloppyBlockFunctionVarBindings(function_scope); in ParseFunctionBody()
4281 function_scope->DeclareArguments(ast_value_factory()); in ParseFunctionBody()
4284 impl()->DeclareFunctionNameVar(function_name, function_type, function_scope); in ParseFunctionBody()
/external/clang/test/Sema/
D__try.c120 int function_scope = 0; in TEST() local
125 (void)function_scope; in TEST()
131 int function_scope = 0; in TEST() local
136 (void)function_scope; in TEST()
142 int function_scope = 0; in TEST() local
146 __except( function_scope ? 1 : -1 ) {} in TEST()
/external/tensorflow/tensorflow/python/autograph/core/
Dconverter_testing.py81 fake_ag.function_scope = function_wrapping.function_scope
Dfunction_wrapping.py27 def function_scope(function_name): function
Dfunction_wrapping_test.py31 with function_wrapping.function_scope('test_name'):
/external/tensorflow/tensorflow/python/autograph/impl/
Dconversion.py323 ag_internal.function_scope = function_wrapping.function_scope
/external/v8/src/objects/
Dscope-info.cc159 DeclarationScope* function_scope = scope->AsDeclarationScope(); in Create() local
160 has_simple_parameters = function_scope->has_simple_parameters(); in Create()
161 asm_module = function_scope->asm_module(); in Create()
/external/chromium-libpac/src/
Dproxy_resolver_v8.cc380 v8::Context::Scope function_scope(context); in ResolveProxy() local