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

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(a, b, c, d)

View Source
Link to this function

evaluate(arg, arg2, d, args)

View Source
Link to this function

evaluate_template(dragon, path, template, env)

View Source
Link to this function

include_file(path, d, _, args, page \\ nil)

View Source
Link to this function

nofile_error(template, path, lineno, msg)

View Source
Link to this function

posteval(d, headers, origin, content)

View Source
Link to this function

processing(file, layout \\ nil)

View Source