src/Leevel/View/Parser.php
protected function registerCompiler(string $type, string $name, string $tag): void
    {
        $this->compilers[$type][$name] = $tag;
    }
protected function registerCompiler(string $type, string $name, string $tag): void
    {
        $this->compilers[$type][$name] = $tag;
    }
注册编译器 code 和 node 编译器注册.

@param string $type
@param string $name
@param string $tag