Uses of Class
org.jruby.runtime.Block

Packages that use Block
org.jruby   
org.jruby.ast.executable   
org.jruby.evaluator   
org.jruby.ext   
org.jruby.ext.socket   
org.jruby.internal.runtime   
org.jruby.internal.runtime.methods   
org.jruby.javasupport   
org.jruby.javasupport.proxy   
org.jruby.javasupport.util   
org.jruby.libraries   
org.jruby.runtime   
org.jruby.runtime.builtin   
org.jruby.runtime.callback   
org.jruby.test   
 

Uses of Block in org.jruby
 

Fields in org.jruby declared as Block
protected  Block RubyEnumerator.SlicedBlockCallback.clientBlock
           
protected  Block RubyEnumerator.ConsecutiveBlockCallback.clientBlock
           
 

Methods in org.jruby that return Block
 Block RubyBinding.getBlock()
           
 Block RubyProc.getBlock()
           
 

Methods in org.jruby with parameters of type Block
 IRubyObject NativeException.cause(Block unusedBlock)
           
 RubyProc Ruby.newProc(boolean isLambda, Block block)
           
 RubyBinding Ruby.newBinding(Block block)
           
 IRubyObject RubyArgsFile.each_byte(Block block)
           
 IRubyObject RubyArgsFile.each_line(IRubyObject[] args, Block block)
          Invoke a block for each line.
 IRubyObject RubyArray.callMethod(ThreadContext context, RubyModule rubyclass, int methodIndex, java.lang.String name, IRubyObject[] args, CallType callType, Block block)
           
static IRubyObject RubyArray.create(IRubyObject klass, IRubyObject[] args, Block block)
          rb_ary_s_create
 IRubyObject RubyArray.initialize(IRubyObject[] args, Block block)
          rb_ary_initialize
 IRubyObject RubyArray.fetch(IRubyObject[] args, Block block)
          rb_ary_fetch
 IRubyObject RubyArray.each(Block block)
          rb_ary_each
 IRubyObject RubyArray.each_index(Block block)
          rb_ary_each_index
 IRubyObject RubyArray.reverse_each(Block block)
          rb_ary_reverse_each
 IRubyObject RubyArray.fill(IRubyObject[] args, Block block)
          rb_ary_fill
 RubyArray RubyArray.collect(Block block)
          rb_ary_collect
 RubyArray RubyArray.collect_bang(Block block)
          rb_ary_collect_bang
 RubyArray RubyArray.select(Block block)
          rb_ary_select
 IRubyObject RubyArray.delete(IRubyObject item, Block block)
          rb_ary_delete
 IRubyObject RubyArray.reject(Block block)
          rb_ary_reject_bang
 IRubyObject RubyArray.reject_bang(Block block)
          rb_ary_reject_bang
 IRubyObject RubyArray.delete_if(Block block)
          rb_ary_delete_if
 IRubyObject RubyArray.zip(IRubyObject[] args, Block block)
          rb_ary_zip
 RubyArray RubyArray.sort(Block block)
          rb_ary_sort
 RubyArray RubyArray.sort_bang(Block block)
          rb_ary_sort_bang
static RubyBigDecimal RubyBigDecimal.newInstance(IRubyObject recv, IRubyObject[] args, Block unusedBlock)
           
static RubyBigDecimal RubyBigDecimal.newBigDecimal(IRubyObject recv, IRubyObject[] args, Block unusedBlock)
           
static IRubyObject RubyBigDecimal._load(IRubyObject recv, IRubyObject p1, Block block)
           
 IRubyObject RubyBigDecimal.initialize(IRubyObject[] args, Block unusedBlock)
           
 IRubyObject RubyBignum.callMethod(ThreadContext context, RubyModule rubyclass, int methodIndex, java.lang.String name, IRubyObject[] args, CallType callType, Block block)
           
static RubyBinding RubyBinding.newBinding(Ruby runtime, Block block)
           
static IRubyObject RubyBinding.of_caller(IRubyObject recv, Block aBlock)
           
 IRubyObject RubyClass.callMethod(ThreadContext context, RubyModule rubyclass, int methodIndex, java.lang.String name, IRubyObject[] args, CallType callType, Block block)
           
static IRubyObject RubyClass.inherited(IRubyObject recv, IRubyObject arg, Block block)
           
 IRubyObject RubyClass.newInstance(IRubyObject[] args, Block block)
          rb_class_new_instance
static RubyClass RubyClass.newClass(IRubyObject recv, IRubyObject[] args, Block block, boolean invokeInherited)
          rb_class_s_new
static RubyClass RubyClass.newClass(IRubyObject recv, IRubyObject[] args, Block block)
           
 IRubyObject RubyClass.superclass(Block block)
          Return the real super class of this class.
 IRubyObject RubyClassPathVariable.each(Block block)
           
static IRubyObject RubyContinuation.call(IRubyObject recv, IRubyObject[] args, Block unusedBlock)
           
 IRubyObject RubyDigest.Base.initialize(IRubyObject[] args, Block unusedBlock)
           
 IRubyObject RubyDir.initialize(IRubyObject _newPath, Block unusedBlock)
          Creates a new Dir.
static IRubyObject RubyDir.glob(IRubyObject recv, IRubyObject[] args, Block block)
          Returns an array of filenames matching the specified wildcard pattern pat.
static IRubyObject RubyDir.chdir(IRubyObject recv, IRubyObject[] args, Block block)
          Changes the current directory to path
static IRubyObject RubyDir.foreach(IRubyObject recv, IRubyObject _path, Block block)
          Executes the block once for each file in the directory specified by path.
static IRubyObject RubyDir.open(IRubyObject recv, IRubyObject path, Block block)
          Returns a new directory object for path.
 IRubyObject RubyDir.each(Block block)
          Executes the block once for each entry in the directory.
static IRubyObject RubyEnumerable.sort(IRubyObject self, Block block)
           
static IRubyObject RubyEnumerable.sort_by(IRubyObject self, Block block)
           
static IRubyObject RubyEnumerable.grep(IRubyObject self, IRubyObject pattern, Block block)
           
static IRubyObject RubyEnumerable.detect(IRubyObject self, IRubyObject[] args, Block block)
           
