Module erlydtl_scanner

Template language scanner.

Copyright 2008 Roberto Saccon, Evan Miller

Introduced in: 2007-11-11 by Roberto Saccon, Evan Miller ------------------------------------------------------------------- ------------------------------------------------------------------- Adapted and expanded for Zotonic by Marc Worrell <marc@worrell.nl> -------------------------------------------------------------------

Authors: Roberto Saccon (rsaccon@gmail.com) [web site: http://rsaccon.com], Evan Miller (emmiller@gmail.com).

Description

Template language scanner

Data Types

template()

template() = string() | binary()

Template to parse

tokens()

tokens() = [tuple()]

Function Index

scan/1Scan the template string T and return the a token list or an error.
scan/2

Function Details

scan/1

scan(T::template()) -> {ok, S::tokens()} | {error, Reason}

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

scan/2

scan(SourceRef, Template) -> any()


Generated by EDoc, Sep 23 2014, 21:32:22.