Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data BuiltinType Source #
Instances
Eq BuiltinType Source # | |
Defined in Apigen.Types (==) :: BuiltinType -> BuiltinType -> Bool # (/=) :: BuiltinType -> BuiltinType -> Bool # | |
Show BuiltinType Source # | |
Defined in Apigen.Types showsPrec :: Int -> BuiltinType -> ShowS # show :: BuiltinType -> String # showList :: [BuiltinType] -> ShowS # | |
ToJSON BuiltinType Source # | |
Defined in Apigen.Types toJSON :: BuiltinType -> Value # toEncoding :: BuiltinType -> Encoding # toJSONList :: [BuiltinType] -> Value # toEncodingList :: [BuiltinType] -> Encoding # omitField :: BuiltinType -> Bool # | |
FromJSON BuiltinType Source # | |
Defined in Apigen.Types parseJSON :: Value -> Parser BuiltinType # parseJSONList :: Value -> Parser [BuiltinType] # |
Typename lexeme | |
TypeDecl lexeme | |
BuiltinType BuiltinType | |
ConstType (Decl lexeme) | |
PointerType lexeme | |
ConstPointerType lexeme | |
CallbackType lexeme | |
ArrayType BuiltinType | |
ConstArrayType BuiltinType | |
UserArrayType lexeme | |
SizedArrayType (Decl lexeme) (Decl lexeme) | |
ClassDecl lexeme [Decl lexeme] | |
Namespace [Text] [Decl lexeme] | |
CallbackTypeDecl lexeme [Decl lexeme] | |
IdTypeDecl lexeme | |
Constructor lexeme [Decl lexeme] | |
Destructor lexeme [Decl lexeme] | |
Method Constness (Decl lexeme) lexeme [Decl lexeme] | |
Property lexeme (Decl lexeme) | |
ValueProp (Decl lexeme) (Maybe (Decl lexeme)) (Maybe (Decl lexeme)) | |
ArrayProp (Decl lexeme) (Maybe (Decl lexeme)) (Maybe (Decl lexeme)) (Maybe (Decl lexeme)) | |
Function (Decl lexeme) lexeme [Decl lexeme] | |
Define lexeme | |
Var (Decl lexeme) lexeme | |
Ref lexeme | |
IntVal lexeme | |
Paren (Decl lexeme) | |
Abs (Decl lexeme) | |
Max (Decl lexeme) (Decl lexeme) | |
Add (Decl lexeme) (Decl lexeme) | |
Sub (Decl lexeme) (Decl lexeme) | |
Mul (Decl lexeme) (Decl lexeme) | |
Div (Decl lexeme) (Decl lexeme) | |
EnumMember lexeme | |
Enumeration [Generated] lexeme [Decl lexeme] |
Instances
Functor Decl Source # | |
Foldable Decl Source # | |
Defined in Apigen.Types fold :: Monoid m => Decl m -> m # foldMap :: Monoid m => (a -> m) -> Decl a -> m # foldMap' :: Monoid m => (a -> m) -> Decl a -> m # foldr :: (a -> b -> b) -> b -> Decl a -> b # foldr' :: (a -> b -> b) -> b -> Decl a -> b # foldl :: (b -> a -> b) -> b -> Decl a -> b # foldl' :: (b -> a -> b) -> b -> Decl a -> b # foldr1 :: (a -> a -> a) -> Decl a -> a # foldl1 :: (a -> a -> a) -> Decl a -> a # elem :: Eq a => a -> Decl a -> Bool # maximum :: Ord a => Decl a -> a # | |
Traversable Decl Source # | |
Eq lexeme => Eq (Decl lexeme) Source # | |
Show lexeme => Show (Decl lexeme) Source # | |
ToJSON lexeme => ToJSON (Decl lexeme) Source # | |
FromJSON lexeme => FromJSON (Decl lexeme) Source # | |
Defined in Apigen.Types |
Instances
Functor Module Source # | |
Foldable Module Source # | |
Defined in Apigen.Types fold :: Monoid m => Module m -> m # foldMap :: Monoid m => (a -> m) -> Module a -> m # foldMap' :: Monoid m => (a -> m) -> Module a -> m # foldr :: (a -> b -> b) -> b -> Module a -> b # foldr' :: (a -> b -> b) -> b -> Module a -> b # foldl :: (b -> a -> b) -> b -> Module a -> b # foldl' :: (b -> a -> b) -> b -> Module a -> b # foldr1 :: (a -> a -> a) -> Module a -> a # foldl1 :: (a -> a -> a) -> Module a -> a # elem :: Eq a => a -> Module a -> Bool # maximum :: Ord a => Module a -> a # minimum :: Ord a => Module a -> a # | |
Traversable Module Source # | |
Show lexeme => Show (Module lexeme) Source # | |
ToJSON lexeme => ToJSON (Module lexeme) Source # | |
FromJSON lexeme => FromJSON (Module lexeme) Source # | |
Defined in Apigen.Types |
Instances
Functor Model Source # | |
Foldable Model Source # | |
Defined in Apigen.Types fold :: Monoid m => Model m -> m # foldMap :: Monoid m => (a -> m) -> Model a -> m # foldMap' :: Monoid m => (a -> m) -> Model a -> m # foldr :: (a -> b -> b) -> b -> Model a -> b # foldr' :: (a -> b -> b) -> b -> Model a -> b # foldl :: (b -> a -> b) -> b -> Model a -> b # foldl' :: (b -> a -> b) -> b -> Model a -> b # foldr1 :: (a -> a -> a) -> Model a -> a # foldl1 :: (a -> a -> a) -> Model a -> a # elem :: Eq a => a -> Model a -> Bool # maximum :: Ord a => Model a -> a # minimum :: Ord a => Model a -> a # | |
Traversable Model Source # | |
Show lexeme => Show (Model lexeme) Source # | |
ToJSON lexeme => ToJSON (Model lexeme) Source # | |
FromJSON lexeme => FromJSON (Model lexeme) Source # | |
Defined in Apigen.Types |