Class CSharpPreprocessorParserBaseListener
- All Implemented Interfaces:
CSharpPreprocessorParserListener,org.antlr.v4.runtime.tree.ParseTreeListener
CSharpPreprocessorParserListener,
which can be extended to create a listener which only needs to handle a subset
of the available methods.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidEnter a parse tree produced byCSharpPreprocessorParser.directive_new_line_or_sharp().voidenterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) voidEnter a parse tree produced byCSharpPreprocessorParser.preprocessor_expression().voidEnter a parse tree produced by thepreprocessorConditionallabeled alternative inCSharpPreprocessorParser.preprocessor_directive().voidEnter a parse tree produced by thepreprocessorDeclarationlabeled alternative inCSharpPreprocessorParser.preprocessor_directive().voidEnter a parse tree produced by thepreprocessorDiagnosticlabeled alternative inCSharpPreprocessorParser.preprocessor_directive().voidEnter a parse tree produced by thepreprocessorLinelabeled alternative inCSharpPreprocessorParser.preprocessor_directive().voidEnter a parse tree produced by thepreprocessorNullablelabeled alternative inCSharpPreprocessorParser.preprocessor_directive().voidEnter a parse tree produced by thepreprocessorPragmalabeled alternative inCSharpPreprocessorParser.preprocessor_directive().voidEnter a parse tree produced by thepreprocessorRegionlabeled alternative inCSharpPreprocessorParser.preprocessor_directive().voidExit a parse tree produced byCSharpPreprocessorParser.directive_new_line_or_sharp().voidexitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) voidExit a parse tree produced byCSharpPreprocessorParser.preprocessor_expression().voidExit a parse tree produced by thepreprocessorConditionallabeled alternative inCSharpPreprocessorParser.preprocessor_directive().voidExit a parse tree produced by thepreprocessorDeclarationlabeled alternative inCSharpPreprocessorParser.preprocessor_directive().voidExit a parse tree produced by thepreprocessorDiagnosticlabeled alternative inCSharpPreprocessorParser.preprocessor_directive().voidExit a parse tree produced by thepreprocessorLinelabeled alternative inCSharpPreprocessorParser.preprocessor_directive().voidExit a parse tree produced by thepreprocessorNullablelabeled alternative inCSharpPreprocessorParser.preprocessor_directive().voidExit a parse tree produced by thepreprocessorPragmalabeled alternative inCSharpPreprocessorParser.preprocessor_directive().voidExit a parse tree produced by thepreprocessorRegionlabeled alternative inCSharpPreprocessorParser.preprocessor_directive().voidvisitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node) voidvisitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
-
Constructor Details
-
CSharpPreprocessorParserBaseListener
public CSharpPreprocessorParserBaseListener()
-
-
Method Details
-
enterPreprocessorDeclaration
public void enterPreprocessorDeclaration(CSharpPreprocessorParser.PreprocessorDeclarationContext ctx) Enter a parse tree produced by thepreprocessorDeclarationlabeled alternative inCSharpPreprocessorParser.preprocessor_directive().The default implementation does nothing.
- Specified by:
enterPreprocessorDeclarationin interfaceCSharpPreprocessorParserListener- Parameters:
ctx- the parse tree
-
exitPreprocessorDeclaration
public void exitPreprocessorDeclaration(CSharpPreprocessorParser.PreprocessorDeclarationContext ctx) Exit a parse tree produced by thepreprocessorDeclarationlabeled alternative inCSharpPreprocessorParser.preprocessor_directive().The default implementation does nothing.
- Specified by:
exitPreprocessorDeclarationin interfaceCSharpPreprocessorParserListener- Parameters:
ctx- the parse tree
-
enterPreprocessorConditional
public void enterPreprocessorConditional(CSharpPreprocessorParser.PreprocessorConditionalContext ctx) Enter a parse tree produced by thepreprocessorConditionallabeled alternative inCSharpPreprocessorParser.preprocessor_directive().The default implementation does nothing.
- Specified by:
enterPreprocessorConditionalin interfaceCSharpPreprocessorParserListener- Parameters:
ctx- the parse tree
-
exitPreprocessorConditional
public void exitPreprocessorConditional(CSharpPreprocessorParser.PreprocessorConditionalContext ctx) Exit a parse tree produced by thepreprocessorConditionallabeled alternative inCSharpPreprocessorParser.preprocessor_directive().The default implementation does nothing.
- Specified by:
exitPreprocessorConditionalin interfaceCSharpPreprocessorParserListener- Parameters:
ctx- the parse tree
-
enterPreprocessorLine
Enter a parse tree produced by thepreprocessorLinelabeled alternative inCSharpPreprocessorParser.preprocessor_directive().The default implementation does nothing.
- Specified by:
enterPreprocessorLinein interfaceCSharpPreprocessorParserListener- Parameters:
ctx- the parse tree
-
exitPreprocessorLine
Exit a parse tree produced by thepreprocessorLinelabeled alternative inCSharpPreprocessorParser.preprocessor_directive().The default implementation does nothing.
- Specified by:
exitPreprocessorLinein interfaceCSharpPreprocessorParserListener- Parameters:
ctx- the parse tree
-
enterPreprocessorDiagnostic
Enter a parse tree produced by thepreprocessorDiagnosticlabeled alternative inCSharpPreprocessorParser.preprocessor_directive().The default implementation does nothing.
- Specified by:
enterPreprocessorDiagnosticin interfaceCSharpPreprocessorParserListener- Parameters:
ctx- the parse tree
-
exitPreprocessorDiagnostic
Exit a parse tree produced by thepreprocessorDiagnosticlabeled alternative inCSharpPreprocessorParser.preprocessor_directive().The default implementation does nothing.
- Specified by:
exitPreprocessorDiagnosticin interfaceCSharpPreprocessorParserListener- Parameters:
ctx- the parse tree
-
enterPreprocessorRegion
Enter a parse tree produced by thepreprocessorRegionlabeled alternative inCSharpPreprocessorParser.preprocessor_directive().The default implementation does nothing.
- Specified by:
enterPreprocessorRegionin interfaceCSharpPreprocessorParserListener- Parameters:
ctx- the parse tree
-
exitPreprocessorRegion
Exit a parse tree produced by thepreprocessorRegionlabeled alternative inCSharpPreprocessorParser.preprocessor_directive().The default implementation does nothing.
- Specified by:
exitPreprocessorRegionin interfaceCSharpPreprocessorParserListener- Parameters:
ctx- the parse tree
-
enterPreprocessorPragma
Enter a parse tree produced by thepreprocessorPragmalabeled alternative inCSharpPreprocessorParser.preprocessor_directive().The default implementation does nothing.
- Specified by:
enterPreprocessorPragmain interfaceCSharpPreprocessorParserListener- Parameters:
ctx- the parse tree
-
exitPreprocessorPragma
Exit a parse tree produced by thepreprocessorPragmalabeled alternative inCSharpPreprocessorParser.preprocessor_directive().The default implementation does nothing.
- Specified by:
exitPreprocessorPragmain interfaceCSharpPreprocessorParserListener- Parameters:
ctx- the parse tree
-
enterPreprocessorNullable
Enter a parse tree produced by thepreprocessorNullablelabeled alternative inCSharpPreprocessorParser.preprocessor_directive().The default implementation does nothing.
- Specified by:
enterPreprocessorNullablein interfaceCSharpPreprocessorParserListener- Parameters:
ctx- the parse tree
-
exitPreprocessorNullable
Exit a parse tree produced by thepreprocessorNullablelabeled alternative inCSharpPreprocessorParser.preprocessor_directive().The default implementation does nothing.
- Specified by:
exitPreprocessorNullablein interfaceCSharpPreprocessorParserListener- Parameters:
ctx- the parse tree
-
enterDirective_new_line_or_sharp
public void enterDirective_new_line_or_sharp(CSharpPreprocessorParser.Directive_new_line_or_sharpContext ctx) Enter a parse tree produced byCSharpPreprocessorParser.directive_new_line_or_sharp().The default implementation does nothing.
- Specified by:
enterDirective_new_line_or_sharpin interfaceCSharpPreprocessorParserListener- Parameters:
ctx- the parse tree
-
exitDirective_new_line_or_sharp
public void exitDirective_new_line_or_sharp(CSharpPreprocessorParser.Directive_new_line_or_sharpContext ctx) Exit a parse tree produced byCSharpPreprocessorParser.directive_new_line_or_sharp().The default implementation does nothing.
- Specified by:
exitDirective_new_line_or_sharpin interfaceCSharpPreprocessorParserListener- Parameters:
ctx- the parse tree
-
enterPreprocessor_expression
public void enterPreprocessor_expression(CSharpPreprocessorParser.Preprocessor_expressionContext ctx) Enter a parse tree produced byCSharpPreprocessorParser.preprocessor_expression().The default implementation does nothing.
- Specified by:
enterPreprocessor_expressionin interfaceCSharpPreprocessorParserListener- Parameters:
ctx- the parse tree
-
exitPreprocessor_expression
public void exitPreprocessor_expression(CSharpPreprocessorParser.Preprocessor_expressionContext ctx) Exit a parse tree produced byCSharpPreprocessorParser.preprocessor_expression().The default implementation does nothing.
- Specified by:
exitPreprocessor_expressionin interfaceCSharpPreprocessorParserListener- Parameters:
ctx- the parse tree
-
enterEveryRule
public void enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) The default implementation does nothing.
- Specified by:
enterEveryRulein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
exitEveryRule
public void exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) The default implementation does nothing.
- Specified by:
exitEveryRulein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitTerminal
public void visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node) The default implementation does nothing.
- Specified by:
visitTerminalin interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitErrorNode
public void visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node) The default implementation does nothing.
- Specified by:
visitErrorNodein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-