static string | add (Qore::Program p, string fn, string name, string src) |
| adds a template function to a template Program object More...
|
static string | getContentType (string name) |
| returns the content type from the file name, ignores any leading "q" in the extensions, assuming a template
|
| default parse options for template Programs
|
static bool | doBlock (string end, reference< string > src, string type, reference< int > i, reference< list< hash >> l) |
| a helper method used in parsing
|
static string | getCode (bool bare_refs, string fmt) |
| a helper method that strips dollar signs from code when PO_ALLOW_BARE_REFS is set in the template program
|