Webrexp-1.0: Regexp-like engine to scrap web data

Webrexp.Eval

Contents

Synopsis

Functions

evalAction :: GraphWalker node rezPath => ActionExpr -> Maybe (EvalState node rezPath) -> WebCrawler node rezPath (ActionValue, Maybe (EvalState node rezPath))Source

Evaluate embedded action in WebRexp

evalWebRexpFor :: GraphWalker node rezPath => WebRexp -> EvalState node rezPath -> WebCrawler node rezPath (Bool, [EvalState node rezPath])Source

Evaluate the leaf nodes of a webrexp, this way the code can be shared between the Breadth first evaluator and the Depth first one.