jruby/docs BETA
Navigation
org.jruby.ir.targets.indy 57
C ArrayBootstrap
C ArrayDerefInvokeSite
C AsStringSite
C BignumObjectSite
C BlockGivenSite
C Bootstrap
C BuildDynamicStringSite
C CallInfoBootstrap
C CallSiteCacheBootstrap
C CallTraceSite
C CheckArityBootstrap
C CheckpointSite
C ClassSuperInvokeSite
C ClassSuperIterInvokeSite
C ConstantLookupSite
C ConstructBlockBootstrap
C ConstructObjectSite
C CoverageSite
C DRegexpObjectSite
C FixnumObjectSite
C FloatObjectSite
C FrameNameSite
C HashBootstrap
C HeapVariableBootstrap
C IndyArgumentsCompiler
C IndyBlockCompiler
C IndyBranchCompiler
C IndyCheckpointCompiler
C IndyConstantCompiler
C IndyDynamicValueCompiler
C IndyGlobalVariableCompiler
C IndyInstanceVariableCompiler
C IndyInvocationCompiler
C IndyLocalVariableCompiler
C IndyValueCompiler
C IndyYieldCompiler
C InstanceSuperInvokeSite
C InstanceSuperIterInvokeSite
C InvokeSite
C IsNilSite
C IsTrueSite
C JavaBootstrap
C LazyObjectSite
C LiteralValueBootstrap
C MetaClassBootstrap
C RangeObjectSite
C RegexpObjectSite
C ResolvedSuperInvokeSite
C SelfInvokeSite
C StringBootstrap
C SuperInvokeSite
C SymbolObjectSite
C SymbolProcObjectSite
C UnresolvedSuperInvokeSite
C UnresolvedSuperIterInvokeSite
C YieldSite
C ZSuperInvokeSite
BuildDynamicStringSite — members 42+
F BUILD_DSTRING_BOOTSTRAP() Handle
F MAX_ELEMENTS() int
C new(type, string_args)
M build_d_string(lookup, name, type, args) CallSite
M build_string(context, a, encoding, initial_size) RubyString
M build_string(context, a, encoding, initial_size) RubyString
M build_string(context, a, b, encoding, initial_size) RubyString
M build_string(context, a, b, encoding, initial_size) RubyString
M build_string(context, a, b, encoding, initial_size) RubyString
M build_string(context, a, b, encoding, initial_size) RubyString
M build_string(context, a, b, c, encoding, initial_size) RubyString
M build_string(context, a, b, c, encoding, initial_size) RubyString
M build_string(context, a, b, c, encoding, initial_size) RubyString
M build_string(context, a, b, c, encoding, initial_size) RubyString
M build_string(context, a, b, c, encoding, initial_size) RubyString
M build_string(context, a, b, c, encoding, initial_size) RubyString
M build_string(context, a, b, c, encoding, initial_size) RubyString
M build_string(context, a, b, c, encoding, initial_size) RubyString
M build_string(context, a, b, c, d, encoding, initial_size) RubyString
M build_string(context, a, b, c, d, encoding, initial_size) RubyString
M build_string(context, a, b, c, d, encoding, initial_size) RubyString
M build_string(context, a, b, c, d, encoding, initial_size) RubyString
M build_string(context, a, b, c, d, encoding, initial_size) RubyString
M build_string(context, a, b, c, d, encoding, initial_size) RubyString
M build_string(context, a, b, c, d, encoding, initial_size) RubyString
M build_string(context, a, b, c, d, encoding, initial_size) RubyString
M build_string(context, a, b, c, d, encoding, initial_size) RubyString
M build_string(context, a, b, c, d, encoding, initial_size) RubyString
M build_string(context, a, b, c, d, encoding, initial_size) RubyString
M build_string(context, a, b, c, d, encoding, initial_size) RubyString
M build_string(context, a, b, c, d, encoding, initial_size) RubyString
M build_string(context, a, b, c, d, encoding, initial_size) RubyString
M build_string(context, a, b, c, d, encoding, initial_size) RubyString
M build_string(context, a, b, c, d, encoding, initial_size) RubyString
M build_string2(context, encoding, initial_size) RubyString
M build_string2(context, a, encoding, initial_size) RubyString
M build_string2(context, a, b, encoding, initial_size) RubyString
M build_string2(context, a, b, c, encoding, initial_size) RubyString
M build_string2(context, a, b, c, d, encoding, initial_size) RubyString
M build_string2(context, a, b, c, d, e, encoding, initial_size) RubyString
M build_string_from_many(context, values) RubyString
M cast_to_s_result_or_any(to_s_result, context, original) Appendable
from CallSite
M type() MethodType
from MutableCallSite
M dynamic_invoker() MethodHandle
M target() MethodHandle
C target=(arg0)

