Lines Matching full:plain
157 return function(view, plain)
158 if plain == true then return view end
165 return plain == false and assert(read_file(path)) or read_file(path) or view
326 function template.precompile(view, path, strip, plain)
327 local chunk = dump(template.compile(view, nil, plain), strip ~= false)
344 function template.compile(view, cache_key, plain)
345 assert(view, "view was not provided for template.compile(view, cache_key, plain)")
347 return load_chunk(template.parse(view, plain)), false
352 local func = load_chunk(template.parse(view, plain))
365 function template.parse(view, plain)
366 assert(view, "view was not provided for template.parse(view, plain)")
367 if plain ~= true then
368 view = template.load(view, plain)
598 function template.process(view, context, cache_key, plain)
599 assert(view, "view was not provided for template.process(view, context, cache_key, plain)")
600 return template.compile(view, cache_key, plain)(context)
613 function template.render(view, context, cache_key, plain)
614 assert(view, "view was not provided for template.render(view, context, cache_key, plain)")
615 template.print(template.process(view, context, cache_key, plain))