    /**
     * {{ doc_lines }}
     *
     * @param {{ context_type }} $context Visitor context information
{{ param_docs }}
     * @return {{ result_type }} How to proceed with traversal
     */
    public function {{ method_name }}({{ context_type }} $context{% if method_params %}, {{ method_params }}{% endif %}): {{ result_type }};
