| Copyright | (c) Christian Gram Kalhauge 2018 |
|---|---|
| License | MIT |
| Maintainer | kalhuage@cs.ucla.edu |
| Safe Haskell | Safe |
| Language | Haskell2010 |
Language.JVM.Type
Description
This module contains the JType, ClassName, MethodDescriptor, and
FieldDescriptor.
- newtype ClassName = ClassName {}
- strCls :: String -> ClassName
- dotCls :: Text -> ClassName
- data JType
- data JBaseType
- data MethodDescriptor = MethodDescriptor {}
- newtype FieldDescriptor = FieldDescriptor {}
- data NameAndType a = NameAndType {
- ntName :: Text
- ntDescriptor :: a
- (<:>) :: Text -> a -> NameAndType a
- class TypeParse a where
Base types
ClassName
A class name
Constructors
| ClassName | |
Fields | |
strCls :: String -> ClassName Source #
Wrapper method that converts a string representation of a class into a class.
JType
The JVM types
The Jvm Primitive Types
MethodDescriptor
data MethodDescriptor Source #
Method Descriptor
Constructors
| MethodDescriptor | |
Fields | |
Instances
FieldDescriptor
NameAndType
data NameAndType a Source #
A name and a type
Constructors
| NameAndType | |
Fields
| |
Instances
| Eq a => Eq (NameAndType a) Source # | |
| Ord a => Ord (NameAndType a) Source # | |
| Show a => Show (NameAndType a) Source # | |
| TypeParse t => IsString (NameAndType t) Source # | |
| Generic (NameAndType a) Source # | |
| NFData a => NFData (NameAndType a) Source # | |
| TypeParse t => TypeParse (NameAndType t) Source # | |
| TypeParse a => Referenceable (NameAndType a) Source # | |
| type Rep (NameAndType a) Source # | |
(<:>) :: Text -> a -> NameAndType a Source #