StreamDumperVisitorTo easily debug the structure and output of the AST, you can use the StreamDumperVisitor visitor. use TypeLang\Parser\Traverser; Traverser::new([new Traverser\StreamDumperVisitor()]) ->traverse([$result]); 03 February 2025ClassNameMatcherVisitorStringDumperVisitor