Class SimpleBaseListener
- java.lang.Object
-
- com.autonomousapps.internal.grammar.SimpleBaseListener
-
- All Implemented Interfaces:
SimpleListener,org.antlr.v4.runtime.tree.ParseTreeListener
public class SimpleBaseListener extends java.lang.Object implements SimpleListener
This class provides an empty implementation ofSimpleListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description SimpleBaseListener()
-
Method Summary
-
-
-
Method Detail
-
enterFile
public void enterFile(SimpleParser.FileContext ctx)
Enter a parse tree produced bySimpleParser.file().The default implementation does nothing.
- Specified by:
enterFilein interfaceSimpleListener- Parameters:
ctx- the parse tree
-
exitFile
public void exitFile(SimpleParser.FileContext ctx)
Exit a parse tree produced bySimpleParser.file().The default implementation does nothing.
- Specified by:
exitFilein interfaceSimpleListener- Parameters:
ctx- the parse tree
-
enterFileAnnotation
public void enterFileAnnotation(SimpleParser.FileAnnotationContext ctx)
Enter a parse tree produced bySimpleParser.fileAnnotation().The default implementation does nothing.
- Specified by:
enterFileAnnotationin interfaceSimpleListener- Parameters:
ctx- the parse tree
-
exitFileAnnotation
public void exitFileAnnotation(SimpleParser.FileAnnotationContext ctx)
Exit a parse tree produced bySimpleParser.fileAnnotation().The default implementation does nothing.
- Specified by:
exitFileAnnotationin interfaceSimpleListener- Parameters:
ctx- the parse tree
-
enterPackageDeclaration
public void enterPackageDeclaration(SimpleParser.PackageDeclarationContext ctx)
Enter a parse tree produced bySimpleParser.packageDeclaration().The default implementation does nothing.
- Specified by:
enterPackageDeclarationin interfaceSimpleListener- Parameters:
ctx- the parse tree
-
exitPackageDeclaration
public void exitPackageDeclaration(SimpleParser.PackageDeclarationContext ctx)
Exit a parse tree produced bySimpleParser.packageDeclaration().The default implementation does nothing.
- Specified by:
exitPackageDeclarationin interfaceSimpleListener- Parameters:
ctx- the parse tree
-
enterImportList
public void enterImportList(SimpleParser.ImportListContext ctx)
Enter a parse tree produced bySimpleParser.importList().The default implementation does nothing.
- Specified by:
enterImportListin interfaceSimpleListener- Parameters:
ctx- the parse tree
-
exitImportList
public void exitImportList(SimpleParser.ImportListContext ctx)
Exit a parse tree produced bySimpleParser.importList().The default implementation does nothing.
- Specified by:
exitImportListin interfaceSimpleListener- Parameters:
ctx- the parse tree
-
enterImportDeclaration
public void enterImportDeclaration(SimpleParser.ImportDeclarationContext ctx)
Enter a parse tree produced bySimpleParser.importDeclaration().The default implementation does nothing.
- Specified by:
enterImportDeclarationin interfaceSimpleListener- Parameters:
ctx- the parse tree
-
exitImportDeclaration
public void exitImportDeclaration(SimpleParser.ImportDeclarationContext ctx)
Exit a parse tree produced bySimpleParser.importDeclaration().The default implementation does nothing.
- Specified by:
exitImportDeclarationin interfaceSimpleListener- Parameters:
ctx- the parse tree
-
enterQualifiedName
public void enterQualifiedName(SimpleParser.QualifiedNameContext ctx)
Enter a parse tree produced bySimpleParser.qualifiedName().The default implementation does nothing.
- Specified by:
enterQualifiedNamein interfaceSimpleListener- Parameters:
ctx- the parse tree
-
exitQualifiedName
public void exitQualifiedName(SimpleParser.QualifiedNameContext ctx)
Exit a parse tree produced bySimpleParser.qualifiedName().The default implementation does nothing.
- Specified by:
exitQualifiedNamein interfaceSimpleListener- 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
-
-