    /**
     * {{ doc_lines }}
     *
     * @param NodeContext $context Node context information (type, depth, path, etc.)
{{ param_docs }}
     * @return VisitResult How to proceed with traversal (Continue, Skip, or Custom output)
     */
    public function {{ method_name }}(NodeContext $context{% if method_params %}, {{ method_params }}{% endif %}): VisitResult;
