Top Inners Fields Constructors Methods
org.jruby.ir.targets.indy

public Class RangeObjectSite

extends LazyObjectSite
Class Inheritance
Known Direct Subclasses
org.jruby.ir.targets.indy.RangeObjectSite.FixnumRangeObjectSite, org.jruby.ir.targets.indy.RangeObjectSite.StringRangeObjectSite
Imports
org.jruby.RubyRange, org.jruby.ir.runtime.IRRuntimeHelpers, org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.util.ByteList, org.objectweb.asm.Handle, .Opcodes, java.lang.invoke.CallSite, .MethodHandles, .MethodType

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
public static class

Field Summary

Modifier and TypeField and Description
public static final Handle
public static final Handle
public static final Handle
public static final Handle
protected final boolean
public static final String
public static final String

Constructor Summary

AccessConstructor and Description
public
RangeObjectSite(MethodType type, boolean exclusive)

Method Summary

Modifier and TypeMethod and Description
public static CallSite
bootstrap(MethodHandles.Lookup lookup, String name, MethodType type, int exclusive)

public static CallSite
bootstrapFixnums(MethodHandles.Lookup lookup, String name, MethodType type, long begin, long end, int exclusive)

public static CallSite
bootstrapFixnums(MethodHandles.Lookup lookup, String name, MethodType type, long beginOrEnd, int exclusive)

public static CallSite
bootstrapStrings(MethodHandles.Lookup lookup, String name, MethodType type, String begin, String beginEnc, int beginCR, String end, String endEnc, int endCR, int exclusive)

public IRubyObject
Inherited from org.jruby.ir.targets.indy.LazyObjectSite:
cacheprepareBinder

Field Detail

BOOTSTRAPback to summary
public static final Handle BOOTSTRAP
BOOTSTRAP_LONGback to summary
public static final Handle BOOTSTRAP_LONG
BOOTSTRAP_LONG_LONGback to summary
public static final Handle BOOTSTRAP_LONG_LONG
BOOTSTRAP_STRING_STRINGback to summary
public static final Handle BOOTSTRAP_STRING_STRING
exclusiveback to summary
protected final boolean exclusive
RANGE_BEGINLESSback to summary
public static final String RANGE_BEGINLESS
RANGE_ENDLESSback to summary
public static final String RANGE_ENDLESS

Constructor Detail

RangeObjectSiteback to summary
public RangeObjectSite(MethodType type, boolean exclusive)

Method Detail

bootstrapback to summary
public static CallSite bootstrap(MethodHandles.Lookup lookup, String name, MethodType type, int exclusive)
bootstrapFixnumsback to summary
public static CallSite bootstrapFixnums(MethodHandles.Lookup lookup, String name, MethodType type, long begin, long end, int exclusive)
bootstrapFixnumsback to summary
public static CallSite bootstrapFixnums(MethodHandles.Lookup lookup, String name, MethodType type, long beginOrEnd, int exclusive)
bootstrapStringsback to summary
public static CallSite bootstrapStrings(MethodHandles.Lookup lookup, String name, MethodType type, String begin, String beginEnc, int beginCR, String end, String endEnc, int endCR, int exclusive)
constructback to summary
public IRubyObject construct(ThreadContext context, IRubyObject begin, IRubyObject end) throws Throwable
org.jruby.ir.targets.indy back to summary

public Class RangeObjectSite.FixnumRangeObjectSite

extends RangeObjectSite
Class Inheritance

Field Summary

Modifier and TypeField and Description
protected final boolean
protected final long
protected final long
protected final boolean
Inherited from org.jruby.ir.targets.indy.RangeObjectSite:
BOOTSTRAPBOOTSTRAP_LONGBOOTSTRAP_LONG_LONGBOOTSTRAP_STRING_STRINGexclusiveRANGE_BEGINLESSRANGE_ENDLESS

Constructor Summary

AccessConstructor and Description
public
FixnumRangeObjectSite(MethodType type, long beginOrOnly, long end, boolean beginless, boolean endless, boolean exclusive)

Method Summary

Modifier and TypeMethod and Description
public IRubyObject
Inherited from org.jruby.ir.targets.indy.RangeObjectSite:
bootstrapbootstrapFixnumsbootstrapFixnumsbootstrapStringsconstruct

Field Detail

beginlessback to summary
protected final boolean beginless
beginOrOnlyback to summary
protected final long beginOrOnly
endback to summary
protected final long end
endlessback to summary
protected final boolean endless

Constructor Detail

FixnumRangeObjectSiteback to summary
public FixnumRangeObjectSite(MethodType type, long beginOrOnly, long end, boolean beginless, boolean endless, boolean exclusive)

Method Detail

constructback to summary
public IRubyObject construct(ThreadContext context) throws Throwable
org.jruby.ir.targets.indy back to summary

public Class RangeObjectSite.StringRangeObjectSite

extends RangeObjectSite
Class Inheritance

Field Summary

Modifier and TypeField and Description
protected final ByteList
protected final int
protected final ByteList
protected final int
Inherited from org.jruby.ir.targets.indy.RangeObjectSite:
BOOTSTRAPBOOTSTRAP_LONGBOOTSTRAP_LONG_LONGBOOTSTRAP_STRING_STRINGexclusiveRANGE_BEGINLESSRANGE_ENDLESS

Constructor Summary

AccessConstructor and Description
public
StringRangeObjectSite(MethodType type, ByteList begin, int beginCR, ByteList end, int endCR, boolean exclusive)

Method Summary

Modifier and TypeMethod and Description
public IRubyObject
Inherited from org.jruby.ir.targets.indy.RangeObjectSite:
bootstrapbootstrapFixnumsbootstrapFixnumsbootstrapStringsconstruct

Field Detail

beginback to summary
protected final ByteList begin
beginCRback to summary
protected final int beginCR
endback to summary
protected final ByteList end
endCRback to summary
protected final int endCR

Constructor Detail

StringRangeObjectSiteback to summary
public StringRangeObjectSite(MethodType type, ByteList begin, int beginCR, ByteList end, int endCR, boolean exclusive)

Method Detail

constructback to summary
public IRubyObject construct(ThreadContext context) throws Throwable