Home | Trees | Indices | Help |
---|
|
Parse a template into a parse-tree.
Includes a syntax-check, an optional expression-check and verbose error-messages.
See documentation for a description of the parse-tree.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
_block_end =
|
|||
_block_start =
|
|||
_comment_end =
|
|||
_comment_start =
|
|||
_e =
|
|||
_reBlock = re.compile(r'
|
|||
_reComment = re.compile(r'
|
|||
_reForParam = re.compile(r'^
|
|||
_reMacroParam = re.compile(r'^\w
|
|||
_reSubstitution = re.compile(r'
|
|||
_s =
|
|||
_strBlock =
|
|||
_strComment =
|
|||
_strForParam =
|
|||
_strSubstitution =
|
|||
_sub_end =
|
|||
_sub_start =
|
|||
_subesc_end =
|
|||
_subesc_start =
|
|
|||
Inherited from |
|
Init the parser. :Parameters:
:Exceptions:
|
Recursive part of `parse()`. :Parameters:
|
Parse substitutions, and append them to the parse-tree. Additionally, remove comments. |
Parse a template. :Parameters:
:Returns: the resulting parse-tree :Exceptions:
|
|
_reBlock
|
_reComment
|
_reForParam
|
_reSubstitution
|
_strBlock
|
_strForParam
|
_strSubstitution
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Wed Jun 12 09:10:10 2013 | http://epydoc.sourceforge.net |