public class IRReaderStream extends Object implements IRReaderDecoder
| Modifier and Type | Field and Description |
|---|---|
static byte |
ARRAY |
static byte |
DOUBLE |
static byte |
FALSE |
static byte |
FLOAT |
static byte |
FULL |
static byte |
INSTR |
static byte |
LONG |
static byte |
NULL |
static int |
NULL_STRING |
static int |
PRIMITIVE_BASE |
static int |
PROLOGUE_LENGTH |
static byte |
STRING |
static byte |
TRUE |
static int |
TWO_MEGS |
static int |
VERSION |
| Constructor and Description |
|---|
IRReaderStream(IRManager manager,
File file,
org.jruby.util.ByteList filename) |
IRReaderStream(IRManager manager,
InputStream stream,
org.jruby.util.ByteList filename) |
public static final int VERSION
public static final int TWO_MEGS
public static final int PRIMITIVE_BASE
public static final byte STRING
public static final byte TRUE
public static final byte FALSE
public static final byte ARRAY
public static final byte NULL
public static final byte INSTR
public static final byte LONG
public static final byte FLOAT
public static final byte DOUBLE
public static final byte FULL
public static final int PROLOGUE_LENGTH
public static final int NULL_STRING
public IRReaderStream(IRManager manager, InputStream stream, org.jruby.util.ByteList filename)
public org.jruby.util.ByteList getFilename()
getFilename in interface IRReaderDecoderpublic org.jruby.util.ByteList decodeByteList()
decodeByteList in interface IRReaderDecoderpublic byte[] decodeByteArray()
decodeByteArray in interface IRReaderDecoderpublic org.jcodings.Encoding decodeEncoding()
decodeEncoding in interface IRReaderDecoderpublic Label decodeLabel()
decodeLabel in interface IRReaderDecoderpublic RubyEvent decodeRubyEvent()
decodeRubyEvent in interface IRReaderDecoderpublic String decodeString()
decodeString in interface IRReaderDecoderpublic void addScope(IRScope scope)
addScope in interface IRReaderDecoderpublic IRScope getCurrentScope()
getCurrentScope in interface IRReaderDecoderpublic String[] decodeStringArray()
decodeStringArray in interface IRReaderDecoderpublic Map<String,Operand> getVars()
getVars in interface IRReaderDecoderpublic List<Instr> decodeInstructionsAt(IRScope scope, int offset)
decodeInstructionsAt in interface IRReaderDecoderpublic Instr decodeInstr()
decodeInstr in interface IRReaderDecoderpublic IRScopeType decodeIRScopeType()
decodeIRScopeType in interface IRReaderDecoderpublic TemporaryVariableType decodeTemporaryVariableType()
decodeTemporaryVariableType in interface IRReaderDecoderpublic StaticScope.Type decodeStaticScopeType()
decodeStaticScopeType in interface IRReaderDecoderpublic Operation decodeOperation()
decodeOperation in interface IRReaderDecoderpublic Operand decodeOperand()
decodeOperand in interface IRReaderDecoderpublic Variable decodeVariable()
decodeVariable in interface IRReaderDecoderpublic Operand[] decodeOperandArray()
decodeOperandArray in interface IRReaderDecoderpublic List<Operand> decodeOperandList()
decodeOperandList in interface IRReaderDecoderpublic OperandType decodeOperandType()
decodeOperandType in interface IRReaderDecoderpublic boolean decodeBoolean()
decodeBoolean in interface IRReaderDecoderpublic byte decodeByte()
decodeByte in interface IRReaderDecoderpublic char decodeChar()
decodeChar in interface IRReaderDecoderpublic int decodeInt()
decodeInt in interface IRReaderDecoderpublic int decodeIntRaw()
decodeIntRaw in interface IRReaderDecoderpublic long decodeLong()
decodeLong in interface IRReaderDecoderpublic double decodeDouble()
decodeDouble in interface IRReaderDecoderpublic float decodeFloat()
decodeFloat in interface IRReaderDecoderpublic IRScope decodeScope()
decodeScope in interface IRReaderDecoderpublic Signature decodeSignature()
decodeSignature in interface IRReaderDecoderpublic void seek(int headersOffset)
seek in interface IRReaderDecoderpublic Operand decode(OperandType type)
Copyright © 2001-2015 JRuby. All Rights Reserved.