Copyright | (c) Sebastian Witte |
---|---|
License | Apache-2.0 |
Maintainer | woozletoff@gmail.com |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
Neovim.API.Parser
Description
- 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 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
data NeovimType Source #
Constructors
SimpleType String | |
NestedType NeovimType (Maybe Int) | |
Void |
Instances