pub trait ParseTreeListener {
// Provided methods
fn enter_every_rule(
&mut self,
_ctx: RuleNodeView<'_>,
) -> Result<(), AntlrError> { ... }
fn exit_every_rule(
&mut self,
_ctx: RuleNodeView<'_>,
) -> Result<(), AntlrError> { ... }
fn visit_terminal(
&mut self,
_node: TerminalNodeView<'_>,
) -> Result<(), AntlrError> { ... }
fn visit_error_node(
&mut self,
_node: ErrorNodeView<'_>,
) -> Result<(), AntlrError> { ... }
}Provided Methods§
fn enter_every_rule(&mut self, _ctx: RuleNodeView<'_>) -> Result<(), AntlrError>
fn exit_every_rule(&mut self, _ctx: RuleNodeView<'_>) -> Result<(), AntlrError>
fn visit_terminal( &mut self, _node: TerminalNodeView<'_>, ) -> Result<(), AntlrError>
fn visit_error_node( &mut self, _node: ErrorNodeView<'_>, ) -> Result<(), AntlrError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".