static IRubyObject RubyEnumerable.select(IRubyObject self, Block block)
           
static IRubyObject RubyEnumerable.reject(IRubyObject self, Block block)
           
static IRubyObject RubyEnumerable.collect(IRubyObject self, Block block)
           
static IRubyObject RubyEnumerable.inject(IRubyObject self, IRubyObject[] args, Block block)
           
static IRubyObject RubyEnumerable.partition(IRubyObject self, Block block)
           
static IRubyObject RubyEnumerable.each_with_index(IRubyObject self, Block block)
           
static IRubyObject RubyEnumerable.max(IRubyObject self, Block block)
           
static IRubyObject RubyEnumerable.min(IRubyObject self, Block block)
           
static IRubyObject RubyEnumerable.all_p(IRubyObject self, Block block)
           
static IRubyObject RubyEnumerable.any_p(IRubyObject self, Block block)
           
static IRubyObject RubyEnumerable.zip(IRubyObject self, IRubyObject[] args, Block block)
           
static IRubyObject RubyEnumerable.group_by(IRubyObject self, Block block)
           
 IRubyObject RubyEnumerable.AppendBlockCallback.call(ThreadContext context, IRubyObject[] largs, Block blk)
           
static IRubyObject RubyEnumerator.new_instance(IRubyObject self, IRubyObject[] args, Block block)
           
static IRubyObject RubyEnumerator.initialize(IRubyObject self, IRubyObject[] args, Block block)
           
static IRubyObject RubyEnumerator.each(IRubyObject self, IRubyObject[] args, Block block)
           
static IRubyObject RubyEnumerator.o_to_enum(IRubyObject self, IRubyObject[] args, Block block)
           
static IRubyObject RubyEnumerator.each_with_index(IRubyObject self, Block block)
           
static IRubyObject RubyEnumerator.each_slice(IRubyObject self, IRubyObject arg, Block block)
           
static IRubyObject RubyEnumerator.each_cons(IRubyObject self, IRubyObject arg, Block block)
           
static IRubyObject RubyEnumerator.enum_slice(IRubyObject self, IRubyObject arg, Block block)
           
static IRubyObject RubyEnumerator.enum_cons(IRubyObject self, IRubyObject arg, Block block)
           
 IRubyObject RubyEnumerator.SlicedBlockCallback.call(ThreadContext context, IRubyObject[] args, Block block)
           
 IRubyObject RubyEnumerator.ConsecutiveBlockCallback.call(ThreadContext context, IRubyObject[] args, Block block)
           
 IRubyObject RubyException.initialize(IRubyObject[] args, Block block)
           
 IRubyObject RubyFile.initialize(IRubyObject[] args, Block block)
           
static IRubyObject RubyFile.open(IRubyObject recv, IRubyObject[] args, Block block)
           
static IRubyObject RubyFile.open(IRubyObject recv, IRubyObject[] args, boolean tryToYield, Block block)
           
 IRubyObject RubyFileStat.initialize(IRubyObject fname, Block unusedBlock)
           
 IRubyObject RubyFixnum.callMethod(ThreadContext context, RubyModule rubyclass, int methodIndex, java.lang.String name, IRubyObject[] args, CallType callType, Block block)
           
 IRubyObject RubyHash.callMethod(ThreadContext context, RubyModule rubyclass, int methodIndex, java.lang.String name, IRubyObject[] args, CallType callType, Block block)
           
static IRubyObject RubyHash.create(IRubyObject recv, IRubyObject[] args, Block block)
          rb_hash_s_create
 IRubyObject RubyHash.initialize(IRubyObject[] args, Block block)
          rb_hash_initialize
 IRubyObject RubyHash.default_value_get(IRubyObject[] args, Block unusedBlock)
          rb_hash_default
 IRubyObject RubyHash.default_proc(Block unusedBlock)
          rb_hash_default_proc
 IRubyObject RubyHash.fetch(IRubyObject[] args, Block block)
          rb_hash_fetch
 RubyHash RubyHash.each(Block block)
          rb_hash_each
 RubyHash RubyHash.each_pair(Block block)
          rb_hash_each_pair
 RubyHash RubyHash.each_value(Block block)
          rb_hash_each_value
 RubyHash RubyHash.each_key(Block block)
          rb_hash_each_key
 RubyArray RubyHash.sort(Block block)
          rb_hash_sort
 IRubyObject RubyHash.delete(IRubyObject key, Block block)
          rb_hash_delete
 IRubyObject RubyHash.select(IRubyObject[] args, Block block)
          rb_hash_select
 RubyHash RubyHash.delete_if(Block block)
          rb_hash_delete_if
 RubyHash RubyHash.reject(Block block)
          rb_hash_reject
 IRubyObject RubyHash.reject_bang(Block block)
          rb_hash_reject_bang
 RubyHash RubyHash.update(IRubyObject other, Block block)
          rb_hash_update
 RubyHash RubyHash.merge(IRubyObject other, Block block)
          rb_hash_merge
 IRubyObject RubyIO.initialize(IRubyObject[] args, Block unusedBlock)
           
 IRubyObject RubyIO.each_byte(Block block)
          Invoke a block for each byte.
 RubyIO RubyIO.each_line(IRubyObject[] args, Block block)
          Invoke a block for each line.
static IRubyObject RubyIO.foreach(IRubyObject recv, IRubyObject[] args, Block block)
          rb_io_s_foreach
static IRubyObject RubyIO.read(IRubyObject recv, IRubyObject[] args, Block block)
           
static RubyArray RubyIO.readlines(IRubyObject recv, IRubyObject[] args, Block block)
           
static IRubyObject RubyIO.popen(IRubyObject recv, IRubyObject[] args, Block block)
           
static IRubyObject RubyIconv.open(IRubyObject recv, IRubyObject to, IRubyObject from, Block block)
           
 IRubyObject RubyIconv.initialize(IRubyObject[] args, Block unusedBlock)
           
static IRubyObject RubyIconv.iconv(IRubyObject recv, IRubyObject[] args, Block unusedBlock)
           