org.jruby.ir.targets.indy.BuildDynamicStringSite

class extends MutableCallSite 42 members

Constants

constanttypenote
BUILD_DSTRING_BOOTSTRAP Handle
MAX_ELEMENTS int

Constructors

new

new ( MethodType type, Object[] string_args )
Java: <init>(java.lang.invoke.MethodType type, Object[] stringArgs)

Class Methods

build_d_string

CallSite build_d_string ( MethodHandles.Lookup lookup, String name, MethodType type, Object[] args )
Java: buildDString(java.lang.invoke.MethodHandles.Lookup lookup, String name, java.lang.invoke.MethodType type, Object[] args)

build_string

RubyString build_string ( ThreadContext context, Appendable a, Encoding encoding, int initial_size )
Java: buildString(org.jruby.runtime.ThreadContext context, org.jruby.Appendable a, org.jcodings.Encoding encoding, int initialSize)

build_string

RubyString build_string ( ThreadContext context, BuildDynamicStringSite.ByteListAndCodeRange a, Encoding encoding, int initial_size )
Java: buildString(org.jruby.runtime.ThreadContext context, org.jruby.ir.targets.indy.BuildDynamicStringSite.ByteListAndCodeRange a, org.jcodings.Encoding encoding, int initialSize)

build_string

RubyString build_string ( ThreadContext context, Appendable a, Appendable b, Encoding encoding, int initial_size )
Java: buildString(org.jruby.runtime.ThreadContext context, org.jruby.Appendable a, org.jruby.Appendable b, org.jcodings.Encoding encoding, int initialSize)

build_string

RubyString build_string ( ThreadContext context, Appendable a, BuildDynamicStringSite.ByteListAndCodeRange b, Encoding encoding, int initial_size )
Java: buildString(org.jruby.runtime.ThreadContext context, org.jruby.Appendable a, org.jruby.ir.targets.indy.BuildDynamicStringSite.ByteListAndCodeRange b, org.jcodings.Encoding encoding, int initialSize)

build_string

RubyString build_string ( ThreadContext context, BuildDynamicStringSite.ByteListAndCodeRange a, Appendable b, Encoding encoding, int initial_size )
Java: buildString(org.jruby.runtime.ThreadContext context, org.jruby.ir.targets.indy.BuildDynamicStringSite.ByteListAndCodeRange a, org.jruby.Appendable b, org.jcodings.Encoding encoding, int initialSize)

build_string

RubyString build_string ( ThreadContext context, BuildDynamicStringSite.ByteListAndCodeRange a, BuildDynamicStringSite.ByteListAndCodeRange b, Encoding encoding, int initial_size )
Java: buildString(org.jruby.runtime.ThreadContext context, org.jruby.ir.targets.indy.BuildDynamicStringSite.ByteListAndCodeRange a, org.jruby.ir.targets.indy.BuildDynamicStringSite.ByteListAndCodeRange b, org.jcodings.Encoding encoding, int initialSize)

build_string

RubyString build_string ( ThreadContext context, Appendable a, Appendable b, Appendable c, Encoding encoding, int initial_size )
Java: buildString(org.jruby.runtime.ThreadContext context, org.jruby.Appendable a, org.jruby.Appendable b, org.jruby.Appendable c, org.jcodings.Encoding encoding, int initialSize)

build_string

RubyString build_string ( ThreadContext context, Appendable a, Appendable b, BuildDynamicStringSite.ByteListAndCodeRange c, Encoding encoding, int initial_size )
Java: buildString(org.jruby.runtime.ThreadContext context, org.jruby.Appendable a, org.jruby.Appendable b, org.jruby.ir.targets.indy.BuildDynamicStringSite.ByteListAndCodeRange c, org.jcodings.Encoding encoding, int initialSize)

