@classmethod
    def compile(cls, node, filename):
        assert isinstance(node, Template), 'invalid node'
        compiler = cls(filename=filename)
        return compiler.visit(node)
The main entry point to the compiler.
dataset/ETHPy150Open nucleic/enaml/enaml/core/template_compiler.py/TemplateCompiler.compile