static IRubyObject RubyIconv.conv(IRubyObject recv, IRubyObject[] args, Block unusedBlock)
           
 IRubyObject RubyIconv.RubyFailure.initialize(IRubyObject[] args, Block block)
           
 IRubyObject RubyInteger.upto(IRubyObject to, Block block)
          int_upto
 IRubyObject RubyInteger.downto(IRubyObject to, Block block)
          int_downto
 IRubyObject RubyInteger.times(Block block)
           
static IRubyObject RubyJRuby.runtime(IRubyObject recv, Block unusedBlock)
           
static IRubyObject RubyJRuby.parse(IRubyObject recv, IRubyObject arg1, IRubyObject arg2, Block unusedBlock)
           
static IRubyObject RubyKernel.at_exit(IRubyObject recv, Block block)
           
static IRubyObject RubyKernel.method_missing(IRubyObject recv, IRubyObject[] args, Block block)
           
static IRubyObject RubyKernel.open(IRubyObject recv, IRubyObject[] args, Block block)
           
static IRubyObject RubyKernel.sub_bang(IRubyObject recv, IRubyObject[] args, Block block)
           
static IRubyObject RubyKernel.sub(IRubyObject recv, IRubyObject[] args, Block block)
           
static IRubyObject RubyKernel.gsub_bang(IRubyObject recv, IRubyObject[] args, Block block)
           
static IRubyObject RubyKernel.gsub(IRubyObject recv, IRubyObject[] args, Block block)
           
static IRubyObject RubyKernel.scan(IRubyObject recv, IRubyObject pattern, Block block)
           
static RubyBinding RubyKernel.binding(IRubyObject recv, Block block)
           
static RubyBoolean RubyKernel.block_given(IRubyObject recv, Block block)
           
static IRubyObject RubyKernel.raise(IRubyObject recv, IRubyObject[] args, Block block)
           
static IRubyObject RubyKernel.require(IRubyObject recv, IRubyObject name, Block block)
          Require.
static IRubyObject RubyKernel.load(IRubyObject recv, IRubyObject[] args, Block block)
           
static IRubyObject RubyKernel.eval(IRubyObject recv, IRubyObject[] args, Block block)
           
static IRubyObject RubyKernel.callcc(IRubyObject recv, IRubyObject[] args, Block block)
           
static IRubyObject RubyKernel.caller(IRubyObject recv, IRubyObject[] args, Block block)
           
static IRubyObject RubyKernel.rbCatch(IRubyObject recv, IRubyObject tag, Block block)
           
static IRubyObject RubyKernel.rbThrow(IRubyObject recv, IRubyObject[] args, Block block)
           
static IRubyObject RubyKernel.trap(IRubyObject recv, IRubyObject[] args, Block block)
           
static IRubyObject RubyKernel.set_trace_func(IRubyObject recv, IRubyObject trace_func, Block block)
           
static IRubyObject RubyKernel.trace_var(IRubyObject recv, IRubyObject[] args, Block block)
           
static IRubyObject RubyKernel.untrace_var(IRubyObject recv, IRubyObject[] args, Block block)
           
static IRubyObject RubyKernel.singleton_method_added(IRubyObject recv, IRubyObject symbolId, Block block)
           
static IRubyObject RubyKernel.singleton_method_removed(IRubyObject recv, IRubyObject symbolId, Block block)
           
static IRubyObject RubyKernel.singleton_method_undefined(IRubyObject recv, IRubyObject symbolId, Block block)
           
static RubyProc RubyKernel.proc(IRubyObject recv, Block block)
           
static IRubyObject RubyKernel.loop(IRubyObject recv, Block block)
           
static IRubyObject RubyMarshal.dump(IRubyObject recv, IRubyObject[] args, Block unusedBlock)
           
static IRubyObject RubyMarshal.load(IRubyObject recv, IRubyObject[] args, Block unusedBlock)
           
 IRubyObject RubyMethod.call(IRubyObject[] args, Block block)
          Call the method.
 IRubyObject RubyMethod.to_proc(Block unusedBlock)
          Create a Proc object.
static IRubyObject RubyMethod.mproc(IRubyObject recv, Block block)
          Create a Proc object which is called like a ruby method.
static IRubyObject RubyMethod.bmcall(IRubyObject blockArg, IRubyObject arg1, IRubyObject self, Block unusedBlock)
          Delegate a block call to a bound method call.
 RubyUnboundMethod RubyMethod.unbind(Block unusedBlock)
           
 IRubyObject RubyModule.callMethod(ThreadContext context, RubyModule rubyclass, int methodIndex, java.lang.String name, IRubyObject[] args, CallType callType, Block block)
           
 IRubyObject RubyModule.const_missing(IRubyObject name, Block block)
          Base implementation of Module#const_missing, throws NameError for specific missing constant.
 IRubyObject RubyModule.define_method(IRubyObject[] args, Block block)
           
 IRubyObject RubyModule.executeUnder(Callback method, IRubyObject[] args, Block block)
           
 IRubyObject RubyModule.initialize(IRubyObject[] args, Block block)
          rb_mod_initialize
 IRubyObject RubyModule.extended(IRubyObject other, Block block)
           
 IRubyObject RubyModule.method_added(IRubyObject nothing, Block block)
           
 IRubyObject RubyModule.method_removed(IRubyObject nothing, Block block)
           
 IRubyObject RubyModule.method_undefined(IRubyObject nothing, Block block)
           
 IRubyObject RubyModule.module_eval(IRubyObject[] args, Block block)
           
static RubyArray RubyModule.nesting(IRubyObject recv, Block block)
          Return an array of nested modules or classes.
 IRubyObject RubyNameError.initialize(IRubyObject[] args, Block block)
           
 IRubyObject RubyNoMethodError.initialize(IRubyObject[] args, Block block)
           
 IRubyObject RubyNumeric.step(IRubyObject[] args, Block block)
           
 IRubyObject RubyObject.callSuper(ThreadContext context, IRubyObject[] args, Block block)
           
 IRubyObject RubyObject.callMethod(ThreadContext context, java.lang.String name, IRubyObject[] args, Block block)
           
 IRubyObject RubyObject.callMethod(ThreadContext context, java.lang.String name, IRubyObject[] args, CallType callType, Block block)
           
 IRubyObject RubyObject.compilerCallMethodWithIndex(ThreadContext context, int methodIndex, java.lang.String name, IRubyObject[] args, IRubyObject self, CallType callType, Block block)
          Used by the compiler to ease calling indexed methods, also to handle visibility.
 IRubyObject RubyObject.compilerCallMethod(ThreadContext context, java.lang.String name, IRubyObject[] args, IRubyObject self, CallType callType, Block block)
          Used by the compiler to handle visibility
