| Copyright | (c) Christian Gram Kalhauge 2017 |
|---|---|
| License | MIT |
| Maintainer | kalhuage@cs.ucla.edu |
| Safe Haskell | None |
| Language | Haskell2010 |
Language.JVM.Attribute
Contents
Description
This is the main module for accessing all kinds of Attributes.
- module Language.JVM.Attribute.Base
- data BootstrapMethods r
- data Code r
- data ConstantValue r
- data Exceptions r
- data LineNumberTable r
- data StackMapTable r
- data Signature a
Documentation
module Language.JVM.Attribute.Base
Subattributes
data BootstrapMethods r Source #
Is a list of bootstrapped methods.
Instances
| Staged BootstrapMethods Source # | |
| Eq (BootstrapMethods High) Source # | |
| Eq (BootstrapMethods Low) Source # | |
| Ord (BootstrapMethods Low) Source # | |
| Show (BootstrapMethods High) Source # | |
| Show (BootstrapMethods Low) Source # | |
| Generic (BootstrapMethods High) Source # | |
| Generic (BootstrapMethods Low) Source # | |
| Binary (BootstrapMethods Low) Source # | |
| NFData (BootstrapMethods High) Source # | |
| NFData (BootstrapMethods Low) Source # | |
| IsAttribute (BootstrapMethods Low) Source # |
|
| type Rep (BootstrapMethods High) Source # | |
| type Rep (BootstrapMethods Low) Source # | |
Code contains the actual byte-code. The i type parameter is added to
allow indicate the two stages of the code file, before and after access to
the ConstantPool. i should be either Ref or Deref.
Instances
| Staged Code Source # | |
| Eq (Code High) Source # | |
| Eq (Code Low) Source # | |
| Ord (Code Low) Source # | |
| Show (Code High) Source # | |
| Show (Code Low) Source # | |
| Generic (Code High) Source # | |
| Generic (Code Low) Source # | |
| Binary (Code Low) Source # | |
| NFData (Code High) Source # | |
| NFData (Code Low) Source # | |
| IsAttribute (Code Low) Source # |
|
| type Rep (Code High) Source # | |
| type Rep (Code Low) Source # | |
data ConstantValue r Source #
A constant value is just a index into the constant pool.
Instances
| Staged ConstantValue Source # | |
| Eq (ConstantValue High) Source # | |
| Eq (ConstantValue Low) Source # | |
| Ord (ConstantValue Low) Source # | |
| Show (ConstantValue High) Source # | |
| Show (ConstantValue Low) Source # | |
| Generic (ConstantValue High) Source # | |
| Generic (ConstantValue Low) Source # | |
| Binary (ConstantValue Low) Source # | |
| NFData (ConstantValue High) Source # | |
| NFData (ConstantValue Low) Source # | |
| IsAttribute (ConstantValue Low) Source # |
|
| type Rep (ConstantValue High) Source # | |
| type Rep (ConstantValue Low) Source # | |
data Exceptions r Source #
An Exceptions attribute is a list of references into the constant pool.
Instances
| Staged Exceptions Source # | |
| Eq (Exceptions High) Source # | |
| Eq (Exceptions Low) Source # | |
| Ord (Exceptions Low) Source # | |
| Show (Exceptions High) Source # | |
| Show (Exceptions Low) Source # | |
| Generic (Exceptions High) Source # | |
| Generic (Exceptions Low) Source # | |
| Binary (Exceptions Low) Source # | |
| NFData (Exceptions High) Source # | |
| NFData (Exceptions Low) Source # | |
| IsAttribute (Exceptions Low) Source # |
|
| type Rep (Exceptions High) Source # | |
| type Rep (Exceptions Low) Source # | |
data LineNumberTable r Source #
The LineNumberTable is just a mapping from offsets to linenumbers.
Instances
| ByteCodeStaged LineNumberTable Source # | |
| Eq (LineNumberTable r) Source # | |
| Ord (LineNumberTable r) Source # | |
| Show (LineNumberTable r) Source # | |
| Generic (LineNumberTable r) Source # | |
| Binary (LineNumberTable Low) Source # | |
| NFData (LineNumberTable r) Source # | |
| IsAttribute (LineNumberTable Low) Source # |
|
| type Rep (LineNumberTable r) Source # | |
data StackMapTable r Source #
An Exceptions attribute is a list of references into the constant pool.
Instances
| ByteCodeStaged StackMapTable Source # | |
| Eq (StackMapTable High) Source # | |
| Eq (StackMapTable Low) Source # | |
| Ord (StackMapTable Low) Source # | |
| Show (StackMapTable High) Source # | |
| Show (StackMapTable Low) Source # | |
| Generic (StackMapTable High) Source # | |
| Generic (StackMapTable Low) Source # | |
| Binary (StackMapTable Low) Source # | |
| NFData (StackMapTable High) Source # | |
| NFData (StackMapTable Low) Source # | |
| IsAttribute (StackMapTable Low) Source # |
|
| type Rep (StackMapTable High) Source # | |
| type Rep (StackMapTable Low) Source # | |
Instances
| Staged Signature Source # | |
| Eq (Signature High) Source # | |
| Eq (Signature Low) Source # | |
| Ord (Signature Low) Source # | |
| Show (Signature High) Source # | |
| Show (Signature Low) Source # | |
| Generic (Signature High) Source # | |
| Generic (Signature Low) Source # | |
| Binary (Signature Low) Source # | |
| NFData (Signature High) Source # | |
| NFData (Signature Low) Source # | |
| IsAttribute (Signature Low) Source # | |
| type Rep (Signature High) Source # | |
| type Rep (Signature Low) Source # | |