definition:
|
varsOfStat :: CStatement -> [CVarIName]
varsOfStat (CSExpr e) = varsOfExp e
varsOfStat (CSPat p e) = varsOfPat p ++ varsOfExp e
varsOfStat (CSLet ld) = concatMap varsOfLDecl ld
|
demand:
|
argument 1
|
deterministic:
|
deterministic operation
|
documentation:
|
--- Returns list of all variables occurring in a statement.
--- Each occurrence corresponds to one element, i.e., the list might
--- contain multiple elements.
|
failfree:
|
_
|
indeterministic:
|
referentially transparent operation
|
infix:
|
no fixity defined
|
iotype:
|
{({CSExpr}) |-> _ || ({CSPat}) |-> _ || ({CSLet}) |-> _}
|
name:
|
varsOfStat
|
precedence:
|
no precedence defined
|
result-values:
|
_
|
signature:
|
AbstractCurry.Types.CStatement -> [(Prelude.Int, String)]
|
solution-complete:
|
operation might suspend on free variables
|
terminating:
|
possibly non-terminating
|
totally-defined:
|
reducible on all ground data terms
|