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 void |
addInstanceMethod(RubyModule containingClass,
String name,
DynamicMethod method,
Visibility visibility,
ThreadContext context,
Ruby runtime) |
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) |
static IRubyObject[] |
argsCatToArguments(IRubyObject[] args,
IRubyObject cat) |
static IRubyObject[] |
argsCatToArguments19(IRubyObject[] args,
IRubyObject cat) |
static RubyArray |
argsPush(RubyArray first,
IRubyObject second) |
static IRubyObject |
arrayEntryOrNil(RubyArray array,
int index) |
static IRubyObject |
arrayEntryOrNilOne(RubyArray array) |
static IRubyObject |
arrayEntryOrNilTwo(RubyArray array) |
static IRubyObject |
arrayEntryOrNilZero(RubyArray array) |
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 |
breakJump(ThreadContext context,
IRubyObject value) |
static IRubyObject |
breakJumpInWhile(JumpException.BreakJump bj,
ThreadContext context) |
static IRubyObject |
breakLocalJumpError(Ruby runtime,
IRubyObject value) |
static String |
buildBlockDescriptor(String closureMethod,
int arity,
String file,
int line,
boolean hasMultipleArgsHead,
NodeType argsNodeId,
ASTInspector inspector) |
static String |
buildBlockDescriptor19(String closureMethod,
int arity,
String file,
int line,
boolean hasMultipleArgsHead,
NodeType argsNodeId,
String parameterList,
ASTInspector inspector) |
static String |
byteListToString(org.jruby.util.ByteList byteList)
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 IRubyObject |
callZSuper(Ruby runtime,
ThreadContext context,
Block block,
IRubyObject self) |
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 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) |
static RubyHash |
constructHash(Ruby runtime,
IRubyObject key1,
IRubyObject value1,
IRubyObject key2,
IRubyObject value2) |
static RubyHash |
constructHash(Ruby runtime,
IRubyObject key1,
IRubyObject value1,
IRubyObject key2,
IRubyObject value2,
IRubyObject key3,
IRubyObject value3) |
static RubyHash |
constructHash19(Ruby runtime,
IRubyObject key1,
IRubyObject value1) |
static RubyHash |
constructHash19(Ruby runtime,
IRubyObject key1,
IRubyObject value1,
IRubyObject key2,
IRubyObject value2) |
static RubyHash |
constructHash19(Ruby runtime,
IRubyObject key1,
IRubyObject value1,
IRubyObject key2,
IRubyObject value2,
IRubyObject key3,
IRubyObject value3) |
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) |
static RubyHash |
constructSmallHash(Ruby runtime,
IRubyObject key1,
IRubyObject value1,
IRubyObject key2,
IRubyObject value2) |
static RubyHash |
constructSmallHash(Ruby runtime,
IRubyObject key1,
IRubyObject value1,
IRubyObject key2,
IRubyObject value2,
IRubyObject key3,
IRubyObject value3) |
static RubyHash |
constructSmallHash19(Ruby runtime,
IRubyObject key1,
IRubyObject value1) |
static RubyHash |
constructSmallHash19(Ruby runtime,
IRubyObject key1,
IRubyObject value1,
IRubyObject key2,
IRubyObject value2) |
static RubyHash |
constructSmallHash19(Ruby runtime,
IRubyObject key1,
IRubyObject value1,
IRubyObject key2,
IRubyObject value2,
IRubyObject key3,
IRubyObject value3) |
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 Block |
createBlock(ThreadContext context,
IRubyObject self,
BlockBody body) |
static Block |
createBlock19(ThreadContext context,
IRubyObject self,
BlockBody body) |
static CompiledBlockCallback |
createBlockCallback(Object scriptObject,
String closureMethod,
String file,
int line) |
static CompiledBlockCallback19 |
createBlockCallback19(Object scriptObject,
String closureMethod,
String file,
int line) |
static byte[] |
createBlockCallback19Offline(String classPath,
String closureMethod,
String file,
int line) |
static byte[] |
createBlockCallbackOffline(String classPath,
String closureMethod,
String file,
int line) |
static BlockBody |
createCompiledBlockBody(ThreadContext context,
Object scriptObject,
StaticScope scope,
String descriptor) |
static BlockBody |
createCompiledBlockBody(ThreadContext context,
Object scriptObject,
String closureMethod,
int arity,
StaticScope staticScope,
boolean hasMultipleArgsHead,
int argsNodeType,
String file,
int line,
boolean light) |
static BlockBody |
createCompiledBlockBody19(ThreadContext context,
Object scriptObject,
StaticScope scope,
String descriptor) |
static BlockBody |
createCompiledBlockBody19(ThreadContext context,
Object scriptObject,
String closureMethod,
int arity,
StaticScope staticScope,
boolean hasMultipleArgsHead,
int argsNodeType,
String file,
int line,
boolean light,
String parameterList) |
static Block |
createSharedScopeBlock(ThreadContext context,
IRubyObject self,
int arity,
CompiledBlockCallback callback,
boolean hasMultipleArgsHead,
int argsNodeType) |
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 IRubyObject |
declareClassVariable(Ruby runtime,
StaticScope scope,
IRubyObject self,
String name,
IRubyObject value) |
static StaticScope |
decodeBlockScope(ThreadContext context,
String scopeString)
Deprecated.
|
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 |
decodeLocalScope(ThreadContext context,
StaticScope parent,
String scopeString)
Deprecated.
|
static StaticScope |
decodeLocalScope(ThreadContext context,
String scopeString)
Deprecated.
|
static StaticScope |
decodeRootScope(ThreadContext context,
String scopeString)
Deprecated.
|
static StaticScope |
decodeScope(ThreadContext context,
StaticScope parent,
String scopeString) |
static StaticScope |
decodeScopeAndDetermineModule(ThreadContext context,
StaticScope parent,
String scopeString) |
static IRubyObject |
def(ThreadContext context,
IRubyObject self,
Object scriptObject,
String rubyName,
String javaName,
StaticScope scope,
int arity,
String filename,
int line,
CallConfiguration callConfig,
String parameterDesc) |
static IRubyObject |
defineAlias(ThreadContext context,
IRubyObject self,
Object newNameArg,
Object oldNameArg) |
static byte[] |
defOffline(String rubyName,
String javaName,
String classPath,
String invokerName,
Arity arity,
StaticScope scope,
CallConfiguration callConfig,
String filename,
int line) |
static IRubyObject |
defs(ThreadContext context,
IRubyObject self,
IRubyObject receiver,
Object scriptObject,
String rubyName,
String javaName,
StaticScope scope,
int arity,
String filename,
int line,
CallConfiguration callConfig,
String parameterDesc) |
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(ArgsNode argsNode) |
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 IRubyObject |
fetchClassVariable(Ruby runtime,
StaticScope scope,
IRubyObject self,
String name) |
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[] |
getArgValues(ThreadContext context) |
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 IRubyObject |
getConstant(ThreadContext context,
String internedName) |
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 |
getLastLine(Ruby runtime,
ThreadContext context) |
static String |
getLocalJumpTypeOrRethrow(RaiseException re) |
static String[] |
getScopeNames(String scopeNames) |
static RubyClass |
getSingletonClass(Ruby runtime,
IRubyObject receiver) |
static RubyModule |
getSuperClassForDefined(Ruby runtime,
RubyModule klazz) |
static void |
handleArgumentSizes(ThreadContext context,
Ruby runtime,
int given,
int required,
int opt,
int rest) |
static IRubyObject |
handleNextJump(ThreadContext context,
JumpException.NextJump nj) |
static String |
interpretAliasUndefName(Node nameNode,
Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock)
Some of this code looks scary.
|
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 |
invokeModuleBody(ThreadContext context,
CompiledIRMethod method) |
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,
int rest) |
static IRubyObject |
irLoadOptArg(int minReqd,
int argIndex,
IRubyObject[] args) |
static IRubyObject |
irLoadRestArg(ThreadContext context,
int minReqd,
int argIndex,
IRubyObject[] args) |
static IRubyObject |
irNot(ThreadContext context,
IRubyObject obj) |
static IRubyObject |
irPostReqdArg(int argIndex,
int preReqdArgsCount,
int postReqdArgsCount,
IRubyObject[] args) |
static IRubyObject |
irReqdArgMultipleAsgn(ThreadContext context,
RubyArray rubyArray,
int preArgsCount,
int index,
int postArgsCount) |
static RubyArray |
irSplat(ThreadContext context,
IRubyObject maybeAry) |
static IRubyObject |
irToAry(ThreadContext context,
IRubyObject receiver,
boolean dontToAryArrays) |
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 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 RubyClass |
metaclass(IRubyObject object) |
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 |
nextJump(IRubyObject value) |
static IRubyObject |
nextLocalJumpError(Ruby runtime,
IRubyObject value) |
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 RubyArray |
parameterListToParameters(Ruby runtime,
String[] parameterList,
boolean isLambda) |
static String[] |
parseBlockDescriptor(String descriptor) |
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 StaticScope |
preLoad(ThreadContext context,
String scopeString,
boolean wrap) |
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 IRubyObject |
redoJump() |
static IRubyObject |
redoLocalJumpError(Ruby runtime) |
static void |
registerEndBlock(Block block,
Ruby runtime) |
static IRubyObject[] |
restructureBlockArgs19(IRubyObject value,
Arity arity,
Block.Type type,
boolean needsSplat,
boolean alreadyArray) |
static IRubyObject |
retryJump() |
static JumpException.ReturnJump |
returnJump(IRubyObject result,
ThreadContext context) |
static IRubyObject |
rewriteStackTraceAndThrow(Throwable t,
Ruby runtime) |
static IRubyObject |
runBeginBlock(ThreadContext context,
IRubyObject self,
String scopeString,
CompiledBlockCallback callback) |
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 |
setClassVariable(Ruby runtime,
StaticScope scope,
IRubyObject self,
String name,
IRubyObject value) |
static IRubyObject |
setConstantInCurrent(IRubyObject value,
ThreadContext context,
String name) |
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 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 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 |
throwReturnJump(IRubyObject result,
ThreadContext context) |
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 void |
traceClass(ThreadContext context) |
static void |
traceEnd(ThreadContext context) |
static void |
traceLine(ThreadContext context) |
static IRubyObject |
undefMethod(ThreadContext context,
Object nameArg) |
static IRubyObject |
unsplatValue19(IRubyObject argsResult) |
static IRubyObject |
unsplatValue19IfArityOne(IRubyObject argsResult,
Block block) |
static IRubyObject |
unwrapLocalJumpErrorValue(RaiseException re) |
static Throwable |
unwrapRedoNextBreakOrJustLocalJump(RaiseException re,
ThreadContext context)
If it's Redo, Next, or Break, rethrow it as a normal exception for while to handle
|
static void |
updateScopeWithCaptures(ThreadContext context,
int[] scopeOffsets,
IRubyObject result) |