build_string

RubyString build_string ( ThreadContext context, Appendable a, BuildDynamicStringSite.ByteListAndCodeRange b, Appendable c, Encoding encoding, int initial_size )
Java: buildString(org.jruby.runtime.ThreadContext context, org.jruby.Appendable a, org.jruby.ir.targets.indy.BuildDynamicStringSite.ByteListAndCodeRange b, org.jruby.Appendable c, org.jcodings.Encoding encoding, int initialSize)

build_string

RubyString build_string ( ThreadContext context, Appendable a, BuildDynamicStringSite.ByteListAndCodeRange b, BuildDynamicStringSite.ByteListAndCodeRange c, Encoding encoding, int initial_size )
Java: buildString(org.jruby.runtime.ThreadContext context, org.jruby.Appendable a, org.jruby.ir.targets.indy.BuildDynamicStringSite.ByteListAndCodeRange b, org.jruby.ir.targets.indy.BuildDynamicStringSite.ByteListAndCodeRange c, org.jcodings.Encoding encoding, int initialSize)

build_string

RubyString build_string ( ThreadContext context, BuildDynamicStringSite.ByteListAndCodeRange a, Appendable b, Appendable c, Encoding encoding, int initial_size )
Java: buildString(org.jruby.runtime.ThreadContext context, org.jruby.ir.targets.indy.BuildDynamicStringSite.ByteListAndCodeRange a, org.jruby.Appendable b, org.jruby.Appendable c, org.jcodings.Encoding encoding, int initialSize)

build_string

RubyString build_string ( ThreadContext context, BuildDynamicStringSite.ByteListAndCodeRange a, Appendable b, BuildDynamicStringSite.ByteListAndCodeRange c, Encoding encoding, int initial_size )
Java: buildString(org.jruby.runtime.ThreadContext context, org.jruby.ir.targets.indy.BuildDynamicStringSite.ByteListAndCodeRange a, org.jruby.Appendable b, org.jruby.ir.targets.indy.BuildDynamicStringSite.ByteListAndCodeRange c, org.jcodings.Encoding encoding, int initialSize)

build_string

RubyString build_string ( ThreadContext context, BuildDynamicStringSite.ByteListAndCodeRange a, BuildDynamicStringSite.ByteListAndCodeRange b, Appendable c, Encoding encoding, int initial_size )
Java: buildString(org.jruby.runtime.ThreadContext context, org.jruby.ir.targets.indy.BuildDynamicStringSite.ByteListAndCodeRange a, org.jruby.ir.targets.indy.BuildDynamicStringSite.ByteListAndCodeRange b, org.jruby.Appendable c, org.jcodings.Encoding encoding, int initialSize)

build_string

RubyString build_string ( ThreadContext context, BuildDynamicStringSite.ByteListAndCodeRange a, BuildDynamicStringSite.ByteListAndCodeRange b, BuildDynamicStringSite.ByteListAndCodeRange c, Encoding encoding, int initial_size )
Java: buildString(org.jruby.runtime.ThreadContext context, org.jruby.ir.targets.indy.BuildDynamicStringSite.ByteListAndCodeRange a, org.jruby.ir.targets.indy.BuildDynamicStringSite.ByteListAndCodeRange b, org.jruby.ir.targets.indy.BuildDynamicStringSite.ByteListAndCodeRange c, org.jcodings.Encoding encoding, int initialSize)

build_string

RubyString build_string ( ThreadContext context, Appendable a, Appendable b, Appendable c, Appendable d, Encoding encoding, int initial_size )
Java: buildString(org.jruby.runtime.ThreadContext context, org.jruby.Appendable a, org.jruby.Appendable b, org.jruby.Appendable c, org.jruby.Appendable d, org.jcodings.Encoding encoding, int initialSize)

build_string

RubyString build_string ( ThreadContext context, Appendable a, Appendable b, Appendable c, BuildDynamicStringSite.ByteListAndCodeRange d, Encoding encoding, int initial_size )
Java: buildString(org.jruby.runtime.ThreadContext context, org.jruby.Appendable a, org.jruby.Appendable b, org.jruby.Appendable c, org.jruby.ir.targets.indy.BuildDynamicStringSite.ByteListAndCodeRange d, org.jcodings.Encoding encoding, int initialSize)