static IRubyObject RubyObject.callMethodMissingIfNecessary(ThreadContext context, IRubyObject receiver, DynamicMethod method, java.lang.String name, IRubyObject[] args, IRubyObject self, CallType callType, Block block)
           
 IRubyObject RubyObject.callMethod(ThreadContext context, RubyModule rubyclass, int methodIndex, java.lang.String name, IRubyObject[] args, CallType callType, Block block)
           
 IRubyObject RubyObject.callMethod(ThreadContext context, RubyModule rubyclass, java.lang.String name, IRubyObject[] args, CallType callType, Block block)
           
 IRubyObject RubyObject.callMethod(ThreadContext context, java.lang.String name, Block block)
           
 void RubyObject.callInit(IRubyObject[] args, Block block)
           
 IRubyObject RubyObject.specificEval(RubyModule mod, IRubyObject[] args, Block block)
          specific_eval
 IRubyObject RubyObject.rbClone(Block unusedBlock)
          rb_obj_clone should be overriden only by: Proc, Method, UnboundedMethod, Binding
 IRubyObject RubyObject.instance_eval(IRubyObject[] args, Block block)
           
 IRubyObject RubyObject.instance_exec(IRubyObject[] args, Block block)
           
 IRubyObject RubyObject.inherited(IRubyObject arg, Block block)
           
 IRubyObject RubyObject.initialize(IRubyObject[] args, Block block)
           
 IRubyObject RubyObject.send(IRubyObject[] args, Block block)
          send( aSymbol [, args ]* ) -> anObject Invokes the method identified by aSymbol, passing it any arguments specified.
 IRubyObject RubyObject.remove_instance_variable(IRubyObject name, Block block)
           
static IRubyObject RubyObjectSpace.define_finalizer(IRubyObject recv, IRubyObject[] args, Block block)
           
static IRubyObject RubyObjectSpace.undefine_finalizer(IRubyObject recv, IRubyObject[] args, Block block)
           
static IRubyObject RubyObjectSpace.each_object(IRubyObject recv, IRubyObject[] args, Block block)
           
static IRubyObject RubyPrecision.append_features(IRubyObject receiver, IRubyObject include, Block block)
           
static IRubyObject RubyPrecision.prec(IRubyObject receiver, IRubyObject type, Block block)
           
static IRubyObject RubyPrecision.prec_i(IRubyObject receiver, Block block)
           
static IRubyObject RubyPrecision.prec_f(IRubyObject receiver, Block block)
           
static RubyProc RubyProc.newProc(Ruby runtime, Block block, boolean isLambda)
           
 IRubyObject RubyProc.initialize(IRubyObject[] args, Block procBlock)
           
static IRubyObject RubyProc.newInstance(IRubyObject recv, IRubyObject[] args, Block block)
          Create a new instance of a Proc object.
 IRubyObject RubyProc.call(IRubyObject[] args, Block unusedBlock)
           
 IRubyObject RubyProc.call(IRubyObject[] args, IRubyObject self, Block unusedBlock)
           
static IRubyObject RubyProcess.times(IRubyObject recv, Block unusedBlock)
           
 IRubyObject RubyProcess.RubyStatus.exitstatus(Block block)
           
 IRubyObject RubyProcess.RubyStatus.rightshift_op(IRubyObject other, Block block)
           
 IRubyObject RubyProcess.RubyStatus.op_eq(IRubyObject other, Block block)
           
 IRubyObject RubyProcess.RubyStatus.to_i(Block unusedBlock)
           
 IRubyObject RubyProcess.RubyStatus.to_s(Block unusedBlock)
           
 IRubyObject RubyProcess.RubyStatus.inspect(Block unusedBlock)
           
 IRubyObject RubyProcess.RubyStatus.success_p(Block unusedBlock)
           
 IRubyObject RubyRange.initialize(IRubyObject[] args, Block unusedBlock)
           
 IRubyObject RubyRange.inspect(Block block)
           
 IRubyObject RubyRange.to_s(Block block)
           
 RubyFixnum RubyRange.length(Block block)
           
 IRubyObject RubyRange.equal(IRubyObject other, Block block)
           
 IRubyObject RubyRange.each(Block block)
           
 IRubyObject RubyRange.step(IRubyObject[] args, Block block)
           
 RubyBoolean RubyRange.include_p(IRubyObject obj, Block block)
           
 IRubyObject RubyRegexp.callMethod(ThreadContext context, RubyModule rubyclass, int methodIndex, java.lang.String name, IRubyObject[] args, CallType callType, Block block)
           
static IRubyObject RubySignal.trap(IRubyObject recv, IRubyObject[] args, Block unusedBlock)
           
 IRubyObject RubyString.callMethod(ThreadContext context, RubyModule rubyclass, int methodIndex, java.lang.String name, IRubyObject[] args, CallType callType, Block block)
           
static RubyString RubyString.newInstance(IRubyObject recv, IRubyObject[] args, Block block)
          rb_str_s_new
 IRubyObject RubyString.initialize(IRubyObject[] args, Block unusedBlock)
           
 IRubyObject RubyString.sub(IRubyObject[] args, Block block)
          rb_str_sub
 IRubyObject RubyString.sub_bang(IRubyObject[] args, Block block)
          rb_str_sub_bang
 IRubyObject RubyString.gsub(IRubyObject[] args, Block block)
          rb_str_gsub
 IRubyObject RubyString.gsub_bang(IRubyObject[] args, Block block)
          rb_str_gsub_bang
 IRubyObject RubyString.upto(IRubyObject str, Block block)
          rb_str_upto_m
 IRubyObject RubyString.upto(IRubyObject str, boolean excl, Block block)
           
 IRubyObject RubyString.scan(IRubyObject arg, Block block)
          rb_str_scan
 IRubyObject RubyString.each_line(IRubyObject[] args, Block block)
          rb_str_each_line
 RubyString RubyString.each_byte(Block block)
          rb_str_each_byte
static IRubyObject RubyStringIO.open(IRubyObject recv, IRubyObject[] args, Block block)
           
 IRubyObject RubyStringIO.initialize(IRubyObject[] args, Block block)
           
 IRubyObject RubyStringIO.each(IRubyObject[] args, Block block)
           
 IRubyObject RubyStringIO.each_byte(Block block)
           
 IRubyObject RubyStringIO.each_line(Block block)
           
 IRubyObject RubyStringScanner.initialize(IRubyObject[] args, Block unusedBlock)
           
static RubyClass RubyStruct.newInstance(IRubyObject recv, IRubyObject[] args, Block block)
          Create new Struct class.
static RubyStruct RubyStruct.newStruct(IRubyObject recv, IRubyObject[] args, Block block)
          Create new Structure.
 IRubyObject RubyStruct.initialize(IRubyObject[] args, Block unusedBlock)
           
static RubyArray RubyStruct.members(IRubyObject recv, Block block)
           
 IRubyObject RubyStruct.set(IRubyObject value, Block block)
           
 IRubyObject RubyStruct.get(Block block)
           
 IRubyObject RubyStruct.rbClone(Block block)
           
 IRubyObject RubyStruct.each(Block block)
           
 IRubyObject RubyStruct.each_pair(Block block)
           
 IRubyObject RubySymbol.callMethod(ThreadContext context, RubyModule rubyclass, int methodIndex, java.lang.String name, IRubyObject[] args, CallType callType, Block block)
           
static IRubyObject RubyThread.newInstance(IRubyObject recv, IRubyObject[] args, Block block)
          Thread.new
static RubyThread RubyThread.start(IRubyObject recv, IRubyObject[] args, Block block)
          Basically the same as Thread.new .
 IRubyObject RubyThread.initialize(IRubyObject[] args, Block block)
           
static IRubyObject RubyThread.s_kill(IRubyObject receiver, RubyThread rubyThread, Block block)
           
static IRubyObject RubyThread.s_exit(IRubyObject receiver, Block block)
           
 IRubyObject RubyThread.raise(IRubyObject[] args, Block block)
           
static IRubyObject RubyThreadGroup.newInstance(IRubyObject recv, Block block)
           
 IRubyObject RubyThreadGroup.add(RubyThread rubyThread, Block block)
           
 IRubyObject RubyThreadGroup.enclose(Block block)
           
 IRubyObject RubyThreadGroup.isEnclosed(Block block)
           
 IRubyObject RubyThreadGroup.list(Block block)
           
 RubyString RubyTime.dump(IRubyObject[] args, Block unusedBlock)
           
 IRubyObject RubyTime.initialize(IRubyObject[] args, Block block)
           
static IRubyObject RubyTime.s_new(IRubyObject recv, IRubyObject[] args, Block block)
           
static RubyTime RubyTime.s_load(IRubyObject recv, IRubyObject from, Block block)
           
 IRubyObject RubyUnboundMethod.call(IRubyObject[] args, Block block)
           
 RubyUnboundMethod RubyUnboundMethod.unbind(Block block)
           
 RubyMethod RubyUnboundMethod.bind(IRubyObject aReceiver, Block block)
           
 IRubyObject RubyUndef.callMethod(ThreadContext context, RubyModule rubyclass, java.lang.String name, IRubyObject[] args, CallType callType, Block block)
           
 IRubyObject RubyUndef.callMethod(ThreadContext context, RubyModule rubyclass, int methodIndex, java.lang.String name, IRubyObject[] args, CallType callType, Block block)
           
 IRubyObject RubyUndef.callMethod(ThreadContext context, java.lang.String name, IRubyObject[] args, CallType callType, Block block)
           
 IRubyObject RubyUndef.callMethod(ThreadContext context, java.lang.String string, Block aBlock)
           
 IRubyObject RubyUndef.callMethod(ThreadContext context, java.lang.String method, IRubyObject[] rubyArgs, Block block)
           
 IRubyObject RubyUndef.callSuper(ThreadContext context, IRubyObject[] args, Block block)
           
 IRubyObject RubyUndef.compilerCallMethod(ThreadContext context, java.lang.String name, IRubyObject[] args, IRubyObject caller, CallType callType, Block block)
           
 IRubyObject RubyUndef.compilerCallMethodWithIndex(ThreadContext context, int methodIndex, java.lang.String name, IRubyObject[] args, IRubyObject caller, CallType callType, Block block)
           
 IRubyObject RubyUndef.rbClone(Block unusedBlock)
           
static IRubyObject RubyYAML.each_document(IRubyObject self, IRubyObject arg, Block block)
           
static IRubyObject RubyYAML.load_documents(IRubyObject self, IRubyObject arg, Block block)
           
static IRubyObject RubyYAML.quick_emit_node(IRubyObject self, IRubyObject[] args, Block block)
           
 IRubyObject RubyZlib.ZStream.initialize(Block unusedBlock)
           
static IRubyObject RubyZlib.RubyGzipFile.wrap(IRubyObject recv, RubyZlib.RubyGzipFile io, IRubyObject proc, Block unusedBlock)
           
static RubyZlib.RubyGzipFile RubyZlib.RubyGzipFile.newInstance(IRubyObject recv, Block block)
           
static IRubyObject RubyZlib.RubyGzipReader.open(IRubyObject recv, RubyString filename, Block block)
           
 IRubyObject RubyZlib.RubyGzipReader.initialize(IRubyObject io, Block unusedBlock)
           
 IRubyObject RubyZlib.RubyGzipReader.each(IRubyObject[] args, Block block)
           
 IRubyObject RubyZlib.RubyGzipReader.each_byte(Block block)
           
static IRubyObject RubyZlib.RubyGzipWriter.open(IRubyObject recv, IRubyObject[] args, Block block)
           
 IRubyObject RubyZlib.RubyGzipWriter.initialize2(IRubyObject[] args, Block unusedBlock)
           
 

Constructors in org.jruby with parameters of type Block
RubyBinding(Ruby runtime, RubyClass rubyClass, Block block)
           
RubyEnumerator.SlicedBlockCallback(Ruby runtime, Block clientBlock, long sliceSize)
           
RubyEnumerator.ConsecutiveBlockCallback(Ruby runtime, Block clientBlock, long contSize)
           
 

