|
| ModuleScope (DeclarationScope *script_scope, AstValueFactory *ast_value_factory) |
|
| ModuleScope (Isolate *isolate, Handle< ScopeInfo > scope_info, AstValueFactory *ast_value_factory) |
|
ModuleDescriptor * | module () const |
|
void | AllocateModuleVariables () |
|
| DeclarationScope (Zone *zone, Scope *outer_scope, ScopeType scope_type, FunctionKind function_kind=kNormalFunction) |
|
| DeclarationScope (Zone *zone, ScopeType scope_type, Handle< ScopeInfo > scope_info) |
|
| DeclarationScope (Zone *zone, AstValueFactory *ast_value_factory) |
|
bool | IsDeclaredParameter (const AstRawString *name) |
|
FunctionKind | function_kind () const |
|
bool | is_arrow_scope () const |
|
void | RecordSuperPropertyUsage () |
|
bool | NeedsHomeObject () const |
|
bool | calls_sloppy_eval () const |
|
bool | was_lazily_parsed () const |
|
Variable * | LookupInModule (const AstRawString *name) |
|
void | set_zone (Zone *zone) |
|
bool | ShouldEagerCompile () const |
|
void | set_should_eager_compile () |
|
void | SetScriptScopeInfo (Handle< ScopeInfo > scope_info) |
|
bool | asm_module () const |
|
void | set_asm_module () |
|
bool | should_ban_arguments () const |
|
void | DeclareThis (AstValueFactory *ast_value_factory) |
|
void | DeclareArguments (AstValueFactory *ast_value_factory) |
|
void | DeclareDefaultFunctionVariables (AstValueFactory *ast_value_factory) |
|
Variable * | DeclareFunctionVar (const AstRawString *name, Scope *cache=nullptr) |
|
Variable * | DeclareGeneratorObjectVar (const AstRawString *name) |
|
Variable * | DeclareParameter (const AstRawString *name, VariableMode mode, bool is_optional, bool is_rest, AstValueFactory *ast_value_factory, int position) |
|
Variable * | DeclareParameterName (const AstRawString *name, bool is_rest, AstValueFactory *ast_value_factory, bool declare_local, bool add_parameter) |
|
Variable * | DeclareDynamicGlobal (const AstRawString *name, VariableKind variable_kind, Scope *cache) |
|
Variable * | receiver () |
|
bool | has_this_declaration () const |
|
Variable * | new_target_var () |
|
Variable * | function_var () const |
|
Variable * | generator_object_var () const |
|
Variable * | parameter (int index) const |
|
int | num_parameters () const |
|
Variable * | rest_parameter () const |
|
bool | has_simple_parameters () const |
|
void | SetHasNonSimpleParameters () |
|
CreateArgumentsType | GetArgumentsType () const |
|
Variable * | arguments () const |
|
Variable * | this_function_var () const |
|
void | AddLocal (Variable *var) |
|
void | DeclareSloppyBlockFunction (const AstRawString *name, Scope *scope, SloppyBlockFunctionStatement *statement=nullptr) |
|
void | HoistSloppyBlockFunctions (AstNodeFactory *factory) |
|
SloppyBlockFunctionMap * | sloppy_block_function_map () |
|
void | AttachOuterScopeInfo (ParseInfo *info, Isolate *isolate) |
|
void | AnalyzePartially (AstNodeFactory *ast_node_factory) |
|
Handle< StringSet > | CollectNonLocals (Isolate *isolate, ParseInfo *info, Handle< StringSet > non_locals) |
|
bool | AllowsLazyCompilation () const |
|
void | ForceEagerCompilation () |
|
void | AllocateLocals () |
|
void | AllocateParameterLocals () |
|
void | AllocateReceiver () |
|
void | ResetAfterPreparsing (AstValueFactory *ast_value_factory, bool aborted) |
|
bool | is_skipped_function () const |
|
void | set_is_skipped_function (bool is_skipped_function) |
|
bool | has_inferred_function_name () const |
|
void | set_has_inferred_function_name (bool value) |
|
void | SavePreParsedScopeDataForDeclarationScope () |
|
void | set_preparsed_scope_data_builder (PreParsedScopeDataBuilder *preparsed_scope_data_builder) |
|
PreParsedScopeDataBuilder * | preparsed_scope_data_builder () const |
|
| Scope (Zone *zone, Scope *outer_scope, ScopeType scope_type) |
|
int | num_parameters () const |
|
DeclarationScope * | AsDeclarationScope () |
|
const DeclarationScope * | AsDeclarationScope () const |
|
ModuleScope * | AsModuleScope () |
|
const ModuleScope * | AsModuleScope () const |
|
Scope * | FinalizeBlockScope () |
|
bool | HasBeenRemoved () const |
|
Scope * | GetUnremovedScope () |
|
void | ReplaceOuterScope (Scope *outer_scope) |
|
Zone * | zone () const |
|
void | SetMustUsePreParsedScopeData () |
|
bool | must_use_preparsed_scope_data () const |
|
Variable * | LookupLocal (const AstRawString *name) |
|
Variable * | LookupInScopeInfo (const AstRawString *name, Scope *cache) |
|
Variable * | DeclareLocal (const AstRawString *name, VariableMode mode, InitializationFlag init_flag=kCreatedInitialized) |
|
Variable * | DeclareVariable (Declaration *declaration, VariableMode mode, InitializationFlag init, bool *sloppy_mode_block_scope_function_redefinition, bool *ok) |
|
Variable * | DeclareVariableName (const AstRawString *name, VariableMode mode) |
|
void | DeclareCatchVariableName (const AstRawString *name) |
|
base::ThreadedList< Declaration > * | declarations () |
|
base::ThreadedList< Variable > * | locals () |
|
VariableProxy * | NewUnresolved (AstNodeFactory *factory, const AstRawString *name, int start_pos=kNoSourcePosition, VariableKind kind=NORMAL_VARIABLE) |
|
void | AddUnresolved (VariableProxy *proxy) |
|
bool | RemoveUnresolved (VariableProxy *var) |
|
void | DeleteUnresolved (VariableProxy *var) |
|
Variable * | NewTemporary (const AstRawString *name) |
|
Declaration * | CheckConflictingVarDeclarations () |
|
Declaration * | CheckLexDeclarationsConflictingWith (const ZonePtrList< const AstRawString > &names) |
|
void | RecordEvalCall () |
|
void | RecordInnerScopeEvalCall () |
|
void | SetLanguageMode (LanguageMode language_mode) |
|
void | SetNonlinear () |
|
int | start_position () const |
|
void | set_start_position (int statement_pos) |
|
int | end_position () const |
|
void | set_end_position (int statement_pos) |
|
bool | is_hidden () const |
|
void | set_is_hidden () |
|
void | ForceContextAllocationForParameters () |
|
bool | has_forced_context_allocation_for_parameters () const |
|
bool | is_eval_scope () const |
|
bool | is_function_scope () const |
|
bool | is_module_scope () const |
|
bool | is_script_scope () const |
|
bool | is_catch_scope () const |
|
bool | is_block_scope () const |
|
bool | is_with_scope () const |
|
bool | is_declaration_scope () const |
|
bool | inner_scope_calls_eval () const |
|
bool | IsAsmModule () const |
|
bool | ContainsAsmModule () const |
|
bool | is_nonlinear () const |
|
bool | NeedsContext () const |
|
ScopeType | scope_type () const |
|
LanguageMode | language_mode () const |
|
Scope * | inner_scope () const |
|
Scope * | sibling () const |
|
Scope * | outer_scope () const |
|
Variable * | catch_variable () const |
|
bool | ShouldBanArguments () |
|
int | num_stack_slots () const |
|
int | num_heap_slots () const |
|
int | StackLocalCount () const |
|
int | ContextLocalCount () const |
|
bool | AllowsLazyParsingWithoutUnresolvedVariables (const Scope *outer) const |
|
int | ContextChainLength (Scope *scope) const |
|
int | ContextChainLengthUntilOutermostSloppyEval () const |
|
DeclarationScope * | GetDeclarationScope () |
|
DeclarationScope * | GetClosureScope () |
|
const DeclarationScope * | GetClosureScope () const |
|
DeclarationScope * | GetReceiverScope () |
|
Scope * | GetOuterScopeWithContext () |
|
Handle< ScopeInfo > | scope_info () const |
|
int | num_var () const |
|
bool | HasSimpleParameters () |
|
void | set_is_debug_evaluate_scope () |
|
bool | is_debug_evaluate_scope () const |
|
bool | RemoveInnerScope (Scope *inner_scope) |
|
Variable * | LookupInScopeOrScopeInfo (const AstRawString *name) |
|
Variable * | LookupForTesting (const AstRawString *name) |
|
Definition at line 1139 of file scopes.h.