build_string

RubyString build_string ( ThreadContext context, Appendable a, Appendable b, BuildDynamicStringSite.ByteListAndCodeRange c, Appendable d, Encoding encoding, int initial_size )
Java: buildString(org.jruby.runtime.ThreadContext context, org.jruby.Appendable a, org.jruby.Appendable b, org.jruby.ir.targets.indy.BuildDynamicStringSite.ByteListAndCodeRange c, org.jruby.Appendable d, org.jcodings.Encoding encoding, int initialSize)

build_string

RubyString build_string ( ThreadContext context, Appendable a, Appendable b, BuildDynamicStringSite.ByteListAndCodeRange c, BuildDynamicStringSite.ByteListAndCodeRange d, Encoding encoding, int initial_size )
Java: buildString(org.jruby.runtime.ThreadContext context, org.jruby.Appendable a, org.jruby.Appendable b, org.jruby.ir.targets.indy.BuildDynamicStringSite.ByteListAndCodeRange c, org.jruby.ir.targets.indy.BuildDynamicStringSite.ByteListAndCodeRange d, org.jcodings.Encoding encoding, int initialSize)

build_string

RubyString build_string ( ThreadContext context, Appendable a, BuildDynamicStringSite.ByteListAndCodeRange b, Appendable c, Appendable d, Encoding encoding, int initial_size )
Java: buildString(org.jruby.runtime.ThreadContext context, org.jruby.Appendable a, org.jruby.ir.targets.indy.BuildDynamicStringSite.ByteListAndCodeRange b, org.jruby.Appendable c, org.jruby.Appendable d, org.jcodings.Encoding encoding, int initialSize)

build_string

RubyString build_string ( ThreadContext context, Appendable a, BuildDynamicStringSite.ByteListAndCodeRange b, Appendable c, BuildDynamicStringSite.ByteListAndCodeRange d, Encoding encoding, int initial_size )
Java: buildString(org.jruby.runtime.ThreadContext context, org.jruby.Appendable a, org.jruby.ir.targets.indy.BuildDynamicStringSite.ByteListAndCodeRange b, org.jruby.Appendable c, org.jruby.ir.targets.indy.BuildDynamicStringSite.ByteListAndCodeRange d, org.jcodings.Encoding encoding, int initialSize)

build_string

RubyString build_string ( ThreadContext context, Appendable a, BuildDynamicStringSite.ByteListAndCodeRange b, BuildDynamicStringSite.ByteListAndCodeRange c, Appendable d, Encoding encoding, int initial_size )
Java: buildString(org.jruby.runtime.ThreadContext context, org.jruby.Appendable a, org.jruby.ir.targets.indy.BuildDynamicStringSite.ByteListAndCodeRange b, org.jruby.ir.targets.indy.BuildDynamicStringSite.ByteListAndCodeRange c, org.jruby.Appendable d, org.jcodings.Encoding encoding, int initialSize)

build_string

RubyString build_string ( ThreadContext context, Appendable a, BuildDynamicStringSite.ByteListAndCodeRange b, BuildDynamicStringSite.ByteListAndCodeRange c, BuildDynamicStringSite.ByteListAndCodeRange d, Encoding encoding, int initial_size )
Java: buildString(org.jruby.runtime.ThreadContext context, org.jruby.Appendable a, org.jruby.ir.targets.indy.BuildDynamicStringSite.ByteListAndCodeRange b, org.jruby.ir.targets.indy.BuildDynamicStringSite.ByteListAndCodeRange c, org.jruby.ir.targets.indy.BuildDynamicStringSite.ByteListAndCodeRange d, org.jcodings.Encoding encoding, int initialSize)

build_string

RubyString build_string ( ThreadContext context, BuildDynamicStringSite.ByteListAndCodeRange a, Appendable b, Appendable c, Appendable d, Encoding encoding, int initial_size )
Java: buildString(org.jruby.runtime.ThreadContext context, org.jruby.ir.targets.indy.BuildDynamicStringSite.ByteListAndCodeRange a, org.jruby.Appendable b, org.jruby.Appendable c, org.jruby.Appendable d, org.jcodings.Encoding encoding, int initialSize)

