forked from bramp/antlr4-grammars
-
Notifications
You must be signed in to change notification settings - Fork 1
/
bnf_listener.go
87 lines (59 loc) · 2.71 KB
/
bnf_listener.go
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
// Code generated from bnf.g4 by ANTLR 4.7.2. DO NOT EDIT.
package bnf // bnf
import "github.com/antlr/antlr4/runtime/Go/antlr"
// bnfListener is a complete listener for a parse tree produced by bnfParser.
type bnfListener interface {
antlr.ParseTreeListener
// EnterRulelist is called when entering the rulelist production.
EnterRulelist(c *RulelistContext)
// EnterRule_ is called when entering the rule_ production.
EnterRule_(c *Rule_Context)
// EnterLhs is called when entering the lhs production.
EnterLhs(c *LhsContext)
// EnterRhs is called when entering the rhs production.
EnterRhs(c *RhsContext)
// EnterAlternatives is called when entering the alternatives production.
EnterAlternatives(c *AlternativesContext)
// EnterAlternative is called when entering the alternative production.
EnterAlternative(c *AlternativeContext)
// EnterElement is called when entering the element production.
EnterElement(c *ElementContext)
// EnterOptional is called when entering the optional production.
EnterOptional(c *OptionalContext)
// EnterZeroormore is called when entering the zeroormore production.
EnterZeroormore(c *ZeroormoreContext)
// EnterOneormore is called when entering the oneormore production.
EnterOneormore(c *OneormoreContext)
// EnterText is called when entering the text production.
EnterText(c *TextContext)
// EnterId is called when entering the id production.
EnterId(c *IdContext)
// EnterRuleid is called when entering the ruleid production.
EnterRuleid(c *RuleidContext)
// ExitRulelist is called when exiting the rulelist production.
ExitRulelist(c *RulelistContext)
// ExitRule_ is called when exiting the rule_ production.
ExitRule_(c *Rule_Context)
// ExitLhs is called when exiting the lhs production.
ExitLhs(c *LhsContext)
// ExitRhs is called when exiting the rhs production.
ExitRhs(c *RhsContext)
// ExitAlternatives is called when exiting the alternatives production.
ExitAlternatives(c *AlternativesContext)
// ExitAlternative is called when exiting the alternative production.
ExitAlternative(c *AlternativeContext)
// ExitElement is called when exiting the element production.
ExitElement(c *ElementContext)
// ExitOptional is called when exiting the optional production.
ExitOptional(c *OptionalContext)
// ExitZeroormore is called when exiting the zeroormore production.
ExitZeroormore(c *ZeroormoreContext)
// ExitOneormore is called when exiting the oneormore production.
ExitOneormore(c *OneormoreContext)
// ExitText is called when exiting the text production.
ExitText(c *TextContext)
// ExitId is called when exiting the id production.
ExitId(c *IdContext)
// ExitRuleid is called when exiting the ruleid production.
ExitRuleid(c *RuleidContext)
}