Package org.jruby.ir.persistence
Class IRReader
java.lang.Object
org.jruby.ir.persistence.IRReader
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final intstatic final intstatic final intstatic final bytestatic final bytestatic final intstatic final intstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IRScopecreateScope(IRManager manager, IRScopeType type, ByteList byteName, String file, int line, IRScope lexicalParent, Signature signature, StaticScope staticScope) static IRScopeload(IRManager manager, IRReaderDecoder file)
-
Field Details
-
VERSION
static final int VERSION- See Also:
-
TWO_MEGS
static final int TWO_MEGS- See Also:
-
PRIMITIVE_BASE
static final int PRIMITIVE_BASE -
STRING
static final byte STRING -
TRUE
static final byte TRUE- See Also:
-
FALSE
static final byte FALSE- See Also:
-
ARRAY
static final byte ARRAY -
NULL
static final byte NULL -
INSTR
static final byte INSTR -
LONG
static final byte LONG -
FLOAT
static final byte FLOAT -
DOUBLE
static final byte DOUBLE -
FULL
static final byte FULL- See Also:
-
PROLOGUE_LENGTH
static final int PROLOGUE_LENGTH- See Also:
-
NULL_STRING
static final int NULL_STRING- See Also:
-
USASCII
static final int USASCII- See Also:
-
UTF8
static final int UTF8- See Also:
-
-
Constructor Details
-
IRReader
public IRReader()
-
-
Method Details
-
load
- Throws:
IOException
-
createScope
public static IRScope createScope(IRManager manager, IRScopeType type, ByteList byteName, String file, int line, IRScope lexicalParent, Signature signature, StaticScope staticScope)
-