1<?php 2 3declare(strict_types=1); 4 5namespace Antlr\Antlr4\Runtime\Tree; 6 7use Antlr\Antlr4\Runtime\ParserRuleContext; 8 9interface ParseTreeListener 10{ 11 public function visitTerminal(TerminalNode $node) : void; 12 13 public function visitErrorNode(ErrorNode $node) : void; 14 15 public function enterEveryRule(ParserRuleContext $ctx) : void; 16 17 public function exitEveryRule(ParserRuleContext $ctx) : void; 18} 19