public class IRReaderFile 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 |
PRIMITIVE_BASE |
static int |
PROLOGUE_LENGTH |
static byte |
STRING |
static byte |
TRUE |
static int |
TWO_MEGS |
| Constructor and Description |
|---|
IRReaderFile(IRManager manager,
File file) |
| Modifier and Type | Method and Description |
|---|---|
void |
addScope(IRScope scope) |
boolean |
decodeBoolean() |
byte |
decodeByte() |
char |
decodeChar() |
double |
decodeDouble() |
float |
decodeFloat() |
Instr |
decodeInstr() |
List<Instr> |
decodeInstructionsAt(IRScope scope,
int offset) |
int |
decodeInt() |
int |
decodeIntRaw() |
IRScopeType |
decodeIRScopeType() |
long |
decodeLong() |
Operand |
decodeOperand() |
Operand[] |
decodeOperandArray() |
List<Operand> |
decodeOperandList() |
OperandType |
decodeOperandType() |
Operation |
decodeOperation() |
IRScope |
decodeScope() |
StaticScope.Type |
decodeStaticScopeType() |
String |
decodeString() |
String[] |
decodeStringArray() |
TemporaryVariableType |
decodeTemporaryVariableType() |
Variable |
decodeVariable() |
IRScope |
getCurrentScope() |
Map<String,Operand> |
getVars() |
void |
seek(int headersOffset) |
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 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 void seek(int headersOffset)
seek in interface IRReaderDecoderCopyright © 2001-2015 JRuby. All Rights Reserved.