feat: Field and attribute parsing
This commit is contained in:
parent
62b537a93f
commit
f9fbedc87a
8 changed files with 136 additions and 7 deletions
|
@ -10,6 +10,7 @@ import Language.Java.Classfile.Flags (Flags)
|
|||
import Language.Java.Classfile.ClassFlag (ClassFlag)
|
||||
import Language.Java.Classfile.ConstantPool.References (ClassReference)
|
||||
import Language.Java.Classfile.Interfaces (Interfaces)
|
||||
import Language.Java.Classfile.Fields (Fields)
|
||||
|
||||
data Classfile = Classfile
|
||||
{ magic :: Magic
|
||||
|
@ -19,6 +20,7 @@ data Classfile = Classfile
|
|||
, this :: ClassReference
|
||||
, super :: ClassReference
|
||||
, interfaces :: Interfaces
|
||||
, fields :: Fields
|
||||
}
|
||||
deriving stock (Show, Generic)
|
||||
deriving Extractable via Generically Classfile
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue