projects
/
hs-java.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add some docs.
[hs-java.git]
/
JVM
/
ClassFile.hs
diff --git
a/JVM/ClassFile.hs
b/JVM/ClassFile.hs
index 6171c1bdecffd3854bc85f5c1c7259dc63cc2f52..343d956d2c6bf0e9c32b1be822af194b2a9fd2bb 100644
(file)
--- a/
JVM/ClassFile.hs
+++ b/
JVM/ClassFile.hs
@@
-5,6
+5,7
@@
module JVM.ClassFile
(-- * About
-- $about
--
(-- * About
-- $about
--
+ --
-- * Internal class file structures
Attribute (..),
FieldType (..),
-- * Internal class file structures
Attribute (..),
FieldType (..),
@@
-25,6
+26,7
@@
module JVM.ClassFile
NameType (..),
fieldNameType, methodNameType,
lookupField, lookupMethod,
NameType (..),
fieldNameType, methodNameType,
lookupField, lookupMethod,
+ long,
toString,
className,
apsize, arsize, arlist
toString,
className,
apsize, arsize, arlist
@@
-459,6
+461,7
@@
whileJust m = do
return (x: next)
Nothing -> return []
return (x: next)
Nothing -> return []
+long :: Constant stage -> Bool
long (CLong _) = True
long (CDouble _) = True
long _ = False
long (CLong _) = True
long (CDouble _) = True
long _ = False