Modifier and Type | Field and Description |
---|---|
protected Ruby |
RubyClass.runtime |
Modifier and Type | Method and Description |
---|---|
Ruby |
RubyClass.getClassRuntime() |
static Ruby |
Ruby.getCurrentInstance()
Deprecated.
|
static Ruby |
Ruby.getDefaultInstance()
Deprecated.
use #newInstance()
|
static Ruby |
Ruby.getGlobalRuntime()
Get the global runtime.
|
Ruby |
RubyBasicObject.getRuntime()
Will return the runtime that this object is associated with.
|
static Ruby |
BasicObjectStub.getRuntime(IRubyObject self) |
static Ruby |
Ruby.getThreadLocalRuntime()
Get the thread-local runtime for the current thread, or null if unset.
|
static Ruby |
Ruby.newInstance()
Returns a new instance of the JRuby runtime configured with defaults.
|
static Ruby |
Ruby.newInstance(java.io.InputStream in,
java.io.PrintStream out,
java.io.PrintStream err)
Returns a new instance of the JRuby runtime configured with the given
input, output and error streams and otherwise default configuration
(except where specified system properties alter defaults).
|
static Ruby |
Ruby.newInstance(RubyInstanceConfig config)
Returns a new instance of the JRuby runtime configured as specified.
|
Modifier and Type | Method and Description |
---|---|
static RubyInteger |
RubyBignum.bignorm(Ruby runtime,
java.math.BigInteger bi)
rb_big_norm
|
static IRubyObject |
RubyEnumerable.callEach(Ruby runtime,
ThreadContext context,
IRubyObject self,
Arity arity,
BlockCallback callback) |
static IRubyObject |
RubyEnumerable.callEach(Ruby runtime,
ThreadContext context,
IRubyObject self,
BlockCallback callback) |
static IRubyObject |
RubyEnumerable.callEach(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject[] args,
Arity arity,
BlockCallback callback)
Deprecated.
|
static IRubyObject |
RubyEnumerable.callEach(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject[] args,
BlockCallback callback)
Deprecated.
|
static IRubyObject |
RubyEnumerable.callEach19(Ruby runtime,
ThreadContext context,
IRubyObject self,
Arity arity,
BlockCallback callback) |
static IRubyObject |
RubyEnumerable.callEach19(Ruby runtime,
ThreadContext context,
IRubyObject self,
BlockCallback callback) |
static IRubyObject |
RubyEnumerable.checkArgs(Ruby runtime,
IRubyObject[] largs) |
protected IRubyObject |
RubyIO.close2(Ruby runtime) |
static IRubyObject |
RubyEnumerable.collectCommon(ThreadContext context,
Ruby runtime,
IRubyObject self,
RubyArray result,
Block block,
BlockCallback blockCallback) |
java.util.Collection<java.lang.String> |
RubyModule.constantsCommon(Ruby runtime,
boolean replaceModule,
boolean allConstants)
rb_mod_constants
|
java.util.Collection<java.lang.String> |
RubyModule.constantsCommon(Ruby runtime,
boolean replaceModule,
boolean allConstants,
boolean includePrivate) |
static IRubyObject |
RubyEncoding.convertEncodingToRubyEncoding(Ruby runtime,
org.jcodings.Encoding defaultEncoding)
Deprecated.
|
LoadService |
RubyInstanceConfig.LoadServiceCreator.create(Ruby runtime) |
static RubyClass |
RubyArray.createArrayClass(Ruby runtime) |
static RubyClass |
RubyBasicObject.createBasicObjectClass(Ruby runtime,
RubyClass objectClass)
Will create the Ruby class Object in the runtime
specified.
|
static RubyClass |
RubyBignum.createBignumClass(Ruby runtime) |
static RubyClass |
RubyBinding.createBindingClass(Ruby runtime) |
static RubyClass |
RubyClass.createBootstrapClass(Ruby runtime,
java.lang.String name,
RubyClass superClass,
ObjectAllocator allocator)
boot_defclass
Create an initial Object meta class before Module and Kernel dependencies have
squirreled themselves together.
|
static RubyClass |
NativeException.createClass(Ruby runtime,
RubyClass baseClass) |
static void |
RubyClass.createClassClass(Ruby runtime,
RubyClass classClass) |
static void |
RubyClassPathVariable.createClassPathVariable(Ruby runtime) |
static RubyModule |
RubyComparable.createComparable(Ruby runtime) |
static RubyClass |
RubyComplex.createComplexClass(Ruby runtime) |
static void |
RubyContinuation.createContinuation(Ruby runtime) |
static RubyClass |
RubyConverter.createConverterClass(Ruby runtime) |
static RubyClass |
RubyDir.createDirClass(Ruby runtime) |
static RubyClass |
RubyEncoding.createEncodingClass(Ruby runtime) |
static RubyModule |
RubyEnumerable.createEnumerableModule(Ruby runtime) |
static RubyClass |
RubyException.createExceptionClass(Ruby runtime) |
static RubyClass |
RubyBoolean.createFalseClass(Ruby runtime) |
static RubyClass |
RubyFile.createFileClass(Ruby runtime) |
static RubyClass |
RubyFileStat.createFileStatClass(Ruby runtime) |
static RubyModule |
RubyFileTest.createFileTestModule(Ruby runtime) |
static RubyClass |
RubyFixnum.createFixnumClass(Ruby runtime) |
static RubyClass |
RubyFloat.createFloatClass(Ruby runtime) |
static RubyModule |
RubyGC.createGCModule(Ruby runtime) |
static void |
RubyGlobal.createGlobals(ThreadContext context,
Ruby runtime) |
static RubyClass |
RubyHash.createHashClass(Ruby runtime) |
static RubyClass |
RubyInteger.createIntegerClass(Ruby runtime) |
static RubyClass |
RubyIO.createIOClass(Ruby runtime) |
static RubyModule |
RubyKernel.createKernelModule(Ruby runtime) |
LoadService |
RubyInstanceConfig.createLoadService(Ruby runtime) |
static RubyClass |
RubyLocalJumpError.createLocalJumpErrorClass(Ruby runtime,
RubyClass standardErrorClass) |
static RubyModule |
RubyMarshal.createMarshalModule(Ruby runtime) |
static RubyClass |
RubyMatchData.createMatchDataClass(Ruby runtime) |
static RubyModule |
RubyMath.createMathModule(Ruby runtime)
Create the Math module and add it to the Ruby runtime.
|
static RubyClass |
RubyMethod.createMethodClass(Ruby runtime)
Create the RubyMethod class and add it to the Ruby runtime.
|
static RubyClass |
RubyModule.createModuleClass(Ruby runtime,
RubyClass moduleClass) |
static RubyClass |
RubyNameError.createNameErrorClass(Ruby runtime,
RubyClass standardErrorClass) |
static RubyClass |
RubyNameError.createNameErrorMessageClass(Ruby runtime,
RubyClass nameErrorClass) |
static RubyClass |
RubyNil.createNilClass(Ruby runtime) |
static RubyClass |
RubyNoMethodError.createNoMethodErrorClass(Ruby runtime,
RubyClass nameErrorClass) |
static RubyClass |
RubyNumeric.createNumericClass(Ruby runtime) |
static RubyClass |
RubyObject.createObjectClass(Ruby runtime,
RubyClass objectClass)
Will create the Ruby class Object in the runtime
specified.
|
static RubyModule |
RubyObjectSpace.createObjectSpaceModule(Ruby runtime)
Create the ObjectSpace module and add it to the Ruby runtime.
|
static RubyModule |
RubyPrecision.createPrecisionModule(Ruby runtime) |
static RubyClass |
RubyProc.createProcClass(Ruby runtime) |
static RubyModule |
RubyProcess.createProcessModule(Ruby runtime) |
static RubyClass |
RubyRandom.createRandomClass(Ruby runtime) |
static RubyClass |
RubyRange.createRangeClass(Ruby runtime) |
static RubyClass |
RubyRational.createRationalClass(Ruby runtime) |
static RubyClass |
RubyRegexp.createRegexpClass(Ruby runtime) |
static void |
RubySignal.createSignal(Ruby runtime) |
static RubyClass |
RubyString.createStringClass(Ruby runtime) |
static RubyClass |
RubyStruct.createStructClass(Ruby runtime) |
static RubyClass |
RubySymbol.createSymbolClass(Ruby runtime) |
static RubyClass |
RubySystemCallError.createSystemCallErrorClass(Ruby runtime,
RubyClass standardError) |
static RubyClass |
RubySystemExit.createSystemExitClass(Ruby runtime,
RubyClass exceptionClass) |
static RubyClass |
RubyTempfile.createTempfileClass(Ruby runtime) |
static RubyClass |
RubyThread.createThreadClass(Ruby runtime) |
static RubyClass |
RubyThreadGroup.createThreadGroupClass(Ruby runtime) |
static RubyClass |
RubyTime.createTimeClass(Ruby runtime) |
static IRubyObject |
TopSelfFactory.createTopSelf(Ruby runtime) |
static RubyClass |
RubyBoolean.createTrueClass(Ruby runtime) |
static RubyClass |
RubyYielder.createYielderClass(Ruby runtime) |
IRubyObject |
RubyIO.ctl(Ruby runtime,
IRubyObject cmd,
IRubyObject arg) |
static IRubyObject |
RubyNumeric.dbl_cmp(Ruby runtime,
double a,
double b)
rb_dbl_cmp (numeric.c)
|
static IRubyObject |
RubyNumeric.dbl2num(Ruby runtime,
double val)
rb_dbl2big + LONG2FIX at once (numeric.c)
|
static void |
RubyEnumerator.defineEnumerator(Ruby runtime) |
static RubyClass |
RubyUnboundMethod.defineUnboundMethodClass(Ruby runtime) |
static IRubyObject |
RubyFileTest.directory_p(Ruby ruby,
IRubyObject filename) |
static IRubyObject |
RubyProcess.egid_set(Ruby runtime,
IRubyObject arg) |
static IRubyObject |
RubyProcess.egid(Ruby runtime) |
static IRubyObject |
RubyProcess.GroupID.eid(Ruby runtime) |
static IRubyObject |
RubyProcess.UserID.eid(Ruby runtime,
IRubyObject arg) |
static IRubyObject |
RubyProcess.GroupID.eid(Ruby runtime,
IRubyObject arg) |
static IRubyObject |
RubyEnumerator.enumeratorize(Ruby runtime,
IRubyObject object,
java.lang.String method) |
static IRubyObject |
RubyEnumerator.enumeratorize(Ruby runtime,
IRubyObject object,
java.lang.String method,
IRubyObject arg) |
static IRubyObject |
RubyEnumerator.enumeratorize(Ruby runtime,
IRubyObject object,
java.lang.String method,
IRubyObject[] args) |
static IRubyObject |
RubyProcess.euid_set(Ruby runtime,
IRubyObject arg) |
static IRubyObject |
RubyProcess.euid(Ruby runtime) |
IRubyObject |
RubyRuntimeAdapter.eval(Ruby runtime,
java.lang.String script) |
static void |
RubyIO.failIfDirectory(Ruby runtime,
RubyString pathStr) |
void |
RubyHash.fastASetCheckString(Ruby runtime,
IRubyObject key,
IRubyObject value) |
void |
RubyHash.fastASetCheckString19(Ruby runtime,
IRubyObject key,
IRubyObject value) |
void |
RubyHash.fastASetSmallCheckString(Ruby runtime,
IRubyObject key,
IRubyObject value) |
void |
RubyHash.fastASetSmallCheckString19(Ruby runtime,
IRubyObject key,
IRubyObject value) |
static RubyFixnum |
RubyFixnum.five(Ruby runtime) |
protected static void |
RubyNumeric.floatStep(ThreadContext context,
Ruby runtime,
IRubyObject from,
IRubyObject to,
IRubyObject step,
Block block) |
static RubyFixnum |
RubyFixnum.four(Ruby runtime) |
protected static java.util.List<RubyString> |
RubyDir.getContents(java.io.File directory,
Ruby runtime)
Returns the contents of the specified
directory as an
ArrayList containing the names of the files as Ruby Strings. |
static IRubyObject |
RubyEncoding.getDefaultExternal(Ruby runtime)
Deprecated.
|
static IRubyObject |
RubyEncoding.getDefaultInternal(Ruby runtime)
Deprecated.
|
protected static JRubyFile |
RubyDir.getDir(Ruby runtime,
java.lang.String path,
boolean mustExist)
Returns a Java
File object for the specified path. |
protected static JRubyFile |
RubyDir.getDirForRmdir(Ruby runtime,
java.lang.String path)
Similar to getDir, but performs different checks to match rmdir behavior.
|
static org.jcodings.Encoding |
RubyEncoding.getEncodingFromObject(Ruby runtime,
IRubyObject arg)
Deprecated.
|
static ModeFlags |
RubyIO.getIOModes(Ruby runtime,
java.lang.String modesString)
Deprecated.
|
static int |
RubyIO.getIOModesIntFromString(Ruby runtime,
java.lang.String modesString)
Deprecated.
|
IRubyObject |
RubyIO.getline(Ruby runtime,
org.jruby.util.ByteList separator) |
IRubyObject |
RubyIO.getline(Ruby runtime,
org.jruby.util.ByteList separator,
long limit)
getline using logic of gets.
|
static org.joda.time.DateTimeZone |
RubyTime.getLocalTimeZone(Ruby runtime) |
IRubyObject[] |
RubyMatchData.getNamedBackrefValues(Ruby runtime) |
static IRubyObject |
RubyProcess.getpgid(Ruby runtime,
IRubyObject arg) |
static IRubyObject |
RubyProcess.getpgrp(Ruby runtime) |
static IRubyObject |
RubyProcess.getpriority(Ruby runtime,
IRubyObject arg1,
IRubyObject arg2) |
static IRubyObject |
RubyProcess.getrlimit(Ruby runtime,
IRubyObject arg) |
static RubySymbol |
RubySymbol.getSymbolLong(Ruby runtime,
long id) |
static org.joda.time.DateTimeZone |
RubyTime.getTimeZone(Ruby runtime,
java.lang.String zone) |
static IRubyObject |
RubyProcess.gid_set(Ruby runtime,
IRubyObject arg) |
static IRubyObject |
RubyProcess.gid(Ruby runtime) |
static void |
RubyArgsFile.initArgsFile(Ruby runtime) |
static void |
RubyGlobal.initARGV(Ruby runtime) |
IRubyObject |
RubyProcess.RubyStatus.inspect(Ruby runtime) |
static RubyNumeric |
RubyNumeric.int2fix(Ruby runtime,
long val) |
static IRubyObject |
RubyProcess.kill(Ruby runtime,
IRubyObject[] args) |
RubyString |
RubyString.makeShared(Ruby runtime,
int index,
int len) |
RubyString |
RubyString.makeShared(Ruby runtime,
RubyClass meta,
int index,
int len) |
RubyString |
RubyString.makeShared19(Ruby runtime,
int index,
int len) |
RubyString |
RubyString.makeSharedString(Ruby runtime,
int index,
int len) |
RubyString |
RubyString.makeSharedString19(Ruby runtime,
int index,
int len) |
static RubyFixnum |
RubyFixnum.minus_one(Ruby runtime) |
static RubyString |
RubyString.newAllocatedString(Ruby runtime,
RubyClass metaClass) |
static RubyArray |
RubyArray.newArray(Ruby runtime)
rb_ary_new
|
static RubyArray |
RubyArray.newArray(Ruby runtime,
java.util.Collection<? extends IRubyObject> collection) |
static RubyArray |
RubyArray.newArray(Ruby runtime,
int len) |
static RubyArray |
RubyArray.newArray(Ruby runtime,
IRubyObject obj) |
static RubyArray |
RubyArray.newArray(Ruby runtime,
IRubyObject[] args)
rb_ary_new4, rb_ary_new3
|
static RubyArray |
RubyArray.newArray(Ruby runtime,
IRubyObject car,
IRubyObject cdr)
rb_assoc_new
|
static RubyArray |
RubyArray.newArray(Ruby runtime,
long len)
rb_ary_new2
|
static RubyArray |
RubyArray.newArrayLight(Ruby runtime)
rb_ary_new
|
static RubyArray |
RubyArray.newArrayLight(Ruby runtime,
int len) |
static RubyArray |
RubyArray.newArrayLight(Ruby runtime,
IRubyObject... objs) |
static RubyArray |
RubyArray.newArrayLight(Ruby runtime,
IRubyObject obj) |
static RubyArray |
RubyArray.newArrayLight(Ruby runtime,
long len) |
static RubyArray |
RubyArray.newArrayNoCopy(Ruby runtime,
IRubyObject[] args) |
static RubyArray |
RubyArray.newArrayNoCopy(Ruby runtime,
IRubyObject[] args,
int begin) |
static RubyArray |
RubyArray.newArrayNoCopy(Ruby runtime,
IRubyObject[] args,
int begin,
int length) |
static RubyArray |
RubyArray.newArrayNoCopyLight(Ruby runtime,
IRubyObject[] args) |
static RubyBignum |
RubyBignum.newBignum(Ruby runtime,
java.math.BigInteger value) |
static RubyBignum |
RubyBignum.newBignum(Ruby runtime,
double value) |
static RubyBignum |
RubyBignum.newBignum(Ruby runtime,
long value) |
static RubyBignum |
RubyBignum.newBignum(Ruby runtime,
java.lang.String value) |
static RubyBinding |
RubyBinding.newBinding(Ruby runtime)
Deprecated.
|
static RubyBinding |
RubyBinding.newBinding(Ruby runtime,
Binding binding) |
static RubyBinding |
RubyBinding.newBinding(Ruby runtime,
IRubyObject self)
Deprecated.
|
static RubyBoolean |
RubyBoolean.newBoolean(Ruby runtime,
boolean value) |
static RubyClass |
RubyClass.newClass(Ruby runtime,
RubyClass superClass)
Construct a new class with the given name scoped under Object (global)
and with Object as its immediate superclass.
|
static RubyClass |
RubyClass.newClass(Ruby runtime,
RubyClass superClass,
CallSite[] extraCallSites)
A variation on newClass that allow passing in an array of supplementary
call sites to improve dynamic invocation.
|
static RubyClass |
RubyClass.newClass(Ruby runtime,
RubyClass superClass,
java.lang.String name,
ObjectAllocator allocator,
RubyModule parent,
boolean setParent)
Construct a new class with the given name, allocator, parent class,
and containing class.
|
static RubyClass |
RubyClass.newClass(Ruby runtime,
RubyClass superClass,
java.lang.String name,
ObjectAllocator allocator,
RubyModule parent,
boolean setParent,
CallSite[] extraCallSites)
A variation on newClass that allows passing in an array of supplementary
call sites to improve dynamic invocation performance.
|
static RubyRegexp |
RubyRegexp.newDRegexp(Ruby runtime,
RubyString pattern,
int joniOptions) |
static RubyRegexp |
RubyRegexp.newDRegexp(Ruby runtime,
RubyString pattern,
RegexpOptions options) |
static RubyRegexp |
RubyRegexp.newDRegexpEmbedded(Ruby runtime,
RubyString pattern,
int embeddedOptions) |
static RubyRegexp |
RubyRegexp.newDRegexpEmbedded19(Ruby runtime,
IRubyObject[] strings,
int embeddedOptions) |
static RubyArray |
RubyArray.newEmptyArray(Ruby runtime) |
static RubyString |
RubyString.newEmptyString(Ruby runtime) |
static RubyString |
RubyString.newEmptyString(Ruby runtime,
org.jcodings.Encoding enc) |
static RubyString |
RubyString.newEmptyString(Ruby runtime,
RubyClass metaClass) |
static RubyString |
RubyString.newEmptyString(Ruby runtime,
RubyClass metaClass,
org.jcodings.Encoding enc) |
static RubyEncoding |
RubyEncoding.newEncoding(Ruby runtime,
byte[] name,
boolean isDummy) |
static RubyEncoding |
RubyEncoding.newEncoding(Ruby runtime,
byte[] name,
int p,
int end,
boolean isDummy) |
static RubyEncoding |
RubyEncoding.newEncoding(Ruby runtime,
org.jcodings.Encoding encoding) |
static RubyException |
RubyException.newException(Ruby runtime,
RubyClass excptnClass,
java.lang.String msg) |
static RubyRange |
RubyRange.newExclusiveRange(Ruby runtime,
ThreadContext context,
IRubyObject begin,
IRubyObject end) |
static RubyFileStat |
RubyFileStat.newFileStat(Ruby runtime,
java.io.FileDescriptor descriptor) |
static RubyFileStat |
RubyFileStat.newFileStat(Ruby runtime,
java.lang.String filename,
boolean lstat) |
static RubyFixnum |
RubyFixnum.newFixnum(Ruby runtime,
long value) |
static RubyFloat |
RubyFloat.newFloat(Ruby runtime,
double value) |
static RubyHash |
RubyHash.newHash(Ruby runtime)
rb_hash_new
|
static RubyHash |
RubyHash.newHash(Ruby runtime,
java.util.Map valueMap,
IRubyObject defaultValue)
rb_hash_new
|
static RubyRange |
RubyRange.newInclusiveRange(Ruby runtime,
ThreadContext context,
IRubyObject begin,
IRubyObject end) |
static RubySystemExit |
RubySystemExit.newInstance(Ruby runtime,
int status) |
static RubyString |
RubyString.newInternalFromJavaExternal(Ruby runtime,
java.lang.String str)
Return a new Ruby String encoded as the default internal encoding given a Java String that
has come from an external source.
|
static RubyIO |
RubyIO.newIO(Ruby runtime,
java.nio.channels.Channel channel) |
static IOOptions |
RubyIO.newIOOptions(Ruby runtime,
int mode) |
static IOOptions |
RubyIO.newIOOptions(Ruby runtime,
IOOptions oldFlags,
int orOflags) |
static IOOptions |
RubyIO.newIOOptions(Ruby runtime,
long mode) |
static IOOptions |
RubyIO.newIOOptions(Ruby runtime,
ModeFlags modeFlags) |
static IOOptions |
RubyIO.newIOOptions(Ruby runtime,
java.lang.String mode) |
static ModeFlags |
RubyIO.newModeFlags(Ruby runtime,
int mode) |
static ModeFlags |
RubyIO.newModeFlags(Ruby runtime,
long mode) |
static ModeFlags |
RubyIO.newModeFlags(Ruby runtime,
java.lang.String mode) |
static RubyModule |
RubyModule.newModule(Ruby runtime)
rb_module_new
|
static RubyModule |
RubyModule.newModule(Ruby runtime,
java.lang.String name,
RubyModule parent,
boolean setParent)
rb_module_new/rb_define_module_id/rb_name_class/rb_set_class_path
|
static RubyNumeric |
RubyNumeric.newNumeric(Ruby runtime) |
static RubyProc |
RubyProc.newProc(Ruby runtime,
Block.Type type)
Deprecated.
|
static RubyProc |
RubyProc.newProc(Ruby runtime,
Block block,
Block.Type type) |
static RubyProc |
RubyProc.newProc(Ruby runtime,
Block block,
Block.Type type,
ISourcePosition sourcePosition) |
static RubyProcess.RubyStatus |
RubyProcess.RubyStatus.newProcessStatus(Ruby runtime,
long status,
long pid) |
static RubyRange |
RubyRange.newRange(Ruby runtime,
ThreadContext context,
IRubyObject begin,
IRubyObject end,
boolean isExclusive) |
static RubyRational |
RubyRational.newRational(Ruby runtime,
long x,
long y) |
static RubyRegexp |
RubyRegexp.newRegexp(Ruby runtime,
org.jruby.util.ByteList pattern) |
static RubyRegexp |
RubyRegexp.newRegexp(Ruby runtime,
org.jruby.util.ByteList pattern,
RegexpOptions options) |
static RubyRegexp |
RubyRegexp.newRegexp(Ruby runtime,
java.lang.String pattern,
RegexpOptions options) |
static RubyHash |
RubyHash.newSmallHash(Ruby runtime)
rb_hash_new
|
static RubyString |
RubyString.newString(Ruby runtime,
byte[] bytes) |
static RubyString |
RubyString.newString(Ruby runtime,
byte[] bytes,
int start,
int length) |
static RubyString |
RubyString.newString(Ruby runtime,
org.jruby.util.ByteList bytes) |
static RubyString |
RubyString.newString(Ruby runtime,
org.jruby.util.ByteList bytes,
org.jcodings.Encoding encoding) |
static RubyString |
RubyString.newString(Ruby runtime,
java.lang.CharSequence str) |
static RubyString |
RubyString.newString(Ruby runtime,
RubyClass clazz,
java.lang.CharSequence str)
Deprecated.
|
static RubyString |
RubyString.newString(Ruby runtime,
java.lang.String str) |
static RubyString |
RubyString.newStringLight(Ruby runtime,
org.jruby.util.ByteList bytes) |
static RubyString |
RubyString.newStringLight(Ruby runtime,
int size) |
static RubyString |
RubyString.newStringLight(Ruby runtime,
int size,
org.jcodings.Encoding encoding) |
static RubyString |
RubyString.newStringNoCopy(Ruby runtime,
byte[] bytes) |
static RubyString |
RubyString.newStringNoCopy(Ruby runtime,
byte[] bytes,
int start,
int length) |
static RubyString |
RubyString.newStringNoCopy(Ruby runtime,
org.jruby.util.ByteList bytes) |
static RubyString |
RubyString.newStringNoCopy(Ruby runtime,
org.jruby.util.ByteList bytes,
org.jcodings.Encoding enc,
int cr) |
static RubyString |
RubyString.newStringNoCopy(Ruby runtime,
RubyClass clazz,
org.jruby.util.ByteList bytes) |
static RubyString |
RubyString.newStringNoCopy(Ruby runtime,
RubyClass clazz,
org.jruby.util.ByteList bytes,
org.jcodings.Encoding enc,
int cr) |
static RubyString |
RubyString.newStringShared(Ruby runtime,
byte[] bytes) |
static RubyString |
RubyString.newStringShared(Ruby runtime,
byte[] bytes,
int start,
int length) |
static RubyString |
RubyString.newStringShared(Ruby runtime,
org.jruby.util.ByteList bytes) |
static RubyString |
RubyString.newStringShared(Ruby runtime,
org.jruby.util.ByteList bytes,
org.jcodings.Encoding encoding) |
static RubyString |
RubyString.newStringShared(Ruby runtime,
org.jruby.util.ByteList bytes,
int codeRange) |
static RubyString |
RubyString.newStringShared(Ruby runtime,
RubyClass clazz,
org.jruby.util.ByteList bytes) |
static RubyString |
RubyString.newStringShared(Ruby runtime,
RubyClass clazz,
org.jruby.util.ByteList bytes,
org.jcodings.Encoding encoding) |
static RubyString |
RubyString.newStringShared(Ruby runtime,
RubyString orig) |
static RubySymbol |
RubySymbol.newSymbol(Ruby runtime,
java.lang.String name) |
static RubyTime |
RubyTime.newTime(Ruby runtime,
org.joda.time.DateTime dt) |
static RubyTime |
RubyTime.newTime(Ruby runtime,
org.joda.time.DateTime dt,
long nsec) |
static RubyTime |
RubyTime.newTime(Ruby runtime,
long milliseconds) |
static RubyString |
RubyString.newUnicodeString(Ruby runtime,
java.lang.CharSequence str) |
static RubyString |
RubyString.newUnicodeString(Ruby runtime,
java.lang.String str) |
static RubyString |
RubyString.newUSASCIIString(Ruby runtime,
java.lang.String str) |
static RubyString |
RubyString.newUsAsciiStringNoCopy(Ruby runtime,
org.jruby.util.ByteList bytes) |
static RubyString |
RubyString.newUsAsciiStringShared(Ruby runtime,
byte[] bytes,
int start,
int length) |
static RubyString |
RubyString.newUsAsciiStringShared(Ruby runtime,
org.jruby.util.ByteList bytes) |
static RubyFixnum |
RubyFixnum.one(Ruby runtime) |
protected void |
RubyHash.op_asetForString(Ruby runtime,
RubyString key,
IRubyObject value) |
protected void |
RubyHash.op_asetSmallForString(Ruby runtime,
RubyString key,
IRubyObject value) |
IRubyObject |
RubyProcess.RubyStatus.op_rshift(Ruby runtime,
IRubyObject other) |
JavaEmbedUtils.EvalUnit |
RubyRuntimeAdapter.parse(Ruby runtime,
java.io.InputStream in,
java.lang.String filename,
int lineNumber) |
JavaEmbedUtils.EvalUnit |
RubyRuntimeAdapter.parse(Ruby runtime,
java.lang.String script,
java.lang.String filename,
int lineNumber) |
static IRubyObject |
RubyProcess.pid(Ruby runtime) |
static IRubyObject |
RubyProcess.ppid(Ruby runtime) |
static void |
RubyRegexp.preprocessCheck(Ruby runtime,
org.jruby.util.ByteList bytes) |
static RubyString |
RubyRegexp.preprocessDRegexp(Ruby runtime,
IRubyObject[] strings,
RegexpOptions options) |
static RubyBignum |
RubyRandom.randomSeed(Ruby runtime) |
protected org.jruby.util.ByteList |
RubyIO.readAllCommon(Ruby runtime) |
protected void |
RubyIO.reopenIO(Ruby runtime,
RubyIO ios) |
protected void |
RubyIO.reopenPath(Ruby runtime,
IRubyObject[] args) |
static IRubyObject |
RubyProcess.UserID.rid(Ruby runtime) |
static IRubyObject |
RubyProcess.GroupID.rid(Ruby runtime) |
static IRubyObject |
RubyIO.select_static(ThreadContext context,
Ruby runtime,
IRubyObject[] args) |
static void |
Ruby.setCurrentInstance(Ruby runtime)
Deprecated.
|
static IRubyObject |
RubyProcess.setpgid(Ruby runtime,
IRubyObject arg1,
IRubyObject arg2) |
static IRubyObject |
RubyProcess.setpgrp(Ruby runtime) |
static IRubyObject |
RubyProcess.setpriority(Ruby runtime,
IRubyObject arg1,
IRubyObject arg2,
IRubyObject arg3) |
static IRubyObject |
RubyProcess.setsid(Ruby runtime) |
static void |
Ruby.setThreadLocalRuntime(Ruby ruby)
Set the thread-local runtime to the given runtime.
|
static RubyFloat |
RubyNumeric.str2fnum(Ruby runtime,
RubyString arg) |
static RubyFloat |
RubyNumeric.str2fnum(Ruby runtime,
RubyString arg,
boolean strict)
Converts a string representation of a floating-point number to the
numeric value.
|
static RubyFloat |
RubyNumeric.str2fnum19(Ruby runtime,
RubyString arg,
boolean strict) |
static RubyInteger |
RubyNumeric.str2inum(Ruby runtime,
RubyString str,
int base) |
static RubyInteger |
RubyNumeric.str2inum(Ruby runtime,
RubyString str,
int base,
boolean strict)
Converts a string representation of an integer to the integer value.
|
RubyString |
RubyString.strDup(Ruby runtime) |
int |
RubyString.strHashCode(Ruby runtime)
Generate a hash for the String, using its associated Ruby instance's hash seed.
|
IRubyObject |
RubyString.substr(Ruby runtime,
int beg,
int len) |
IRubyObject |
RubyString.substr19(Ruby runtime,
int beg,
int len) |
protected void |
RubyBasicObject.taint(Ruby runtime) |
static RubyFixnum |
RubyFixnum.three(Ruby runtime) |
static IRubyObject |
RubyProcess.times(Ruby runtime) |
IRubyObject |
RubyProcess.RubyStatus.to_i(Ruby runtime) |
IRubyObject |
RubyProcess.RubyStatus.to_s(Ruby runtime) |
org.jcodings.Encoding |
RubyString.toEncoding(Ruby runtime) |
static RubyFixnum |
RubyFixnum.two(Ruby runtime) |
static IRubyObject |
RubyProcess.uid_set(Ruby runtime,
IRubyObject arg) |
static IRubyObject |
RubyProcess.uid(Ruby runtime) |
int |
RubyString.unseededStrHashCode(Ruby runtime)
Generate a hash for the String, without a seed.
|
static IRubyObject |
RubyProcess.wait(Ruby runtime,
IRubyObject[] args) |
static IRubyObject |
RubyProcess.waitall(Ruby runtime) |
static IRubyObject |
RubyProcess.waitpid(Ruby runtime,
IRubyObject[] args) |
static IRubyObject |
RubyProcess.waitpid2(Ruby runtime,
IRubyObject[] args) |
static RubyFixnum |
RubyFixnum.zero(Ruby runtime) |
static IRubyObject[] |
RubyEnumerable.zipCommonConvert(Ruby runtime,
IRubyObject[] args) |
static IRubyObject[] |
RubyEnumerable.zipCommonConvert(Ruby runtime,
IRubyObject[] args,
java.lang.String method) |
Constructor and Description |
---|
IncludedModuleWrapper(Ruby runtime,
RubyClass superClass,
RubyModule delegate) |
MetaClass(Ruby runtime,
RubyClass superClass,
IRubyObject attached)
rb_class_boot (for MetaClasses) (in makeMetaClass(RubyClass))
|
NativeException(Ruby runtime,
RubyClass rubyClass,
java.lang.Throwable cause) |
RubyArray(Ruby runtime,
int length) |
RubyBasicObject(Ruby runtime,
RubyClass metaClass)
Standard path for object creation.
|
RubyBasicObject(Ruby runtime,
RubyClass metaClass,
boolean useObjectSpace)
Path for objects who want to decide whether they don't want to be in
ObjectSpace even when it is on.
|
RubyBasicObject(Ruby runtime,
RubyClass metaClass,
boolean useObjectSpace,
boolean canBeTainted)
Deprecated.
|
RubyBignum(Ruby runtime,
java.math.BigInteger value) |
RubyBinding(Ruby runtime,
RubyClass rubyClass,
Binding binding) |
RubyClass(Ruby runtime)
used by CLASS_ALLOCATOR (any Class' class will be a Class!)
also used to bootstrap Object class
|
RubyClass(Ruby runtime,
RubyClass superClazz)
rb_class_boot (for plain Classes)
also used to bootstrap Module and Class classes
|
RubyClass(Ruby runtime,
RubyClass superClass,
boolean objectSpace)
separate path for MetaClass and IncludedModuleWrapper construction
(rb_class_boot version for MetaClasses)
no marshal, allocator initialization and addSubclass(this) here!
|
RubyClass(Ruby runtime,
RubyClass superClazz,
CallSite[] extraCallSites)
A constructor which allows passing in an array of supplementary call sites.
|
RubyContinuation(Ruby runtime) |
RubyContinuation(Ruby runtime,
IRubyObject tag)
A RubyContinuation used for catch/throw, which have a tag associated
|
RubyConverter(Ruby runtime) |
RubyConverter(Ruby runtime,
RubyClass klass) |
RubyDir(Ruby runtime,
RubyClass type) |
RubyEnumerable.AppendBlockCallback(Ruby runtime,
RubyArray result) |
RubyEnumerable.ChunkedBlockCallback(Ruby runtime,
IRubyObject enumerator) |
RubyException(Ruby runtime,
RubyClass rubyClass) |
RubyException(Ruby runtime,
RubyClass rubyClass,
java.lang.String message) |
RubyFile(Ruby runtime,
RubyClass type) |
RubyFile(Ruby runtime,
java.lang.String path,
java.io.InputStream in) |
RubyFile(Ruby runtime,
java.lang.String path,
java.io.Reader reader) |
RubyFileStat(Ruby runtime,
RubyClass clazz) |
RubyFixnum(Ruby runtime) |
RubyFixnum(Ruby runtime,
long value) |
RubyFloat(Ruby runtime) |
RubyFloat(Ruby runtime,
double value) |
RubyGlobal.CaseInsensitiveStringOnlyRubyHash(Ruby runtime,
java.util.Map valueMap,
IRubyObject defaultValue,
boolean updateRealENV) |
RubyGlobal.InputGlobalVariable(Ruby runtime,
java.lang.String name,
IRubyObject value) |
RubyGlobal.KCodeGlobalVariable(Ruby runtime,
java.lang.String name,
IRubyObject value) |
RubyGlobal.OutputGlobalVariable(Ruby runtime,
java.lang.String name,
IRubyObject value) |
RubyGlobal.StringGlobalVariable(Ruby runtime,
java.lang.String name,
IRubyObject value) |
RubyGlobal.StringOnlyRubyHash(Ruby runtime,
java.util.Map valueMap,
IRubyObject defaultValue) |
RubyGlobal.StringOnlyRubyHash(Ruby runtime,
java.util.Map valueMap,
IRubyObject defaultValue,
boolean updateRealENV) |
RubyHash(Ruby runtime) |
RubyHash(Ruby runtime,
int buckets) |
RubyHash(Ruby runtime,
IRubyObject defaultValue) |
RubyHash(Ruby runtime,
IRubyObject defaultValue,
int buckets) |
RubyHash(Ruby runtime,
java.util.Map valueMap,
IRubyObject defaultValue) |
RubyHash(Ruby runtime,
RubyClass klass) |
RubyInteger(Ruby runtime,
RubyClass rubyClass) |
RubyInteger(Ruby runtime,
RubyClass rubyClass,
boolean useObjectSpace) |
RubyInteger(Ruby runtime,
RubyClass rubyClass,
boolean useObjectSpace,
boolean canBeTainted)
Deprecated.
|
RubyIO(Ruby runtime,
java.nio.channels.Channel channel) |
RubyIO(Ruby runtime,
java.io.InputStream inputStream) |
RubyIO(Ruby runtime,
java.io.OutputStream outputStream) |
RubyIO(Ruby runtime,
java.io.OutputStream outputStream,
boolean autoclose) |
RubyIO(Ruby runtime,
RubyClass type) |
RubyIO(Ruby runtime,
RubyClass cls,
ShellLauncher.POpenProcess process,
RubyHash options,
IOOptions ioOptions) |
RubyIO(Ruby runtime,
ShellLauncher.POpenProcess process,
IOOptions ioOptions) |
RubyIO(Ruby runtime,
STDIO stdio) |
RubyLocalJumpError(Ruby runtime,
RubyClass exceptionClass,
java.lang.String message,
RubyLocalJumpError.Reason reason,
IRubyObject exitValue) |
RubyMatchData(Ruby runtime) |
RubyMatchData(Ruby runtime,
RubyClass metaClass) |
RubyMethod(Ruby runtime,
RubyClass rubyClass) |
RubyModule(Ruby runtime)
standard path for Module construction
|
RubyModule(Ruby runtime,
RubyClass metaClass)
used by MODULE_ALLOCATOR and RubyClass constructors
|
RubyModule(Ruby runtime,
RubyClass metaClass,
boolean objectSpace)
separate path for MetaClass construction
|
RubyNameError(Ruby runtime,
RubyClass exceptionClass) |
RubyNameError(Ruby runtime,
RubyClass exceptionClass,
java.lang.String message) |
RubyNameError(Ruby runtime,
RubyClass exceptionClass,
java.lang.String message,
java.lang.String name) |
RubyNil(Ruby runtime) |
RubyNoMethodError(Ruby runtime,
RubyClass exceptionClass) |
RubyNoMethodError(Ruby runtime,
RubyClass exceptionClass,
java.lang.String message,
java.lang.String name,
IRubyObject args) |
RubyNumeric(Ruby runtime,
RubyClass metaClass) |
RubyNumeric(Ruby runtime,
RubyClass metaClass,
boolean useObjectSpace) |
RubyNumeric(Ruby runtime,
RubyClass metaClass,
boolean useObjectSpace,
boolean canBeTainted)
Deprecated.
|
RubyObject.Data(Ruby runtime,
RubyClass metaClass,
java.lang.Object data) |
RubyObject(Ruby runtime,
RubyClass metaClass)
Standard path for object creation.
|
RubyObject(Ruby runtime,
RubyClass metaClass,
boolean useObjectSpace)
Path for objects who want to decide whether they don't want to be in
ObjectSpace even when it is on.
|
RubyObject(Ruby runtime,
RubyClass metaClass,
boolean useObjectSpace,
boolean canBeTainted)
Deprecated.
|
RubyObjectSpace.WeakMap(Ruby runtime,
RubyClass cls) |
RubyProc(Ruby runtime,
RubyClass rubyClass,
Block.Type type) |
RubyProc(Ruby runtime,
RubyClass rubyClass,
Block.Type type,
ISourcePosition sourcePosition) |
RubyProcess.RubyStatus(Ruby runtime,
RubyClass metaClass,
long status,
long pid) |
RubyString(Ruby runtime,
RubyClass rubyClass) |
RubyString(Ruby runtime,
RubyClass rubyClass,
byte[] value) |
RubyString(Ruby runtime,
RubyClass rubyClass,
org.jruby.util.ByteList value) |
RubyString(Ruby runtime,
RubyClass rubyClass,
org.jruby.util.ByteList value,
boolean objectSpace) |
RubyString(Ruby runtime,
RubyClass rubyClass,
org.jruby.util.ByteList value,
org.jcodings.Encoding enc) |
RubyString(Ruby runtime,
RubyClass rubyClass,
org.jruby.util.ByteList value,
org.jcodings.Encoding encoding,
boolean objectSpace) |
RubyString(Ruby runtime,
RubyClass rubyClass,
org.jruby.util.ByteList value,
org.jcodings.Encoding enc,
int cr) |
RubyString(Ruby runtime,
RubyClass rubyClass,
org.jruby.util.ByteList value,
int cr) |
RubyString(Ruby runtime,
RubyClass rubyClass,
java.lang.CharSequence value) |
RubyString(Ruby runtime,
RubyClass rubyClass,
java.lang.CharSequence value,
org.jcodings.Encoding defaultEncoding) |
RubyStringIO(Ruby runtime,
RubyClass klass) |
RubySymbol.SymbolTable(Ruby runtime) |
RubySystemCallError(Ruby runtime,
RubyClass rubyClass) |
RubySystemCallError(Ruby runtime,
RubyClass rubyClass,
java.lang.String message,
int errno) |
RubySystemExit(Ruby runtime,
RubyClass exceptionClass) |
RubyTempfile(Ruby runtime,
RubyClass type) |
RubyThread(Ruby runtime,
RubyClass type) |
RubyTime(Ruby runtime,
RubyClass rubyClass) |
RubyTime(Ruby runtime,
RubyClass rubyClass,
org.joda.time.DateTime dt) |
RubyUnboundMethod(Ruby runtime) |
RubyYielder(Ruby runtime) |
RubyYielder(Ruby runtime,
RubyClass klass) |
Modifier and Type | Method and Description |
---|---|
protected RubyString |
DNode.allocateString(Ruby runtime) |
void |
DNode.appendToString(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock,
RubyString string,
Node node) |
protected void |
Hash19Node.aset(Ruby runtime,
RubyHash hash,
IRubyObject key,
IRubyObject value) |
protected void |
HashNode.aset(Ruby runtime,
RubyHash hash,
IRubyObject key,
IRubyObject value) |
protected void |
Hash19Node.asetSmall(Ruby runtime,
RubyHash hash,
IRubyObject key,
IRubyObject value) |
protected void |
HashNode.asetSmall(Ruby runtime,
RubyHash hash,
IRubyObject key,
IRubyObject value) |
IRubyObject |
AttrAssignNode.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value,
Block block,
boolean checkArity) |
IRubyObject |
AttrAssignOneArgNode.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value,
Block aBlock,
boolean checkArity) |
IRubyObject |
AttrAssignThreeArgNode.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value,
Block aBlock,
boolean checkArity) |
IRubyObject |
AttrAssignTwoArgNode.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value,
Block aBlock,
boolean checkArity) |
IRubyObject |
CallNode.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value,
Block block,
boolean checkArity) |
IRubyObject |
ClassVarAsgnNode.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value,
Block block,
boolean checkArity) |
IRubyObject |
ClassVarDeclNode.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value,
Block block,
boolean checkArity) |
IRubyObject |
ConstDeclNode.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value,
Block block,
boolean checkArity) |
IRubyObject |
DAsgnNode.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value,
Block block,
boolean checkArity) |
IRubyObject |
GlobalAsgnNode.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value,
Block block,
boolean checkArity) |
IRubyObject |
InstAsgnNode.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value,
Block block,
boolean checkArity) |
IRubyObject |
LocalAsgnNode.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value,
Block block,
boolean checkArity) |
IRubyObject |
MultipleAsgn19Node.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value,
Block block,
boolean checkArity) |
IRubyObject |
MultipleAsgnNode.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value,
Block block,
boolean checkArity) |
IRubyObject |
Node.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value,
Block block,
boolean checkArity) |
IRubyObject |
OptArgNode.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject assignValue,
Block block,
boolean checkArity) |
IRubyObject |
StarNode.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value,
Block block,
boolean checkArity) |
protected void |
ArgsNode.assignKwargs(IRubyObject[] args,
Ruby runtime,
ThreadContext context,
DynamicScope scope,
IRubyObject self) |
protected int |
ArgsNode.assignOptArgs(IRubyObject[] args,
Ruby runtime,
ThreadContext context,
IRubyObject self,
int givenArgsCount) |
RubyString |
DNode.buildDynamicString(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
void |
ArgsNode.checkArgCount(Ruby runtime,
int argsLength) |
void |
ArgsPreTwoArgNode.checkArgCount(Ruby runtime,
int length) |
void |
ArgsNode.checkArgCount(Ruby runtime,
java.lang.String name,
int argsLength) |
RubyString |
AndNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
AssignableNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
AttrAssignNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
BackRefNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
CallNoArgNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
CallNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
ClassVarNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
Colon2ConstNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
Colon2ImplicitNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock)
This type of node will never get created as part of a defined? call since it will then
appear to be a ConstNode.
|
RubyString |
Colon2MethodNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
Colon3Node.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
ConstNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
DNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
DVarNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
FCallNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
FalseNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
GlobalVarNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
InstVarNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
LocalVarNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
Match2Node.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
Match3Node.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
NewlineNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
NilNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
Node.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
NotNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
NthRefNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
OpAsgnAndNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
OpAsgnOrNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
OrNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
SelfNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
SuperNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
TrueNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
VCallNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
YieldNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
ZSuperNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
boolean |
FalseNode.eql(IRubyObject otherValue,
ThreadContext context,
Ruby runtime,
IRubyObject self,
Block aBlock) |
boolean |
FixnumNode.eql(IRubyObject otherValue,
ThreadContext context,
Ruby runtime,
IRubyObject self,
Block aBlock) |
boolean |
NilNode.eql(IRubyObject otherValue,
ThreadContext context,
Ruby runtime,
IRubyObject self,
Block aBlock) |
boolean |
SymbolNode.eql(IRubyObject otherValue,
ThreadContext context,
Ruby runtime,
IRubyObject self,
Block aBlock) |
boolean |
TrueNode.eql(IRubyObject otherValue,
ThreadContext context,
Ruby runtime,
IRubyObject self,
Block aBlock) |
RubyModule |
Colon2ImplicitNode.getEnclosingModule(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock)
Get parent module/class that this module represents
|
RubyModule |
Colon2Node.getEnclosingModule(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock)
Get parent module/class that this module represents
|
RubyModule |
Colon3Node.getEnclosingModule(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock)
Get parent module/class that this module represents
|
RubyFixnum |
FixnumNode.getFixnum(Ruby runtime) |
RubyFloat |
FloatNode.getFloat(Ruby runtime) |
RubyString |
DRegexpNode.getString(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock,
RubyString string,
Node node) |
RubySymbol |
SymbolNode.getSymbol(Ruby runtime) |
IRubyObject |
AliasNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
AndNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
ArgsCatNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
ArgsPushNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
ArrayNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
AttrAssignNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
AttrAssignOneArgNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
AttrAssignThreeArgNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
AttrAssignTwoArgNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
BackRefNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
BeginNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
BignumNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
BlockNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
BlockPassNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block) |
IRubyObject |
BreakNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
CallManyArgsBlockNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
CallManyArgsBlockPassNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
CallManyArgsNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
CallNoArgBlockNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
CallNoArgBlockPassNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
CallNoArgNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
CallNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
CallOneArgBlockNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
CallOneArgBlockPassNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
CallOneArgFixnumNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
CallOneArgNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
CallSpecialArgBlockNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
CallSpecialArgBlockPassNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
CallSpecialArgNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
CallThreeArgBlockNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
CallThreeArgBlockPassNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
CallThreeArgNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
CallTwoArgBlockNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
CallTwoArgBlockPassNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
CallTwoArgNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
CaseNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
ClassNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
ClassVarAsgnNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
ClassVarDeclNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
ClassVarNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
Colon2ConstNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
Colon2ImplicitNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock)
This type of node will never get interpreted since it only gets created via class/module
declaration time.
|
IRubyObject |
Colon2MethodNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
Colon3Node.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
ConstDeclNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
ConstNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
DAsgnNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
DNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
DRegexpNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
DSymbolNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
DVarNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
DXStrNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
DefinedNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
DefnNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
DefsNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
DotNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
EncodingNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
EnsureNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
EvStrNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
FCallManyArgsBlockNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
FCallManyArgsBlockPassNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
FCallManyArgsNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
FCallNoArgBlockNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
FCallNoArgBlockPassNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
FCallNoArgNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
FCallNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
FCallOneArgBlockNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
FCallOneArgBlockPassNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
FCallOneArgNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
FCallSpecialArgBlockNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
FCallSpecialArgBlockPassNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
FCallSpecialArgNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
FCallThreeArgBlockNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
FCallThreeArgBlockPassNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
FCallThreeArgNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
FCallTwoArgBlockNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
FCallTwoArgBlockPassNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
FCallTwoArgNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
FalseNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
FixnumNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
FlipNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
FloatNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
ForNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
GlobalAsgnNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
GlobalVarNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
HashNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
IfNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
InstAsgnNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
InstVarNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
IterNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
LambdaNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
LocalAsgnNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
LocalVarNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
Match2CaptureNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
Match2Node.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
Match3Node.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
MatchNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
ModuleNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
MultipleAsgn19Node.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
MultipleAsgnNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
NewlineNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
NextNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
NilNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
Node.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
NotNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
NthRefNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
OpAsgnAndNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
OpAsgnNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
OpAsgnOrNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
OpElementAsgnNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
OpElementOneArgAndAsgnNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
OpElementOneArgAsgnNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
OpElementOneArgOrAsgnNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
OptArgNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
OrNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
PostExeNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
PreExe19Node.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
PreExeNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
RedoNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
RegexpNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
RescueBodyNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
RescueNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
RetryNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
ReturnNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
RootNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
SClassNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
SValue19Node.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
SValueNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
SelfNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
Splat19Node.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
SplatNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
StrNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
SuperNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
SymbolNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
ToAryNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
TrueNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
UndefNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
UntilNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
VAliasNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
VCallNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
WhenNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
WhileNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
XStrNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
Yield19Node.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
YieldNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
YieldOneNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
YieldThreeNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
YieldTwoNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
ZArrayNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
ZSuperNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
ZYieldNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject[] |
ArrayNode.interpretPrimitive(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyRegexp |
RegexpNode.loadPattern(Ruby runtime) |
void |
ArgsNode.prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
Block block) |
void |
ArgsNoArgNode.prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject[] args,
Block block) |
void |
ArgsNode.prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject[] args,
Block block) |
void |
ArgsPreOneArgNode.prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject[] args,
Block block) |
void |
ArgsPreTwoArgNode.prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject[] args,
Block block) |
void |
ArgsNode.prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject arg0,
Block block) |
void |
ArgsPreOneArgNode.prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject arg0,
Block block) |
void |
ArgsPreTwoArgNode.prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject arg0,
Block block) |
void |
ArgsNode.prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
Block block) |
void |
ArgsPreOneArgNode.prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
Block block) |
void |
ArgsPreTwoArgNode.prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
Block block) |
void |
ArgsNode.prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
Block block) |
void |
ArgsPreOneArgNode.prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
Block block) |
void |
ArgsPreTwoArgNode.prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
Block block) |
void |
ArgsNode.prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
IRubyObject arg3,
Block block) |
void |
ArgsPreOneArgNode.prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
IRubyObject arg3,
Block block) |
void |
ArgsPreTwoArgNode.prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
IRubyObject arg3,
Block block) |
void |
ArgsNode.prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
IRubyObject arg3,
IRubyObject arg4,
Block block) |
void |
ArgsNode.prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
IRubyObject arg3,
IRubyObject arg4,
IRubyObject arg5,
Block block) |
void |
ArgsNode.prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
IRubyObject arg3,
IRubyObject arg4,
IRubyObject arg5,
IRubyObject arg6,
Block block) |
void |
ArgsNode.prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
IRubyObject arg3,
IRubyObject arg4,
IRubyObject arg5,
IRubyObject arg6,
IRubyObject arg7,
Block block) |
void |
ArgsNode.prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
IRubyObject arg3,
IRubyObject arg4,
IRubyObject arg5,
IRubyObject arg6,
IRubyObject arg7,
IRubyObject arg8,
Block block) |
void |
ArgsNode.prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
IRubyObject arg3,
IRubyObject arg4,
IRubyObject arg5,
IRubyObject arg6,
IRubyObject arg7,
IRubyObject arg8,
IRubyObject arg9,
Block block) |
protected int |
ArgsNode.prepareOptionalArguments(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject[] args) |
protected void |
ArgsNode.prepareOptOrRestArgs(ThreadContext context,
Ruby runtime,
DynamicScope scope,
IRubyObject self,
IRubyObject[] args) |
protected void |
ArgsNode.prepareRestArg(ThreadContext context,
Ruby runtime,
DynamicScope scope,
IRubyObject[] args,
int givenArgsCount) |
protected void |
ArgsNode.processBlockArg(DynamicScope scope,
Ruby runtime,
Block block) |
IRubyObject |
WhenNode.when(IRubyObject value,
ThreadContext context,
Ruby runtime,
IRubyObject self,
Block aBlock) |
IRubyObject |
WhenOneArgNode.when(IRubyObject test,
ThreadContext context,
Ruby runtime,
IRubyObject self,
Block aBlock) |
Modifier and Type | Method and Description |
---|---|
boolean |
IEqlNode.eql(IRubyObject otherValue,
ThreadContext context,
Ruby runtime,
IRubyObject self,
Block aBlock) |
Modifier and Type | Method and Description |
---|---|
static RubyArray |
ArgsUtil.convertToRubyArray(Ruby runtime,
IRubyObject value,
boolean coerce)
This name may be a bit misleading, since this also attempts to coerce
array behavior using to_ary.
|
static RubyArray |
ArgsUtil.convertToRubyArray19(Ruby runtime,
IRubyObject value,
boolean coerce) |
static RubyArray |
ArgsUtil.convertToRubyArrayWithCoerce(Ruby runtime,
IRubyObject value) |
static RubyArray |
ArgsUtil.convertToRubyArrayWithCoerce19(Ruby runtime,
IRubyObject value) |
Modifier and Type | Method and Description |
---|---|
IRubyObject |
NativeObjectAllocator.allocate(Ruby runtime,
RubyClass klass) |
static int |
JRuby.blockGiven(Ruby runtime)
rb_block_given_p
|
static long |
JRuby.callSuperMethod(Ruby runtime,
IRubyObject[] args) |
static void |
JRuby.clearErrorInfo(Ruby runtime) |
static RubyProc |
JRuby.getBlockProc(Ruby runtime)
rb_block_proc
|
static long |
JRuby.gv_get(Ruby runtime,
java.lang.String name)
rb_gv_get
|
static long |
JRuby.gv_set(Ruby runtime,
java.lang.String name,
IRubyObject value)
rb_gv_set
|
static long |
JRuby.int2big(Ruby runtime,
long l) |
static long |
JRuby.ll2inum(Ruby runtime,
long l) |
static void |
ModuleLoader.load(Ruby runtime,
java.lang.String name) |
static long |
JRuby.nativeBlockingRegion(Ruby runtime,
long blocking_func,
long blocking_data,
long unblocking_func,
long unblocking_data) |
static RubyFloat |
JRuby.newFloat(Ruby runtime,
long handle,
double value) |
static IRubyObject |
JRuby.newProc(Ruby runtime,
long fn) |
static RubyData |
RubyData.newRubyData(Ruby runtime,
RubyClass klass,
long handle) |
static long |
JRuby.newString(Ruby runtime,
byte[] bytes,
int length,
boolean tainted) |
static IRubyObject |
JRuby.newThread(Ruby runtime,
long fn,
IRubyObject args_ary) |
static void |
JRuby.sysFail(Ruby runtime,
java.lang.String message)
rb_sys_fail
|
static void |
JRuby.sysFail(Ruby runtime,
java.lang.String message,
int n) |
static void |
JRuby.threadSleep(Ruby runtime,
int interval) |
static long |
JRuby.uint2big(Ruby runtime,
long l) |
static long |
JRuby.ull2inum(Ruby runtime,
long l) |
static IRubyObject |
JRuby.yield(Ruby runtime,
RubyArray args)
rb_yield
|
Modifier and Type | Method and Description |
---|---|
Ruby |
IRubyWarnings.getRuntime() |
Ruby |
NullWarnings.getRuntime() |
Ruby |
RubyWarnings.getRuntime() |
Constructor and Description |
---|
NullWarnings(Ruby runtime) |
RubyWarnings(Ruby runtime) |
Modifier and Type | Method and Description |
---|---|
static void |
JITCompiler.saveToCodeCache(Ruby ruby,
byte[] bytecode,
java.lang.String packageName,
java.io.File cachedClassFile) |
Constructor and Description |
---|
JITCompiler.JITClassGenerator(java.lang.String className,
java.lang.String methodName,
java.lang.String key,
Ruby ruby,
DefaultMethod method,
JITCompiler.JITCounts counts) |
JITCompiler(Ruby ruby) |
Modifier and Type | Method and Description |
---|---|
void |
TextAreaReadline.hookIntoRuntime(Ruby runtime)
Hooks this
TextAreaReadline instance into the
runtime, redefining the Readline module so that
it uses this object. |
void |
TextAreaReadline.hookIntoRuntimeWithStreams(Ruby runtime)
Hooks this
TextAreaReadline instance into the
runtime, redefining the Readline module so that
it uses this object. |
Modifier and Type | Method and Description |
---|---|
static void |
MethodMissing.init(Ruby ruby) |
Constructor and Description |
---|
MethodMissing(Ruby runtime,
RubyClass klazz) |
Modifier and Type | Method and Description |
---|---|
Ruby |
ScriptingContainer.getRuntime()
Deprecated.
As of JRuby 1.5.0. Use getProvider().getRuntime() method instead.
|
Modifier and Type | Method and Description |
---|---|
Ruby |
ConcurrentLocalContextProvider.getRuntime() |
Ruby |
LocalContextProvider.getRuntime()
Returns a Ruby runtime of a specified scope.
|
Ruby |
SingleThreadLocalContextProvider.getRuntime() |
Ruby |
SingletonLocalContextProvider.getRuntime() |
Ruby |
ThreadSafeLocalContextProvider.getRuntime() |
Ruby |
LocalContext.getThreadSafeRuntime() |
Modifier and Type | Method and Description |
---|---|
IRubyObject |
EmbedRubyRuntimeAdapterImpl.eval(Ruby runtime,
java.lang.String script) |
JavaEmbedUtils.EvalUnit |
EmbedRubyRuntimeAdapterImpl.parse(Ruby runtime,
java.io.InputStream istream,
java.lang.String filename,
int lineNumber) |
JavaEmbedUtils.EvalUnit |
EmbedRubyRuntimeAdapterImpl.parse(Ruby runtime,
java.lang.String script,
java.lang.String filename,
int lineNumber) |
Modifier and Type | Method and Description |
---|---|
void |
OSGiBundleLibrary.load(Ruby runtime,
boolean wrap) |
Constructor and Description |
---|
OSGiLoadService(Ruby runtime)
Default constructor
Optional constructor (why?)
|
Modifier and Type | Method and Description |
---|---|
static void |
VariableInterceptor.inject(BiVariableMap map,
Ruby runtime,
ManyVarsDynamicScope scope,
int depth,
IRubyObject receiver)
Injects variable values from Java to Ruby just before an evaluation or
method invocation.
|
static void |
GlobalVariable.retrieveByKey(Ruby runtime,
BiVariableMap vars,
java.lang.String key)
Retrieves a global variable by key from Ruby after the evaluation.
|
static void |
LocalGlobalVariable.retrieveByKey(Ruby runtime,
BiVariableMap vars,
java.lang.String key)
Retrieves a global variable by key from Ruby runtime after the evaluation.
|
void |
BiVariable.setJavaObject(Ruby runtime,
java.lang.Object javaObject)
Sets a Java object as a value of this object.
|
void |
GlobalVariable.setJavaObject(Ruby runtime,
java.lang.Object javaObject)
Sets a Java object and its Ruby type as a value of this object.
|
static void |
VariableInterceptor.terminateGlobalVariables(LocalVariableBehavior behavior,
java.util.List<BiVariable> variables,
Ruby runtime)
Clears global variable values from Ruby runtime to behave the same as
JSR 223 reference implementation.
|
void |
GlobalVariable.tryEagerInjection(Ruby runtime,
IRubyObject receiver)
Injects a global variable value to a parsed Ruby script.
|
Modifier and Type | Method and Description |
---|---|
static IRubyObject |
AssignmentVisitor.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
Node node,
IRubyObject value,
Block block,
boolean checkArity)
Deprecated.
|
static void |
ASTInterpreter.callTraceFunction(Ruby runtime,
ThreadContext context,
RubyEvent event) |
static IRubyObject |
ASTInterpreter.evalClassDefinitionBody(Ruby runtime,
ThreadContext context,
StaticScope scope,
Node bodyNode,
RubyModule type,
IRubyObject self,
Block block)
Evaluates the body in a class or module definition statement.
|
static RubyString |
ASTInterpreter.getArgumentDefinition(Ruby runtime,
ThreadContext context,
Node node,
RubyString type,
IRubyObject self,
Block block) |
static Block |
ASTInterpreter.getBlock(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block currentBlock,
Node blockNode) |
static RubyModule |
ASTInterpreter.getClassVariableBase(Ruby runtime,
StaticScope scope) |
static RubyModule |
ASTInterpreter.getClassVariableBase(ThreadContext context,
Ruby runtime) |
static IRubyObject |
ASTInterpreter.INTERPRET_BLOCK(Ruby runtime,
ThreadContext context,
java.lang.String file,
int line,
Node node,
java.lang.String name,
IRubyObject self,
Block block) |
static IRubyObject |
ASTInterpreter.INTERPRET_CLASS(Ruby runtime,
ThreadContext context,
Node node,
java.lang.String name,
IRubyObject self,
Block block) |
static IRubyObject |
ASTInterpreter.INTERPRET_EVAL(Ruby runtime,
ThreadContext context,
Node node,
java.lang.String name,
IRubyObject self,
Block block) |
static IRubyObject |
ASTInterpreter.INTERPRET_EVAL(Ruby runtime,
ThreadContext context,
java.lang.String file,
int line,
Node node,
java.lang.String name,
IRubyObject self,
Block block) |
static IRubyObject |
ASTInterpreter.INTERPRET_METHOD(Ruby runtime,
ThreadContext context,
java.lang.String file,
int line,
RubyModule implClass,
Node node,
java.lang.String name,
IRubyObject self,
Block block,
boolean isTraceable) |
static IRubyObject |
ASTInterpreter.INTERPRET_ROOT(Ruby runtime,
ThreadContext context,
Node node,
IRubyObject self,
Block block) |
static IRubyObject |
AssignmentVisitor.multiAssign(Ruby runtime,
ThreadContext context,
IRubyObject self,
MultipleAsgn19Node node,
RubyArray value) |
static IRubyObject |
AssignmentVisitor.multiAssign(Ruby runtime,
ThreadContext context,
IRubyObject self,
MultipleAsgn19Node node,
RubyArray value,
boolean checkArity) |
static IRubyObject |
AssignmentVisitor.multiAssign(Ruby runtime,
ThreadContext context,
IRubyObject self,
MultipleAsgnNode node,
RubyArray value,
boolean checkArity) |
static IRubyObject |
ASTInterpreter.multipleAsgnArrayNode(Ruby runtime,
ThreadContext context,
MultipleAsgnNode iVisited,
ArrayNode node,
IRubyObject self,
Block aBlock) |
static IRubyObject[] |
ASTInterpreter.setupArgs(Ruby runtime,
ThreadContext context,
Node node,
IRubyObject self,
Block aBlock) |
Modifier and Type | Method and Description |
---|---|
RaiseException |
JumpException.FlowControlException.buildException(Ruby runtime) |
static RaiseException |
RaiseException.createNativeRaiseException(Ruby runtime,
java.lang.Throwable cause)
Method still in use by jruby-openssl <= 0.5.2
|
static RaiseException |
RaiseException.createNativeRaiseException(Ruby runtime,
java.lang.Throwable cause,
java.lang.reflect.Member target) |
Constructor and Description |
---|
RaiseException(Ruby runtime,
RubyClass excptnClass,
java.lang.String msg,
boolean nativeException) |
RaiseException(Ruby runtime,
RubyClass excptnClass,
java.lang.String msg,
IRubyObject backtrace,
boolean nativeException) |
Modifier and Type | Method and Description |
---|---|
static void |
JRubyPOSIXHelper.checkErrno(Ruby runtime,
int result)
Helper for handling common POSIX situations where a negative return value
from a function call indicates an error, and errno must be consulted to
determine how exactly the function failed.
|
void |
LateLoadingLibrary.load(Ruby runtime,
boolean wrap) |
Constructor and Description |
---|
JRubyPOSIXHandler(Ruby runtime) |
Modifier and Type | Method and Description |
---|---|
static RubyClass |
RubyBigDecimal.createBigDecimal(Ruby runtime) |
void |
BigDecimalLibrary.load(Ruby runtime,
boolean wrap) |
Constructor and Description |
---|
RubyBigDecimal(Ruby runtime,
java.math.BigDecimal value) |
RubyBigDecimal(Ruby runtime,
java.math.BigDecimal value,
boolean isNan) |
RubyBigDecimal(Ruby runtime,
java.math.BigDecimal value,
int infinitySign) |
RubyBigDecimal(Ruby runtime,
java.math.BigDecimal value,
int infinitySign,
int zeroSign) |
RubyBigDecimal(Ruby runtime,
RubyBigDecimal rbd) |
RubyBigDecimal(Ruby runtime,
RubyClass klass) |
RubyBigDecimal(Ruby runtime,
RubyClass klass,
java.math.BigDecimal value) |
RubyBigDecimal(Ruby runtime,
RubyClass klass,
RubyBigDecimal rbd) |
Modifier and Type | Method and Description |
---|---|
void |
CoverageLibrary.load(Ruby runtime,
boolean wrap) |
java.util.Map<java.lang.String,java.lang.Integer[]> |
CoverageData.resetCoverage(Ruby runtime) |
void |
CoverageData.setCoverageEnabled(Ruby runtime,
boolean enabled) |
Modifier and Type | Method and Description |
---|---|
void |
DelegateLibrary.load(Ruby runtime,
boolean wrap) |
Modifier and Type | Method and Description |
---|---|
static void |
RubyDigest.createDigest(Ruby runtime) |
static void |
RubyDigest.createDigestMD5(Ruby runtime) |
static void |
RubyDigest.createDigestRMD160(Ruby runtime) |
static void |
RubyDigest.createDigestSHA1(Ruby runtime) |
static void |
RubyDigest.createDigestSHA2(Ruby runtime) |
void |
DigestLibrary.load(Ruby runtime,
boolean wrap) |
void |
MD5.load(Ruby runtime,
boolean wrap) |
void |
RMD160.load(Ruby runtime,
boolean wrap) |
void |
SHA1.load(Ruby runtime,
boolean wrap) |
void |
SHA2.load(Ruby runtime,
boolean wrap) |
Constructor and Description |
---|
RubyDigest.DigestBase(Ruby runtime,
RubyClass type) |
RubyDigest.DigestClass(Ruby runtime,
RubyClass type) |
Modifier and Type | Method and Description |
---|---|
void |
EnumeratorLibrary.load(Ruby runtime,
boolean wrap) |
Modifier and Type | Method and Description |
---|---|
static RubyModule |
RubyEtc.createEtcModule(Ruby runtime) |
void |
EtcLibrary.load(Ruby runtime,
boolean wrap) |
Modifier and Type | Method and Description |
---|---|
void |
FcntlLibrary.load(Ruby runtime,
boolean wrap) |
Modifier and Type | Field and Description |
---|---|
protected Ruby |
ArrayMemoryIO.runtime |
protected Ruby |
InvalidMemoryIO.runtime |
Modifier and Type | Method and Description |
---|---|
abstract AllocatedDirectMemoryIO |
Factory.allocateDirectMemory(Ruby runtime,
int size,
boolean clear)
Allocates memory on the native C heap and wraps it in a MemoryIO accessor.
|
AllocatedDirectMemoryIO |
NoImplFactory.allocateDirectMemory(Ruby runtime,
int size,
boolean clear) |
abstract AllocatedDirectMemoryIO |
Factory.allocateDirectMemory(Ruby runtime,
int size,
int align,
boolean clear)
Allocates memory on the native C heap and wraps it in a MemoryIO accessor.
|
AllocatedDirectMemoryIO |
NoImplFactory.allocateDirectMemory(Ruby runtime,
int size,
int align,
boolean clear) |
abstract DirectMemoryIO |
Factory.allocateTransientDirectMemory(Ruby runtime,
int size,
int align,
boolean clear)
Allocates transient native memory (not from C heap) and wraps it in a MemoryIO accessor.
|
DirectMemoryIO |
NoImplFactory.allocateTransientDirectMemory(Ruby runtime,
int size,
int align,
boolean clear) |
static void |
Util.checkBounds(Ruby runtime,
long size,
long off,
long len) |
static RubyClass |
AbstractInvoker.createAbstractInvokerClass(Ruby runtime,
RubyModule module) |
static RubyClass |
AbstractMemory.createAbstractMemoryClass(Ruby runtime,
RubyModule module) |
static RubyClass |
AutoPointer.createAutoPointerClass(Ruby runtime,
RubyModule module) |
static RubyClass |
Buffer.createBufferClass(Ruby runtime,
RubyModule module) |
static RubyClass |
CallbackInfo.createCallbackInfoClass(Ruby runtime,
RubyModule module)
Creates a CallbackInfo class for a ruby runtime
|
static RubyClass |
MappedType.createConverterTypeClass(Ruby runtime,
RubyModule ffiModule) |
static RubyModule |
DataConverter.createDataConverterModule(Ruby runtime,
RubyModule module) |
static RubyClass |
Enum.createEnumClass(Ruby runtime,
RubyModule ffiModule) |
static void |
IOModule.createIOModule(Ruby runtime,
RubyModule ffi) |
static RubyClass |
MemoryPointer.createMemoryPointerClass(Ruby runtime,
RubyModule module) |
static void |
Platform.createPlatformModule(Ruby runtime,
RubyModule ffi) |
static RubyClass |
Pointer.createPointerClass(Ruby runtime,
RubyModule module) |
static RubyClass |
StructByReference.createStructByReferenceClass(Ruby runtime,
RubyModule ffiModule) |
static RubyClass |
StructByValue.createStructByValueClass(Ruby runtime,
RubyModule ffiModule) |
static RubyClass |
Struct.createStructClass(Ruby runtime,
RubyModule module)
Registers the StructLayout class in the JRuby runtime.
|
static RubyClass |
StructLayout.createStructLayoutClass(Ruby runtime,
RubyModule module)
Registers the StructLayout class in the JRuby runtime.
|
static RubyClass |
Type.createTypeClass(Ruby runtime,
RubyModule ffiModule) |
Type |
TypeResolver.findType(Ruby runtime,
IRubyObject name) |
Type |
TypeResolver.findType(Ruby runtime,
RubySymbol name) |
static IRubyObject |
MemoryUtil.getArrayOfFloat32(Ruby runtime,
MemoryIO io,
long offset,
int count) |
static IRubyObject |
MemoryUtil.getArrayOfFloat64(Ruby runtime,
MemoryIO io,
long offset,
int count) |
static IRubyObject |
MemoryUtil.getArrayOfSigned16(Ruby runtime,
MemoryIO io,
long offset,
int count) |
static IRubyObject |
MemoryUtil.getArrayOfSigned32(Ruby runtime,
MemoryIO io,
long offset,
int count) |
static IRubyObject |
MemoryUtil.getArrayOfSigned64(Ruby runtime,
MemoryIO io,
long offset,
int count) |
static IRubyObject |
MemoryUtil.getArrayOfSigned8(Ruby runtime,
MemoryIO io,
long offset,
int count) |
static IRubyObject |
MemoryUtil.getArrayOfUnsigned16(Ruby runtime,
MemoryIO io,
long offset,
int count) |
static IRubyObject |
MemoryUtil.getArrayOfUnsigned32(Ruby runtime,
MemoryIO io,
long offset,
int count) |
static IRubyObject |
MemoryUtil.getArrayOfUnsigned64(Ruby runtime,
MemoryIO io,
long offset,
int count) |
static IRubyObject |
MemoryUtil.getArrayOfUnsigned8(Ruby runtime,
MemoryIO io,
long offset,
int count) |
abstract Pointer |
CallbackManager.getCallback(Ruby runtime,
CallbackInfo cbInfo,
java.lang.Object proc) |
protected RubyClass |
InvalidMemoryIO.getErrorClass(Ruby runtime) |
protected RubyClass |
NullMemoryIO.getErrorClass(Ruby runtime) |
static Pointer |
Pointer.getNull(Ruby runtime) |
protected abstract Pointer |
AbstractMemory.getPointer(Ruby runtime,
long offset) |
protected Pointer |
Buffer.getPointer(Ruby runtime,
long offset) |
protected Pointer |
Pointer.getPointer(Ruby runtime,
long offset) |
static RubyClass |
Pointer.getPointerClass(Ruby runtime) |
static RubyString |
MemoryUtil.getTaintedByteString(Ruby runtime,
MemoryIO io,
long offset,
int length)
Reads a byte (binary) string from a memory object.
|
static IRubyObject |
MemoryUtil.getTaintedString(Ruby runtime,
MemoryIO io,
long offset)
Gets a NUL terminated string from a memory object
|
static IRubyObject |
MemoryUtil.getTaintedString(Ruby runtime,
MemoryIO io,
long offset,
int length)
Reads a NUL terminated string from a memory object
|
static RubyClass |
Type.getTypeClass(Ruby runtime) |
void |
Factory.init(Ruby runtime,
RubyModule ffi)
Registers FFI ruby classes/modules
|
void |
NoImplFactory.init(Ruby runtime,
RubyModule ffi) |
void |
FFIService.load(Ruby runtime,
boolean wrap) |
abstract AbstractInvoker |
Factory.newFunction(Ruby runtime,
Pointer address,
CallbackInfo cbInfo) |
AbstractInvoker |
NoImplFactory.newFunction(Ruby runtime,
Pointer address,
CallbackInfo cbInfo) |
static IRubyObject |
Util.newSigned16(Ruby runtime,
short value) |
static IRubyObject |
Util.newSigned32(Ruby runtime,
int value) |
static IRubyObject |
Util.newSigned64(Ruby runtime,
long value) |
static IRubyObject |
Util.newSigned8(Ruby runtime,
byte value) |
static RubyString |
MemoryUtil.newTaintedString(Ruby runtime,
byte[] bytes)
Creates a ruby string from a byte array and sets the taint flag on it
|
static IRubyObject |
Util.newUnsigned16(Ruby runtime,
short value) |
static IRubyObject |
Util.newUnsigned32(Ruby runtime,
int value) |
static IRubyObject |
Util.newUnsigned64(Ruby runtime,
long value) |
static IRubyObject |
Util.newUnsigned8(Ruby runtime,
byte value) |
abstract AbstractMemory |
AbstractMemory.order(Ruby runtime,
java.nio.ByteOrder order) |
AbstractMemory |
Buffer.order(Ruby runtime,
java.nio.ByteOrder order) |
AbstractMemory |
Pointer.order(Ruby runtime,
java.nio.ByteOrder order) |
static java.nio.ByteOrder |
Util.parseByteOrder(Ruby runtime,
IRubyObject byte_order) |
static void |
MemoryUtil.putArrayOfFloat32(Ruby runtime,
MemoryIO io,
long offset,
RubyArray ary) |
static void |
MemoryUtil.putArrayOfFloat64(Ruby runtime,
MemoryIO io,
long offset,
RubyArray ary) |
static void |
MemoryUtil.putArrayOfSigned16(Ruby runtime,
MemoryIO io,
long offset,
RubyArray ary) |
static void |
MemoryUtil.putArrayOfSigned32(Ruby runtime,
MemoryIO io,
long offset,
RubyArray ary) |
static void |
MemoryUtil.putArrayOfSigned64(Ruby runtime,
MemoryIO io,
long offset,
RubyArray ary) |
static void |
MemoryUtil.putArrayOfSigned8(Ruby runtime,
MemoryIO io,
long offset,
RubyArray ary) |
static void |
MemoryUtil.putArrayOfUnsigned16(Ruby runtime,
MemoryIO io,
long offset,
RubyArray ary) |
static void |
MemoryUtil.putArrayOfUnsigned32(Ruby runtime,
MemoryIO io,
long offset,
RubyArray ary) |
static void |
MemoryUtil.putArrayOfUnsigned64(Ruby runtime,
MemoryIO io,
long offset,
RubyArray ary) |
static void |
MemoryUtil.putArrayOfUnsigned8(Ruby runtime,
MemoryIO io,
long offset,
RubyArray ary) |
protected abstract AbstractMemory |
AbstractMemory.slice(Ruby runtime,
long offset) |
protected AbstractMemory |
Buffer.slice(Ruby runtime,
long offset) |
protected AbstractMemory |
Pointer.slice(Ruby runtime,
long offset) |
protected abstract AbstractMemory |
AbstractMemory.slice(Ruby runtime,
long offset,
long size) |
protected AbstractMemory |
Buffer.slice(Ruby runtime,
long offset,
long size) |
protected AbstractMemory |
Pointer.slice(Ruby runtime,
long offset,
long size) |
abstract DirectMemoryIO |
Factory.wrapDirectMemory(Ruby runtime,
long address)
Wraps a native C memory address in a MemoryIO accessor.
|
DirectMemoryIO |
NoImplFactory.wrapDirectMemory(Ruby runtime,
long address) |
Constructor and Description |
---|
AbstractInvoker(Ruby runtime,
RubyClass klass,
int arity,
DirectMemoryIO io)
Creates a new AbstractInvoker instance.
|
AbstractMemory(Ruby runtime,
RubyClass klass,
MemoryIO io,
long size) |
AbstractMemory(Ruby runtime,
RubyClass klass,
MemoryIO io,
long size,
int typeSize) |
ArrayMemoryIO(Ruby runtime,
byte[] buffer,
int offset,
int length) |
ArrayMemoryIO(Ruby runtime,
int size) |
Buffer(Ruby runtime,
int size) |
Buffer(Ruby runtime,
int size,
int flags) |
Buffer(Ruby runtime,
RubyClass klass) |
CallbackInfo(Ruby runtime,
RubyClass klazz,
Type returnType,
Type[] paramTypes,
boolean stdcall)
Creates a new CallbackInfo instance.
|
FreedMemoryIO(Ruby runtime) |
InvalidMemoryIO(Ruby runtime) |
InvalidMemoryIO(Ruby runtime,
java.lang.String message) |
NullMemoryIO(Ruby runtime) |
Pointer(Ruby runtime,
DirectMemoryIO io) |
Pointer(Ruby runtime,
DirectMemoryIO io,
long size,
int typeSize) |
Pointer(Ruby runtime,
RubyClass klass,
DirectMemoryIO io) |
Pointer(Ruby runtime,
RubyClass klass,
DirectMemoryIO io,
long size) |
Pointer(Ruby runtime,
RubyClass klass,
DirectMemoryIO io,
long size,
int typeSize) |
StructLayout.ArrayField(Ruby runtime,
RubyClass klass) |
StructLayout.EnumField(Ruby runtime,
RubyClass klass) |
StructLayout.FunctionField(Ruby runtime,
RubyClass klass) |
StructLayout.InnerStructField(Ruby runtime,
RubyClass klass) |
StructLayout.MappedField(Ruby runtime,
RubyClass klass) |
StructLayout.NumberField(Ruby runtime,
RubyClass klass) |
StructLayout.PointerField(Ruby runtime,
RubyClass klass) |
Type.Array(Ruby runtime,
RubyClass klass,
Type componentType,
int length)
Initializes a new Type.Array instance.
|
Type.Array(Ruby runtime,
Type componentType,
int length)
Initializes a new Type.Array instance.
|
Type(Ruby runtime,
RubyClass klass,
NativeType type)
Initializes a new Type instance.
|
Type(Ruby runtime,
RubyClass klass,
NativeType type,
int size,
int alignment)
Initializes a new Type instance.
|
Modifier and Type | Method and Description |
---|---|
static RubyClass |
FileDescriptorIO.createFileDescriptorIOClass(Ruby runtime,
RubyModule module) |
Constructor and Description |
---|
FileDescriptorByteChannel(Ruby runtime,
int fd)
Creates a new FileDescriptorByteChannel.
|
FileDescriptorIO(Ruby runtime,
IRubyObject fd) |
FileDescriptorIO(Ruby runtime,
RubyClass klass) |
Modifier and Type | Method and Description |
---|---|
AllocatedDirectMemoryIO |
Factory.allocateDirectMemory(Ruby runtime,
int size,
boolean clear)
Allocates memory on the native C heap and wraps it in a MemoryIO accessor.
|
AllocatedDirectMemoryIO |
Factory.allocateDirectMemory(Ruby runtime,
int size,
int align,
boolean clear)
Allocates memory on the native C heap and wraps it in a MemoryIO accessor.
|
DirectMemoryIO |
Factory.allocateTransientDirectMemory(Ruby runtime,
int size,
int align,
boolean clear) |
static RubyClass |
CallbackManager.createCallbackClass(Ruby runtime,
RubyModule module)
Creates a Callback class for a ruby runtime
|
static RubyClass |
DynamicLibrary.createDynamicLibraryClass(Ruby runtime,
RubyModule module) |
static DynamicMethod |
MethodFactory.createDynamicMethod(Ruby runtime,
RubyModule module,
com.kenai.jffi.Function function,
Type returnType,
Type[] parameterTypes,
com.kenai.jffi.CallingConvention convention,
IRubyObject enums,
boolean ignoreErrno) |
static RubyClass |
Function.createFunctionClass(Ruby runtime,
RubyModule module) |
static RubyClass |
JFFIInvoker.createInvokerClass(Ruby runtime,
RubyModule module) |
static RubyClass |
VariadicInvoker.createVariadicInvokerClass(Ruby runtime,
RubyModule module) |
Pointer |
CallbackManager.getCallback(Ruby runtime,
CallbackInfo cbInfo,
java.lang.Object proc) |
NativeCallbackFactory |
CallbackManager.getCallbackFactory(Ruby runtime,
CallbackInfo cbInfo) |
void |
Factory.init(Ruby runtime,
RubyModule ffi) |
static IRubyObject |
JITRuntime.newBoolean(Ruby runtime,
int value) |
static IRubyObject |
JITRuntime.newBoolean(Ruby runtime,
long value) |
static IRubyObject |
JITRuntime.newFloat32(Ruby runtime,
int value) |
static IRubyObject |
JITRuntime.newFloat32(Ruby runtime,
long value) |
static IRubyObject |
JITRuntime.newFloat64(Ruby runtime,
long value) |
Function |
Factory.newFunction(Ruby runtime,
Pointer address,
CallbackInfo cbInfo) |
static IRubyObject |
JITRuntime.newNil(Ruby runtime,
int ignored) |
static IRubyObject |
JITRuntime.newNil(Ruby runtime,
long ignored) |
static IRubyObject |
JITRuntime.newPointer32(Ruby runtime,
int address) |
static IRubyObject |
JITRuntime.newPointer32(Ruby runtime,
long address) |
static IRubyObject |
JITRuntime.newPointer64(Ruby runtime,
long address) |
static IRubyObject |
JITRuntime.newSigned16(Ruby runtime,
int value) |
static IRubyObject |
JITRuntime.newSigned16(Ruby runtime,
long value) |
static IRubyObject |
JITRuntime.newSigned32(Ruby runtime,
int value) |
static IRubyObject |
JITRuntime.newSigned32(Ruby runtime,
long value) |
static IRubyObject |
JITRuntime.newSigned64(Ruby runtime,
long value) |
static IRubyObject |
JITRuntime.newSigned8(Ruby runtime,
int value) |
static IRubyObject |
JITRuntime.newSigned8(Ruby runtime,
long value) |
static IRubyObject |
JITRuntime.newString(Ruby runtime,
int address) |
static IRubyObject |
JITRuntime.newString(Ruby runtime,
long address) |
static IRubyObject |
JITRuntime.newUnsigned16(Ruby runtime,
int value) |
static IRubyObject |
JITRuntime.newUnsigned16(Ruby runtime,
long value) |
static IRubyObject |
JITRuntime.newUnsigned32(Ruby runtime,
int value) |
static IRubyObject |
JITRuntime.newUnsigned32(Ruby runtime,
long value) |
static IRubyObject |
JITRuntime.newUnsigned64(Ruby runtime,
long value) |
static IRubyObject |
JITRuntime.newUnsigned8(Ruby runtime,
int value) |
static IRubyObject |
JITRuntime.newUnsigned8(Ruby runtime,
long value) |
DirectMemoryIO |
Factory.wrapDirectMemory(Ruby runtime,
long address) |
Constructor and Description |
---|
CodeMemoryIO(Ruby runtime,
long address) |
CodeMemoryIO(Ruby runtime,
Pointer pointer) |
DynamicLibrary.Symbol(Ruby runtime,
DynamicLibrary library,
java.lang.String name,
DirectMemoryIO io) |
DynamicLibrary(Ruby runtime,
RubyClass klass,
java.lang.String name,
com.kenai.jffi.Library library) |
NativeCallbackFactory(Ruby runtime,
CallbackInfo cbInfo) |
Modifier and Type | Method and Description |
---|---|
void |
CoroutineFiberLibrary.load(Ruby runtime,
boolean wrap) |
void |
FiberExtLibrary.load(Ruby runtime,
boolean wrap) |
void |
ThreadFiberLibrary.load(Ruby runtime,
boolean wrap) |
Constructor and Description |
---|
CoroutineFiber(Ruby runtime,
RubyClass type,
java.dyn.Coroutine coro) |
Fiber(Ruby runtime,
RubyClass type) |
ThreadFiber(Ruby runtime,
RubyClass type) |
Modifier and Type | Method and Description |
---|---|
static void |
RubyIconv.createIconv(Ruby runtime) |
void |
IConvLibrary.load(Ruby runtime,
boolean wrap) |
static RubyIconv.RubyFailure |
RubyIconv.RubyFailure.newInstance(Ruby runtime,
RubyClass excptnClass,
java.lang.String msg) |
Constructor and Description |
---|
RubyIconv.RubyFailure(Ruby runtime,
RubyClass rubyClass) |
RubyIconv.RubyFailure(Ruby runtime,
RubyClass rubyClass,
java.lang.String message) |
RubyIconv(Ruby runtime,
RubyClass type) |
Modifier and Type | Method and Description |
---|---|
void |
IOWaitLibrary.load(Ruby runtime,
boolean wrap) |
Modifier and Type | Method and Description |
---|---|
static RubyClass |
JRubyObjectInputStream.createJRubyObjectInputStream(Ruby runtime) |
void |
JRubyConfigLibrary.load(Ruby runtime,
boolean wrap) |
void |
JRubyLibrary.load(Ruby runtime,
boolean wrap) |
void |
JRubySerializationLibrary.load(Ruby runtime,
boolean wrap) |
void |
JRubyTypeLibrary.load(Ruby runtime,
boolean wrap) |
void |
JRubyUtilLibrary.load(Ruby runtime,
boolean wrap) |
Constructor and Description |
---|
JRubyExecutionContextLocal(Ruby runtime,
RubyClass type) |
JRubyFiberLocal(Ruby runtime,
RubyClass type) |
JRubyObjectInputStream(Ruby runtime,
RubyClass rubyClass) |
JRubyThreadLocal(Ruby runtime,
RubyClass type) |
Modifier and Type | Method and Description |
---|---|
void |
Complex.load(Ruby runtime,
boolean wrap) |
void |
Rational.load(Ruby runtime,
boolean wrap) |
Modifier and Type | Method and Description |
---|---|
static void |
NetProtocolBufferedIO.create(Ruby runtime) |
void |
NetProtocolBufferedIOLibrary.load(Ruby runtime,
boolean wrap) |
Modifier and Type | Method and Description |
---|---|
static void |
RubyNKF.createNKF(Ruby runtime) |
void |
NKFLibrary.load(Ruby runtime,
boolean wrap) |
Modifier and Type | Method and Description |
---|---|
static void |
Utils.checkKind(Ruby rt,
IRubyObject obj,
java.lang.String path) |
static PKCS7.RecipientInfo |
PKCS7.RecipientInfo.create(Ruby runtime,
RecipInfo info) |
static PKCS7.SignerInfo |
PKCS7.SignerInfo.create(Ruby runtime,
SignerInfoWithPkey info) |
static X509Name |
X509Name.create(Ruby runtime,
org.bouncycastle.asn1.x509.X509Name realName) |
static void |
ASN1.createASN1(Ruby runtime,
RubyModule ossl) |
static void |
Attribute.createAttribute(Ruby runtime,
RubyModule mX509) |
static void |
BN.createBN(Ruby runtime,
RubyModule ossl) |
static void |
Cipher.createCipher(Ruby runtime,
RubyModule mOSSL) |
static void |
Config.createConfig(Ruby runtime,
RubyModule mOSSL) |
static void |
Digest.createDigest(Ruby runtime,
RubyModule mOSSL) |
static void |
HMAC.createHMAC(Ruby runtime,
RubyModule ossl) |
static void |
NetscapeSPKI.createNetscapeSPKI(Ruby runtime,
RubyModule ossl) |
static void |
OpenSSLReal.createOpenSSL(Ruby runtime) |
static void |
PKCS7.createPKCS7(Ruby runtime,
RubyModule mOSSL) |
static void |
PKey.createPKey(Ruby runtime,
RubyModule ossl) |
static void |
PKeyDH.createPKeyDH(Ruby runtime,
RubyModule pkeyModule,
RubyClass pkeyClass) |
static void |
PKeyDSA.createPKeyDSA(Ruby runtime,
RubyModule mPKey) |
static void |
PKeyRSA.createPKeyRSA(Ruby runtime,
RubyModule mPKey) |
static void |
Random.createRandom(Ruby runtime,
RubyModule ossl) |
static void |
PKCS7.RecipientInfo.createRecipientInfo(Ruby runtime,
RubyModule cPKCS7) |
static void |
Request.createRequest(Ruby runtime,
RubyModule mX509) |
static void |
PKCS7.SignerInfo.createSignerInfo(Ruby runtime,
RubyModule cPKCS7) |
static void |
SSL.createSSL(Ruby runtime,
RubyModule ossl) |
static void |
SSLContext.createSSLContext(Ruby runtime,
RubyModule mSSL) |
static void |
SSLSocket.createSSLSocket(Ruby runtime,
RubyModule mSSL) |
static void |
X509.createX509(Ruby runtime,
RubyModule ossl) |
static void |
X509Cert.createX509Cert(Ruby runtime,
RubyModule mX509) |
static void |
X509CRL.createX509CRL(Ruby runtime,
RubyModule mX509) |
static void |
X509Extensions.createX509Ext(Ruby runtime,
RubyModule mX509) |
static void |
X509Name.createX509Name(Ruby runtime,
RubyModule mX509) |
static void |
X509Revoked.createX509Revoked(Ruby runtime,
RubyModule mX509) |
static void |
X509Store.createX509Store(Ruby runtime,
RubyModule mX509) |
static void |
X509StoreCtx.createX509StoreCtx(Ruby runtime,
RubyModule mX509) |
static void |
OpenSSLImpl.defaultObjects(Ruby runtime) |
static RubyClass |
Utils.getClassFromPath(Ruby rt,
java.lang.String path) |
static BN |
BN.getRandomBN(Ruby runtime,
IRubyObject[] args,
java.util.Random random) |
void |
OSSLLibrary.load(Ruby runtime,
boolean wrap) |
static IRubyObject |
PKCS7.membio2str(Ruby runtime,
BIO bio) |
static BN |
BN.newBN(Ruby runtime,
java.math.BigInteger value) |
static RaiseException |
BN.newBNError(Ruby runtime,
java.lang.String message) |
static RaiseException |
X509Cert.newCertificateError(Ruby runtime,
java.lang.Exception ex) |
static RaiseException |
X509Cert.newCertificateError(Ruby runtime,
java.lang.String message) |
static RaiseException |
PKeyDH.newDHError(Ruby runtime,
java.lang.String message) |
static RaiseException |
PKeyDSA.newDSAError(Ruby runtime,
java.lang.String message) |
static RaiseException |
Utils.newError(Ruby rt,
java.lang.String path,
java.lang.String message) |
static RaiseException |
Utils.newError(Ruby rt,
java.lang.String path,
java.lang.String message,
boolean nativeException) |
static RaiseException |
PKCS7.newPKCS7Exception(Ruby ruby,
PKCS7Exception pkcs7e) |
static RaiseException |
PKey.newPKeyError(Ruby runtime,
java.lang.String message) |
static RaiseException |
PKeyRSA.newRSAError(Ruby runtime,
java.lang.String message) |
static IRubyObject |
Utils.newRubyInstance(Ruby rt,
java.lang.String path) |
static IRubyObject |
Utils.newRubyInstance(Ruby rt,
java.lang.String path,
IRubyObject arg) |
static IRubyObject |
Utils.newRubyInstance(Ruby rt,
java.lang.String path,
IRubyObject[] args) |
static RaiseException |
SSLContext.newSSLError(Ruby runtime,
java.lang.String message) |
static RaiseException |
SSLSocket.newSSLError(Ruby runtime,
java.lang.String message) |
static RaiseException |
SSL.newSSLError(Ruby runtime,
java.lang.Throwable t) |
static RaiseException |
SSLSocket.newSSLErrorReadable(Ruby runtime,
java.lang.String message) |
static RaiseException |
SSLSocket.newSSLErrorWritable(Ruby runtime,
java.lang.String message) |
static IRubyObject |
X509Cert.wrap(Ruby runtime,
java.security.cert.Certificate c) |
static IRubyObject |
X509Cert.wrap(Ruby runtime,
javax.security.cert.Certificate c) |
Constructor and Description |
---|
ASN1.ASN1Constructive(Ruby runtime,
RubyClass type) |
ASN1.ASN1Data(Ruby runtime,
RubyClass type) |
ASN1.ASN1Primitive(Ruby runtime,
RubyClass type) |
Attribute(Ruby runtime,
RubyClass type) |
Cipher(Ruby runtime,
RubyClass type) |
Digest(Ruby runtime,
RubyClass type) |
HMAC(Ruby runtime,
RubyClass type) |
NetscapeSPKI(Ruby runtime,
RubyClass type) |
PKCS7.RecipientInfo(Ruby runtime,
RubyClass type) |
PKCS7.SignerInfo(Ruby runtime,
RubyClass type) |
PKCS7(Ruby runtime,
RubyClass type) |
PKey(Ruby runtime,
RubyClass type) |
PKeyDH(Ruby runtime,
RubyClass clazz) |
PKeyDSA(Ruby runtime,
RubyClass type) |
PKeyDSA(Ruby runtime,
RubyClass type,
java.security.interfaces.DSAPrivateKey privKey,
java.security.interfaces.DSAPublicKey pubKey) |
PKeyDSA(Ruby runtime,
RubyClass type,
java.security.interfaces.DSAPublicKey pubKey) |
PKeyRSA(Ruby runtime,
RubyClass type) |
PKeyRSA(Ruby runtime,
RubyClass type,
java.security.interfaces.RSAPrivateCrtKey privKey,
java.security.interfaces.RSAPublicKey pubKey) |
PKeyRSA(Ruby runtime,
RubyClass type,
java.security.interfaces.RSAPublicKey pubKey) |
Request(Ruby runtime,
RubyClass type) |
SSLContext(Ruby runtime,
RubyClass type) |
SSLSocket(Ruby runtime,
RubyClass type) |
X509Cert(Ruby runtime,
RubyClass type) |
X509CRL(Ruby runtime,
RubyClass type) |
X509Extensions.Extension(Ruby runtime,
RubyClass type) |
X509Extensions.ExtensionFactory(Ruby runtime,
RubyClass type) |
X509Name(Ruby runtime,
RubyClass type) |
X509Revoked(Ruby runtime,
RubyClass type) |
X509Store(Ruby runtime,
RubyClass type) |
X509StoreCtx(Ruby runtime,
RubyClass type) |
Modifier and Type | Method and Description |
---|---|
static void |
PsychEmitter.initPsychEmitter(Ruby runtime,
RubyModule psych) |
static void |
PsychParser.initPsychParser(Ruby runtime,
RubyModule psych) |
static void |
PsychToRuby.initPsychToRuby(Ruby runtime,
RubyModule psych) |
static void |
PsychYamlTree.initPsychYamlTree(Ruby runtime,
RubyModule psych) |
void |
PsychLibrary.load(Ruby runtime,
boolean wrap) |
Constructor and Description |
---|
PsychEmitter(Ruby runtime,
RubyClass klass) |
PsychParser(Ruby runtime,
RubyClass klass) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
RbConfigLibrary.getArchDir(Ruby runtime) |
static java.lang.String |
RbConfigLibrary.getLibDir(Ruby runtime) |
static java.lang.String |
RbConfigLibrary.getNormalizedHome(Ruby runtime) |
static java.lang.String |
RbConfigLibrary.getRubygemsDir(Ruby runtime) |
static java.lang.String |
RbConfigLibrary.getRubyLibDir(Ruby runtime) |
static java.lang.String |
RbConfigLibrary.getRubySharedLibDir(Ruby runtime) |
static java.lang.String |
RbConfigLibrary.getRuntimeVerStr(Ruby runtime) |
static java.lang.String |
RbConfigLibrary.getSiteArchDir(Ruby runtime) |
static java.lang.String |
RbConfigLibrary.getSiteDir(Ruby runtime) |
static java.lang.String |
RbConfigLibrary.getSiteDirGeneral(Ruby runtime) |
static java.lang.String |
RbConfigLibrary.getSiteLibDir(Ruby runtime) |
static java.lang.String |
RbConfigLibrary.getSysConfDir(Ruby runtime) |
static java.lang.String |
RbConfigLibrary.getVendorArchDir(Ruby runtime) |
static java.lang.String |
RbConfigLibrary.getVendorDir(Ruby runtime) |
static java.lang.String |
RbConfigLibrary.getVendorDirGeneral(Ruby runtime) |
static java.lang.String |
RbConfigLibrary.getVendorLibDir(Ruby runtime) |
static java.lang.Boolean |
RbConfigLibrary.isSiteVendorSame(Ruby runtime) |
void |
RbConfigLibrary.load(Ruby runtime,
boolean wrap)
Just enough configuration settings (most don't make sense in Java) to run the rubytests
unit tests.
|
Modifier and Type | Method and Description |
---|---|
static void |
Readline.createReadline(Ruby runtime) |
static Readline.ConsoleHolder |
Readline.getHolder(Ruby runtime) |
static Readline.ConsoleHolder |
Readline.getHolderWithReadline(Ruby runtime) |
protected static void |
Readline.initReadline(Ruby runtime,
Readline.ConsoleHolder holder) |
void |
ReadlineService.load(Ruby runtime,
boolean wrap) |
Modifier and Type | Method and Description |
---|---|
static void |
Addrinfo.createAddrinfo(Ruby runtime) |
static void |
Option.createOption(Ruby runtime) |
protected void |
RubySocket.handleSocketException(Ruby runtime,
java.lang.String caller,
java.net.SocketException e) |
protected void |
RubyUNIXSocket.init_sock(Ruby runtime) |
protected void |
RubyUNIXSocket.init_unixsock(Ruby runtime,
IRubyObject _path,
boolean server) |
protected ChannelDescriptor |
RubyServerSocket.initChannel(Ruby runtime) |
protected ChannelDescriptor |
RubySocket.initChannel(Ruby runtime) |
protected void |
RubySocket.initFromServer(Ruby runtime,
RubyServerSocket serverSocket,
java.nio.channels.SocketChannel socketChannel) |
protected void |
RubyBasicSocket.initSocket(Ruby runtime,
ChannelDescriptor descriptor) |
void |
SocketLibrary.load(Ruby runtime,
boolean wrap) |
protected static ChannelDescriptor |
RubySocket.newChannelDescriptor(Ruby runtime,
java.nio.channels.Channel channel) |
protected static void |
RubyUNIXSocket.rb_sys_fail(Ruby runtime,
java.lang.String message) |
static java.lang.RuntimeException |
RubySocket.sockerr(Ruby runtime,
java.lang.String msg)
Deprecated.
|
static java.lang.RuntimeException |
SocketUtils.sockerr(Ruby runtime,
java.lang.String msg) |
Constructor and Description |
---|
Addrinfo(Ruby runtime,
RubyClass cls) |
Addrinfo(Ruby runtime,
RubyClass cls,
java.net.InetAddress inetAddress) |
Addrinfo(Ruby runtime,
RubyClass cls,
java.net.InetAddress inetAddress,
int port) |
Addrinfo(Ruby runtime,
RubyClass cls,
java.net.InetAddress inetAddress,
int port,
SocketType socketType) |
Option(Ruby runtime,
jnr.constants.platform.ProtocolFamily family,
jnr.constants.platform.SocketLevel level,
jnr.constants.platform.SocketOption option,
int data) |
Option(Ruby runtime,
RubyClass klass) |
Option(Ruby runtime,
RubyClass klass,
jnr.constants.platform.ProtocolFamily family,
jnr.constants.platform.SocketLevel level,
jnr.constants.platform.SocketOption option,
int data) |
RubyBasicSocket(Ruby runtime,
RubyClass type) |
RubyIPSocket(Ruby runtime,
RubyClass type) |
RubyServerSocket(Ruby runtime,
RubyClass type) |
RubySocket(Ruby runtime,
RubyClass type) |
RubyTCPServer(Ruby runtime,
RubyClass type) |
RubyTCPSocket(Ruby runtime,
RubyClass type) |
RubyUDPSocket(Ruby runtime,
RubyClass type) |
RubyUNIXServer(Ruby runtime,
RubyClass type) |
RubyUNIXSocket(Ruby runtime,
RubyClass type) |
Modifier and Type | Method and Description |
---|---|
static RubyClass |
RubyStringIO.createStringIOClass(Ruby runtime) |
void |
StringIOLibrary.load(Ruby runtime,
boolean wrap) |
Constructor and Description |
---|
RubyStringIO(Ruby runtime,
RubyClass klass) |
Modifier and Type | Method and Description |
---|---|
static RubyClass |
RubyStringScanner.createScannerClass(Ruby runtime) |
void |
StringScannerLibrary.load(Ruby runtime,
boolean wrap) |
Constructor and Description |
---|
RubyStringScanner(Ruby runtime,
RubyClass type) |
Modifier and Type | Method and Description |
---|---|
static RubyClass |
Tempfile.createTempfileClass(Ruby runtime) |
void |
TempfileLibrary.load(Ruby runtime,
boolean wrap) |
Constructor and Description |
---|
Tempfile(Ruby runtime,
RubyClass type) |
Modifier and Type | Method and Description |
---|---|
void |
ThreadLibrary.load(Ruby runtime,
boolean wrap) |
static void |
ConditionVariable.setup(Ruby runtime) |
static void |
Mutex.setup(Ruby runtime) |
static void |
Queue.setup(Ruby runtime) |
static void |
SizedQueue.setup(Ruby runtime) |
Constructor and Description |
---|
ConditionVariable(Ruby runtime,
RubyClass type) |
Mutex(Ruby runtime,
RubyClass type) |
Queue(Ruby runtime,
RubyClass type) |
SizedQueue(Ruby runtime,
RubyClass type) |
Modifier and Type | Method and Description |
---|---|
void |
Timeout.load(Ruby runtime,
boolean wrap) |
Modifier and Type | Method and Description |
---|---|
void |
WeakRefLibrary.load(Ruby runtime,
boolean wrap) |
Constructor and Description |
---|
WeakRef(Ruby runtime,
RubyClass klazz) |
Modifier and Type | Method and Description |
---|---|
static RubyModule |
RubyZlib.createZlibModule(Ruby runtime)
Create the Zlib module and add it to the Ruby runtime.
|
void |
ZlibLibrary.load(Ruby runtime,
boolean wrap) |
protected RubyString |
RubyGzipFile.newStr(Ruby runtime,
org.jruby.util.ByteList value) |
Constructor and Description |
---|
JZlibDeflate(Ruby runtime,
RubyClass type) |
JZlibInflate(Ruby runtime,
RubyClass type) |
JZlibRubyGzipReader(Ruby runtime,
RubyClass type) |
JZlibRubyGzipWriter(Ruby runtime,
RubyClass type) |
RubyGzipFile(Ruby runtime,
RubyClass type) |
ZStream(Ruby runtime,
RubyClass type) |
Modifier and Type | Method and Description |
---|---|
static GlobalVariable |
GlobalVariable.newUndefined(Ruby runtime,
java.lang.String name) |
Constructor and Description |
---|
GlobalVariables(Ruby runtime) |
ThreadService(Ruby runtime) |
UndefinedAccessor(Ruby runtime,
GlobalVariable globalVariable,
java.lang.String name)
Constructor for UndefinedAccessor.
|
Modifier and Type | Method and Description |
---|---|
protected IRubyObject |
DynamicMethod.handleBreak(ThreadContext context,
Ruby runtime,
JumpException.BreakJump bj,
int callNumber) |
protected IRubyObject |
DynamicMethod.handleRedo(Ruby runtime) |
static DynamicMethod |
DynamicMethodFactory.newDefaultMethod(Ruby runtime,
RubyModule container,
java.lang.String name,
StaticScope scope,
Node body,
ArgsNode argsNode,
Visibility visibility,
ISourcePosition position) |
static InterpretedMethod |
DynamicMethodFactory.newInterpretedMethod(Ruby runtime,
RubyModule container,
StaticScope scope,
Node body,
java.lang.String name,
ArgsNode argsNode,
Visibility visibility,
ISourcePosition position) |
static DynamicMethod |
DynamicMethodFactory.newJittedMethod(Ruby runtime,
RubyModule container,
StaticScope scope,
Script script,
java.lang.String name,
CallConfiguration config,
Visibility visibility,
Arity arity,
ISourcePosition position,
DefaultMethod defaultMethod) |
protected void |
InterpretedMethod.post(Ruby runtime,
ThreadContext context,
java.lang.String name) |
protected void |
JittedMethod.post(Ruby runtime,
ThreadContext context,
java.lang.String name) |
protected void |
TraceableJittedMethod.post(Ruby runtime,
ThreadContext context,
java.lang.String name) |
protected void |
InterpretedMethod.pre(ThreadContext context,
java.lang.String name,
IRubyObject self,
Block block,
Ruby runtime) |
Modifier and Type | Method and Description |
---|---|
void |
CheckArityInstr.checkArity(Ruby runtime,
int numArgs) |
abstract IRubyObject |
ReceiveRestArgBase.receiveRestArg(Ruby runtime,
IRubyObject[] parameters) |
Modifier and Type | Method and Description |
---|---|
IRubyObject |
ReceiveRestArgInstr18.receiveRestArg(Ruby runtime,
IRubyObject[] parameters) |
Modifier and Type | Method and Description |
---|---|
IRubyObject |
ReceiveRestArgInstr19.receiveRestArg(Ruby runtime,
IRubyObject[] parameters) |
Modifier and Type | Method and Description |
---|---|
static IRubyObject |
Interpreter.interpret(Ruby runtime,
Node rootNode,
IRubyObject self) |
static IRubyObject |
Interpreter.interpretBindingEval(Ruby runtime,
java.lang.String file,
int lineNumber,
java.lang.String backtraceName,
Node node,
IRubyObject self,
Block block) |
static IRubyObject |
Interpreter.interpretCommonEval(Ruby runtime,
java.lang.String file,
int lineNumber,
java.lang.String backtraceName,
RootNode rootNode,
IRubyObject self,
Block block) |
static IRubyObject |
Interpreter.interpretSimpleEval(Ruby runtime,
java.lang.String file,
int lineNumber,
java.lang.String backtraceName,
Node node,
IRubyObject self) |
Modifier and Type | Method and Description |
---|---|
Ruby |
UndefinedValue.getRuntime()
RubyMethod getRuntime.
|
Modifier and Type | Method and Description |
---|---|
java.lang.RuntimeException |
IRException.getException(Ruby runtime) |
Modifier and Type | Method and Description |
---|---|
static java.lang.Class |
JVMVisitor.compile(Ruby ruby,
IRScope scope,
JRubyClassLoader jrubyClassLoader) |
Modifier and Type | Method and Description |
---|---|
static java.lang.Class |
RealClassGenerator.createOldStyleImplClass(java.lang.Class[] superTypes,
RubyClass rubyClass,
Ruby ruby,
java.lang.String name,
ClassDefiningClassLoader classLoader) |
static java.lang.Class |
RealClassGenerator.createRealImplClass(java.lang.Class superClass,
java.lang.Class[] interfaces,
RubyClass rubyClass,
Ruby ruby,
java.lang.String name) |
static java.lang.Class |
RealClassGenerator.defineOldStyleImplClass(Ruby ruby,
java.lang.String name,
java.lang.String[] superTypeNames,
java.util.Map<java.lang.String,java.util.List<java.lang.reflect.Method>> simpleToAll,
ClassDefiningClassLoader classLoader)
This variation on defineImplClass uses all the classic type coercion logic
for passing args and returning results.
|
static java.lang.Class |
RealClassGenerator.defineRealImplClass(Ruby ruby,
java.lang.String name,
java.lang.Class superClass,
java.lang.String[] superTypeNames,
java.util.Map<java.lang.String,java.util.List<java.lang.reflect.Method>> simpleToAll)
This variation on defineImplClass uses all the classic type coercion logic
for passing args and returning results.
|
Modifier and Type | Method and Description |
---|---|
static RaiseException |
CallableSelector.argTypesDoNotMatch(Ruby runtime,
IRubyObject receiver,
JavaCallable[] methods,
java.lang.Object... args) |
static JavaCallable |
CallableSelector.matchingCallableArityFour(Ruby runtime,
java.util.Map cache,
JavaCallable[] methods,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
IRubyObject arg3) |
static JavaCallable |
CallableSelector.matchingCallableArityN(Ruby runtime,
java.util.Map cache,
JavaCallable[] methods,
IRubyObject[] args,
int argsLength) |
static ParameterTypes |
CallableSelector.matchingCallableArityN(Ruby runtime,
java.util.Map cache,
ParameterTypes[] methods,
IRubyObject[] args,
int argsLength) |
static JavaCallable |
CallableSelector.matchingCallableArityOne(Ruby runtime,
java.util.Map cache,
JavaCallable[] methods,
IRubyObject arg0) |
static JavaCallable |
CallableSelector.matchingCallableArityThree(Ruby runtime,
java.util.Map cache,
JavaCallable[] methods,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2) |
static JavaCallable |
CallableSelector.matchingCallableArityTwo(Ruby runtime,
java.util.Map cache,
JavaCallable[] methods,
IRubyObject arg0,
IRubyObject arg1) |
Modifier and Type | Field and Description |
---|---|
protected Ruby |
RubyToJavaInvoker.runtime |
Modifier and Type | Method and Description |
---|---|
protected JavaCallable |
ConstructorInvoker.createCallable(Ruby ruby,
java.lang.reflect.Member member) |
protected JavaCallable |
MethodInvoker.createCallable(Ruby ruby,
java.lang.reflect.Member member) |
protected abstract JavaCallable |
RubyToJavaInvoker.createCallable(Ruby ruby,
java.lang.reflect.Member member) |
Constructor and Description |
---|
ArrayJavaProxy(Ruby runtime,
RubyClass klazz,
java.lang.Object ary) |
ArrayJavaProxy(Ruby runtime,
RubyClass klazz,
java.lang.Object ary,
JavaUtil.JavaConverter converter) |
ArrayJavaProxyCreator(Ruby runtime) |
ConcreteJavaProxy(Ruby runtime,
RubyClass klazz) |
ConcreteJavaProxy(Ruby runtime,
RubyClass klazz,
java.lang.Object object) |
InterfaceJavaProxy(Ruby runtime,
RubyClass klazz) |
JavaProxy(Ruby runtime,
RubyClass klazz) |
JavaProxy(Ruby runtime,
RubyClass klazz,
java.lang.Object object) |
MapJavaProxy(Ruby runtime,
RubyClass klazz) |
MapJavaProxy(Ruby runtime,
RubyClass klazz,
java.util.Map map) |
Modifier and Type | Method and Description |
---|---|
static IRubyObject |
ArrayUtils.arefDirect(Ruby runtime,
java.lang.Object array,
JavaUtil.JavaConverter javaConverter,
int intIndex) |
static IRubyObject |
ArrayUtils.asetDirect(Ruby runtime,
java.lang.Object array,
JavaUtil.JavaConverter javaConverter,
int intIndex,
IRubyObject value) |
static ArrayJavaProxy |
ArrayUtils.newProxiedArray(Ruby runtime,
java.lang.Class componentType,
int size) |
static ArrayJavaProxy |
ArrayUtils.newProxiedArray(Ruby runtime,
java.lang.Class componentType,
JavaUtil.JavaConverter converter,
int size) |
static void |
ArrayUtils.setWithExceptionHandlingDirect(Ruby runtime,
java.lang.Object ary,
int intIndex,
java.lang.Object javaObject) |
Constructor and Description |
---|
BlankSlateWrapper(Ruby runtime,
RubyClass superClass,
RubyModule delegate) |
Modifier and Type | Method and Description |
---|---|
static Ruby |
JavaEmbedUtils.initialize(java.util.List loadPaths)
Get an instance of a JRuby runtime.
|
static Ruby |
JavaEmbedUtils.initialize(java.util.List loadPaths,
ClassCache classCache)
Get an instance of a JRuby runtime.
|
static Ruby |
JavaEmbedUtils.initialize(java.util.List loadPaths,
RubyInstanceConfig config)
Get an instance of a JRuby runtime.
|
Modifier and Type | Method and Description |
---|---|
IRubyObject |
JavaArray.arefDirect(Ruby runtime,
int intIndex) |
IRubyObject |
JavaArray.asetDirect(Ruby runtime,
int intIndex,
IRubyObject value) |
static IRubyObject |
Java.constructProxy(Ruby runtime,
java.lang.reflect.Constructor proxyConstructor,
RubyClass clazz) |
abstract IRubyObject |
JavaUtil.JavaConverter.convert(Ruby runtime,
java.lang.Object object) |
static java.lang.Object |
JavaUtil.convertArgument(Ruby runtime,
java.lang.Object argument,
java.lang.Class<?> parameterType)
Deprecated.
|
static IRubyObject |
JavaUtil.convertJavaArrayElementToRuby(Ruby runtime,
JavaUtil.JavaConverter converter,
java.lang.Object array,
int i) |
static IRubyObject[] |
JavaUtil.convertJavaArrayToRuby(Ruby runtime,
java.lang.Object[] objects) |
static IRubyObject |
JavaUtil.convertJavaToRuby(Ruby runtime,
boolean b) |
static IRubyObject |
JavaUtil.convertJavaToRuby(Ruby runtime,
double d) |
static IRubyObject |
JavaUtil.convertJavaToRuby(Ruby runtime,
float f) |
static IRubyObject |
JavaUtil.convertJavaToRuby(Ruby runtime,
int i) |
static IRubyObject |
JavaUtil.convertJavaToRuby(Ruby runtime,
JavaUtil.JavaConverter converter,
java.lang.Object object)
Deprecated.
|
static IRubyObject |
JavaUtil.convertJavaToRuby(Ruby runtime,
long l) |
static IRubyObject |
JavaUtil.convertJavaToRuby(Ruby runtime,
java.lang.Object object) |
static IRubyObject |
JavaUtil.convertJavaToRuby(Ruby runtime,
java.lang.Object object,
java.lang.Class javaClass) |
static IRubyObject |
JavaUtil.convertJavaToUsableRubyObject(Ruby runtime,
java.lang.Object object)
Returns a usable RubyObject; for types that are not converted to Ruby native
types, a Java proxy will be returned.
|
static IRubyObject |
JavaUtil.convertJavaToUsableRubyObjectWithConverter(Ruby runtime,
java.lang.Object object,
JavaUtil.JavaConverter converter) |
static JavaMethod |
JavaMethod.create(Ruby runtime,
java.lang.Class<?> javaClass,
java.lang.String methodName,
java.lang.Class<?>[] argumentTypes) |
static JavaConstructor |
JavaConstructor.create(Ruby runtime,
java.lang.reflect.Constructor<?> constructor) |
static JavaMethod |
JavaMethod.create(Ruby runtime,
java.lang.reflect.Method method) |
static JavaMethod |
JavaMethod.createDeclared(Ruby runtime,
java.lang.Class<?> javaClass,
java.lang.String methodName,
java.lang.Class<?>[] argumentTypes) |
static RubyClass |
JavaArray.createJavaArrayClass(Ruby runtime,
RubyModule javaModule) |
static RubyModule |
JavaArrayUtilities.createJavaArrayUtilitiesModule(Ruby runtime) |
static RubyClass |
JavaClass.createJavaClassClass(Ruby runtime,
RubyModule javaModule) |
static RubyClass |
JavaConstructor.createJavaConstructorClass(Ruby runtime,
RubyModule javaModule) |
static RubyClass |
JavaField.createJavaFieldClass(Ruby runtime,
RubyModule javaModule) |
static RubyClass |
JavaMethod.createJavaMethodClass(Ruby runtime,
RubyModule javaModule) |
static RubyModule |
Java.createJavaModule(Ruby runtime) |
static RubyClass |
JavaObject.createJavaObjectClass(Ruby runtime,
RubyModule javaModule) |
static RubyModule |
Java.createProxyClassForClass(Ruby runtime,
java.lang.Class c) |
static JavaClass |
JavaClass.forNameQuiet(Ruby runtime,
java.lang.String className) |
static JavaClass |
JavaClass.forNameVerbose(Ruby runtime,
java.lang.String className) |
static IRubyObject |
Java.get_interface_module(Ruby runtime,
IRubyObject javaClassObject) |
static JavaClass |
JavaClass.get(Ruby runtime,
java.lang.Class<?> klass) |
abstract IRubyObject |
JavaUtil.JavaConverter.get(Ruby runtime,
java.lang.Object array,
int i) |
static IRubyObject |
Java.getInstance(Ruby runtime,
java.lang.Object rawJavaObject)
Same as Java#getInstance(runtime, rawJavaObject, false).
|
static IRubyObject |
Java.getInstance(Ruby runtime,
java.lang.Object rawJavaObject,
boolean forceCache)
Returns a new proxy instance of a type corresponding to rawJavaObject's class,
or the cached proxy if we've already seen this object.
|
static RubyModule |
Java.getInterfaceModule(Ruby runtime,
JavaClass javaClass) |
static RubyModule |
Java.getJavaPackageModule(Ruby runtime,
java.lang.Package pkg) |
static JavaCallable |
JavaClass.getMatchingCallable(Ruby runtime,
java.lang.Class<?> javaClass,
java.lang.String methodName,
java.lang.Class<?>[] argumentTypes) |
static JavaConstructor |
JavaConstructor.getMatchingConstructor(Ruby runtime,
java.lang.Class<?> javaClass,
java.lang.Class<?>[] argumentTypes) |
static JavaMethod |
JavaMethod.getMatchingDeclaredMethod(Ruby runtime,
java.lang.Class<?> javaClass,
java.lang.String methodName,
java.lang.Class<?>[] argumentTypes) |
static java.lang.reflect.Method |
Java.getMethodFromClass(Ruby runtime,
IRubyObject proxyClass,
java.lang.String name,
java.lang.Class... argTypes) |
static RubyModule |
Java.getProxyClass(Ruby runtime,
java.lang.Class c) |
static RubyModule |
Java.getProxyClass(Ruby runtime,
JavaClass javaClass) |
static RubyClass |
Java.getProxyClassForObject(Ruby runtime,
java.lang.Object object) |
static java.lang.reflect.Constructor |
Java.getRealClassConstructor(Ruby runtime,
java.lang.Class proxyImplClass) |
static RubyArray |
JavaClass.getRubyArray(Ruby runtime,
java.lang.Class<?>[] classes) |
static java.lang.Object |
JavaEmbedUtils.invokeMethod(Ruby runtime,
java.lang.Object receiver,
java.lang.String method,
java.lang.Object[] args,
java.lang.Class returnType)
Convenience function for embedders
|
static IRubyObject |
JavaUtil.java_to_ruby(Ruby runtime,
IRubyObject object)
Deprecated.
|
static IRubyObject |
JavaEmbedUtils.javaToRuby(Ruby runtime,
boolean value) |
static IRubyObject |
JavaEmbedUtils.javaToRuby(Ruby runtime,
byte value) |
static IRubyObject |
JavaEmbedUtils.javaToRuby(Ruby runtime,
char value) |
static IRubyObject |
JavaEmbedUtils.javaToRuby(Ruby runtime,
double value) |
static IRubyObject |
JavaEmbedUtils.javaToRuby(Ruby runtime,
float value) |
static IRubyObject |
JavaEmbedUtils.javaToRuby(Ruby runtime,
int value) |
static IRubyObject |
JavaEmbedUtils.javaToRuby(Ruby runtime,
long value) |
static IRubyObject |
JavaEmbedUtils.javaToRuby(Ruby runtime,
java.lang.Object value)
Convert a java object to a Ruby object.
|
static IRubyObject |
JavaEmbedUtils.javaToRuby(Ruby runtime,
short value) |
void |
Java.load(Ruby runtime,
boolean wrap) |
static RaiseException |
JavaMethod.newArgSizeMismatchError(Ruby runtime,
java.lang.Class... argTypes) |
static RaiseException |
JavaMethod.newMethodNotFoundError(Ruby runtime,
java.lang.Class target,
java.lang.String prettyName,
java.lang.String simpleName) |
static void |
JavaAccessibleObject.registerRubyMethods(Ruby runtime,
RubyClass result) |
static void |
JavaCallable.registerRubyMethods(Ruby runtime,
RubyClass result) |
protected static void |
JavaObject.registerRubyMethods(Ruby runtime,
RubyClass result) |
static java.lang.Object |
JavaEmbedUtils.rubyToJava(Ruby runtime,
IRubyObject value,
java.lang.Class type)
Convert a Ruby object to a Java object.
|
abstract void |
JavaUtil.JavaConverter.set(Ruby runtime,
java.lang.Object array,
int i,
IRubyObject value) |
static void |
JavaEmbedUtils.terminate(Ruby runtime)
Dispose of the runtime you initialized.
|
static IRubyObject |
JavaObject.to_s(Ruby runtime,
java.lang.Object dataStruct) |
static RaiseException |
JavaClass.undefinedFieldError(Ruby runtime,
java.lang.String javaClassName,
java.lang.String name) |
static JavaObject |
JavaUtil.unwrapJavaObject(Ruby runtime,
IRubyObject convertee,
java.lang.String errorMessage)
Deprecated.
|
static java.lang.Object |
JavaUtil.unwrapJavaValue(Ruby runtime,
IRubyObject obj,
java.lang.String errorMessage) |
static IRubyObject |
Java.wrap(Ruby runtime,
IRubyObject java_object) |
static JavaObject |
JavaObject.wrap(Ruby runtime,
java.lang.Object value) |
static IRubyObject |
Java.wrapJavaObject(Ruby runtime,
java.lang.Object object) |
Constructor and Description |
---|
JavaAccessibleObject(Ruby runtime,
RubyClass rubyClass) |
JavaArray(Ruby runtime,
java.lang.Object array) |
JavaCallable(Ruby runtime,
RubyClass rubyClass,
java.lang.Class<?>[] parameterTypes) |
JavaClass(Ruby runtime,
java.lang.Class<?> javaClass) |
JavaConstructor(Ruby runtime,
java.lang.reflect.Constructor<?> constructor) |
JavaEmbedUtils.InterpretedEvalUnit(Ruby runtime,
Node node) |
JavaField(Ruby runtime,
java.lang.reflect.Field field) |
JavaMethod(Ruby runtime,
java.lang.reflect.Method method) |
JavaObject(Ruby runtime,
java.lang.Object value) |
JavaObject(Ruby runtime,
RubyClass rubyClass,
java.lang.Object value) |
JavaSupport(Ruby ruby) |
Modifier and Type | Method and Description |
---|---|
static RubyClass |
JavaProxyClass.createJavaProxyClassClass(Ruby runtime,
RubyModule javaModule) |
static RubyClass |
JavaProxyConstructor.createJavaProxyConstructorClass(Ruby runtime,
RubyModule javaProxyModule) |
static RubyClass |
JavaProxyClass.ProxyMethodImpl.createJavaProxyMethodClass(Ruby runtime,
RubyModule javaProxyModule) |
static void |
JavaProxyClass.createJavaProxyModule(Ruby runtime) |
static JavaProxyClass |
JavaProxyClass.getProxyClass(Ruby runtime,
java.lang.Class superClass,
java.lang.Class[] interfaces) |
static JavaProxyClass |
JavaProxyClass.getProxyClass(Ruby runtime,
java.lang.Class superClass,
java.lang.Class[] interfaces,
java.util.Set names) |
JavaProxyClass |
JavaProxyClassFactory.newProxyClass(Ruby runtime,
java.lang.ClassLoader loader,
java.lang.String targetClassName,
java.lang.Class superClass,
java.lang.Class[] interfaces,
java.util.Set names) |
static java.lang.Object |
JavaProxyClass.newProxyInstance(Ruby runtime,
java.lang.Class superClass,
java.lang.Class[] interfaces,
java.lang.Class[] constructorParameters,
java.lang.Object[] constructorArgs,
JavaProxyInvocationHandler handler) |
protected static void |
JavaProxyReflectionObject.registerRubyMethods(Ruby runtime,
RubyClass result) |
Constructor and Description |
---|
JavaProxyClass.ProxyMethodImpl(Ruby runtime,
JavaProxyClass clazz,
java.lang.reflect.Method m,
java.lang.reflect.Method sm) |
JavaProxyReflectionObject(Ruby runtime,
RubyClass metaClass) |
Modifier and Type | Method and Description |
---|---|
static void |
RuntimeHelpers.addInstanceMethod(RubyModule containingClass,
java.lang.String name,
DynamicMethod method,
Visibility visibility,
ThreadContext context,
Ruby runtime) |
static RubyArray |
RuntimeHelpers.arrayValue(ThreadContext context,
Ruby runtime,
IRubyObject value) |
static IRubyObject |
RuntimeHelpers.breakLocalJumpError(Ruby runtime,
IRubyObject value) |
static IRubyObject |
RuntimeHelpers.callZSuper(Ruby runtime,
ThreadContext context,
Block block,
IRubyObject self) |
static RubyHash |
RuntimeHelpers.constructHash(Ruby runtime,
IRubyObject key1,
IRubyObject value1) |
static RubyHash |
RuntimeHelpers.constructHash(Ruby runtime,
IRubyObject key1,
IRubyObject value1,
IRubyObject key2,
IRubyObject value2) |
static RubyHash |
RuntimeHelpers.constructHash(Ruby runtime,
IRubyObject key1,
IRubyObject value1,
IRubyObject key2,
IRubyObject value2,
IRubyObject key3,
IRubyObject value3) |
static RubyHash |
RuntimeHelpers.constructHash19(Ruby runtime,
IRubyObject key1,
IRubyObject value1) |
static RubyHash |
RuntimeHelpers.constructHash19(Ruby runtime,
IRubyObject key1,
IRubyObject value1,
IRubyObject key2,
IRubyObject value2) |
static RubyHash |
RuntimeHelpers.constructHash19(Ruby runtime,
IRubyObject key1,
IRubyObject value1,
IRubyObject key2,
IRubyObject value2,
IRubyObject key3,
IRubyObject value3) |
static RubyArray |
RuntimeHelpers.constructRubyArray(Ruby runtime,
IRubyObject one) |
static RubyArray |
RuntimeHelpers.constructRubyArray(Ruby runtime,
IRubyObject one,
IRubyObject two) |
static RubyArray |
RuntimeHelpers.constructRubyArray(Ruby runtime,
IRubyObject one,
IRubyObject two,
IRubyObject three) |
static RubyArray |
RuntimeHelpers.constructRubyArray(Ruby runtime,
IRubyObject one,
IRubyObject two,
IRubyObject three,
IRubyObject four) |
static RubyArray |
RuntimeHelpers.constructRubyArray(Ruby runtime,
IRubyObject one,
IRubyObject two,
IRubyObject three,
IRubyObject four,
IRubyObject five) |
static RubyArray |
RuntimeHelpers.constructRubyArray(Ruby runtime,
IRubyObject one,
IRubyObject two,
IRubyObject three,
IRubyObject four,
IRubyObject five,
IRubyObject six) |
static RubyArray |
RuntimeHelpers.constructRubyArray(Ruby runtime,
IRubyObject one,
IRubyObject two,
IRubyObject three,
IRubyObject four,
IRubyObject five,
IRubyObject six,
IRubyObject seven) |
static RubyArray |
RuntimeHelpers.constructRubyArray(Ruby runtime,
IRubyObject one,
IRubyObject two,
IRubyObject three,
IRubyObject four,
IRubyObject five,
IRubyObject six,
IRubyObject seven,
IRubyObject eight) |
static RubyArray |
RuntimeHelpers.constructRubyArray(Ruby runtime,
IRubyObject one,
IRubyObject two,
IRubyObject three,
IRubyObject four,
IRubyObject five,
IRubyObject six,
IRubyObject seven,
IRubyObject eight,
IRubyObject nine) |
static RubyArray |
RuntimeHelpers.constructRubyArray(Ruby runtime,
IRubyObject one,
IRubyObject two,
IRubyObject three,
IRubyObject four,
IRubyObject five,
IRubyObject six,
IRubyObject seven,
IRubyObject eight,
IRubyObject nine,
IRubyObject ten) |
static RubyHash |
RuntimeHelpers.constructSmallHash(Ruby runtime,
IRubyObject key1,
IRubyObject value1) |
static RubyHash |
RuntimeHelpers.constructSmallHash(Ruby runtime,
IRubyObject key1,
IRubyObject value1,
IRubyObject key2,
IRubyObject value2) |
static RubyHash |
RuntimeHelpers.constructSmallHash(Ruby runtime,
IRubyObject key1,
IRubyObject value1,
IRubyObject key2,
IRubyObject value2,
IRubyObject key3,
IRubyObject value3) |
static RubyHash |
RuntimeHelpers.constructSmallHash19(Ruby runtime,
IRubyObject key1,
IRubyObject value1) |
static RubyHash |
RuntimeHelpers.constructSmallHash19(Ruby runtime,
IRubyObject key1,
IRubyObject value1,
IRubyObject key2,
IRubyObject value2) |
static RubyHash |
RuntimeHelpers.constructSmallHash19(Ruby runtime,
IRubyObject key1,
IRubyObject value1,
IRubyObject key2,
IRubyObject value2,
IRubyObject key3,
IRubyObject value3) |
static RubyArray |
RuntimeHelpers.createSubarray(IRubyObject[] input,
Ruby runtime,
int start) |
static RubyArray |
RuntimeHelpers.createSubarray(IRubyObject[] input,
Ruby runtime,
int start,
int exclude) |
static IRubyObject |
RuntimeHelpers.declareClassVariable(Ruby runtime,
StaticScope scope,
IRubyObject self,
java.lang.String name,
IRubyObject value) |
static RubyArray |
RuntimeHelpers.ensureMultipleAssignableRubyArray(IRubyObject value,
Ruby runtime,
boolean masgnHasHead) |
static RubyArray |
RuntimeHelpers.ensureRubyArray(Ruby runtime,
IRubyObject value) |
static IRubyObject |
RuntimeHelpers.fetchClassVariable(Ruby runtime,
StaticScope scope,
IRubyObject self,
java.lang.String name) |
static void |
RuntimeHelpers.fillNil(IRubyObject[] arr,
int from,
int to,
Ruby runtime) |
static void |
RuntimeHelpers.fillNil(IRubyObject[] arr,
Ruby runtime) |
static IRubyObject |
RuntimeHelpers.getBackref(Ruby runtime,
ThreadContext context) |
static Block |
RuntimeHelpers.getBlock(Ruby runtime,
ThreadContext context,
IRubyObject self,
Node node,
Block aBlock) |
static Block |
RuntimeHelpers.getBlockFromBlockPassBody(Ruby runtime,
IRubyObject proc,
Block currentBlock) |
static RubyString |
RuntimeHelpers.getDefinedNot(Ruby runtime,
RubyString definition) |
static IRubyObject |
RuntimeHelpers.getErrorInfo(Ruby runtime) |
static IRubyObject |
RuntimeHelpers.getGlobalVariable(Ruby runtime,
java.lang.String name) |
static IRubyObject |
RuntimeHelpers.getInstanceVariable(IRubyObject self,
Ruby runtime,
java.lang.String internedName) |
static IRubyObject |
RuntimeHelpers.getLastLine(Ruby runtime,
ThreadContext context) |
static RubyClass |
RuntimeHelpers.getSingletonClass(Ruby runtime,
IRubyObject receiver) |
static RubyModule |
RuntimeHelpers.getSuperClassForDefined(Ruby runtime,
RubyModule klazz) |
static void |
RuntimeHelpers.handleArgumentSizes(ThreadContext context,
Ruby runtime,
int given,
int required,
int opt,
int rest) |
static java.lang.String |
RuntimeHelpers.interpretAliasUndefName(Node nameNode,
Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock)
Some of this code looks scary.
|
static IRubyObject |
RuntimeHelpers.negate(IRubyObject value,
Ruby runtime) |
static IRubyObject |
RuntimeHelpers.nextLocalJumpError(Ruby runtime,
IRubyObject value) |
static IRubyObject |
RuntimeHelpers.nullToNil(IRubyObject value,
Ruby runtime) |
static RubyArray |
RuntimeHelpers.parameterListToParameters(Ruby runtime,
java.lang.String[] parameterList,
boolean isLambda) |
static RubyClass |
RuntimeHelpers.prepareSuperClass(Ruby runtime,
IRubyObject rubyClass) |
static IRubyObject |
RuntimeHelpers.processBlockArgument(Ruby runtime,
Block block) |
static IRubyObject |
RuntimeHelpers.redoLocalJumpError(Ruby runtime) |
static void |
RuntimeHelpers.registerEndBlock(Block block,
Ruby runtime) |
static IRubyObject |
RuntimeHelpers.setBackref(Ruby runtime,
ThreadContext context,
IRubyObject value) |
static IRubyObject |
RuntimeHelpers.setClassVariable(Ruby runtime,
StaticScope scope,
IRubyObject self,
java.lang.String name,
IRubyObject value) |
static void |
RuntimeHelpers.setErrorInfo(Ruby runtime,
IRubyObject error) |
static IRubyObject |
RuntimeHelpers.setGlobalVariable(IRubyObject value,
Ruby runtime,
java.lang.String name) |
static IRubyObject |
RuntimeHelpers.setLastLine(Ruby runtime,
ThreadContext context,
IRubyObject value) |
static RubyArray |
RuntimeHelpers.subarrayOrEmpty(RubyArray array,
Ruby runtime,
int index) |
static RubyArray |
RuntimeHelpers.subarrayOrEmpty(RubyArray array,
Ruby runtime,
int index,
int post) |
Modifier and Type | Field and Description |
---|---|
static Ruby |
DripMain.DRIP_RUNTIME |
Modifier and Type | Method and Description |
---|---|
static BeanManager |
BeanManagerFactory.create(Ruby runtime,
boolean managementEnabled) |
Constructor and Description |
---|
BeanManagerImpl(Ruby ruby,
boolean managementEnabled) |
ClassCache(Ruby ruby) |
Config(Ruby ruby) |
ParserStats(Ruby ruby) |
Runtime(Ruby ruby) |
Modifier and Type | Method and Description |
---|---|
Ruby |
ParserConfiguration.getRuntime() |
Constructor and Description |
---|
IRStaticScopeFactory(Ruby runtime) |
Parser(Ruby runtime) |
ParserConfiguration(Ruby runtime,
int lineNumber,
boolean extraPositionInformation,
boolean inlineSource,
boolean isFileParse,
boolean saveData,
RubyInstanceConfig config) |
ParserConfiguration(Ruby runtime,
int lineNumber,
boolean extraPositionInformation,
boolean inlineSource,
boolean isFileParse,
CompatVersion version,
boolean saveData) |
ParserConfiguration(Ruby runtime,
int lineNumber,
boolean extraPositionInformation,
boolean inlineSource,
boolean isFileParse,
RubyInstanceConfig config) |
ParserConfiguration(Ruby runtime,
int lineNumber,
boolean extraPositionInformation,
boolean inlineSource,
CompatVersion version) |
ParserConfiguration(Ruby runtime,
int lineNumber,
boolean inlineSource,
CompatVersion version) |
StaticScopeFactory(Ruby runtime) |
Modifier and Type | Field and Description |
---|---|
protected Ruby |
GlobalVariable.runtime |
Ruby |
ThreadContext.runtime |
Modifier and Type | Method and Description |
---|---|
Ruby |
ThreadContext.getRuntime()
Retrieve the runtime associated with this context.
|
Modifier and Type | Method and Description |
---|---|
IRubyObject |
ObjectAllocator.allocate(Ruby runtime,
RubyClass klazz) |
protected void |
InterpretedIRBlockBody.blockArgWarning(Ruby ruby,
int length) |
static int |
Arity.checkArgumentCount(Ruby runtime,
int length,
int min,
int max) |
static int |
Arity.checkArgumentCount(Ruby runtime,
int length,
int min,
int max,
boolean hasKwargs) |
static int |
Arity.checkArgumentCount(Ruby runtime,
IRubyObject[] args,
int min,
int max) |
static int |
Arity.checkArgumentCount(Ruby runtime,
java.lang.String name,
int length,
int min,
int max) |
static int |
Arity.checkArgumentCount(Ruby runtime,
java.lang.String name,
int length,
int min,
int max,
boolean hasKwargs) |
static int |
Arity.checkArgumentCount(Ruby runtime,
java.lang.String name,
IRubyObject[] args,
int min,
int max) |
void |
Arity.checkArity(Ruby runtime,
int length) |
void |
Arity.checkArity(Ruby runtime,
IRubyObject[] args) |
IRubyObject |
ThreadContext.createCallerBacktrace(Ruby runtime,
int level)
Create an Array with backtrace information for Kernel#caller
|
static CallbackFactory |
CallbackFactory.createFactory(Ruby runtime,
java.lang.Class type) |
static CallbackFactory |
CallbackFactory.createFactory(Ruby runtime,
java.lang.Class type,
java.lang.ClassLoader classLoader) |
RubyStackTraceElement[] |
ThreadContext.createWarningBacktrace(Ruby runtime)
Create an Array with backtrace information for a built-in warning
|
static RubyStackTraceElement[] |
ThreadContext.gatherRawBacktrace(Ruby runtime,
java.lang.StackTraceElement[] stackTrace) |
IRubyObject |
DynamicScope.getBackRef(Ruby runtime)
Get backref
|
DynamicScope |
Binding.getEvalScope(Ruby runtime) |
DynamicScope |
DynamicScope.getEvalScope(Ruby runtime) |
IRubyObject |
DynamicScope.getLastLine(Ruby runtime)
Get lastline
|
void |
ObjectMarshal.marshalTo(Ruby runtime,
java.lang.Object obj,
RubyClass type,
MarshalStream marshalStream) |
static ThreadContext |
ThreadContext.newContext(Ruby runtime) |
static void |
Arity.raiseArgumentError(Ruby runtime,
int length,
int min,
int max) |
static void |
Arity.raiseArgumentError(Ruby runtime,
int length,
int min,
int max,
boolean hasKwargs) |
static void |
Arity.raiseArgumentError(Ruby runtime,
IRubyObject[] args,
int min,
int max) |
static void |
Arity.raiseArgumentError(Ruby runtime,
java.lang.String name,
int length,
int min,
int max) |
static void |
Arity.raiseArgumentError(Ruby runtime,
java.lang.String name,
int length,
int min,
int max,
boolean hasKwargs) |
static IRubyObject[] |
Arity.scanArgs(Ruby runtime,
IRubyObject[] args,
int required,
int optional) |
protected IRubyObject |
CompiledBlock.setupBlockArg(Ruby ruby,
IRubyObject value,
IRubyObject self) |
java.lang.Object |
ObjectMarshal.unmarshalFrom(Ruby runtime,
RubyClass type,
UnmarshalStream unmarshalStream) |
Constructor and Description |
---|
GlobalVariable.Copy(Ruby runtime,
java.lang.String name,
GlobalVariable other) |
GlobalVariable(Ruby runtime,
java.lang.String name,
IRubyObject value) |
ReadonlyGlobalVariable(Ruby runtime,
java.lang.String name,
IRubyObject value) |
Modifier and Type | Method and Description |
---|---|
abstract void |
Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block) |
void |
Pre0Rest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block) |
void |
Pre0Rest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block) |
void |
Pre0Rest1Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block) |
void |
Pre0Rest1Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block) |
void |
Pre1ExpandedRest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block) |
void |
Pre1ExpandedRest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block) |
void |
Pre1Rest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block) |
void |
Pre1Rest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block) |
void |
Pre1Rest1Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block) |
void |
Pre1Rest1Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block) |
void |
Pre2Rest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block) |
void |
Pre2Rest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block) |
void |
Pre2Rest1Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block) |
void |
Pre2Rest1Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block) |
void |
Pre3Rest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block) |
void |
Pre3Rest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block) |
void |
Pre3Rest1Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block) |
void |
Pre3Rest1Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block) |
void |
PreManyRest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block) |
void |
PreManyRest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block) |
void |
PreManyRest1Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block) |
void |
PreManyRest1Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block) |
abstract void |
Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject[] values,
Block block) |
void |
Pre0Rest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject[] values,
Block block) |
void |
Pre0Rest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject[] values,
Block block) |
void |
Pre0Rest1Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject[] values,
Block block) |
void |
Pre0Rest1Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject[] values,
Block block) |
void |
Pre1ExpandedRest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject[] values,
Block block) |
void |
Pre1ExpandedRest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject[] values,
Block block) |
void |
Pre1Rest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject[] values,
Block block) |
void |
Pre1Rest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject[] values,
Block block) |
void |
Pre1Rest1Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject[] values,
Block block) |
void |
Pre1Rest1Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject[] values,
Block block) |
void |
Pre2Rest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject[] values,
Block block) |
void |
Pre2Rest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject[] values,
Block block) |
void |
Pre2Rest1Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject[] values,
Block block) |
void |
Pre2Rest1Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject[] values,
Block block) |
void |
Pre3Rest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject[] values,
Block block) |
void |
Pre3Rest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject[] values,
Block block) |
void |
Pre3Rest1Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject[] values,
Block block) |
void |
Pre3Rest1Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject[] values,
Block block) |
void |
PreManyRest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject[] values,
Block block) |
void |
PreManyRest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject[] values,
Block block) |
void |
PreManyRest1Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject[] values,
Block block) |
void |
PreManyRest1Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject[] values,
Block block) |
abstract void |
Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
Block block) |
void |
Pre0Rest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
Block block) |
void |
Pre0Rest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
Block block) |
void |
Pre0Rest1Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
Block block) |
void |
Pre0Rest1Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
Block block) |
void |
Pre1ExpandedRest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
Block block) |
void |
Pre1ExpandedRest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
Block block) |
void |
Pre1Rest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
Block block) |
void |
Pre1Rest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
Block block) |
void |
Pre1Rest1Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
Block block) |
void |
Pre1Rest1Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
Block block) |
void |
Pre2Rest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
Block block) |
void |
Pre2Rest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
Block block) |
void |
Pre2Rest1Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
Block block) |
void |
Pre2Rest1Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
Block block) |
void |
Pre3Rest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
Block block) |
void |
Pre3Rest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
Block block) |
void |
Pre3Rest1Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
Block block) |
void |
Pre3Rest1Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
Block block) |
void |
PreManyRest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
Block block) |
void |
PreManyRest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
Block block) |
void |
PreManyRest1Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
Block block) |
void |
PreManyRest1Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
Block block) |
abstract void |
Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
Block block) |
void |
Pre0Rest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
Block block) |
void |
Pre0Rest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
Block block) |
void |
Pre0Rest1Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
Block block) |
void |
Pre0Rest1Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
Block block) |
void |
Pre1ExpandedRest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
Block block) |
void |
Pre1ExpandedRest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
Block block) |
void |
Pre1Rest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
Block block) |
void |
Pre1Rest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
Block block) |
void |
Pre1Rest1Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
Block block) |
void |
Pre1Rest1Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
Block block) |
void |
Pre2Rest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
Block block) |
void |
Pre2Rest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
Block block) |
void |
Pre2Rest1Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
Block block) |
void |
Pre2Rest1Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
Block block) |
void |
Pre3Rest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
Block block) |
void |
Pre3Rest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
Block block) |
void |
Pre3Rest1Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
Block block) |
void |
Pre3Rest1Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
Block block) |
void |
PreManyRest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
Block block) |
void |
PreManyRest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
Block block) |
void |
PreManyRest1Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
Block block) |
void |
PreManyRest1Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
Block block) |
abstract void |
Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
IRubyObject value3,
Block block) |
void |
Pre0Rest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
IRubyObject value3,
Block block) |
void |
Pre0Rest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
IRubyObject value3,
Block block) |
void |
Pre0Rest1Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
IRubyObject value3,
Block block) |
void |
Pre0Rest1Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
IRubyObject value3,
Block block) |
void |
Pre1ExpandedRest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
IRubyObject value3,
Block block) |
void |
Pre1ExpandedRest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
IRubyObject value3,
Block block) |
void |
Pre1Rest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
IRubyObject value3,
Block block) |
void |
Pre1Rest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
IRubyObject value3,
Block block) |
void |
Pre1Rest1Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
IRubyObject value3,
Block block) |
void |
Pre1Rest1Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
IRubyObject value3,
Block block) |
void |
Pre2Rest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
IRubyObject value3,
Block block) |
void |
Pre2Rest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
IRubyObject value3,
Block block) |
void |
Pre2Rest1Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
IRubyObject value3,
Block block) |
void |
Pre2Rest1Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
IRubyObject value3,
Block block) |
void |
Pre3Rest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
IRubyObject value3,
Block block) |
void |
Pre3Rest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
IRubyObject value3,
Block block) |
void |
Pre3Rest1Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
IRubyObject value3,
Block block) |
void |
Pre3Rest1Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
IRubyObject value3,
Block block) |
void |
PreManyRest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
IRubyObject value3,
Block block) |
void |
PreManyRest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
IRubyObject value3,
Block block) |
void |
PreManyRest1Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
IRubyObject value3,
Block block) |
void |
PreManyRest1Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
IRubyObject value3,
Block block) |
abstract void |
Assigner.assignArray(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject values,
Block block) |
void |
Pre0Rest0Post0Assigner.assignArray(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject values,
Block block) |
void |
Pre0Rest0Post0BlockAssigner.assignArray(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject values,
Block block) |
void |
Pre0Rest1Post0Assigner.assignArray(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject arg,
Block block) |
void |
Pre0Rest1Post0BlockAssigner.assignArray(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject arg,
Block block) |
void |
Pre1ExpandedRest0Post0Assigner.assignArray(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value,
Block block) |
void |
Pre1ExpandedRest0Post0BlockAssigner.assignArray(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value,
Block block) |
void |
Pre1Rest0Post0Assigner.assignArray(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject arg,
Block block) |
void |
Pre1Rest0Post0BlockAssigner.assignArray(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject arg,
Block block) |
void |
Pre1Rest1Post0Assigner.assignArray(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject arg,
Block block) |
void |
Pre1Rest1Post0BlockAssigner.assignArray(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject arg,
Block block) |
void |
Pre2Rest0Post0Assigner.assignArray(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject arg,
Block block) |
void |
Pre2Rest0Post0BlockAssigner.assignArray(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject arg,
Block block) |
void |
Pre2Rest1Post0Assigner.assignArray(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject arg,
Block block) |
void |
Pre2Rest1Post0BlockAssigner.assignArray(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject arg,
Block block) |
void |
Pre3Rest0Post0Assigner.assignArray(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject arg,
Block block) |
void |
Pre3Rest0Post0BlockAssigner.assignArray(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject arg,
Block block) |
void |
Pre3Rest1Post0Assigner.assignArray(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject arg,
Block block) |
void |
Pre3Rest1Post0BlockAssigner.assignArray(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject arg,
Block block) |
void |
PreManyRest0Post0Assigner.assignArray(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject arg,
Block block) |
void |
PreManyRest0Post0BlockAssigner.assignArray(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject arg,
Block block) |
void |
PreManyRest1Post0Assigner.assignArray(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject arg,
Block block) |
void |
PreManyRest1Post0BlockAssigner.assignArray(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject arg,
Block block) |
IRubyObject |
Assigner.convertIfAlreadyArray(Ruby runtime,
IRubyObject value) |
IRubyObject |
Pre1ExpandedRest0Post0Assigner.convertIfAlreadyArray(Ruby runtime,
IRubyObject value) |
IRubyObject |
Pre1ExpandedRest0Post0BlockAssigner.convertIfAlreadyArray(Ruby runtime,
IRubyObject value) |
IRubyObject |
Assigner.convertToArray(Ruby runtime,
IRubyObject value) |
IRubyObject |
Pre0Rest0Post0Assigner.convertToArray(Ruby runtime,
IRubyObject value) |
IRubyObject |
Pre0Rest0Post0BlockAssigner.convertToArray(Ruby runtime,
IRubyObject value) |
IRubyObject |
Pre0Rest1Post0Assigner.convertToArray(Ruby runtime,
IRubyObject value) |
IRubyObject |
Pre0Rest1Post0BlockAssigner.convertToArray(Ruby runtime,
IRubyObject value) |
IRubyObject |
Pre1ExpandedRest0Post0Assigner.convertToArray(Ruby runtime,
IRubyObject value) |
IRubyObject |
Pre1ExpandedRest0Post0BlockAssigner.convertToArray(Ruby runtime,
IRubyObject value) |
Modifier and Type | Method and Description |
---|---|
static IRubyObject |
TraceType.generateMRIBacktrace(Ruby runtime,
RubyStackTraceElement[] trace) |
RubyStackTraceElement[] |
BacktraceData.getBacktrace(Ruby runtime) |
Modifier and Type | Method and Description |
---|---|
Ruby |
IRubyObject.getRuntime()
RubyMethod getRuntime.
|
Modifier and Type | Field and Description |
---|---|
protected Ruby |
InvocationCallbackFactory.runtime |
Constructor and Description |
---|
InvocationCallbackFactory(Ruby runtime,
java.lang.Class type,
java.lang.ClassLoader classLoader) |
Modifier and Type | Method and Description |
---|---|
org.jcodings.Encoding |
EncodingService.getFileSystemEncoding(Ruby runtime) |
Constructor and Description |
---|
EncodingService(Ruby runtime) |
Modifier and Type | Method and Description |
---|---|
static Ruby |
InvokeDynamicSupport.loadRuntime(java.lang.invoke.MutableCallSite site,
ThreadContext context) |
Modifier and Type | Method and Description |
---|---|
static IRubyObject |
InvocationLinker.booleanOrNil(Ruby runtime,
java.lang.Boolean b) |
static IRubyObject |
InvocationLinker.fixnumOrNil(Ruby runtime,
java.lang.Byte b) |
static IRubyObject |
InvocationLinker.fixnumOrNil(Ruby runtime,
java.lang.Character c) |
static IRubyObject |
InvocationLinker.fixnumOrNil(Ruby runtime,
java.lang.Integer i) |
static IRubyObject |
InvocationLinker.fixnumOrNil(Ruby runtime,
java.lang.Long l) |
static IRubyObject |
InvocationLinker.fixnumOrNil(Ruby runtime,
java.lang.Short s) |
static IRubyObject |
InvocationLinker.floatOrNil(Ruby runtime,
java.lang.Double d) |
static IRubyObject |
InvocationLinker.floatOrNil(Ruby runtime,
java.lang.Float f) |
static IRubyObject |
InvocationLinker.stringOrNil(Ruby runtime,
java.lang.CharSequence cs) |
Modifier and Type | Field and Description |
---|---|
protected Ruby |
LoadService.runtime |
Modifier and Type | Method and Description |
---|---|
boolean |
BasicLibraryService.basicLoad(Ruby runtime) |
void |
IAutoloadMethod.load(Ruby runtime) |
void |
CExtension.load(Ruby runtime,
boolean wrap)
Try loading the found c-extension.
|
void |
ClassExtensionLibrary.load(Ruby runtime,
boolean wrap) |
void |
ExternalScript.load(Ruby runtime,
boolean wrap) |
void |
JarredScript.load(Ruby runtime,
boolean wrap) |
void |
JavaCompiledScript.load(Ruby runtime,
boolean wrap) |
void |
Library.load(Ruby runtime,
boolean wrap) |
void |
LoadService.ScriptClassSearcher.ScriptClassLibrary.load(Ruby runtime,
boolean wrap) |
static Script |
CompiledScriptLoader.loadScriptFromFile(Ruby runtime,
java.io.InputStream inStream,
java.lang.String resourceName) |
static void |
LoadService.reflectedLoad(Ruby runtime,
java.lang.String libraryName,
java.lang.String className,
java.lang.ClassLoader classLoader,
boolean wrap)
Load the org.jruby.runtime.load.Library implementation specified by
className.
|
protected boolean |
LoadService.tryLoadingLibraryOrScript(Ruby runtime,
LoadService.SearchState state) |
Constructor and Description |
---|
LoadService(Ruby runtime) |
LoadService19(Ruby runtime) |
Modifier and Type | Field and Description |
---|---|
protected Ruby |
UnmarshalStream.runtime |
Modifier and Type | Method and Description |
---|---|
Ruby |
UnmarshalStream.getRuntime() |
Modifier and Type | Method and Description |
---|---|
static RubyClass |
UnmarshalStream.getClassFromPath(Ruby runtime,
java.lang.String path) |
static RubyModule |
UnmarshalStream.getModuleFromPath(Ruby runtime,
java.lang.String path) |
Constructor and Description |
---|
MarshalStream(Ruby runtime,
java.io.OutputStream out,
int depthLimit) |
UnmarshalCache(Ruby runtime) |
UnmarshalStream(Ruby runtime,
java.io.InputStream in,
IRubyObject proc,
boolean taint) |
UnmarshalStream(Ruby runtime,
java.io.InputStream in,
IRubyObject proc,
boolean taint,
boolean untrust) |
Modifier and Type | Method and Description |
---|---|
IRubyObject |
DummyDynamicScope.getBackRef(Ruby runtime)
Get backref
|
IRubyObject |
DummyDynamicScope.getLastLine(Ruby runtime)
Get lastline
|
Modifier and Type | Method and Description |
---|---|
static java.lang.Process |
ShellLauncher.buildProcess(Ruby runtime,
java.lang.String[] args,
java.lang.String[] env,
java.io.File pwd) |
static RubyInteger |
ConvertBytes.byteListToInum(Ruby runtime,
org.jruby.util.ByteList str,
int base,
boolean badcheck)
rb_cstr_to_inum
|
static RubyInteger |
ConvertBytes.byteListToInum19(Ruby runtime,
org.jruby.util.ByteList str,
int base,
boolean badcheck) |
static IRubyObject |
TypeConverter.checkFloatType(Ruby runtime,
IRubyObject obj) |
static IRubyObject |
TypeConverter.checkHashType(Ruby runtime,
IRubyObject obj) |
static IRubyObject |
TypeConverter.checkIntegerType(Ruby runtime,
IRubyObject obj,
java.lang.String method) |
static void |
StringSupport.checkStringSafety(Ruby runtime,
IRubyObject value)
Check whether input object's string value contains a null byte, and if so
throw SecurityError.
|
static int |
StringSupport.codeLength(Ruby runtime,
org.jcodings.Encoding enc,
int c) |
static int |
StringSupport.codePoint(Ruby runtime,
org.jcodings.Encoding enc,
byte[] bytes,
int p,
int end) |
static KCode |
KCode.create(Ruby runtime,
java.lang.String lang) |
abstract IRubyObject |
Pack.Converter.decode(Ruby runtime,
java.nio.ByteBuffer format) |
static void |
Pack.decode(Ruby runtime,
java.nio.ByteBuffer encode,
int occurrences,
RubyArray result,
Pack.Converter converter) |
IRubyObject |
Pack.Converter.decode19(Ruby runtime,
java.nio.ByteBuffer format) |
static int |
Pack.encode(Ruby runtime,
int occurrences,
org.jruby.util.ByteList result,
RubyArray list,
int index,
org.jruby.util.Pack.ConverterExecutor converter) |
abstract void |
Pack.Converter.encode(Ruby runtime,
IRubyObject from,
org.jruby.util.ByteList result) |
void |
Pack.Converter.encode19(Ruby runtime,
IRubyObject from,
org.jruby.util.ByteList result) |
static int |
ShellLauncher.execAndWait(Ruby runtime,
IRubyObject[] rawArgs) |
static int |
ShellLauncher.execAndWait(Ruby runtime,
IRubyObject[] rawArgs,
java.util.Map mergeEnv) |
static java.lang.String[] |
ShellLauncher.getCurrentEnv(Ruby runtime) |
java.util.Map |
OSEnvironment.getEnvironmentVariableMap(Ruby runtime)
Returns the environment as a hash of Ruby strings.
|
java.util.Map |
OSEnvironment.getSystemPropertiesMap(Ruby runtime)
Returns java system properties as a Map
|
IRubyObject |
KCode.kcode(Ruby runtime) |
static RubyString |
Pack.pack(Ruby runtime,
RubyArray list,
org.jruby.util.ByteList formatString)
Same as pack(Ruby, RubyArray, ByteList) but defaults tainting of output to false.
|
static RubyString |
Pack.pack(Ruby runtime,
RubyArray list,
org.jruby.util.ByteList formatString,
boolean taint)
pack_pack
Template characters for Array#pack Directive Meaning
Packs the contents of arr into a binary sequence according to the directives in
aTemplateString (see preceding table).
|
static RubyString |
Pack.pack19(ThreadContext context,
Ruby runtime,
RubyArray list,
RubyString formatString) |
static ShellLauncher.POpenProcess |
ShellLauncher.popen(Ruby runtime,
IRubyObject[] strings,
java.util.Map env,
IOOptions modes) |
static ShellLauncher.POpenProcess |
ShellLauncher.popen(Ruby runtime,
IRubyObject string,
IOOptions modes) |
static ShellLauncher.POpenProcess |
ShellLauncher.popen3(Ruby runtime,
IRubyObject[] strings) |
static ShellLauncher.POpenProcess |
ShellLauncher.popen3(Ruby runtime,
IRubyObject[] strings,
boolean addShell) |
static java.lang.Process |
ShellLauncher.run(Ruby runtime,
IRubyObject string) |
static java.lang.Process |
ShellLauncher.run(Ruby runtime,
IRubyObject[] rawArgs,
boolean doExecutableSearch) |
static java.lang.Process |
ShellLauncher.run(Ruby runtime,
IRubyObject[] rawArgs,
boolean doExecutableSearch,
boolean forceExternalProcess) |
static int |
ShellLauncher.runAndWait(Ruby runtime,
IRubyObject[] rawArgs) |
static int |
ShellLauncher.runAndWait(Ruby runtime,
IRubyObject[] rawArgs,
java.io.OutputStream output) |
static int |
ShellLauncher.runAndWait(Ruby runtime,
IRubyObject[] rawArgs,
java.io.OutputStream output,
boolean doExecutableSearch) |
static long[] |
ShellLauncher.runAndWaitPid(Ruby runtime,
IRubyObject[] rawArgs) |
static long[] |
ShellLauncher.runAndWaitPid(Ruby runtime,
IRubyObject[] rawArgs,
java.io.OutputStream output,
boolean doExecutableSearch) |
static long |
ShellLauncher.runExternal(Ruby runtime,
IRubyObject env,
IRubyObject prog,
IRubyObject options,
IRubyObject args,
boolean wait) |
static int |
ShellLauncher.runExternalAndWait(Ruby runtime,
IRubyObject[] rawArgs,
java.util.Map mergeEnv) |
static long |
ShellLauncher.runExternalWithoutWait(Ruby runtime,
IRubyObject[] rawArgs) |
static long |
ShellLauncher.runExternalWithoutWait(Ruby runtime,
IRubyObject env,
IRubyObject prog,
IRubyObject options,
IRubyObject args) |
static long |
ShellLauncher.runWithoutWait(Ruby runtime,
IRubyObject[] rawArgs) |
org.jcodings.Encoding |
RegexpOptions.setup19(Ruby runtime)
Calculate the encoding based on kcode option set via 'nesu'.
|
static boolean |
Sprintf.sprintf(Ruby runtime,
org.jruby.util.ByteList to,
java.lang.CharSequence format,
int arg) |
static RubyNumeric |
TypeConverter.toFloat(Ruby runtime,
IRubyObject obj) |
protected org.jruby.util.ByteList |
CharsetTranscoder.transcode(Ruby runtime,
org.jruby.util.ByteList value,
org.jcodings.Encoding fromEncoding) |
IRubyObject |
NoFunctionalitySignalFacade.trap(Ruby runtime,
BlockCallback block,
java.lang.String sig) |
IRubyObject |
SignalFacade.trap(Ruby runtime,
BlockCallback block,
java.lang.String sig) |
IRubyObject |
SunSignalFacade.trap(Ruby runtime,
BlockCallback blk,
java.lang.String sig) |
static RubyArray |
Pack.unpack(Ruby runtime,
org.jruby.util.ByteList encodedString,
org.jruby.util.ByteList formatString)
Decodes str (which may contain binary data) according to the format
string, returning an array of each value extracted.
|
static int |
Pack.utf8Decode(Ruby runtime,
byte[] to,
int p,
int code)
rb_uv_to_utf8
|
Constructor and Description |
---|
ConvertBytes(Ruby runtime,
org.jruby.util.ByteList _str,
int base,
boolean badcheck) |
ConvertBytes(Ruby runtime,
org.jruby.util.ByteList _str,
int base,
boolean badcheck,
boolean is19) |
JRubyObjectInputStream(Ruby runtime,
java.io.InputStream input) |
ShellLauncher.LaunchConfig(Ruby runtime,
IRubyObject[] rawArgs,
boolean doExecutableSearch) |
ShellLauncher.POpenProcess(java.lang.Process child,
Ruby runtime,
IOOptions modes) |
Constructor and Description |
---|
StringArraySet(Ruby runtime) |
Modifier and Type | Method and Description |
---|---|
Ruby |
ChannelStream.getRuntime() |
Modifier and Type | Method and Description |
---|---|
static java.net.InetAddress |
Sockaddr.addressFromString(Ruby runtime,
java.lang.String s) |
void |
OpenFile.checkClosed(Ruby runtime) |
void |
OpenFile.checkReadable(Ruby runtime) |
void |
OpenFile.checkWritable(Ruby runtime) |
void |
OpenFile.cleanup(Ruby runtime,
boolean raise) |
static Stream |
ChannelStream.fdopen(Ruby runtime,
ChannelDescriptor descriptor,
ModeFlags modes) |
static Stream |
ChannelStream.fdopen(Ruby runtime,
ChannelDescriptor descriptor,
ModeFlags modes,
boolean autoclose) |
void |
OpenFile.finalize(Ruby runtime,
boolean raise) |
void |
OpenFile.Finalizer.finalize(Ruby runtime,
boolean raise) |
static Stream |
ChannelStream.fopen(Ruby runtime,
java.lang.String path,
ModeFlags modes) |
void |
CRLFStreamWrapper.freopen(Ruby runtime,
java.lang.String path,
ModeFlags modes) |
void |
ChannelStream.freopen(Ruby runtime,
java.lang.String path,
ModeFlags modes) |
void |
Stream.freopen(Ruby runtime,
java.lang.String path,
ModeFlags modes) |
static EncodingOption |
EncodingOption.getEncodingNoOption(Ruby runtime,
ModeFlags modeFlags) |
static EncodingOption |
EncodingOption.getEncodingOptionFromString(Ruby runtime,
java.lang.String option) |
java.lang.String |
OpenFile.getModeAsString(Ruby runtime) |
IRubyObject |
SelectBlob.goForIt(ThreadContext context,
Ruby runtime,
IRubyObject[] args) |
static Stream |
ChannelStream.open(Ruby runtime,
ChannelDescriptor descriptor) |
static Stream |
ChannelStream.open(Ruby runtime,
ChannelDescriptor descriptor,
boolean autoclose) |
static java.nio.channels.Selector |
SelectorFactory.openWithRetryFrom(Ruby runtime,
java.nio.channels.spi.SelectorProvider provider) |
static java.lang.String |
Sockaddr.stringFromAddress(Ruby runtime,
java.net.InetAddress as) |
static void |
Sockaddr.validateSockaddr(Ruby runtime,
org.jruby.util.ByteList val) |
Constructor and Description |
---|
IOOptions(Ruby runtime,
java.lang.String modeString)
Construct a new ModeFlags object by parsing the given string
|
Copyright © 2002-2009 JRuby Team. All Rights Reserved.