CurryInfo: currypp-3.2.0 / CPP.ICode.Parser.SQL.Converter.parseSQL

definition: Info
 
parseSQL :: Bool -> Either String ParserInfo -> LangParser
parseSQL withrundb parserInfo pos code =
   case parserInfo of
     Left err -> return (throwPM pos err)
     Right pi -> processCompilation withrundb pi pos code
demand: Info
 argument 2
deterministic: Info
 deterministic operation
documentation: Info
 
Converts a string representing SQL-requests into functions defined
in the CDBI interface by calling the different stage of transformation.
@param withrundb - decorate target code with `runWithDB`
@param parserInfo - either the parser information or an error message
@param pos - Position of the integrated SQL-String in the orginal file
@param code - the SQL-request as string
@return A String in Curry-Syntax (CDBI-functions).
failfree: Info
 <FAILING>
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,{Left},_,_) |-> _ || (_,{Right},_,_) |-> _}
name: Info
 parseSQL
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 Prelude.Bool
-> Prelude.Either String CPP.ICode.Parser.SQL.ParserInfoType.ParserInfo
-> CPP.ICode.ParsePos.Pos -> String
-> Prelude.IO (CPP.ICode.ParseMonad.PM String)
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 possibly non-reducible on same data term