Uses of Block in org.jruby.ast.executable
 

Methods in org.jruby.ast.executable with parameters of type Block
 IRubyObject Script.run(ThreadContext context, IRubyObject self, IRubyObject[] args, Block block)
           
 

Uses of Block in org.jruby.evaluator
 

Methods in org.jruby.evaluator that return Block
static Block EvaluationState.getBlock(Ruby runtime, ThreadContext context, IRubyObject self, Block currentBlock, Node blockNode)
           
 

Methods in org.jruby.evaluator with parameters of type Block
static IRubyObject AssignmentVisitor.assign(Ruby runtime, ThreadContext context, IRubyObject self, Node node, IRubyObject value, Block block, boolean check)
           
static IRubyObject EvaluationState.eval(Ruby runtime, ThreadContext context, Node node, IRubyObject self, Block block)
           
static Block EvaluationState.getBlock(Ruby runtime, ThreadContext context, IRubyObject self, Block currentBlock, Node blockNode)
           
 

Uses of Block in org.jruby.ext
 

Methods in org.jruby.ext with parameters of type Block
static IRubyObject Generator.new_instance(IRubyObject self, IRubyObject[] args, Block block)
           
static IRubyObject Generator.initialize(IRubyObject self, IRubyObject[] args, Block block)
           
static IRubyObject Generator.yield(IRubyObject self, IRubyObject value, Block block)
           
static IRubyObject Generator.next(IRubyObject self, Block block)
           
static IRubyObject Generator.current(IRubyObject self, Block block)
           
static IRubyObject Generator.rewind(IRubyObject self, Block block)
           
static IRubyObject Generator.each(IRubyObject self, Block block)
           
static IRubyObject Readline.s_hist_each(IRubyObject recv, Block block)
           
 

Uses of Block in org.jruby.ext.socket
 

Methods in org.jruby.ext.socket with parameters of type Block
static IRubyObject RubyTCPSocket.open(IRubyObject recv, IRubyObject[] args, Block block)
           
 

Uses of Block in org.jruby.internal.runtime
 

Constructors in org.jruby.internal.runtime with parameters of type Block
NativeThread(RubyThread rubyThread, IRubyObject[] args, Block block)
           
RubyNativeThread(RubyThread rubyThread, IRubyObject[] args, Block currentBlock)
           
RubyRunnable(RubyThread rubyThread, IRubyObject[] args, Block currentBlock)
           
 

Uses of Block in org.jruby.internal.runtime.methods
 

Methods in org.jruby.internal.runtime.methods with parameters of type Block
 void AliasMethod.preMethod(ThreadContext context, RubyModule clazz, IRubyObject self, java.lang.String name, IRubyObject[] args, boolean noSuper, Block block)
           
 IRubyObject AliasMethod.internalCall(ThreadContext context, RubyModule clazz, IRubyObject self, java.lang.String name, IRubyObject[] args, boolean noSuper, Block block)
           
 IRubyObject AliasMethod.call(ThreadContext context, IRubyObject self, RubyModule clazz, java.lang.String name, IRubyObject[] args, boolean noSuper, Block block)
           
 void CompiledMethod.preMethod(ThreadContext context, RubyModule clazz, IRubyObject self, java.lang.String name, IRubyObject[] args, boolean noSuper, Block block)
           
 IRubyObject CompiledMethod.internalCall(ThreadContext context, RubyModule clazz, IRubyObject self, java.lang.String name, IRubyObject[] args, boolean noSuper, Block block)
           
 IRubyObject CompiledMethod.call(ThreadContext context, IRubyObject self, RubyModule klazz, java.lang.String name, IRubyObject[] args, boolean noSuper, Block block)
           
protected abstract  IRubyObject CompiledMethod.call(ThreadContext context, IRubyObject self, IRubyObject[] args, Block block)
           
 void DefaultMethod.preMethod(ThreadContext context, RubyModule clazz, IRubyObject self, java.lang.String name, IRubyObject[] args, boolean noSuper, Block block)
           
 IRubyObject DefaultMethod.internalCall(ThreadContext context, RubyModule clazz, IRubyObject self, java.lang.String name, IRubyObject[] args, boolean noSuper, Block block)
           
 IRubyObject DynamicMethod.call(ThreadContext context, IRubyObject self, RubyModule clazz, java.lang.String name, IRubyObject[] args, boolean noSuper, Block block)
          Call the method
protected abstract  IRubyObject DynamicMethod.internalCall(ThreadContext context, RubyModule clazz, IRubyObject self, java.lang.String name, IRubyObject[] args, boolean noSuper, Block block)
           
protected abstract  void DynamicMethod.preMethod(ThreadContext context, RubyModule clazz, IRubyObject self, java.lang.String name, IRubyObject[] args, boolean noSuper, Block block)
           
 void FullFunctionCallbackMethod.preMethod(ThreadContext context, RubyModule clazz, IRubyObject self, java.lang.String name, IRubyObject[] args, boolean noSuper, Block block)
           
 IRubyObject FullFunctionCallbackMethod.internalCall(ThreadContext context, RubyModule clazz, IRubyObject self, java.lang.String name, IRubyObject[] args, boolean noSuper, Block block)
           
 void FullFunctionReflectedMethod.preMethod(ThreadContext context, RubyModule klazz, IRubyObject self, java.lang.String name, IRubyObject[] args, boolean noSuper, Block block)
           
 IRubyObject FullFunctionReflectedMethod.internalCall(ThreadContext context, RubyModule klazz, IRubyObject self, java.lang.String name, IRubyObject[] args, boolean noSuper, Block block)
           
 void FullInvocationMethod.preMethod(ThreadContext context, RubyModule klazz, IRubyObject self, java.lang.String name, IRubyObject[] args, boolean noSuper, Block block)
           
 IRubyObject FullInvocationMethod.internalCall(ThreadContext context, RubyModule klazz, IRubyObject self, java.lang.String name, IRubyObject[] args, boolean noSuper, Block block)
           
