#![allow(nonstandard_style)] // Generated from VisitorCalc.g4 by ANTLR 4.8 use super::visitorcalcparser::*; use antlr_rust::tree::ParseTreeListener; pub trait VisitorCalcListener<'input>: ParseTreeListener<'input, VisitorCalcParserContextType> { /** * Enter a parse tree produced by {@link VisitorCalcParser#s}. * @param ctx the parse tree */ fn enter_s(&mut self, _ctx: &SContext<'input>) {} /** * Exit a parse tree produced by {@link VisitorCalcParser#s}. * @param ctx the parse tree */ fn exit_s(&mut self, _ctx: &SContext<'input>) {} /** * Enter a parse tree produced by the {@code add} * labeled alternative in {@link VisitorCalcParser#expr}. * @param ctx the parse tree */ fn enter_add(&mut self, _ctx: &AddContext<'input>) {} /** * Exit a parse tree produced by the {@code add} * labeled alternative in {@link VisitorCalcParser#expr}. * @param ctx the parse tree */ fn exit_add(&mut self, _ctx: &AddContext<'input>) {} /** * Enter a parse tree produced by the {@code number} * labeled alternative in {@link VisitorCalcParser#expr}. * @param ctx the parse tree */ fn enter_number(&mut self, _ctx: &NumberContext<'input>) {} /** * Exit a parse tree produced by the {@code number} * labeled alternative in {@link VisitorCalcParser#expr}. * @param ctx the parse tree */ fn exit_number(&mut self, _ctx: &NumberContext<'input>) {} /** * Enter a parse tree produced by the {@code multiply} * labeled alternative in {@link VisitorCalcParser#expr}. * @param ctx the parse tree */ fn enter_multiply(&mut self, _ctx: &MultiplyContext<'input>) {} /** * Exit a parse tree produced by the {@code multiply} * labeled alternative in {@link VisitorCalcParser#expr}. * @param ctx the parse tree */ fn exit_multiply(&mut self, _ctx: &MultiplyContext<'input>) {} } antlr_rust::coerce_from! { 'input : VisitorCalcListener<'input> }