CurryInfo: smtlib-3.0.0 / Language.SMTLIB.Parser.parseAttribute

definition:
parseAttribute :: SMTParser SMT.Attribute
parseAttribute = Parser $ \tokens -> case tokens of
  []                             -> (runParser eof) tokens
  Colon : (Id s : (RParen : ts)) -> Right (RParen : ts, SMT.AKW (SMT.KW s))
  Colon : (Id s           : ts)  -> (runParser (return (SMT.AVal (SMT.KW s))
                                      <*> parseAttrValue)) ts
  t                       : ts   -> (runParser (unexpected t)) ts
demand:
no demanded arguments
deterministic:
deterministic operation
documentation:
--- parser for attributes
failfree:
()
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{() |-> _}
name:
parseAttribute
precedence:
no precedence defined
result-values:
_
signature:
ParserComb.Parser Language.SMTLIB.Scanner.Token Language.SMTLIB.Types.Attribute
solution-complete:
operation might suspend on free variables
terminating:
possibly non-terminating
totally-defined:
possibly non-reducible on same data term