View Source Dragon.Template.Evaluate (dragon v1.0.1)

Core heart of evaluating EEX Templates.

Although Dragon is a standalone genserver for its data, we still try to push the Dragon struct on the current processes' stack to keep data movement to a minimum, and bring it in again with Dragon.get() only when we've lost the context (such as when called from within a template's helper functions).

Link to this section Summary

Link to this section Functions

Link to this function

abort_nofile_error(template, path, lineno, msg)

View Source
Link to this function

evaluate(read_result, type, dragon, args \\ [])

View Source
Link to this function

handle_non_template(pass, target)

View Source
Link to this function

include_file(path, d, _, args)

View Source
Link to this function

posteval(d, headers, origin, content)

View Source
Link to this function

processing(file, layout \\ nil)

View Source