pub trait ParseTreeListener {
// Provided methods
fn enter_every_rule(
&mut self,
_ctx: &ParserRuleContext,
) -> Result<(), AntlrError> { ... }
fn exit_every_rule(
&mut self,
_ctx: &ParserRuleContext,
) -> Result<(), AntlrError> { ... }
fn visit_terminal(&mut self, _node: &TerminalNode) -> Result<(), AntlrError> { ... }
fn visit_error_node(&mut self, _node: &ErrorNode) -> Result<(), AntlrError> { ... }
}