View Source erlquery (erlquery v0.4.0)

Link to this section Summary

Link to this section Types

-type config() :: #config{}.
-type erlq_behaviour() :: iodata().
-type erlq_behaviours() :: [erlq_behaviour()].
-type erlq_method() :: {iodata(), iodata()}.
-type erlq_methods() :: [erlq_method()].
-type erlq_module() :: iodata() | undefined.
-type erlq_query() :: {iodata(), iodata(), iodata()} | undefined.
-type erlq_value() :: erlq_module() | erlq_query() | erlq_methods().

Link to this section Functions

-spec codegen(config()) -> {ok, erl_parse:abstract_form()} | {error, {atom(), erlq_value()}}.
-spec parse(iodata()) -> {ok, config()} | {error, any()}.