Methods
Modifier and Type |
Method and Description |
static IRubyObject[] |
aastoreIRubyObjects(IRubyObject[] ary,
IRubyObject one,
int start) |
static IRubyObject[] |
aastoreIRubyObjects(IRubyObject[] ary,
IRubyObject one,
IRubyObject two,
int start) |
static IRubyObject[] |
aastoreIRubyObjects(IRubyObject[] ary,
IRubyObject one,
IRubyObject two,
IRubyObject three,
int start) |
static IRubyObject[] |
aastoreIRubyObjects(IRubyObject[] ary,
IRubyObject one,
IRubyObject two,
IRubyObject three,
IRubyObject four,
int start) |
static IRubyObject[] |
aastoreIRubyObjects(IRubyObject[] ary,
IRubyObject one,
IRubyObject two,
IRubyObject three,
IRubyObject four,
IRubyObject five,
int start) |
static IRubyObject[] |
aastoreIRubyObjects(IRubyObject[] ary,
IRubyObject one,
IRubyObject two,
IRubyObject three,
IRubyObject four,
IRubyObject five,
IRubyObject six,
int start) |
static IRubyObject[] |
aastoreIRubyObjects(IRubyObject[] ary,
IRubyObject one,
IRubyObject two,
IRubyObject three,
IRubyObject four,
IRubyObject five,
IRubyObject six,
IRubyObject seven,
int start) |
static IRubyObject[] |
aastoreIRubyObjects(IRubyObject[] ary,
IRubyObject one,
IRubyObject two,
IRubyObject three,
IRubyObject four,
IRubyObject five,
IRubyObject six,
IRubyObject seven,
IRubyObject eight,
int start) |
static IRubyObject[] |
aastoreIRubyObjects(IRubyObject[] ary,
IRubyObject one,
IRubyObject two,
IRubyObject three,
IRubyObject four,
IRubyObject five,
IRubyObject six,
IRubyObject seven,
IRubyObject eight,
IRubyObject nine,
int start) |
static IRubyObject[] |
aastoreIRubyObjects(IRubyObject[] ary,
IRubyObject one,
IRubyObject two,
IRubyObject three,
IRubyObject four,
IRubyObject five,
IRubyObject six,
IRubyObject seven,
IRubyObject eight,
IRubyObject nine,
IRubyObject ten,
int start) |
static RubySymbol |
addInstanceMethod(RubyModule containingClass,
String name,
DynamicMethod method,
Visibility visibility,
ThreadContext context,
Ruby runtime) |
static boolean |
additionOverflowed(long original,
long other,
long result) |
static IRubyObject[] |
anewarrayIRubyObjects(int size) |
static RubyString |
appendAsString(RubyString target,
IRubyObject other) |
static RubyString |
appendAsString19(RubyString target,
IRubyObject other) |
static RubyString |
appendByteList(RubyString target,
org.jruby.util.ByteList source) |
static RubyString |
appendByteList19(RubyString target,
org.jruby.util.ByteList source,
int codeRange) |
static IRubyObject[] |
appendToObjectArray(IRubyObject[] array,
IRubyObject add) |
static RubyArray |
argsCat(IRubyObject first,
IRubyObject second)
Deprecated.
|
static RubyArray |
argsCat(ThreadContext context,
IRubyObject first,
IRubyObject second) |
static IRubyObject[] |
argsCatToArguments(IRubyObject[] args,
IRubyObject cat) |
static IRubyObject[] |
argsCatToArguments19(IRubyObject[] args,
IRubyObject cat) |
static ArgumentDescriptor[] |
argsNodeToArgumentDescriptors(ArgsNode argsNode)
Use an ArgsNode (used for blocks) to generate ArgumentDescriptors
|
static RubyArray |
argsPush(RubyArray first,
IRubyObject second)
Deprecated.
|
static RubyArray |
argsPush(ThreadContext context,
RubyArray first,
IRubyObject second) |
static RubyArray |
argumentDescriptorsToParameters(Ruby runtime,
ArgumentDescriptor[] argsDesc,
boolean isLambda)
Convert a parameter list from ArgumentDescriptor format to "Array of Array" format
|
static IRubyObject |
arrayEntryOrNil(RubyArray array,
int index) |
static IRubyObject |
arrayEntryOrNilOne(RubyArray array) |
static IRubyObject |
arrayEntryOrNilTwo(RubyArray array) |
static IRubyObject |
arrayEntryOrNilZero(RubyArray array) |
static <T> T[] |
arrayOf(Class<T> t,
int size,
T fill) |
static <T> T[] |
arrayOf(T... values) |
static IRubyObject |
arrayPostOrNil(RubyArray array,
int pre,
int post,
int index) |
static IRubyObject |
arrayPostOrNilOne(RubyArray array,
int pre,
int post) |
static IRubyObject |
arrayPostOrNilTwo(RubyArray array,
int pre,
int post) |
static IRubyObject |
arrayPostOrNilZero(RubyArray array,
int pre,
int post) |
static IRubyObject |
arraySlice1(IRubyObject arrayish) |
static IRubyObject[] |
arraySlice1N(IRubyObject arrayish) |
static RubyArray |
arrayValue(IRubyObject value) |
static RubyArray |
arrayValue(ThreadContext context,
Ruby runtime,
IRubyObject value) |
static IRubyObject |
aryToAry(IRubyObject value) |
static RubyArray |
asArray(ThreadContext context,
IRubyObject value) |
static RubyArray |
asArray18(ThreadContext context,
IRubyObject value) |
static IRubyObject |
aValueSplat(IRubyObject value) |
static IRubyObject |
aValueSplat19(IRubyObject value) |
static IRubyObject |
backref(ThreadContext context) |
static IRubyObject |
backrefLastMatch(ThreadContext context) |
static IRubyObject |
backrefMatchLast(ThreadContext context) |
static IRubyObject |
backrefMatchPost(ThreadContext context) |
static IRubyObject |
backrefMatchPre(ThreadContext context) |
static boolean |
BEQ(ThreadContext context,
IRubyObject value1,
IRubyObject value2) |
static boolean |
BNE(ThreadContext context,
IRubyObject value1,
IRubyObject value2) |
static IRubyObject |
breakLocalJumpError(Ruby runtime,
IRubyObject value) |
static String |
byteListToString(org.jruby.util.ByteList bytes)
Convert a ByteList into a Java String by using its Encoding's Charset.
|
static IRubyObject |
callMethodMissing(ThreadContext context,
IRubyObject receiver,
Visibility visibility,
String name,
CallType callType,
Block block) |
static IRubyObject |
callMethodMissing(ThreadContext context,
IRubyObject receiver,
Visibility visibility,
String name,
CallType callType,
IRubyObject[] args,
Block block) |
static IRubyObject |
callMethodMissing(ThreadContext context,
IRubyObject receiver,
Visibility visibility,
String name,
CallType callType,
IRubyObject arg0,
Block block) |
static IRubyObject |
callMethodMissing(ThreadContext context,
IRubyObject receiver,
Visibility visibility,
String name,
CallType callType,
IRubyObject arg0,
IRubyObject arg1,
Block block) |
static IRubyObject |
callMethodMissing(ThreadContext context,
IRubyObject receiver,
Visibility visibility,
String name,
CallType callType,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
Block block) |
static void |
checkArgumentCount(ThreadContext context,
int length,
int min,
int max) |
static void |
checkArgumentCount(ThreadContext context,
IRubyObject[] args,
int req)
Used by the compiler to simplify arg checking in variable-arity paths
|
static void |
checkArgumentCount(ThreadContext context,
IRubyObject[] args,
int min,
int max)
Used by the compiler to simplify arg checking in variable-arity paths
|
static RubyModule |
checkIsModule(IRubyObject maybeModule) |
static RubyModule |
checkIsRubyModule(ThreadContext context,
Object object) |
static boolean |
checkJavaException(Throwable throwable,
IRubyObject catchable,
ThreadContext context) |
static void |
checkSuperDisabledOrOutOfMethod(ThreadContext context) |
static void |
checkSuperDisabledOrOutOfMethod(ThreadContext context,
RubyModule klass,
String name) |
static void |
clearErrorInfo(ThreadContext context) |
static IRubyObject[] |
concatObjectArrays(IRubyObject[] array,
IRubyObject[] add) |
static RubyHash |
constructHash(Ruby runtime,
IRubyObject key1,
IRubyObject value1,
boolean prepareString1) |
static RubyHash |
constructHash(Ruby runtime,
IRubyObject key1,
IRubyObject value1,
boolean prepareString1,
IRubyObject key2,
IRubyObject value2,
boolean prepareString2) |
static RubyHash |
constructHash(Ruby runtime,
IRubyObject key1,
IRubyObject value1,
boolean prepareString1,
IRubyObject key2,
IRubyObject value2,
boolean prepareString2,
IRubyObject key3,
IRubyObject value3,
boolean prepareString3) |
static RubyHash |
constructHash(Ruby runtime,
IRubyObject key1,
IRubyObject value1,
boolean prepareString1,
IRubyObject key2,
IRubyObject value2,
boolean prepareString2,
IRubyObject key3,
IRubyObject value3,
boolean prepareString3,
IRubyObject key4,
IRubyObject value4,
boolean prepareString4) |
static RubyHash |
constructHash(Ruby runtime,
IRubyObject key1,
IRubyObject value1,
boolean prepareString1,
IRubyObject key2,
IRubyObject value2,
boolean prepareString2,
IRubyObject key3,
IRubyObject value3,
boolean prepareString3,
IRubyObject key4,
IRubyObject value4,
boolean prepareString4,
IRubyObject key5,
IRubyObject value5,
boolean prepareString5) |
static IRubyObject[] |
constructObjectArray(IRubyObject one) |
static IRubyObject[] |
constructObjectArray(IRubyObject one,
IRubyObject two) |
static IRubyObject[] |
constructObjectArray(IRubyObject one,
IRubyObject two,
IRubyObject three) |
static IRubyObject[] |
constructObjectArray(IRubyObject one,
IRubyObject two,
IRubyObject three,
IRubyObject four) |
static IRubyObject[] |
constructObjectArray(IRubyObject one,
IRubyObject two,
IRubyObject three,
IRubyObject four,
IRubyObject five) |
static IRubyObject[] |
constructObjectArray(IRubyObject one,
IRubyObject two,
IRubyObject three,
IRubyObject four,
IRubyObject five,
IRubyObject six) |
static IRubyObject[] |
constructObjectArray(IRubyObject one,
IRubyObject two,
IRubyObject three,
IRubyObject four,
IRubyObject five,
IRubyObject six,
IRubyObject seven) |
static IRubyObject[] |
constructObjectArray(IRubyObject one,
IRubyObject two,
IRubyObject three,
IRubyObject four,
IRubyObject five,
IRubyObject six,
IRubyObject seven,
IRubyObject eight) |
static IRubyObject[] |
constructObjectArray(IRubyObject one,
IRubyObject two,
IRubyObject three,
IRubyObject four,
IRubyObject five,
IRubyObject six,
IRubyObject seven,
IRubyObject eight,
IRubyObject nine) |
static IRubyObject[] |
constructObjectArray(IRubyObject one,
IRubyObject two,
IRubyObject three,
IRubyObject four,
IRubyObject five,
IRubyObject six,
IRubyObject seven,
IRubyObject eight,
IRubyObject nine,
IRubyObject ten) |
static RubyArray |
constructRubyArray(Ruby runtime,
IRubyObject one) |
static RubyArray |
constructRubyArray(Ruby runtime,
IRubyObject one,
IRubyObject two) |
static RubyArray |
constructRubyArray(Ruby runtime,
IRubyObject one,
IRubyObject two,
IRubyObject three) |
static RubyArray |
constructRubyArray(Ruby runtime,
IRubyObject one,
IRubyObject two,
IRubyObject three,
IRubyObject four) |
static RubyArray |
constructRubyArray(Ruby runtime,
IRubyObject one,
IRubyObject two,
IRubyObject three,
IRubyObject four,
IRubyObject five) |
static RubyArray |
constructRubyArray(Ruby runtime,
IRubyObject one,
IRubyObject two,
IRubyObject three,
IRubyObject four,
IRubyObject five,
IRubyObject six) |
static RubyArray |
constructRubyArray(Ruby runtime,
IRubyObject one,
IRubyObject two,
IRubyObject three,
IRubyObject four,
IRubyObject five,
IRubyObject six,
IRubyObject seven) |
static RubyArray |
constructRubyArray(Ruby runtime,
IRubyObject one,
IRubyObject two,
IRubyObject three,
IRubyObject four,
IRubyObject five,
IRubyObject six,
IRubyObject seven,
IRubyObject eight) |
static RubyArray |
constructRubyArray(Ruby runtime,
IRubyObject one,
IRubyObject two,
IRubyObject three,
IRubyObject four,
IRubyObject five,
IRubyObject six,
IRubyObject seven,
IRubyObject eight,
IRubyObject nine) |
static RubyArray |
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 |
constructSmallHash(Ruby runtime,
IRubyObject key1,
IRubyObject value1,
boolean prepareString1) |
static RubyHash |
constructSmallHash(Ruby runtime,
IRubyObject key1,
IRubyObject value1,
boolean prepareString1,
IRubyObject key2,
IRubyObject value2,
boolean prepareString2) |
static RubyHash |
constructSmallHash(Ruby runtime,
IRubyObject key1,
IRubyObject value1,
boolean prepareString1,
IRubyObject key2,
IRubyObject value2,
boolean prepareString2,
IRubyObject key3,
IRubyObject value3,
boolean prepareString3) |
static RubyHash |
constructSmallHash(Ruby runtime,
IRubyObject key1,
IRubyObject value1,
boolean prepareString1,
IRubyObject key2,
IRubyObject value2,
boolean prepareString2,
IRubyObject key3,
IRubyObject value3,
boolean prepareString3,
IRubyObject key4,
IRubyObject value4,
boolean prepareString4) |
static RubyHash |
constructSmallHash(Ruby runtime,
IRubyObject key1,
IRubyObject value1,
boolean prepareString1,
IRubyObject key2,
IRubyObject value2,
boolean prepareString2,
IRubyObject key3,
IRubyObject value3,
boolean prepareString3,
IRubyObject key4,
IRubyObject value4,
boolean prepareString4,
IRubyObject key5,
IRubyObject value5,
boolean prepareString5) |
static String[] |
constructStringArray(String one) |
static String[] |
constructStringArray(String one,
String two) |
static String[] |
constructStringArray(String one,
String two,
String three) |
static String[] |
constructStringArray(String one,
String two,
String three,
String four) |
static String[] |
constructStringArray(String one,
String two,
String three,
String four,
String five) |
static String[] |
constructStringArray(String one,
String two,
String three,
String four,
String five,
String six) |
static String[] |
constructStringArray(String one,
String two,
String three,
String four,
String five,
String six,
String seven) |
static String[] |
constructStringArray(String one,
String two,
String three,
String four,
String five,
String six,
String seven,
String eight) |
static String[] |
constructStringArray(String one,
String two,
String three,
String four,
String five,
String six,
String seven,
String eight,
String nine) |
static String[] |
constructStringArray(String one,
String two,
String three,
String four,
String five,
String six,
String seven,
String eight,
String nine,
String ten) |
static RubyArray |
createSubarray(IRubyObject[] input,
Ruby runtime,
int start) |
static RubyArray |
createSubarray(IRubyObject[] input,
Ruby runtime,
int start,
int exclude) |
static RubyArray |
createSubarray(RubyArray input,
int start) |
static RubyArray |
createSubarray(RubyArray input,
int start,
int post) |
static String |
decodeByteList(Ruby runtime,
org.jruby.util.ByteList value)
Decode a given ByteList to a Java string.
|
static int[] |
decodeCaptureOffsets(String encoded) |
static StaticScope |
decodeScope(ThreadContext context,
StaticScope parent,
String scopeString) |
static StaticScope |
decodeScopeAndDetermineModule(ThreadContext context,
StaticScope parent,
String scopeString) |
static IRubyObject |
defineAlias(ThreadContext context,
IRubyObject self,
Object newNameArg,
Object oldNameArg) |
static IRubyObject |
doAttrAsgn(IRubyObject receiver,
CallSite callSite,
IRubyObject[] args,
IRubyObject value,
ThreadContext context,
IRubyObject caller) |
static IRubyObject |
doAttrAsgn(IRubyObject receiver,
CallSite callSite,
IRubyObject[] args,
ThreadContext context,
IRubyObject caller) |
static IRubyObject |
doAttrAsgn(IRubyObject receiver,
CallSite callSite,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
IRubyObject value,
ThreadContext context,
IRubyObject caller) |
static IRubyObject |
doAttrAsgn(IRubyObject receiver,
CallSite callSite,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject value,
ThreadContext context,
IRubyObject caller) |
static IRubyObject |
doAttrAsgn(IRubyObject receiver,
CallSite callSite,
IRubyObject arg0,
IRubyObject value,
ThreadContext context,
IRubyObject caller) |
static IRubyObject |
doAttrAsgn(IRubyObject receiver,
CallSite callSite,
IRubyObject value,
ThreadContext context,
IRubyObject caller) |
static IRubyObject |
elementOrNil(IRubyObject[] input,
int element,
IRubyObject nil) |
static IRubyObject |
elementOrNull(IRubyObject[] input,
int element) |
static String |
encodeCaptureOffsets(int[] scopeOffsets) |
static String |
encodeParameterList(List<String[]> args)
Deprecated.
|
static String |
encodeScope(StaticScope scope) |
static RubyArray |
ensureMultipleAssignableRubyArray(IRubyObject value,
Ruby runtime,
boolean masgnHasHead) |
static RubyArray |
ensureRubyArray(IRubyObject value) |
static RubyArray |
ensureRubyArray(Ruby runtime,
IRubyObject value) |
static Block |
ensureSuperBlock(Block given,
Block parent) |
static jnr.constants.platform.Errno |
errnoFromException(Throwable t) |
static void |
fillNil(IRubyObject[] arr,
int from,
int to,
Ruby runtime) |
static void |
fillNil(IRubyObject[] arr,
Ruby runtime) |
static RubyModule |
findImplementerIfNecessary(RubyModule clazz,
RubyModule implementationClass) |
static IRubyObject |
getBackref(Ruby runtime,
ThreadContext context) |
static Block |
getBlock(Ruby runtime,
ThreadContext context,
IRubyObject self,
Node node,
Block aBlock) |
static Block |
getBlock(ThreadContext context,
IRubyObject self,
Node node) |
static Block |
getBlockFromBlockPassBody(IRubyObject proc,
Block currentBlock) |
static Block |
getBlockFromBlockPassBody(Ruby runtime,
IRubyObject proc,
Block currentBlock) |
static RubyString |
getDefinedCall(ThreadContext context,
IRubyObject self,
IRubyObject receiver,
String name) |
static RubyString |
getDefinedConstantOrBoundMethod(IRubyObject left,
String name) |
static RubyString |
getDefinedNot(Ruby runtime,
RubyString definition) |
static IRubyObject |
getErrorInfo(Ruby runtime) |
static int |
getFastSwitchSingleCharString(IRubyObject str) |
static int |
getFastSwitchSingleCharSymbol(IRubyObject sym) |
static int |
getFastSwitchString(IRubyObject str) |
static int |
getFastSwitchSymbol(IRubyObject sym) |
static IRubyObject |
getGlobalVariable(Ruby runtime,
String name) |
static IRubyObject |
getInstanceVariable(IRubyObject self,
Ruby runtime,
String internedName) |
static IRubyObject |
getInstanceVariableNoWarn(IRubyObject self,
ThreadContext context,
String internedName) |
static IRubyObject |
getLastLine(Ruby runtime,
ThreadContext context) |
static String |
getLocalJumpTypeOrRethrow(RaiseException re) |
static RubyModule |
getNthScopeModule(StaticScope scope,
int depth) |
static String[] |
getScopeNames(String scopeNames) |
static RubyClass |
getSingletonClass(Ruby runtime,
IRubyObject receiver) |
static Class[] |
getStaticMethodParams(Class target,
int args) |
static String |
getStaticMethodSignature(String classname,
int args) |
static RubyModule |
getSuperClassForDefined(Ruby runtime,
RubyModule klazz) |
static void |
handleArgumentSizes(ThreadContext context,
Ruby runtime,
int given,
int required,
int opt,
int rest) |
static IRubyObject |
invoke(ThreadContext context,
IRubyObject self,
String name) |
static IRubyObject |
invoke(ThreadContext context,
IRubyObject self,
String name,
Block block) |
static IRubyObject |
invoke(ThreadContext context,
IRubyObject self,
String name,
CallType callType) |
static IRubyObject |
invoke(ThreadContext context,
IRubyObject self,
String name,
IRubyObject... args) |
static IRubyObject |
invoke(ThreadContext context,
IRubyObject self,
String name,
IRubyObject arg0) |
static IRubyObject |
invoke(ThreadContext context,
IRubyObject self,
String name,
IRubyObject[] args,
Block block) |
static IRubyObject |
invoke(ThreadContext context,
IRubyObject self,
String name,
IRubyObject[] args,
CallType callType,
Block block) |
static IRubyObject |
invoke(ThreadContext context,
IRubyObject self,
String name,
IRubyObject arg0,
Block block) |
static IRubyObject |
invoke(ThreadContext context,
IRubyObject self,
String name,
IRubyObject arg,
CallType callType,
Block block) |
static IRubyObject |
invoke(ThreadContext context,
IRubyObject self,
String name,
IRubyObject arg0,
IRubyObject arg1) |
static IRubyObject |
invoke(ThreadContext context,
IRubyObject self,
String name,
IRubyObject arg0,
IRubyObject arg1,
Block block) |
static IRubyObject |
invoke(ThreadContext context,
IRubyObject self,
String name,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2) |
static IRubyObject |
invoke(ThreadContext context,
IRubyObject self,
String name,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
Block block) |
static IRubyObject |
invokeAs(ThreadContext context,
RubyClass asClass,
IRubyObject self,
String name,
Block block) |
static IRubyObject |
invokeAs(ThreadContext context,
RubyClass asClass,
IRubyObject self,
String name,
IRubyObject[] args,
Block block) |
static IRubyObject |
invokeAs(ThreadContext context,
RubyClass asClass,
IRubyObject self,
String name,
IRubyObject arg0,
Block block) |
static IRubyObject |
invokeAs(ThreadContext context,
RubyClass asClass,
IRubyObject self,
String name,
IRubyObject arg0,
IRubyObject arg1,
Block block) |
static IRubyObject |
invokeAs(ThreadContext context,
RubyClass asClass,
IRubyObject self,
String name,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
Block block) |
static IRubyObject |
invokeChecked(ThreadContext context,
IRubyObject self,
String name) |
static IRubyObject |
invokedynamic(ThreadContext context,
IRubyObject self,
int index)
Deprecated.
|
static IRubyObject |
invokedynamic(ThreadContext context,
IRubyObject self,
int index,
IRubyObject arg0)
Deprecated.
|
static IRubyObject |
invokedynamic(ThreadContext context,
IRubyObject self,
MethodNames method) |
static IRubyObject |
invokedynamic(ThreadContext context,
IRubyObject self,
MethodNames method,
IRubyObject arg0) |
static boolean |
invokeEqqForCaselessWhen(IRubyObject receiver) |
static boolean |
invokeEqqForCaselessWhen(IRubyObject[] receivers) |
static boolean |
invokeEqqForCaselessWhen(IRubyObject receiver0,
IRubyObject receiver1) |
static boolean |
invokeEqqForCaselessWhen(IRubyObject receiver0,
IRubyObject receiver1,
IRubyObject receiver2) |
static boolean |
invokeEqqForCaseWhen(CallSite callSite,
ThreadContext context,
IRubyObject caller,
IRubyObject arg,
IRubyObject receiver) |
static boolean |
invokeEqqForCaseWhen(CallSite callSite,
ThreadContext context,
IRubyObject caller,
IRubyObject arg,
IRubyObject[] receivers) |
static boolean |
invokeEqqForCaseWhen(CallSite callSite,
ThreadContext context,
IRubyObject caller,
IRubyObject arg,
IRubyObject receiver0,
IRubyObject receiver1) |
static boolean |
invokeEqqForCaseWhen(CallSite callSite,
ThreadContext context,
IRubyObject caller,
IRubyObject arg,
IRubyObject receiver0,
IRubyObject receiver1,
IRubyObject receiver2) |
static IRubyObject |
invokeMethodMissing(IRubyObject receiver,
String name,
IRubyObject[] args) |
static IRubyObject |
invokeSuper(ThreadContext context,
IRubyObject self,
Block block) |
static IRubyObject |
invokeSuper(ThreadContext context,
IRubyObject self,
IRubyObject[] args,
Block block)
The protocol for super method invocation is a bit complicated
in Ruby.
|
static IRubyObject |
invokeSuper(ThreadContext context,
IRubyObject self,
IRubyObject arg0,
Block block) |
static IRubyObject |
invokeSuper(ThreadContext context,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
Block block) |
static IRubyObject |
invokeSuper(ThreadContext context,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
Block block) |
static IRubyObject |
invokeSuper(ThreadContext context,
IRubyObject self,
RubyModule klass,
String name,
IRubyObject[] args,
Block block) |
static void |
irCheckArgsArrayArity(ThreadContext context,
RubyArray args,
int required,
int opt,
boolean rest) |
static IRubyObject |
isExceptionHandled(IRubyObject currentException,
IRubyObject exception,
ThreadContext context) |
static IRubyObject |
isExceptionHandled(RubyException currentException,
IRubyObject[] exceptions,
ThreadContext context) |
static IRubyObject |
isExceptionHandled(RubyException currentException,
IRubyObject exception0,
IRubyObject exception1,
IRubyObject exception2,
ThreadContext context) |
static IRubyObject |
isExceptionHandled(RubyException currentException,
IRubyObject exception0,
IRubyObject exception1,
ThreadContext context) |
static IRubyObject |
isExceptionHandled(RubyException currentException,
IRubyObject exception,
ThreadContext context) |
static boolean |
isFastSwitchableSingleCharString(IRubyObject str) |
static boolean |
isFastSwitchableSingleCharSymbol(IRubyObject sym) |
static boolean |
isFastSwitchableString(IRubyObject str) |
static boolean |
isFastSwitchableSymbol(IRubyObject sym) |
static boolean |
isGenerationEqual(IRubyObject object,
int generation) |
static IRubyObject |
isJavaExceptionHandled(Throwable currentThrowable,
IRubyObject[] throwables,
ThreadContext context) |
static IRubyObject |
isJavaExceptionHandled(Throwable currentThrowable,
IRubyObject throwable0,
IRubyObject throwable1,
IRubyObject throwable2,
ThreadContext context) |
static IRubyObject |
isJavaExceptionHandled(Throwable currentThrowable,
IRubyObject throwable0,
IRubyObject throwable1,
ThreadContext context) |
static IRubyObject |
isJavaExceptionHandled(Throwable currentThrowable,
IRubyObject throwable,
ThreadContext context) |
static boolean |
isModuleAndHasConstant(IRubyObject left,
String name) |
static boolean |
isRequiredKeywordArgumentValueNode(Node asgnNode) |
static RubyBoolean |
isWhenTriggered(IRubyObject expression,
IRubyObject expressionsObject,
ThreadContext context) |
static IRubyObject |
lastElement(IRubyObject[] ary) |
static Map<String,String> |
map(String... keyValues) |
static IRubyObject |
match2AndUpdateScope(IRubyObject receiver,
ThreadContext context,
IRubyObject value,
String scopeOffsets) |
static IRubyObject |
match2AndUpdateScope19(IRubyObject receiver,
ThreadContext context,
IRubyObject value,
String scopeOffsets) |
static IRubyObject |
match3_19(RubyRegexp regexp,
IRubyObject value,
ThreadContext context) |
static IRubyObject |
match3(RubyRegexp regexp,
IRubyObject value,
ThreadContext context) |
static int |
memchr(boolean[] ary,
int start,
int len,
boolean find) |
static RubyClass |
metaclass(IRubyObject object) |
static ArgumentDescriptor[] |
methodToArgumentDescriptors(DynamicMethod method) |
static IRubyObject |
methodToParameters(Ruby runtime,
AbstractRubyMethod recv) |
static boolean |
needsSplat19(int requiredCount,
boolean isRest)
We need to splat incoming array to a block when |a, *b| (any required +
rest) or |a, b| (>1 required).
|
static IRubyObject |
negate(IRubyObject value,
Ruby runtime) |
static RubyClass |
newClassForIR(ThreadContext context,
String name,
IRubyObject self,
RubyModule classContainer,
Object superClass,
boolean meta) |
static RubyProc |
newLiteralLambda(ThreadContext context,
Block block,
IRubyObject self) |
static IRubyObject |
nullToNil(IRubyObject value,
IRubyObject nil) |
static IRubyObject |
nullToNil(IRubyObject value,
Ruby runtime) |
static IRubyObject |
nullToNil(IRubyObject value,
ThreadContext context) |
static IRubyObject |
opAsgnWithMethod(ThreadContext context,
IRubyObject self,
IRubyObject receiver,
IRubyObject arg,
CallSite varSite,
CallSite opSite,
CallSite opAsgnSite) |
static IRubyObject |
opElementAsgnWithMethod(ThreadContext context,
IRubyObject self,
IRubyObject receiver,
IRubyObject[] args,
IRubyObject value,
CallSite elementSite,
CallSite opSite,
CallSite elementAsgnSite) |
static IRubyObject |
opElementAsgnWithMethod(ThreadContext context,
IRubyObject self,
IRubyObject receiver,
IRubyObject value,
CallSite elementSite,
CallSite opSite,
CallSite elementAsgnSite) |
static IRubyObject |
opElementAsgnWithMethod(ThreadContext context,
IRubyObject self,
IRubyObject receiver,
IRubyObject arg,
IRubyObject value,
CallSite elementSite,
CallSite opSite,
CallSite elementAsgnSite) |
static IRubyObject |
opElementAsgnWithMethod(ThreadContext context,
IRubyObject self,
IRubyObject receiver,
IRubyObject arg1,
IRubyObject arg2,
IRubyObject value,
CallSite elementSite,
CallSite opSite,
CallSite elementAsgnSite) |
static IRubyObject |
opElementAsgnWithMethod(ThreadContext context,
IRubyObject self,
IRubyObject receiver,
IRubyObject arg1,
IRubyObject arg2,
IRubyObject arg3,
IRubyObject value,
CallSite elementSite,
CallSite opSite,
CallSite elementAsgnSite) |
static IRubyObject |
opElementAsgnWithOrPartTwoNArgs(ThreadContext context,
IRubyObject self,
IRubyObject receiver,
IRubyObject[] args,
IRubyObject value,
CallSite asetSite) |
static IRubyObject |
opElementAsgnWithOrPartTwoOneArg(ThreadContext context,
IRubyObject self,
IRubyObject receiver,
IRubyObject arg,
IRubyObject value,
CallSite asetSite) |
static IRubyObject |
opElementAsgnWithOrPartTwoThreeArgs(ThreadContext context,
IRubyObject self,
IRubyObject receiver,
IRubyObject[] args,
IRubyObject value,
CallSite asetSite) |
static IRubyObject |
opElementAsgnWithOrPartTwoTwoArgs(ThreadContext context,
IRubyObject self,
IRubyObject receiver,
IRubyObject[] args,
IRubyObject value,
CallSite asetSite) |
static IRubyObject |
optElementOrNull(IRubyObject[] input,
int element,
int postCount) |
static ArgumentDescriptor[] |
parameterListToArgumentDescriptors(String[] parameterList,
boolean isLambda)
Convert a parameter list from prefix format to ArgumentDescriptor format
|
static String[] |
parseBlockDescriptor(String descriptor) |
static Visibility |
performNormalMethodChecksAndDetermineVisibility(Ruby runtime,
RubyModule clazz,
String name,
Visibility visibility) |
static RubyClass |
performSingletonMethodChecks(Ruby runtime,
IRubyObject receiver,
String name) |
static IRubyObject |
postElementOrNil(IRubyObject[] input,
int postCount,
int postIndex,
IRubyObject nil) |
static void |
postLoad(ThreadContext context) |
static IRubyObject |
postOpAsgnWithOrAnd(IRubyObject receiver,
IRubyObject value,
ThreadContext context,
IRubyObject self,
CallSite varAsgnSite) |
static StaticScope |
preLoad(ThreadContext context,
String[] varNames) |
static void |
preLoadCommon(ThreadContext context,
StaticScope staticScope,
boolean wrap) |
static IRubyObject |
preOpAsgnWithOrAnd(IRubyObject receiver,
ThreadContext context,
IRubyObject self,
CallSite varSite) |
static RubyModule |
prepareClassNamespace(ThreadContext context,
StaticScope scope,
IRubyObject rubyModule) |
static RubyClass |
prepareSuperClass(Ruby runtime,
IRubyObject rubyClass) |
static IRubyObject |
processBlockArgument(Ruby runtime,
Block block) |
static String |
rawBytesToString(byte[] bytes) |
static RubyBoolean |
rbEql(ThreadContext context,
IRubyObject a,
IRubyObject b)
Equivalent to rb_eql in MRI
|
static RubyBoolean |
rbEqual(ThreadContext context,
IRubyObject a,
IRubyObject b)
Equivalent to rb_equal in MRI
|
static void |
registerEndBlock(Block block,
Ruby runtime) |
static IRubyObject[] |
restructureBlockArgs19(IRubyObject value,
Signature signature,
Block.Type type,
boolean needsSplat,
boolean alreadyArray) |
static void |
rewriteStackTrace(Ruby runtime,
Throwable e) |
static IRubyObject |
rewriteStackTraceAndThrow(ThreadContext context,
Throwable t) |
static CallSite |
selectAttrAsgnCallSite(IRubyObject receiver,
IRubyObject self,
CallSite normalSite,
CallSite variableSite) |
static DynamicMethod |
selectMethodMissing(RubyClass selfClass,
Visibility visibility,
String name,
CallType callType) |
static DynamicMethod |
selectMethodMissing(ThreadContext context,
IRubyObject receiver,
Visibility visibility,
String name,
CallType callType) |
static DynamicMethod |
selectMethodMissing(ThreadContext context,
RubyClass selfClass,
Visibility visibility,
String name,
CallType callType) |
static IRubyObject |
setBackref(Ruby runtime,
ThreadContext context,
IRubyObject value) |
static IRubyObject |
setConstantInModule(ThreadContext context,
String name,
IRubyObject value,
IRubyObject module) |
static void |
setErrorInfo(Ruby runtime,
IRubyObject error) |
static IRubyObject |
setGlobalVariable(IRubyObject value,
Ruby runtime,
String name) |
static IRubyObject |
setInstanceVariable(IRubyObject value,
IRubyObject self,
String name) |
static IRubyObject |
setLastLine(Ruby runtime,
ThreadContext context,
IRubyObject value) |
static RubyString |
shortcutAppend(RubyString string,
IRubyObject object) |
static RubyString |
shortcutAppend18(RubyString string,
IRubyObject object) |
static IRubyObject[] |
splatToArguments(IRubyObject value) |
static IRubyObject[] |
splatToArguments19(IRubyObject value) |
static RubyArray |
splatValue(IRubyObject value) |
static RubyArray |
splatValue19(IRubyObject value) |
static void |
storeExceptionInErrorInfo(Throwable currentThrowable,
ThreadContext context) |
static void |
storeNativeExceptionInErrorInfo(Throwable currentThrowable,
ThreadContext context) |
static String |
stringJoin(String delimiter,
String[] strings) |
static IRubyObject |
stringOrNil(org.jruby.util.ByteList value,
ThreadContext context) |
static byte[] |
stringToRawBytes(String string) |
static RubyArray |
subarrayOrEmpty(RubyArray array,
Ruby runtime,
int index) |
static RubyArray |
subarrayOrEmpty(RubyArray array,
Ruby runtime,
int index,
int post) |
static boolean |
subtractionOverflowed(long original,
long other,
long result) |
static String |
symbolBytesToString(org.jruby.util.ByteList value)
Decode the given value to a Java string using the following rules:
* If the string is all US-ASCII characters, it will be decoded as US-ASCII.
|
static void |
throwException(Throwable e) |
static IRubyObject[] |
toArray(IRubyObject[] array,
IRubyObject... add) |
static IRubyObject[] |
toArray(IRubyObject obj,
IRubyObject... rest) |
static IRubyObject[] |
toArray(IRubyObject obj0,
IRubyObject obj1,
IRubyObject... rest) |
static IRubyObject[] |
toArray(IRubyObject obj0,
IRubyObject obj1,
IRubyObject obj2,
IRubyObject... rest) |
static IRubyObject |
undefMethod(ThreadContext context,
Object nameArg) |
static IRubyObject |
unsplatValue19(IRubyObject argsResult) |
static IRubyObject |
unwrapLocalJumpErrorValue(RaiseException re) |
static void |
updateScopeWithCaptures(ThreadContext context,
int[] scopeOffsets,
IRubyObject result) |
static RubyArray |
viewArgsArray(ThreadContext context,
RubyArray rubyArray,
int preArgsCount,
int postArgsCount) |