Module ecureuil_html

Data Types

attribute()

attribute() = {binary(), binary()}

html()

abstract datatype: html()

html_node()

html_node() = {binary(), [attribute()], [index()]}

index()

index() = non_neg_integer()

not_found()

not_found(Value) = {error, {not_found, Value}}

Function Index

all/1
attribute/2
class/2
id/2
identifier/2
index/2
parse/1

Function Details

all/1

all(X1::html()) -> [index()]

attribute/2

attribute(Node::html_node(), Attribute::string() | binary()) -> {ok, binary()} | {error, term()}

class/2

class(Raw::string() | binary(), Index::html()) -> [index()]

id/2

id(Raw::string() | binary(), Index::html()) -> [index()]

identifier/2

identifier(Raw::string() | binary(), Index::html()) -> [index()]

index/2

index(Index::index(), X2::html()) -> {ok, html_node()} | not_found(index())

parse/1

parse(Raw::binary() | string()) -> {ok, html()} | {error, term()}


Generated by EDoc