-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCSharpPreprocessorParserBaseListener.cs
More file actions
173 lines (167 loc) · 9.28 KB
/
CSharpPreprocessorParserBaseListener.cs
File metadata and controls
173 lines (167 loc) · 9.28 KB
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// ANTLR Version: 4.9.3
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
// Generated from CSharpPreprocessorParser.g4 by ANTLR 4.9.3
// Unreachable code detected
#pragma warning disable 0162
// The variable '...' is assigned but its value is never used
#pragma warning disable 0219
// Missing XML comment for publicly visible type or member '...'
#pragma warning disable 1591
// Ambiguous reference in cref attribute
#pragma warning disable 419
using Antlr4.Runtime.Misc;
using IErrorNode = Antlr4.Runtime.Tree.IErrorNode;
using ITerminalNode = Antlr4.Runtime.Tree.ITerminalNode;
using IToken = Antlr4.Runtime.IToken;
using ParserRuleContext = Antlr4.Runtime.ParserRuleContext;
/// <summary>
/// This class provides an empty implementation of <see cref="ICSharpPreprocessorParserListener"/>,
/// which can be extended to create a listener which only needs to handle a subset
/// of the available methods.
/// </summary>
[System.CodeDom.Compiler.GeneratedCode("ANTLR", "4.9.3")]
[System.Diagnostics.DebuggerNonUserCode]
[System.CLSCompliant(false)]
public partial class CSharpPreprocessorParserBaseListener : ICSharpPreprocessorParserListener {
/// <summary>
/// Enter a parse tree produced by the <c>preprocessorDeclaration</c>
/// labeled alternative in <see cref="CSharpPreprocessorParser.preprocessor_directive"/>.
/// <para>The default implementation does nothing.</para>
/// </summary>
/// <param name="context">The parse tree.</param>
public virtual void EnterPreprocessorDeclaration([NotNull] CSharpPreprocessorParser.PreprocessorDeclarationContext context) { }
/// <summary>
/// Exit a parse tree produced by the <c>preprocessorDeclaration</c>
/// labeled alternative in <see cref="CSharpPreprocessorParser.preprocessor_directive"/>.
/// <para>The default implementation does nothing.</para>
/// </summary>
/// <param name="context">The parse tree.</param>
public virtual void ExitPreprocessorDeclaration([NotNull] CSharpPreprocessorParser.PreprocessorDeclarationContext context) { }
/// <summary>
/// Enter a parse tree produced by the <c>preprocessorConditional</c>
/// labeled alternative in <see cref="CSharpPreprocessorParser.preprocessor_directive"/>.
/// <para>The default implementation does nothing.</para>
/// </summary>
/// <param name="context">The parse tree.</param>
public virtual void EnterPreprocessorConditional([NotNull] CSharpPreprocessorParser.PreprocessorConditionalContext context) { }
/// <summary>
/// Exit a parse tree produced by the <c>preprocessorConditional</c>
/// labeled alternative in <see cref="CSharpPreprocessorParser.preprocessor_directive"/>.
/// <para>The default implementation does nothing.</para>
/// </summary>
/// <param name="context">The parse tree.</param>
public virtual void ExitPreprocessorConditional([NotNull] CSharpPreprocessorParser.PreprocessorConditionalContext context) { }
/// <summary>
/// Enter a parse tree produced by the <c>preprocessorLine</c>
/// labeled alternative in <see cref="CSharpPreprocessorParser.preprocessor_directive"/>.
/// <para>The default implementation does nothing.</para>
/// </summary>
/// <param name="context">The parse tree.</param>
public virtual void EnterPreprocessorLine([NotNull] CSharpPreprocessorParser.PreprocessorLineContext context) { }
/// <summary>
/// Exit a parse tree produced by the <c>preprocessorLine</c>
/// labeled alternative in <see cref="CSharpPreprocessorParser.preprocessor_directive"/>.
/// <para>The default implementation does nothing.</para>
/// </summary>
/// <param name="context">The parse tree.</param>
public virtual void ExitPreprocessorLine([NotNull] CSharpPreprocessorParser.PreprocessorLineContext context) { }
/// <summary>
/// Enter a parse tree produced by the <c>preprocessorDiagnostic</c>
/// labeled alternative in <see cref="CSharpPreprocessorParser.preprocessor_directive"/>.
/// <para>The default implementation does nothing.</para>
/// </summary>
/// <param name="context">The parse tree.</param>
public virtual void EnterPreprocessorDiagnostic([NotNull] CSharpPreprocessorParser.PreprocessorDiagnosticContext context) { }
/// <summary>
/// Exit a parse tree produced by the <c>preprocessorDiagnostic</c>
/// labeled alternative in <see cref="CSharpPreprocessorParser.preprocessor_directive"/>.
/// <para>The default implementation does nothing.</para>
/// </summary>
/// <param name="context">The parse tree.</param>
public virtual void ExitPreprocessorDiagnostic([NotNull] CSharpPreprocessorParser.PreprocessorDiagnosticContext context) { }
/// <summary>
/// Enter a parse tree produced by the <c>preprocessorRegion</c>
/// labeled alternative in <see cref="CSharpPreprocessorParser.preprocessor_directive"/>.
/// <para>The default implementation does nothing.</para>
/// </summary>
/// <param name="context">The parse tree.</param>
public virtual void EnterPreprocessorRegion([NotNull] CSharpPreprocessorParser.PreprocessorRegionContext context) { }
/// <summary>
/// Exit a parse tree produced by the <c>preprocessorRegion</c>
/// labeled alternative in <see cref="CSharpPreprocessorParser.preprocessor_directive"/>.
/// <para>The default implementation does nothing.</para>
/// </summary>
/// <param name="context">The parse tree.</param>
public virtual void ExitPreprocessorRegion([NotNull] CSharpPreprocessorParser.PreprocessorRegionContext context) { }
/// <summary>
/// Enter a parse tree produced by the <c>preprocessorPragma</c>
/// labeled alternative in <see cref="CSharpPreprocessorParser.preprocessor_directive"/>.
/// <para>The default implementation does nothing.</para>
/// </summary>
/// <param name="context">The parse tree.</param>
public virtual void EnterPreprocessorPragma([NotNull] CSharpPreprocessorParser.PreprocessorPragmaContext context) { }
/// <summary>
/// Exit a parse tree produced by the <c>preprocessorPragma</c>
/// labeled alternative in <see cref="CSharpPreprocessorParser.preprocessor_directive"/>.
/// <para>The default implementation does nothing.</para>
/// </summary>
/// <param name="context">The parse tree.</param>
public virtual void ExitPreprocessorPragma([NotNull] CSharpPreprocessorParser.PreprocessorPragmaContext context) { }
/// <summary>
/// Enter a parse tree produced by the <c>preprocessorNullable</c>
/// labeled alternative in <see cref="CSharpPreprocessorParser.preprocessor_directive"/>.
/// <para>The default implementation does nothing.</para>
/// </summary>
/// <param name="context">The parse tree.</param>
public virtual void EnterPreprocessorNullable([NotNull] CSharpPreprocessorParser.PreprocessorNullableContext context) { }
/// <summary>
/// Exit a parse tree produced by the <c>preprocessorNullable</c>
/// labeled alternative in <see cref="CSharpPreprocessorParser.preprocessor_directive"/>.
/// <para>The default implementation does nothing.</para>
/// </summary>
/// <param name="context">The parse tree.</param>
public virtual void ExitPreprocessorNullable([NotNull] CSharpPreprocessorParser.PreprocessorNullableContext context) { }
/// <summary>
/// Enter a parse tree produced by <see cref="CSharpPreprocessorParser.directive_new_line_or_sharp"/>.
/// <para>The default implementation does nothing.</para>
/// </summary>
/// <param name="context">The parse tree.</param>
public virtual void EnterDirective_new_line_or_sharp([NotNull] CSharpPreprocessorParser.Directive_new_line_or_sharpContext context) { }
/// <summary>
/// Exit a parse tree produced by <see cref="CSharpPreprocessorParser.directive_new_line_or_sharp"/>.
/// <para>The default implementation does nothing.</para>
/// </summary>
/// <param name="context">The parse tree.</param>
public virtual void ExitDirective_new_line_or_sharp([NotNull] CSharpPreprocessorParser.Directive_new_line_or_sharpContext context) { }
/// <summary>
/// Enter a parse tree produced by <see cref="CSharpPreprocessorParser.preprocessor_expression"/>.
/// <para>The default implementation does nothing.</para>
/// </summary>
/// <param name="context">The parse tree.</param>
public virtual void EnterPreprocessor_expression([NotNull] CSharpPreprocessorParser.Preprocessor_expressionContext context) { }
/// <summary>
/// Exit a parse tree produced by <see cref="CSharpPreprocessorParser.preprocessor_expression"/>.
/// <para>The default implementation does nothing.</para>
/// </summary>
/// <param name="context">The parse tree.</param>
public virtual void ExitPreprocessor_expression([NotNull] CSharpPreprocessorParser.Preprocessor_expressionContext context) { }
/// <inheritdoc/>
/// <remarks>The default implementation does nothing.</remarks>
public virtual void EnterEveryRule([NotNull] ParserRuleContext context) { }
/// <inheritdoc/>
/// <remarks>The default implementation does nothing.</remarks>
public virtual void ExitEveryRule([NotNull] ParserRuleContext context) { }
/// <inheritdoc/>
/// <remarks>The default implementation does nothing.</remarks>
public virtual void VisitTerminal([NotNull] ITerminalNode node) { }
/// <inheritdoc/>
/// <remarks>The default implementation does nothing.</remarks>
public virtual void VisitErrorNode([NotNull] IErrorNode node) { }
}