コード例 #1
0
 @Override
 public Object execute(VirtualFrame frame) {
   return lexicalScope.getLiveModule();
 }
コード例 #2
0
 @TruffleBoundary
 private InternalMethod prepareLexicalScope(DynamicObject module, InternalMethod definition) {
   lexicalScope.unsafeSetLiveModule(module);
   Layouts.MODULE.getFields(lexicalScope.getParent().getLiveModule()).addLexicalDependent(module);
   return definition.withDeclaringModule(module);
 }