MCPcopy Create free account
hub / github.com/webpy/webpy / create_parser

Method create_parser

web/template.py:1004–1008  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1002 generate_code = staticmethod(generate_code)
1003
1004 def create_parser(self):
1005 p = Parser()
1006 for ext in self.extensions:
1007 p = ext(p)
1008 return p
1009
1010 def compile_template(self, template_string, filename):
1011 code = Template.generate_code(

Callers 1

compile_templateMethod · 0.95

Calls 1

ParserClass · 0.70

Tested by

no test coverage detected