Home
last modified time | relevance | path

Searched refs:statement_re (Results 1 – 1 of 1) sorted by relevance

/external/chromium_org/native_client_sdk/src/build_tools/
Deasy_template.py17 def TemplateToPython(template, statement_re, expr_re): argument
22 m = statement_re.match(line)
62 def RunTemplate(srcfile, dstfile, template_dict, statement_re=None, argument
64 statement_re = statement_re or re.compile(STATEMENT_RE)
66 script = TemplateToPython(srcfile.read(), statement_re, expr_re)
72 def RunTemplateFile(srcpath, dstpath, template_dict, statement_re=None, argument
76 RunTemplate(srcfile, dstfile, template_dict, statement_re, expr_re)
93 def RunTemplateString(src, template_dict, statement_re=None, expr_re=None): argument
96 RunTemplate(srcstr, dststr, template_dict, statement_re, expr_re)