abstract  IRubyObject FullInvocationMethod.call(IRubyObject self, IRubyObject[] args, Block block)
           
 void MethodMethod.preMethod(ThreadContext context, RubyModule klazz, IRubyObject self, java.lang.String name, IRubyObject[] args, boolean noSuper, Block block)
           
 IRubyObject MethodMethod.internalCall(ThreadContext context, RubyModule klazz, IRubyObject self, java.lang.String name, IRubyObject[] args, boolean noSuper, Block block)
           
 void ProcMethod.preMethod(ThreadContext context, RubyModule klazz, IRubyObject self, java.lang.String name, IRubyObject[] args, boolean noSuper, Block block)
           
 IRubyObject ProcMethod.internalCall(ThreadContext context, RubyModule klazz, IRubyObject self, java.lang.String name, IRubyObject[] args, boolean noSuper, Block block)
           
 void SimpleCallbackMethod.preMethod(ThreadContext context, RubyModule klazz, IRubyObject self, java.lang.String name, IRubyObject[] args, boolean noSuper, Block block)
           
 IRubyObject SimpleCallbackMethod.internalCall(ThreadContext context, RubyModule klazz, IRubyObject self, java.lang.String name, IRubyObject[] args, boolean noSuper, Block block)
           
 IRubyObject SimpleCallbackMethod.call(ThreadContext context, IRubyObject self, RubyModule klazz, java.lang.String name, IRubyObject[] args, boolean noSuper, Block block)
           
 void SimpleInvocationMethod.preMethod(ThreadContext context, RubyModule klazz, IRubyObject self, java.lang.String name, IRubyObject[] args, boolean noSuper, Block block)
           
 IRubyObject SimpleInvocationMethod.internalCall(ThreadContext context, RubyModule klazz, IRubyObject self, java.lang.String name, IRubyObject[] args, boolean noSuper, Block block)
           
 IRubyObject SimpleInvocationMethod.call(ThreadContext context, IRubyObject self, RubyModule klazz, java.lang.String name, IRubyObject[] args, boolean noSuper, Block block)
           
 void SimpleReflectedMethod.preMethod(ThreadContext context, RubyModule klazz, IRubyObject self, java.lang.String name, IRubyObject[] args, boolean noSuper, Block block)
           
 IRubyObject SimpleReflectedMethod.internalCall(ThreadContext context, RubyModule klazz, IRubyObject self, java.lang.String name, IRubyObject[] args, boolean noSuper, Block block)
           
 IRubyObject SimpleReflectedMethod.call(ThreadContext context, IRubyObject self, RubyModule klazz, java.lang.String name, IRubyObject[] args, boolean noSuper, Block block)
           
 void UndefinedMethod.preMethod(ThreadContext context, RubyModule implementationClass, IRubyObject self, java.lang.String name, IRubyObject[] args, boolean noSuper, Block block)
           
 IRubyObject UndefinedMethod.internalCall(ThreadContext context, RubyModule klazz, IRubyObject self, java.lang.String name, IRubyObject[] args, boolean noSuper, Block block)
           
 void WrapperMethod.preMethod(ThreadContext context, RubyModule klazz, IRubyObject self, java.lang.String name, IRubyObject[] args, boolean noSuper, Block block)
           
 IRubyObject WrapperMethod.call(ThreadContext context, IRubyObject self, RubyModule klazz, java.lang.String name, IRubyObject[] args, boolean noSuper, Block block)
           
 IRubyObject WrapperMethod.internalCall(ThreadContext context, RubyModule klazz, IRubyObject self, java.lang.String name, IRubyObject[] args, boolean noSuper, Block block)
           
 void YARVMethod.preMethod(ThreadContext context, RubyModule clazz, IRubyObject self, java.lang.String name, IRubyObject[] args, boolean noSuper, Block block)
           
 IRubyObject YARVMethod.internalCall(ThreadContext context, RubyModule klazz, IRubyObject self, java.lang.String name, IRubyObject[] args, boolean noSuper, Block block)
           
 

Uses of Block in org.jruby.javasupport
 

Methods in org.jruby.javasupport with parameters of type Block
static IRubyObject Java.set_deprecated_interface_syntax(IRubyObject recv, IRubyObject object, Block unusedBlock)
           
static IRubyObject Java.define_exception_handler(IRubyObject recv, IRubyObject[] args, Block block)
           
static IRubyObject Java.primitive_to_java(IRubyObject recv, IRubyObject object, Block unusedBlock)
           
static IRubyObject Java.java_to_ruby(IRubyObject recv, IRubyObject object, Block unusedBlock)
          High-level object conversion utility function 'java_to_primitive' is the low-level version
static IRubyObject Java.ruby_to_java(IRubyObject recv, IRubyObject object, Block unusedBlock)
          High-level object conversion utility.
static IRubyObject Java.java_to_primitive(IRubyObject recv, IRubyObject object, Block unusedBlock)
           
static IRubyObject Java.new_proxy_instance(IRubyObject recv, IRubyObject[] args, Block block)
           
 IRubyObject JavaObject.ruby_synchronized(Block block)
           
 

Uses of Block in org.jruby.javasupport.proxy
 

Methods in org.jruby.javasupport.proxy with parameters of type Block
 RubyObject JavaProxyConstructor.new_instance(IRubyObject[] args, Block block)
           
 

Uses of Block in org.jruby.javasupport.util
 

Methods in org.jruby.javasupport.util with parameters of type Block
static IRubyObject CompilerHelpers.doAttrAssign(IRubyObject receiver, IRubyObject[] args, ThreadContext context, java.lang.String name, IRubyObject caller, CallType callType, Block block)
           
static IRubyObject CompilerHelpers.doAttrAssignIndexed(IRubyObject receiver, IRubyObject[] args, ThreadContext context, byte methodIndex, java.lang.String name, IRubyObject caller, CallType callType, Block block)
           
static IRubyObject CompilerHelpers.doInvokeDynamic(IRubyObject receiver, IRubyObject[] args, ThreadContext context, java.lang.String name, IRubyObject caller, CallType callType, Block block)
           
static IRubyObject CompilerHelpers.doInvokeDynamicIndexed(IRubyObject receiver, IRubyObject[] args, ThreadContext context, byte methodIndex, java.lang.String name, IRubyObject caller, CallType callType, Block block)
           
static IRubyObject CompilerHelpers.handleJumpException(JumpException je, Block block)
           
 

