|
|
|
|
| Synopsis |
|
|
|
| Documentation |
|
| module Text.HTML.TagSoup |
|
|
| The Tag parser, using Tag as the token.
|
|
|
| A type represent the TagOpen, any inner tags , and the TagClose.
|
|
|
| Used to invoke parsing of Tags.
|
|
|
| openTag matches a TagOpen with the given name. It is not case sensitive.
|
|
|
| maybeOpenTag will return Just the tag if it gets a TagOpen with he given name,
It will return Nothing otherwise.
It is not case sensitive.
|
|
|
| notOpenTag will match any tag which is not a TagOpen with the given name. It is not case sensitive.
|
|
|
| allOpenTags will return all TagOpen with the given name.
It is not case sensitive.
|
|
|
| wholeTag matches a TagOpen with the given name,
then all intervening tags,
until it reaches a TagClose with the given name.
It is not case sensitive.
|
|
|
| maybeWholeTag will return Just the tag if it gets a WholeTag with he given name,
It will return Nothing otherwise.
It is not case sensitive.
|
|
|
| allWholeTags will return all WholeTag with the given name.
It is not case sensitive.
|
|
|
| closeTag matches a TagClose with the given name. It is not case sensitive.
|
|
|
| maybeCloseTag will return Just the tag if it gets a TagClose with he given name,
It will return Nothing otherwise.
It is not case sensitive.
|
|
|
| notCloseTag will match any tag which is not a TagClose with the given name. It is not case sensitive.
|
|
|
| allCloseTags will return all TagClose with the given name.
It is not case sensitive.
|
|
|
| maybeP takes a parser, and becomes its Maybe equivalent -- returning Just if it matches, and Nothing if it doesn't.
|
|
|
| allP takes a parser which returns a Maybe value, and returns a list of matching tokens.
|
|
| Produced by Haddock version 2.4.2 |