forked from rrevenantt/antlr4rust
-
Notifications
You must be signed in to change notification settings - Fork 0
/
simplelrlistener.rs
29 lines (27 loc) · 965 Bytes
/
simplelrlistener.rs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#![allow(nonstandard_style)]
// Generated from SimpleLR.g4 by ANTLR 4.8
use super::simplelrparser::*;
use antlr_rust::tree::ParseTreeListener;
pub trait SimpleLRListener<'input>: ParseTreeListener<'input, SimpleLRParserContextType> {
/**
* Enter a parse tree produced by {@link SimpleLRParser#s}.
* @param ctx the parse tree
*/
fn enter_s(&mut self, _ctx: &SContext<'input>) {}
/**
* Exit a parse tree produced by {@link SimpleLRParser#s}.
* @param ctx the parse tree
*/
fn exit_s(&mut self, _ctx: &SContext<'input>) {}
/**
* Enter a parse tree produced by {@link SimpleLRParser#a}.
* @param ctx the parse tree
*/
fn enter_a(&mut self, _ctx: &AContext<'input>) {}
/**
* Exit a parse tree produced by {@link SimpleLRParser#a}.
* @param ctx the parse tree
*/
fn exit_a(&mut self, _ctx: &AContext<'input>) {}
}
antlr_rust::coerce_from! { 'input : SimpleLRListener<'input> }