Lines Matching defs:module
76 void BreakableStatementChecker::VisitModuleLiteral(ModuleLiteral* module) {
80 void BreakableStatementChecker::VisitModuleVariable(ModuleVariable* module) {
84 void BreakableStatementChecker::VisitModulePath(ModulePath* module) {
88 void BreakableStatementChecker::VisitModuleUrl(ModuleUrl* module) {
609 ModuleLiteral* module = declaration->module()->AsModuleLiteral();
610 if (module != NULL) {
612 Scope* scope = module->body()->scope();
618 // Set up module context.
628 // Pop module context.
640 // Module instance objects have an accessor for every export that forwards
641 // access to the respective slot from the module's context. (Exports that are
648 // For every (global or nested) module literal, the hosting context has an
649 // internal slot that points directly to the respective module context. This
650 // enables quick access to (statically resolved) module members by 2-dimensional
653 // module A {
655 // module B { let y; }
657 // module C { let z; }
663 // | | +-- [header| z ] (module)
665 // | +------- [header| y ] (module)
667 // +------------ [header| x | B ] (module)
669 // Here, .A, .B, .C are the internal slots pointing to the hosted module
671 // module context also points to the respective instance object through its
678 // 1. Allocate: for each module _literal_, allocate the module contexts and
683 // 2. Bind: for each module _declaration_ (i.e. literals as well as aliases),
687 // For each module _literal_, this phase also constructs a module descriptor
695 // 4. Initialize: execute the module bodies (and other code) in sequence. This
696 // happens by the separate statements generated for module bodies. To reenter
697 // the module scopes properly, the parser inserted ModuleStatements.
745 void FullCodeGenerator::VisitModuleLiteral(ModuleLiteral* module) {
746 Block* block = module->body();
758 // Set up module context.
770 // Populate the module description.
776 // Pop module context.
783 void FullCodeGenerator::VisitModuleVariable(ModuleVariable* module) {
785 // The instance object is resolved statically through the module's interface.
789 void FullCodeGenerator::VisitModulePath(ModulePath* module) {
791 // The instance object is resolved statically through the module's interface.
795 void FullCodeGenerator::VisitModuleUrl(ModuleUrl* module) {
797 Scope* scope = module->body()->scope();
1125 Comment cmnt(masm_, "[ Module context");