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> { ... }
}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>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".