-
Notifications
You must be signed in to change notification settings - Fork 70
/
csvlistener.rs
49 lines (47 loc) · 1.61 KB
/
csvlistener.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
#![allow(nonstandard_style)]
// Generated from CSV.g4 by ANTLR 4.8
use super::csvparser::*;
use antlr_rust::tree::ParseTreeListener;
pub trait CSVListener<'input>: ParseTreeListener<'input, CSVParserContextType> {
/**
* Enter a parse tree produced by {@link CSVParser#csvFile}.
* @param ctx the parse tree
*/
fn enter_csvFile(&mut self, _ctx: &CsvFileContext<'input>) {}
/**
* Exit a parse tree produced by {@link CSVParser#csvFile}.
* @param ctx the parse tree
*/
fn exit_csvFile(&mut self, _ctx: &CsvFileContext<'input>) {}
/**
* Enter a parse tree produced by {@link CSVParser#hdr}.
* @param ctx the parse tree
*/
fn enter_hdr(&mut self, _ctx: &HdrContext<'input>) {}
/**
* Exit a parse tree produced by {@link CSVParser#hdr}.
* @param ctx the parse tree
*/
fn exit_hdr(&mut self, _ctx: &HdrContext<'input>) {}
/**
* Enter a parse tree produced by {@link CSVParser#row}.
* @param ctx the parse tree
*/
fn enter_row(&mut self, _ctx: &RowContext<'input>) {}
/**
* Exit a parse tree produced by {@link CSVParser#row}.
* @param ctx the parse tree
*/
fn exit_row(&mut self, _ctx: &RowContext<'input>) {}
/**
* Enter a parse tree produced by {@link CSVParser#field}.
* @param ctx the parse tree
*/
fn enter_field(&mut self, _ctx: &FieldContext<'input>) {}
/**
* Exit a parse tree produced by {@link CSVParser#field}.
* @param ctx the parse tree
*/
fn exit_field(&mut self, _ctx: &FieldContext<'input>) {}
}
antlr_rust::coerce_from! { 'input : CSVListener<'input> }