View Source template_compiler_scanner (template_compiler v2.9.0)

Template language scanner

Link to this section Summary

Functions

Scan the template string T and return the a token list or an error.

Link to this section Types

-type template() :: string() | binary().
-type tokens() :: [tuple()].

Link to this section Functions

-spec scan(template()) -> {ok, tokens()} | {error, binary()}.
Scan the template string T and return the a token list or an error.
Link to this function

scan(SourceRef, Template)

View Source