| Modifier and Type | Class and Description |
|---|---|
| private class | |
| public static interface | |
| public static interface |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv IRubyObject | |
| private int | |
| private final int | |
| pack-priv boolean | |
| private final HashMapInt | |
| private HashMapInt | |
| pack-priv int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private Map | |
| private void | |
| private void | |
| private Map | |
| private Map | |
| private void | |
| private void | dumpBaseObject(ThreadContext context, RubyOutputStream out, IRubyObject value, ClassIndex nativeClassIndex)
|
| public void | |
| public void | |
| private RubyClass | |
| public void | |
| public void | |
| private void | dumpType(ThreadContext context, RubyOutputStream out, IRubyObject value, ClassIndex nativeClassIndex)
|
| private void | |
| private static void | dumpVariable(ThreadContext context, RubyOutputStream out, MarshalDumper marshal, String name, Object value)
|
| public void | |
| public void | |
| public <T extends IRubyObject> void | dumpVariables(ThreadContext context, RubyOutputStream out, T value, int extraSize, MarshalDumper.
|
| public static RubySymbol | |
| private HashMapInt | |
| private boolean | |
| private static boolean | |
| private boolean | |
| private boolean | |
| private void | |
| private int | |
| private int | |
| public void | |
| private void | |
| private static boolean | |
| public void | |
| private void | |
| public void | |
| public void | |
| private void | |
| public void | |
| public void | |
| private void | |
| private void | |
| public void | |
| public void | |
| public void | |
| public void | |
| private void | |
| private void | |
| public void | |
| public void | |
| private void | |
| public void |
| currentValue | back to summary |
|---|---|
| pack-priv IRubyObject currentValue | |
| depth | back to summary |
|---|---|
| private int depth | |
| depthLimit | back to summary |
|---|---|
| private final int depthLimit | |
| doVariables | back to summary |
|---|---|
| pack-priv boolean doVariables | |
| linkCache | back to summary |
|---|---|
| private final HashMapInt<IRubyObject> linkCache | |
| symbolCache | back to summary |
|---|---|
| private HashMapInt<RubySymbol> symbolCache | |
| variableCount | back to summary |
|---|---|
| pack-priv int variableCount | |
| MarshalDumper | back to summary |
|---|---|
| public MarshalDumper(int depthLimit) | |
| checkVariables | back to summary |
|---|---|
| private Map | |
| checkVariablesForMarshal | back to summary |
|---|---|
| private void checkVariablesForMarshal(String name, VariableAccessor accessor) | |
| clearVariableState | back to summary |
|---|---|
| private void clearVariableState() | |
| countVariables | back to summary |
|---|---|
| private Map | |
| countVariables | back to summary |
|---|---|
| private Map | |
| countVariablesForMarshal | back to summary |
|---|---|
| private void countVariablesForMarshal(String name, VariableAccessor accessor) | |
| dumpBaseObject | back to summary |
|---|---|
| private void dumpBaseObject(ThreadContext context, RubyOutputStream out, IRubyObject value, ClassIndex nativeClassIndex) | |
| dumpDefaultObjectHeader | back to summary |
|---|---|
| public void dumpDefaultObjectHeader(ThreadContext context, RubyOutputStream out, RubyClass type) | |
| dumpDefaultObjectHeader | back to summary |
|---|---|
| public void dumpDefaultObjectHeader(ThreadContext context, RubyOutputStream out, char tp, RubyClass type) | |
| dumpExtended | back to summary |
|---|---|
| private RubyClass dumpExtended(ThreadContext context, RubyOutputStream out, RubyClass type) w_extended | |
| dumpObject | back to summary |
|---|---|
| public void dumpObject(ThreadContext context, RubyOutputStream out, IRubyObject value) | |
| dumpSymbol | back to summary |
|---|---|
| public void dumpSymbol(RubyOutputStream out, ByteList value) | |
| dumpType | back to summary |
|---|---|
| private void dumpType(ThreadContext context, RubyOutputStream out, IRubyObject value, ClassIndex nativeClassIndex) | |
| dumpUserdefBase | back to summary |
|---|---|
| private void dumpUserdefBase(ThreadContext context, RubyOutputStream out, RubyClass klass, RubyString marshaled) | |
| dumpVariable | back to summary |
|---|---|
| private static void dumpVariable(ThreadContext context, RubyOutputStream out, MarshalDumper marshal, String name, Object value) | |
| dumpVariables | back to summary |
|---|---|
| public void dumpVariables(ThreadContext context, RubyOutputStream out, IRubyObject value) | |
| dumpVariables | back to summary |
|---|---|
| public void dumpVariables(ThreadContext context, RubyOutputStream out, IRubyObject value, int extraSize) | |
| dumpVariables | back to summary |
|---|---|
| public <T extends IRubyObject> void dumpVariables(ThreadContext context, RubyOutputStream out, T value, int extraSize, MarshalDumper. | |
| getPathFromClass | back to summary |
|---|---|
| public static RubySymbol getPathFromClass(ThreadContext context, RubyModule clazz) | |
| getSymbolCache | back to summary |
|---|---|
| private HashMapInt | |
| hasSingletonMethods | back to summary |
|---|---|
| private boolean hasSingletonMethods(RubyClass type) | |
| isMarshalFixnum | back to summary |
|---|---|
| private static boolean isMarshalFixnum(RubyFixnum fixnum) | |
| isRegistered | back to summary |
|---|---|
| private boolean isRegistered(IRubyObject value) | |
| isSymbolRegistered | back to summary |
|---|---|
| private boolean isSymbolRegistered(RubySymbol sym) | |
| register | back to summary |
|---|---|
| private void register(IRubyObject value) | |
| registeredIndex | back to summary |
|---|---|
| private int registeredIndex(IRubyObject value) | |
| registeredSymbolIndex | back to summary |
|---|---|
| private int registeredSymbolIndex(RubySymbol sym) | |
| registerLinkTarget | back to summary |
|---|---|
| public void registerLinkTarget(IRubyObject newObject) | |
| registerSymbol | back to summary |
|---|---|
| private void registerSymbol(RubySymbol sym) | |
| shouldBeRegistered | back to summary |
|---|---|
| private static boolean shouldBeRegistered(IRubyObject value) | |
| start | back to summary |
|---|---|
| public void start(RubyOutputStream out) | |
| userCommon | back to summary |
|---|---|
| private void userCommon(ThreadContext context, RubyOutputStream out, IRubyObject value, CacheEntry cacheEntry) | |
| userMarshal | back to summary |
|---|---|
| public void userMarshal(ThreadContext context, RubyOutputStream out, IRubyObject value, CacheEntry entry) | |
| userMarshal | back to summary |
|---|---|
| public void userMarshal(ThreadContext context, RubyOutputStream out, IRubyObject value) | |
| userNewCommon | back to summary |
|---|---|
| private void userNewCommon(ThreadContext context, RubyOutputStream out, IRubyObject value, CacheEntry entry) | |
| userNewMarshal | back to summary |
|---|---|
| public void userNewMarshal(ThreadContext context, RubyOutputStream out, IRubyObject value, CacheEntry entry) | |
| userNewMarshal | back to summary |
|---|---|
| public void userNewMarshal(ThreadContext context, RubyOutputStream out, IRubyObject value) | |
| writeAndRegister | back to summary |
|---|---|
| private void writeAndRegister(ThreadContext context, RubyOutputStream out, IRubyObject value) | |
| writeAndRegisterSymbol | back to summary |
|---|---|
| private void writeAndRegisterSymbol(RubyOutputStream out, RubySymbol sym) | |
| writeByte | back to summary |
|---|---|
| public void writeByte(RubyOutputStream out, int value) | |
| writeDirectly | back to summary |
|---|---|
| public void writeDirectly(ThreadContext context, RubyOutputStream out, IRubyObject value) | |
| writeEncoding | back to summary |
|---|---|
| public void writeEncoding(ThreadContext context, RubyOutputStream out, Encoding encoding) | |
| writeInt | back to summary |
|---|---|
| public void writeInt(RubyOutputStream out, int value) | |
| writeLink | back to summary |
|---|---|
| private void writeLink(RubyOutputStream out, MarshalDumper output, IRubyObject value) | |
| writeObjectData | back to summary |
|---|---|
| private void writeObjectData(ThreadContext context, RubyOutputStream out, IRubyObject value) | |
| writeString | back to summary |
|---|---|
| public void writeString(RubyOutputStream out, String value) | |
| writeString | back to summary |
|---|---|
| public void writeString(RubyOutputStream out, ByteList value) | |
| writeSymbolLink | back to summary |
|---|---|
| private void writeSymbolLink(RubyOutputStream out, MarshalDumper output, RubySymbol sym) | |
| writeUserClass | back to summary |
|---|---|
| public void writeUserClass(ThreadContext context, RubyOutputStream out, RubyClass type) | |
| Modifier and Type | Field and Description |
|---|---|
| private final ThreadContext | |
| private final RubyOutputStream | |
| private final IRubyObject |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(String
the first input argument name, VariableAccessor the second input argument accessor)Implements java. Performs this operation on the given arguments. |
| context | back to summary |
|---|---|
| private final ThreadContext context | |
| out | back to summary |
|---|---|
| private final RubyOutputStream out | |
| value | back to summary |
|---|---|
| private final IRubyObject value | |
| VariableDumper | back to summary |
|---|---|
| public VariableDumper(ThreadContext context, RubyOutputStream out, IRubyObject value) | |
| accept | back to summary |
|---|---|
| public void accept(String name, VariableAccessor accessor) Implements java. Doc from java. Performs this operation on the given arguments.
| |
| Modifier and Type | Method and Description |
|---|---|
| public void | receive(MarshalDumper marshal, ThreadContext context, RubyOutputStream out, String name, IRubyObject value)
|
| receive | back to summary |
|---|---|
| public void receive(MarshalDumper marshal, ThreadContext context, RubyOutputStream out, String name, IRubyObject value) | |
| Modifier and Type | Method and Description |
|---|---|
| public void | forEach(MarshalDumper marshal, ThreadContext context, RubyOutputStream out, T value, MarshalDumper.
|
| forEach | back to summary |
|---|---|
| public void forEach(MarshalDumper marshal, ThreadContext context, RubyOutputStream out, T value, MarshalDumper. | |