Copyright | (c) Microsoft |
---|---|
License | MIT |
Maintainer | adamsap@microsoft.com |
Stability | provisional |
Portability | portable |
Safe Haskell | None |
Language | Haskell98 |
This module provides functionality necessary to parse Bond schema definition language.
Parser
:: String | source name, used only for error messages |
-> String | content of a schema file to parse |
-> FilePath | path of the file being parsed, used to resolve relative import paths |
-> ImportResolver | function to resolve and load imported files |
-> IO (Either (ParseError Char Void) Bond) | function returns |
Parses content of a schema definition file.
type ImportResolver Source #