|
definition: |
applyLangParsers :: Either String ParserInfo
-> IO (PM [StandardToken])
-> IO (PM [StandardToken])
applyLangParsers model iotks = do
prtks <- iotks
prpr <- swapIOPM (liftPM (mapM (applyLangParser model)) prtks)
return (crumplePM (liftPM (\prpt -> sequencePM prpt) prpr))
|
|
demand: |
no demanded arguments |
|
deterministic: |
deterministic operation |
|
documentation: |
Applies the corresponding translators of the DSL to Curry on the
StandardTokens
@param model - data model information (required in case of SQL code),
otherwise an error message
@param iotks - The input StandardTokens wrapped in IO and ParserMonad
@result - The translated StandardTokens wrapped in IO and ParserMonad
|
|
failfree: |
<FAILING> |
|
indeterministic: |
might be indeterministic |
|
infix: |
no fixity defined |
|
iotype: |
{(_,_) |-> _}
|
|
name: |
applyLangParsers |
|
precedence: |
no precedence defined |
|
result-values: |
_ |
|
signature: |
Prelude.Either String CPP.ICode.Parser.SQL.ParserInfoType.ParserInfo -> Prelude.IO (CPP.ICode.ParseMonad.PM [CPP.ICode.ParseTypes.StandardToken]) -> Prelude.IO (CPP.ICode.ParseMonad.PM [CPP.ICode.ParseTypes.StandardToken]) |
|
solution-complete: |
operation might suspend on free variables |
|
terminating: |
possibly non-terminating |
|
totally-defined: |
possibly non-reducible on same data term |