build_string

RubyString build_string ( ThreadContext context, BuildDynamicStringSite.ByteListAndCodeRange a, Appendable b, Appendable c, BuildDynamicStringSite.ByteListAndCodeRange d, Encoding encoding, int initial_size )
Java: buildString(org.jruby.runtime.ThreadContext context, org.jruby.ir.targets.indy.BuildDynamicStringSite.ByteListAndCodeRange a, org.jruby.Appendable b, org.jruby.Appendable c, org.jruby.ir.targets.indy.BuildDynamicStringSite.ByteListAndCodeRange d, org.jcodings.Encoding encoding, int initialSize)

build_string

RubyString build_string ( ThreadContext context, BuildDynamicStringSite.ByteListAndCodeRange a, Appendable b, BuildDynamicStringSite.ByteListAndCodeRange c, Appendable d, Encoding encoding, int initial_size )
Java: buildString(org.jruby.runtime.ThreadContext context, org.jruby.ir.targets.indy.BuildDynamicStringSite.ByteListAndCodeRange a, org.jruby.Appendable b, org.jruby.ir.targets.indy.BuildDynamicStringSite.ByteListAndCodeRange c, org.jruby.Appendable d, org.jcodings.Encoding encoding, int initialSize)

build_string

RubyString build_string ( ThreadContext context, BuildDynamicStringSite.ByteListAndCodeRange a, Appendable b, BuildDynamicStringSite.ByteListAndCodeRange c, BuildDynamicStringSite.ByteListAndCodeRange d, Encoding encoding, int initial_size )
Java: buildString(org.jruby.runtime.ThreadContext context, org.jruby.ir.targets.indy.BuildDynamicStringSite.ByteListAndCodeRange a, org.jruby.Appendable b, org.jruby.ir.targets.indy.BuildDynamicStringSite.ByteListAndCodeRange c, org.jruby.ir.targets.indy.BuildDynamicStringSite.ByteListAndCodeRange d, org.jcodings.Encoding encoding, int initialSize)

build_string

RubyString build_string ( ThreadContext context, BuildDynamicStringSite.ByteListAndCodeRange a, BuildDynamicStringSite.ByteListAndCodeRange b, Appendable c, Appendable d, Encoding encoding, int initial_size )
Java: buildString(org.jruby.runtime.ThreadContext context, org.jruby.ir.targets.indy.BuildDynamicStringSite.ByteListAndCodeRange a, org.jruby.ir.targets.indy.BuildDynamicStringSite.ByteListAndCodeRange b, org.jruby.Appendable c, org.jruby.Appendable d, org.jcodings.Encoding encoding, int initialSize)

build_string

RubyString build_string ( ThreadContext context, BuildDynamicStringSite.ByteListAndCodeRange a, BuildDynamicStringSite.ByteListAndCodeRange b, Appendable c, BuildDynamicStringSite.ByteListAndCodeRange d, Encoding encoding, int initial_size )
Java: buildString(org.jruby.runtime.ThreadContext context, org.jruby.ir.targets.indy.BuildDynamicStringSite.ByteListAndCodeRange a, org.jruby.ir.targets.indy.BuildDynamicStringSite.ByteListAndCodeRange b, org.jruby.Appendable c, org.jruby.ir.targets.indy.BuildDynamicStringSite.ByteListAndCodeRange d, org.jcodings.Encoding encoding, int initialSize)

build_string

RubyString build_string ( ThreadContext context, BuildDynamicStringSite.ByteListAndCodeRange a, BuildDynamicStringSite.ByteListAndCodeRange b, BuildDynamicStringSite.ByteListAndCodeRange c, Appendable d, Encoding encoding, int initial_size )
Java: buildString(org.jruby.runtime.ThreadContext context, org.jruby.ir.targets.indy.BuildDynamicStringSite.ByteListAndCodeRange a, org.jruby.ir.targets.indy.BuildDynamicStringSite.ByteListAndCodeRange b, org.jruby.ir.targets.indy.BuildDynamicStringSite.ByteListAndCodeRange c, org.jruby.Appendable d, org.jcodings.Encoding encoding, int initialSize)

build_string

