Copyright | (c) Christian Maeder, DFKI GmbH 2010 |
---|---|
License | GPLv2 or higher, see LICENSE.txt |
Maintainer | Christian.Maeder@dfki.de |
Stability | provisional |
Portability | non-portable (via imports) |
Safe Haskell | None |
query strings
- ppList :: [String]
- displayTypes :: [String]
- comorphs :: [String]
- data NodeCmd
- nodeCmds :: [NodeCmd]
- showNodeCmd :: NodeCmd -> String
- nodeCommands :: [String]
- proveParams :: [String]
- edgeCommands :: [String]
- knownQueryKeys :: [String]
- data DGQuery
- data Query = Query {}
- type NodeIdOrName = Either Int String
- type QueryPair = (String, Maybe String)
- showQuery :: [QueryPair] -> String
- showPath :: [String] -> String
- showPathQuery :: [String] -> [QueryPair] -> String
- data QueryKind
- data ProverMode
- data ProveCmd = ProveCmd {}
- data NodeCommand
- anaUri :: [String] -> [QueryPair] -> [String] -> Either String Query
- isNat :: String -> Bool
- getSwitches :: [QueryPair] -> Either String ([QueryPair], [(String, Flag)])
- getArgFlags :: [QueryPair] -> IO (Either String ([QueryPair], [(String, String)], [Flag]))
- anaQuery :: [QueryPair] -> [String] -> Either String (Maybe Int, QueryKind)
- getIdOrName :: [QueryPair] -> [QueryPair] -> [QueryPair] -> NodeIdOrName
- escMap :: [(Char, Char)]
- escStr :: String -> String
- unEsc :: String -> String
- decodePlus :: Char -> Char
- decodeQuery :: String -> String
- getFragOfCode :: String -> String
- getFragment :: String -> String
- anaNodeQuery :: [String] -> NodeIdOrName -> [String] -> [String] -> [QueryPair] -> Either String QueryKind
Documentation
displayTypes :: [String]
showNodeCmd :: NodeCmd -> String
nodeCommands :: [String]
proveParams :: [String]
edgeCommands :: [String]
knownQueryKeys :: [String]
data DGQuery
type NodeIdOrName = Either Int String
showPathQuery :: [String] -> [QueryPair] -> String
data QueryKind
data ProveCmd
ProveCmd | |
|
data NodeCommand
anaUri :: [String] -> [QueryPair] -> [String] -> Either String Query
the path is not empty and leading slashes are removed
anaQuery :: [QueryPair] -> [String] -> Either String (Maybe Int, QueryKind)
a leading question mark is removed, possibly a session id is returned
getIdOrName :: [QueryPair] -> [QueryPair] -> [QueryPair] -> NodeIdOrName
decodePlus :: Char -> Char
decodeQuery :: String -> String
getFragOfCode :: String -> String
getFragment :: String -> String
anaNodeQuery :: [String] -> NodeIdOrName -> [String] -> [String] -> [QueryPair] -> Either String QueryKind