module JUnparse:sig..end
Unparsing (compilation) of either high or low level class representations into class files.
Provided constants are kept unchanged. Missing constant are added at the end of the constant pool if needed.
val unparse_class_low_level : 'a JLib.IO.output -> JClassLow.jclass -> unitUnparses a class to a file. See JInstruction.code2opcodes for more
information.
JParseCode.OpcodeLengthError if an opcode cannot be encoded in the
allocated place.val unparse_class : 'a JLib.IO.output -> JCode.jcode JClass.interface_or_class -> unitUnparses a class to a file. See JInstruction.code2opcodes for more
information.
JParseCode.OpcodeLengthError if an opcode cannot be encoded in the
allocated place.val unparse_attribute_to_strings : JBasics.constant JLib.DynArray.t -> JClassLow.attribute -> string * stringUnparses an attribute to a couple (name, content) where name
is the code-name of the attribute and content as encoded in a
.class file.