Package org.jruby.ir.persistence
Class IRReader
java.lang.Object
org.jruby.ir.persistence.IRReader
- All Implemented Interfaces:
IRPersistenceValues
-
Field Summary
Fields inherited from interface org.jruby.ir.persistence.IRPersistenceValues
ARRAY, DOUBLE, FALSE, FLOAT, FULL, INSTR, LONG, NULL, NULL_STRING, PRIMITIVE_BASE, PROLOGUE_LENGTH, STRING, TRUE, TWO_MEGS, USASCII, UTF8, VERSION -
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) private static IRScopedecodeScopeHeader(IRManager manager, IRReaderDecoder decoder, IRScopeType type, int line) private static StaticScopedecodeStaticScope(IRReaderDecoder decoder, StaticScope parentScope) static IRScopeload(IRManager manager, IRReaderDecoder file)
-
Constructor Details
-
IRReader
public IRReader()
-
-
Method Details
-
load
- Throws:
IOException
-
decodeScopeHeader
private static IRScope decodeScopeHeader(IRManager manager, IRReaderDecoder decoder, IRScopeType type, int line) -
decodeStaticScope
-
createScope
public static IRScope createScope(IRManager manager, IRScopeType type, ByteList byteName, String file, int line, IRScope lexicalParent, Signature signature, StaticScope staticScope)
-