Package org.jruby.ir.persistence
Interface IRReaderDecoder
- All Known Implementing Classes:
IRReaderStream
public interface IRReaderDecoder
-
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
byte
byte[]
char
double
org.jcodings.Encoding
float
decodeInstructionsAt
(IRScope scope, int poolOffset, int instructionOffset) int
int[]
int
Label[]
long
Operand[]
String[]
dup()
Duplicate this decoder to isolate any state changes.getVars()
void
seek
(int headersOffset)
-
Method Details
-
decodeString
String decodeString() -
decodeStringArray
String[] decodeStringArray() -
decodeIntArray
int[] decodeIntArray() -
decodeInstr
Instr decodeInstr() -
decodeIRScopeType
IRScopeType decodeIRScopeType() -
decodeStaticScopeType
StaticScope.Type decodeStaticScopeType() -
decodeOperation
Operation decodeOperation() -
decodeOperand
Operand decodeOperand() -
decodeOperandList
-
decodeLabel
Label decodeLabel() -
decodeLabelArray
Label[] decodeLabelArray() -
decodeOperandArray
Operand[] decodeOperandArray() -
decodeOperandType
OperandType decodeOperandType() -
decodeBoolean
boolean decodeBoolean() -
decodeByte
byte decodeByte() -
decodeByteArray
byte[] decodeByteArray() -
decodeEncoding
org.jcodings.Encoding decodeEncoding() -
decodeByteList
ByteList decodeByteList() -
decodeChar
char decodeChar() -
decodeInt
int decodeInt() -
decodeIntRaw
int decodeIntRaw() -
decodeLong
long decodeLong() -
decodeDouble
double decodeDouble() -
decodeFloat
float decodeFloat() -
decodeRubyEvent
RubyEvent decodeRubyEvent() -
decodeSymbol
RubySymbol decodeSymbol() -
decodeSignature
Signature decodeSignature() -
decodeIRFlags
-
decodeVariable
Variable decodeVariable() -
decodeInstructionsAt
-
getCurrentScope
IRScope getCurrentScope() -
getVars
-
addScope
-
seek
void seek(int headersOffset) -
decodeScope
IRScope decodeScope() -
decodeTemporaryVariableType
TemporaryVariableType decodeTemporaryVariableType() -
getFilename
String getFilename() -
dup
IRReaderDecoder dup()Duplicate this decoder to isolate any state changes.- Returns:
- An identical decoder that's isolated from the original
-