function it_should_accept_a_visitor(VisitorInterface $visitor) { $visitor->visitCharacterClass($this)->shouldBeCalled(); $this->accept($visitor); }
function it_should_accept_a_visitor(VisitorInterface $visitor) { $visitor->visitNotAction($this)->shouldBeCalled(); $this->accept($visitor); }
function it_should_accept_a_visitor(VisitorInterface $visitor) { $visitor->visitRuleReference($this)->shouldBeCalled(); $this->accept($visitor); }