Copyright | (c) Christian Gram Kalhauge 2018 |
---|---|
License | MIT |
Maintainer | kalhuage@cs.ucla.edu |
Safe Haskell | None |
Language | Haskell2010 |
Based on the StackMapTable Attribute, as documented here.
Synopsis
- newtype StackMapTable r = StackMapTable {
- stackMapTable :: Choice (SizedList16 (StackMapFrame Low)) [StackMapFrame High] r
- type DeltaOffset i = Choice Word16 Int i
- data StackMapFrame r = StackMapFrame {
- deltaOffset :: DeltaOffset r
- frameType :: StackMapFrameType r
- data StackMapFrameType r
- emptyStackMapTable :: StackMapTable High
- data VerificationTypeInfo r
- = VTTop
- | VTInteger
- | VTFloat
- | VTLong
- | VTDouble
- | VTNull
- | VTUninitializedThis
- | VTObject !(Ref JRefType r)
- | VTUninitialized !(ByteCodeRef r)
- offsetDelta :: Word16 -> Word16 -> Word16
- offsetDeltaInv :: Word16 -> Word16 -> Word16
Documentation
newtype StackMapTable r Source #
An Exceptions attribute is a list of references into the constant pool.
Instances
data StackMapFrame r Source #
An stack map frame
Instances
data StackMapFrameType r Source #
An stack map frame type
Instances
data VerificationTypeInfo r Source #
The types info of the stack map frame.
VTTop | |
VTInteger | |
VTFloat | |
VTLong | |
VTDouble | |
VTNull | |
VTUninitializedThis | |
VTObject !(Ref JRefType r) | |
VTUninitialized !(ByteCodeRef r) | This |