-
Notifications
You must be signed in to change notification settings - Fork 70
/
labelslistener.rs
103 lines (101 loc) · 3.57 KB
/
labelslistener.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
#![allow(nonstandard_style)]
// Generated from Labels.g4 by ANTLR 4.8
use super::labelsparser::*;
use antlr_rust::tree::ParseTreeListener;
pub trait LabelsListener<'input>: ParseTreeListener<'input, LabelsParserContextType> {
/**
* Enter a parse tree produced by {@link LabelsParser#s}.
* @param ctx the parse tree
*/
fn enter_s(&mut self, _ctx: &SContext<'input>) {}
/**
* Exit a parse tree produced by {@link LabelsParser#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 LabelsParser#e}.
* @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 LabelsParser#e}.
* @param ctx the parse tree
*/
fn exit_add(&mut self, _ctx: &AddContext<'input>) {}
/**
* Enter a parse tree produced by the {@code parens}
* labeled alternative in {@link LabelsParser#e}.
* @param ctx the parse tree
*/
fn enter_parens(&mut self, _ctx: &ParensContext<'input>) {}
/**
* Exit a parse tree produced by the {@code parens}
* labeled alternative in {@link LabelsParser#e}.
* @param ctx the parse tree
*/
fn exit_parens(&mut self, _ctx: &ParensContext<'input>) {}
/**
* Enter a parse tree produced by the {@code mult}
* labeled alternative in {@link LabelsParser#e}.
* @param ctx the parse tree
*/
fn enter_mult(&mut self, _ctx: &MultContext<'input>) {}
/**
* Exit a parse tree produced by the {@code mult}
* labeled alternative in {@link LabelsParser#e}.
* @param ctx the parse tree
*/
fn exit_mult(&mut self, _ctx: &MultContext<'input>) {}
/**
* Enter a parse tree produced by the {@code dec}
* labeled alternative in {@link LabelsParser#e}.
* @param ctx the parse tree
*/
fn enter_dec(&mut self, _ctx: &DecContext<'input>) {}
/**
* Exit a parse tree produced by the {@code dec}
* labeled alternative in {@link LabelsParser#e}.
* @param ctx the parse tree
*/
fn exit_dec(&mut self, _ctx: &DecContext<'input>) {}
/**
* Enter a parse tree produced by the {@code anID}
* labeled alternative in {@link LabelsParser#e}.
* @param ctx the parse tree
*/
fn enter_anID(&mut self, _ctx: &AnIDContext<'input>) {}
/**
* Exit a parse tree produced by the {@code anID}
* labeled alternative in {@link LabelsParser#e}.
* @param ctx the parse tree
*/
fn exit_anID(&mut self, _ctx: &AnIDContext<'input>) {}
/**
* Enter a parse tree produced by the {@code anInt}
* labeled alternative in {@link LabelsParser#e}.
* @param ctx the parse tree
*/
fn enter_anInt(&mut self, _ctx: &AnIntContext<'input>) {}
/**
* Exit a parse tree produced by the {@code anInt}
* labeled alternative in {@link LabelsParser#e}.
* @param ctx the parse tree
*/
fn exit_anInt(&mut self, _ctx: &AnIntContext<'input>) {}
/**
* Enter a parse tree produced by the {@code inc}
* labeled alternative in {@link LabelsParser#e}.
* @param ctx the parse tree
*/
fn enter_inc(&mut self, _ctx: &IncContext<'input>) {}
/**
* Exit a parse tree produced by the {@code inc}
* labeled alternative in {@link LabelsParser#e}.
* @param ctx the parse tree
*/
fn exit_inc(&mut self, _ctx: &IncContext<'input>) {}
}
antlr_rust::coerce_from! { 'input : LabelsListener<'input> }