public void preMethodNoFrameAndDummyScope(StaticScope staticScope) { pushScope(staticScope.getDummyScope()); }
public void preMethodBacktraceDummyScope(String name, StaticScope staticScope) { pushScope(staticScope.getDummyScope()); }
public void preMethodNoFrameAndDummyScope(StaticScope staticScope) { pushScope(staticScope.getDummyScope()); }
public void preMethodBacktraceDummyScope(String name, StaticScope staticScope) { pushScope(staticScope.getDummyScope()); }
public void preMethodFrameAndDummyScope(RubyModule clazz, String name, IRubyObject self, Block block, StaticScope staticScope) { pushCallFrame(clazz, name, self, block); pushScope(staticScope.getDummyScope()); }
public void preMethodFrameAndDummyScope(RubyModule clazz, String name, IRubyObject self, Block block, StaticScope staticScope) { pushCallFrame(clazz, name, self, block); pushScope(staticScope.getDummyScope()); }
public void preMethodNoFrameAndDummyScope(RubyModule clazz, StaticScope staticScope) { RubyModule implementationClass = staticScope.getModule(); // FIXME: This is currently only here because of some problems with IOOutputStream writing to a "bare" runtime without a proper scope if (implementationClass == null) { implementationClass = clazz; } pushScope(staticScope.getDummyScope()); pushRubyClass(implementationClass); }
public void preMethodNoFrameAndDummyScope(RubyModule clazz, StaticScope staticScope) { RubyModule implementationClass = staticScope.getModule(); // FIXME: This is currently only here because of some problems with IOOutputStream writing to a "bare" runtime without a proper scope if (implementationClass == null) { implementationClass = clazz; } pushScope(staticScope.getDummyScope()); pushRubyClass(implementationClass); }
public void preMethodBacktraceDummyScope(RubyModule clazz, String name, StaticScope staticScope) { RubyModule implementationClass = staticScope.getModule(); // FIXME: This is currently only here because of some problems with IOOutputStream writing to a "bare" runtime without a proper scope if (implementationClass == null) { implementationClass = clazz; } pushScope(staticScope.getDummyScope()); pushRubyClass(implementationClass); }
public void preMethodBacktraceDummyScope(RubyModule clazz, String name, StaticScope staticScope) { RubyModule implementationClass = staticScope.getModule(); // FIXME: This is currently only here because of some problems with IOOutputStream writing to a "bare" runtime without a proper scope if (implementationClass == null) { implementationClass = clazz; } pushScope(staticScope.getDummyScope()); pushRubyClass(implementationClass); }
public void preMethodFrameAndDummyScope(RubyModule clazz, String name, IRubyObject self, Block block, StaticScope staticScope) { RubyModule implementationClass = staticScope.getModule(); // FIXME: This is currently only here because of some problems with IOOutputStream writing to a "bare" runtime without a proper scope if (implementationClass == null) { implementationClass = clazz; } pushCallFrame(clazz, name, self, block); pushScope(staticScope.getDummyScope()); pushRubyClass(implementationClass); }
public void preMethodFrameAndDummyScope(RubyModule clazz, String name, IRubyObject self, Block block, StaticScope staticScope) { RubyModule implementationClass = staticScope.getModule(); // FIXME: This is currently only here because of some problems with IOOutputStream writing to a "bare" runtime without a proper scope if (implementationClass == null) { implementationClass = clazz; } pushCallFrame(clazz, name, self, block); pushScope(staticScope.getDummyScope()); pushRubyClass(implementationClass); }
public void preCompiledClassDummyScope(RubyModule type, StaticScope staticScope) { pushRubyClass(type); pushFrameCopy(); getCurrentFrame().setSelf(type); getCurrentFrame().setVisibility(Visibility.PUBLIC); staticScope.setModule(type); pushScope(staticScope.getDummyScope()); }
public void preCompiledClassDummyScope(RubyModule type, StaticScope staticScope) { pushRubyClass(type); pushFrameCopy(); getCurrentFrame().setSelf(type); getCurrentFrame().setVisibility(Visibility.PUBLIC); staticScope.setModule(type); pushScope(staticScope.getDummyScope()); }
public static Block createMethodBlock(MethodBlockBody body) { RubyModule module = body.method.getImplementationClass(); Frame frame = new Frame(); frame.setKlazz(module); frame.setName(body.method.getName()); frame.setSelf(body.receiver); frame.setVisibility(body.method.getVisibility()); Binding binding = new Binding( frame, body.getStaticScope().getDummyScope(), body.method.getName(), body.getFile(), body.getLine()); return new Block(body, binding); }
public static Block createMethodBlock(MethodBlockBody body) { RubyModule module = body.method.getImplementationClass(); Frame frame = new Frame(); frame.setKlazz(module); frame.setName(body.method.getName()); frame.setSelf(body.receiver); frame.setVisibility(body.method.getVisibility()); Binding binding = new Binding( frame, body.getStaticScope().getDummyScope(), body.method.getName(), body.getFile(), body.getLine()); return new Block(body, binding); }