| Copyright | (c) Sebastian Witte |
|---|---|
| License | Apache-2.0 |
| Maintainer | woozletoff@gmail.com |
| Stability | experimental |
| Safe Haskell | None |
| Language | Haskell2010 |
Neovim.API.Parser
Description
Synopsis
- data NeovimAPI = NeovimAPI {
- errorTypes :: [(String, Int64)]
- customTypes :: [(String, Int64)]
- functions :: [NeovimFunction]
- data NeovimFunction = NeovimFunction {
- name :: String
- parameters :: [(NeovimType, String)]
- canFail :: Bool
- async :: Bool
- returnType :: NeovimType
- data NeovimType
- = SimpleType String
- | NestedType NeovimType (Maybe Int)
- | Void
- parseAPI :: IO (Either (Doc AnsiStyle) NeovimAPI)
Documentation
This data type represents the top-level structure of the nvim --api-info
output.
Constructors
| NeovimAPI | |
Fields
| |
data NeovimFunction Source #
This data type contains simple information about a function as received
throudh the nvim --api-info command.
Constructors
| NeovimFunction | |
Fields
| |
Instances
| Show NeovimFunction Source # | |
Defined in Neovim.API.Parser Methods showsPrec :: Int -> NeovimFunction -> ShowS # show :: NeovimFunction -> String # showList :: [NeovimFunction] -> ShowS # | |
data NeovimType Source #
Constructors
| SimpleType String | |
| NestedType NeovimType (Maybe Int) | |
| Void |
Instances
| Eq NeovimType Source # | |
Defined in Neovim.API.Parser | |
| Show NeovimType Source # | |
Defined in Neovim.API.Parser Methods showsPrec :: Int -> NeovimType -> ShowS # show :: NeovimType -> String # showList :: [NeovimType] -> ShowS # | |