Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
- identifier :: Parser ID
- str :: Parser String
- textBlock :: Parser String
- inBraces :: Parser t -> Parser t
- attr :: Parser (String, String)
- attrs :: Parser Attributes
- idAndAttrsNode :: String -> (ID -> Attributes -> t) -> Parser t
- function :: Parser Node
- database :: Parser Node
- io :: Parser Node
- data FlowType
- arrow :: Parser FlowType
- flow :: Parser Flow
- node :: Parser Node
- boundary :: Parser RootNode
- rootNode :: Parser RootNode
- diagram :: Parser Diagram
- readDiagram :: String -> String -> Either ParseError Diagram
- readDiagramFile :: FilePath -> IO (Either ParseError Diagram)
Documentation
identifier :: Parser ID Source
idAndAttrsNode :: String -> (ID -> Attributes -> t) -> Parser t Source
Construct a parser for an node with an ID:
<keyword> <id> { ... }
readDiagram :: String -> String -> Either ParseError Diagram Source
readDiagramFile :: FilePath -> IO (Either ParseError Diagram) Source