RubyString build_string ( ThreadContext context, BuildDynamicStringSite.ByteListAndCodeRange a, BuildDynamicStringSite.ByteListAndCodeRange b, BuildDynamicStringSite.ByteListAndCodeRange c, BuildDynamicStringSite.ByteListAndCodeRange d, Encoding encoding, int initial_size )
Java: buildString(org.jruby.runtime.ThreadContext context, org.jruby.ir.targets.indy.BuildDynamicStringSite.ByteListAndCodeRange a, org.jruby.ir.targets.indy.BuildDynamicStringSite.ByteListAndCodeRange b, org.jruby.ir.targets.indy.BuildDynamicStringSite.ByteListAndCodeRange c, org.jruby.ir.targets.indy.BuildDynamicStringSite.ByteListAndCodeRange d, org.jcodings.Encoding encoding, int initialSize)

cast_to_s_result_or_any

Appendable cast_to_s_result_or_any ( IRubyObject to_s_result, ThreadContext context, IRubyObject original )
Java: castToSResultOrAny(org.jruby.runtime.builtin.IRubyObject toSResult, org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject original)

Convert the to_s result to an Appendable, returning it if it is a RubyString, or returning the result of calling anyToString on the original object. This is equivalent to RubyBasicObject#asString with the to_s call already performed.

nametypedescription
to_s_resultorg.jruby.runtime.builtin.IRubyObjectthe result of the already-performed to_s call
contextorg.jruby.runtime.ThreadContextthe current context
originalorg.jruby.runtime.builtin.IRubyObjectthe original object

Returns: the to_s result as Appendable, if it is a RubyString, or the anyToString of the original

Instance Methods

build_string2

RubyString build_string2 ( ThreadContext context, Encoding encoding, int initial_size )
Java: buildString2(org.jruby.runtime.ThreadContext context, org.jcodings.Encoding encoding, int initialSize)

build_string2

RubyString build_string2 ( ThreadContext context, Appendable a, Encoding encoding, int initial_size )
Java: buildString2(org.jruby.runtime.ThreadContext context, org.jruby.Appendable a, org.jcodings.Encoding encoding, int initialSize)

build_string2

RubyString build_string2 ( ThreadContext context, Appendable a, Appendable b, Encoding encoding, int initial_size )
Java: buildString2(org.jruby.runtime.ThreadContext context, org.jruby.Appendable a, org.jruby.Appendable b, org.jcodings.Encoding encoding, int initialSize)

build_string2

RubyString build_string2 ( ThreadContext context, Appendable a, Appendable b, Appendable c, Encoding encoding, int initial_size )
Java: buildString2(org.jruby.runtime.ThreadContext context, org.jruby.Appendable a, org.jruby.Appendable b, org.jruby.Appendable c, org.jcodings.Encoding encoding, int initialSize)

build_string2

RubyString build_string2 ( ThreadContext context, Appendable a, Appendable b, Appendable c, Appendable d, Encoding encoding, int initial_size )
Java: buildString2(org.jruby.runtime.ThreadContext context, org.jruby.Appendable a, org.jruby.Appendable b, org.jruby.Appendable c, org.jruby.Appendable d, org.jcodings.Encoding encoding, int initialSize)

build_string2

RubyString build_string2 ( ThreadContext context, Appendable a, Appendable b, Appendable c, Appendable d, Appendable e, Encoding encoding, int initial_size )
Java: buildString2(org.jruby.runtime.ThreadContext context, org.jruby.Appendable a, org.jruby.Appendable b, org.jruby.Appendable c, org.jruby.Appendable d, org.jruby.Appendable e, org.jcodings.Encoding encoding, int initialSize)

build_string_from_many

RubyString build_string_from_many ( ThreadContext context, Appendable[] values )
Java: buildStringFromMany(org.jruby.runtime.ThreadContext context, org.jruby.Appendable[] values)

Inherited

from CallSite

type

MethodType type ( )
Java: type()

from MutableCallSite

dynamic_invoker

MethodHandle dynamic_invoker ( )
Java: dynamicInvoker()

target

MethodHandle target ( )
Java: getTarget() · also: get_target

target=

target= ( MethodHandle arg0 )
Java: setTarget(java.lang.invoke.MethodHandle arg0) · also: set_target