Uses of Block in org.jruby.libraries
 

Methods in org.jruby.libraries with parameters of type Block
static ThreadLibrary.Mutex ThreadLibrary.Mutex.newInstance(IRubyObject recv, IRubyObject[] args, Block block)
           
 IRubyObject ThreadLibrary.Mutex.synchronize(Block block)
           
static ThreadLibrary.ConditionVariable ThreadLibrary.ConditionVariable.newInstance(IRubyObject recv, IRubyObject[] args, Block block)
           
static IRubyObject ThreadLibrary.Queue.newInstance(IRubyObject recv, IRubyObject[] args, Block block)
           
static IRubyObject ThreadLibrary.SizedQueue.newInstance(IRubyObject recv, IRubyObject[] args, Block block)
           
 

Uses of Block in org.jruby.runtime
 

Subclasses of Block in org.jruby.runtime
 class CallBlock
          A Block implemented using a Java-based BlockCallback implementation rather than with an ICallable.
 class CompiledBlock
          A Block implemented using a Java-based BlockCallback implementation rather than with an ICallable.
 class MethodBlock
          Internal live representation of a block ({...} or do ...
 class SharedScopeBlock
          Represents the live state of a for or END construct in Ruby.
 

Fields in org.jruby.runtime declared as Block
static Block Block.NULL_BLOCK
          All Block variables should either refer to a real block or this NULL_BLOCK.
 

Methods in org.jruby.runtime that return Block
static Block Block.createBlock(ThreadContext context, IterNode iterNode, DynamicScope dynamicScope, IRubyObject self)
           
static Block Block.createBinding(Frame frame, DynamicScope dynamicScope)
           
 Block Block.cloneBlock()
           
 Block CallBlock.cloneBlock()
           
 Block CompiledBlock.cloneBlock()
           
 Block Frame.getBlock()
          What block is associated with this frame?
 Block MethodBlock.cloneBlock()
           
static Block SharedScopeBlock.createSharedScopeBlock(ThreadContext context, IterNode iterNode, DynamicScope dynamicScope, IRubyObject self)
           
 Block SharedScopeBlock.cloneBlock()
           
 Block ThreadContext.getFrameBlock()
           
 

Methods in org.jruby.runtime with parameters of type Block
 IRubyObject BlockCallback.call(ThreadContext context, IRubyObject[] args, Block block)
           
 void ThreadContext.preMethodCall(RubyModule implementationClass, RubyModule clazz, IRubyObject self, java.lang.String name, IRubyObject[] args, int req, Block block, boolean noSuper, java.lang.Object jumpTarget)
           
 void ThreadContext.preDefMethodInternalCall(RubyModule clazz, java.lang.String name, IRubyObject self, IRubyObject[] args, int req, Block block, boolean noSuper, SinglyLinkedList cref, StaticScope staticScope, java.lang.Object jumpTarget)
           
 void ThreadContext.preReflectedMethodInternalCall(RubyModule implementationClass, RubyModule klazz, IRubyObject self, java.lang.String name, IRubyObject[] args, int req, boolean noSuper, Block block, java.lang.Object jumpTarget)
           
 void ThreadContext.preExecuteUnder(RubyModule executeUnderClass, Block block)
           
 void ThreadContext.preForBlock(Block block, RubyModule klass)
           
 void ThreadContext.preYieldSpecificBlock(Block block, RubyModule klass)
           
 void ThreadContext.preEvalWithBinding(Block block)
           
 void ThreadContext.postEvalWithBinding(Block block)
           
 

Constructors in org.jruby.runtime with parameters of type Block
Frame(RubyModule klazz, IRubyObject self, java.lang.String name, IRubyObject[] args, int requiredArgCount, Block block, ISourcePosition position, java.lang.Object jumpTarget)
           
 

Uses of Block in org.jruby.runtime.builtin
 

Methods in org.jruby.runtime.builtin with parameters of type Block
 IRubyObject IRubyObject.callMethod(ThreadContext context, RubyModule rubyclass, java.lang.String name, IRubyObject[] args, CallType callType, Block block)
           
 IRubyObject IRubyObject.callMethod(ThreadContext context, RubyModule rubyclass, int methodIndex, java.lang.String name, IRubyObject[] args, CallType callType, Block block)
           
 IRubyObject IRubyObject.callMethod(ThreadContext context, java.lang.String name, IRubyObject[] args, CallType callType, Block block)
           
 IRubyObject IRubyObject.compilerCallMethod(ThreadContext context, java.lang.String name, IRubyObject[] args, IRubyObject caller, CallType callType, Block block)
           
 IRubyObject IRubyObject.compilerCallMethodWithIndex(ThreadContext context, int methodIndex, java.lang.String name, IRubyObject[] args, IRubyObject caller, CallType callType, Block block)
           
 IRubyObject IRubyObject.callSuper(ThreadContext context, IRubyObject[] args, Block block)
           
 IRubyObject IRubyObject.callMethod(ThreadContext context, java.lang.String string, Block aBlock)
           
 IRubyObject IRubyObject.callMethod(ThreadContext context, java.lang.String method, IRubyObject[] rubyArgs, Block block)
           
 IRubyObject IRubyObject.rbClone(Block unusedBlock)
          RubyMethod rbClone.
 

Uses of Block in org.jruby.runtime.callback
 

Methods in org.jruby.runtime.callback with parameters of type Block
 IRubyObject Callback.execute(IRubyObject recv, IRubyObject[] args, Block block)
           
 IRubyObject FastInvocationCallback.execute(IRubyObject recv, IRubyObject[] oargs, Block block)
           
 IRubyObject InvocationCallback.execute(IRubyObject recv, IRubyObject[] oargs, Block block)
           
abstract  IRubyObject InvocationCallback.call(java.lang.Object receiver, java.lang.Object[] args, Block block)
           
 IRubyObject ReflectionCallback.execute(IRubyObject recv, IRubyObject[] oargs, Block block)
          Calls a wrapped Ruby method for the specified receiver with the specified arguments.
 

Uses of Block in org.jruby.test
 

Methods in org.jruby.test with parameters of type Block
static void MockRubyObject.throwException(IRubyObject recv, Block block)
           
 



Copyright © 2002-2007 JRuby Team. All Rights Reserved.