Class Gee4BaseListener
- java.lang.Object
-
- org.opencypher.tools.antlr.g4.Gee4BaseListener
-
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeListener,Gee4Listener
- Direct Known Subclasses:
G4Listener
public class Gee4BaseListener extends Object implements Gee4Listener
This class provides an empty implementation ofGee4Listener, which can be extended to create a listener which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description Gee4BaseListener()
-
Method Summary
-
-
-
Method Detail
-
enterWholegrammar
public void enterWholegrammar(Gee4Parser.WholegrammarContext ctx)
Enter a parse tree produced byGee4Parser.wholegrammar().The default implementation does nothing.
- Specified by:
enterWholegrammarin interfaceGee4Listener- Parameters:
ctx- the parse tree
-
exitWholegrammar
public void exitWholegrammar(Gee4Parser.WholegrammarContext ctx)
Exit a parse tree produced byGee4Parser.wholegrammar().The default implementation does nothing.
- Specified by:
exitWholegrammarin interfaceGee4Listener- Parameters:
ctx- the parse tree
-
enterHeader
public void enterHeader(Gee4Parser.HeaderContext ctx)
Enter a parse tree produced byGee4Parser.header().The default implementation does nothing.
- Specified by:
enterHeaderin interfaceGee4Listener- Parameters:
ctx- the parse tree
-
exitHeader
public void exitHeader(Gee4Parser.HeaderContext ctx)
Exit a parse tree produced byGee4Parser.header().The default implementation does nothing.
- Specified by:
exitHeaderin interfaceGee4Listener- Parameters:
ctx- the parse tree
-
enterGrammardef
public void enterGrammardef(Gee4Parser.GrammardefContext ctx)
Enter a parse tree produced byGee4Parser.grammardef().The default implementation does nothing.
- Specified by:
enterGrammardefin interfaceGee4Listener- Parameters:
ctx- the parse tree
-
exitGrammardef
public void exitGrammardef(Gee4Parser.GrammardefContext ctx)
Exit a parse tree produced byGee4Parser.grammardef().The default implementation does nothing.
- Specified by:
exitGrammardefin interfaceGee4Listener- Parameters:
ctx- the parse tree
-
enterRulelist
public void enterRulelist(Gee4Parser.RulelistContext ctx)
Enter a parse tree produced byGee4Parser.rulelist().The default implementation does nothing.
- Specified by:
enterRulelistin interfaceGee4Listener- Parameters:
ctx- the parse tree
-
exitRulelist
public void exitRulelist(Gee4Parser.RulelistContext ctx)
Exit a parse tree produced byGee4Parser.rulelist().The default implementation does nothing.
- Specified by:
exitRulelistin interfaceGee4Listener- Parameters:
ctx- the parse tree
-
enterRule_
public void enterRule_(Gee4Parser.Rule_Context ctx)
Enter a parse tree produced byGee4Parser.rule_().The default implementation does nothing.
- Specified by:
enterRule_in interfaceGee4Listener- Parameters:
ctx- the parse tree
-
exitRule_
public void exitRule_(Gee4Parser.Rule_Context ctx)
Exit a parse tree produced byGee4Parser.rule_().The default implementation does nothing.
- Specified by:
exitRule_in interfaceGee4Listener- Parameters:
ctx- the parse tree
-
enterDescription
public void enterDescription(Gee4Parser.DescriptionContext ctx)
Enter a parse tree produced byGee4Parser.description().The default implementation does nothing.
- Specified by:
enterDescriptionin interfaceGee4Listener- Parameters:
ctx- the parse tree
-
exitDescription
public void exitDescription(Gee4Parser.DescriptionContext ctx)
Exit a parse tree produced byGee4Parser.description().The default implementation does nothing.
- Specified by:
exitDescriptionin interfaceGee4Listener- Parameters:
ctx- the parse tree
-
enterRuleName
public void enterRuleName(Gee4Parser.RuleNameContext ctx)
Enter a parse tree produced byGee4Parser.ruleName().The default implementation does nothing.
- Specified by:
enterRuleNamein interfaceGee4Listener- Parameters:
ctx- the parse tree
-
exitRuleName
public void exitRuleName(Gee4Parser.RuleNameContext ctx)
Exit a parse tree produced byGee4Parser.ruleName().The default implementation does nothing.
- Specified by:
exitRuleNamein interfaceGee4Listener- Parameters:
ctx- the parse tree
-
enterRuleElements
public void enterRuleElements(Gee4Parser.RuleElementsContext ctx)
Enter a parse tree produced byGee4Parser.ruleElements().The default implementation does nothing.
- Specified by:
enterRuleElementsin interfaceGee4Listener- Parameters:
ctx- the parse tree
-
exitRuleElements
public void exitRuleElements(Gee4Parser.RuleElementsContext ctx)
Exit a parse tree produced byGee4Parser.ruleElements().The default implementation does nothing.
- Specified by:
exitRuleElementsin interfaceGee4Listener- Parameters:
ctx- the parse tree
-
enterRuleAlternative
public void enterRuleAlternative(Gee4Parser.RuleAlternativeContext ctx)
Enter a parse tree produced byGee4Parser.ruleAlternative().The default implementation does nothing.
- Specified by:
enterRuleAlternativein interfaceGee4Listener- Parameters:
ctx- the parse tree
-
exitRuleAlternative
public void exitRuleAlternative(Gee4Parser.RuleAlternativeContext ctx)
Exit a parse tree produced byGee4Parser.ruleAlternative().The default implementation does nothing.
- Specified by:
exitRuleAlternativein interfaceGee4Listener- Parameters:
ctx- the parse tree
-
enterRuleItem
public void enterRuleItem(Gee4Parser.RuleItemContext ctx)
Enter a parse tree produced byGee4Parser.ruleItem().The default implementation does nothing.
- Specified by:
enterRuleItemin interfaceGee4Listener- Parameters:
ctx- the parse tree
-
exitRuleItem
public void exitRuleItem(Gee4Parser.RuleItemContext ctx)
Exit a parse tree produced byGee4Parser.ruleItem().The default implementation does nothing.
- Specified by:
exitRuleItemin interfaceGee4Listener- Parameters:
ctx- the parse tree
-
enterRuleComponent
public void enterRuleComponent(Gee4Parser.RuleComponentContext ctx)
Enter a parse tree produced byGee4Parser.ruleComponent().The default implementation does nothing.
- Specified by:
enterRuleComponentin interfaceGee4Listener- Parameters:
ctx- the parse tree
-
exitRuleComponent
public void exitRuleComponent(Gee4Parser.RuleComponentContext ctx)
Exit a parse tree produced byGee4Parser.ruleComponent().The default implementation does nothing.
- Specified by:
exitRuleComponentin interfaceGee4Listener- Parameters:
ctx- the parse tree
-
enterCardinality
public void enterCardinality(Gee4Parser.CardinalityContext ctx)
Enter a parse tree produced byGee4Parser.cardinality().The default implementation does nothing.
- Specified by:
enterCardinalityin interfaceGee4Listener- Parameters:
ctx- the parse tree
-
exitCardinality
public void exitCardinality(Gee4Parser.CardinalityContext ctx)
Exit a parse tree produced byGee4Parser.cardinality().The default implementation does nothing.
- Specified by:
exitCardinalityin interfaceGee4Listener- Parameters:
ctx- the parse tree
-
enterLiteral
public void enterLiteral(Gee4Parser.LiteralContext ctx)
Enter a parse tree produced byGee4Parser.literal().The default implementation does nothing.
- Specified by:
enterLiteralin interfaceGee4Listener- Parameters:
ctx- the parse tree
-
exitLiteral
public void exitLiteral(Gee4Parser.LiteralContext ctx)
Exit a parse tree produced byGee4Parser.literal().The default implementation does nothing.
- Specified by:
exitLiteralin interfaceGee4Listener- Parameters:
ctx- the parse tree
-
enterQuotedString
public void enterQuotedString(Gee4Parser.QuotedStringContext ctx)
Enter a parse tree produced byGee4Parser.quotedString().The default implementation does nothing.
- Specified by:
enterQuotedStringin interfaceGee4Listener- Parameters:
ctx- the parse tree
-
exitQuotedString
public void exitQuotedString(Gee4Parser.QuotedStringContext ctx)
Exit a parse tree produced byGee4Parser.quotedString().The default implementation does nothing.
- Specified by:
exitQuotedStringin interfaceGee4Listener- Parameters:
ctx- the parse tree
-
enterNegatedQuotedString
public void enterNegatedQuotedString(Gee4Parser.NegatedQuotedStringContext ctx)
Enter a parse tree produced byGee4Parser.negatedQuotedString().The default implementation does nothing.
- Specified by:
enterNegatedQuotedStringin interfaceGee4Listener- Parameters:
ctx- the parse tree
-
exitNegatedQuotedString
public void exitNegatedQuotedString(Gee4Parser.NegatedQuotedStringContext ctx)
Exit a parse tree produced byGee4Parser.negatedQuotedString().The default implementation does nothing.
- Specified by:
exitNegatedQuotedStringin interfaceGee4Listener- Parameters:
ctx- the parse tree
-
enterCharSet
public void enterCharSet(Gee4Parser.CharSetContext ctx)
Enter a parse tree produced byGee4Parser.charSet().The default implementation does nothing.
- Specified by:
enterCharSetin interfaceGee4Listener- Parameters:
ctx- the parse tree
-
exitCharSet
public void exitCharSet(Gee4Parser.CharSetContext ctx)
Exit a parse tree produced byGee4Parser.charSet().The default implementation does nothing.
- Specified by:
exitCharSetin interfaceGee4Listener- Parameters:
ctx- the parse tree
-
enterNegatedCharSet
public void enterNegatedCharSet(Gee4Parser.NegatedCharSetContext ctx)
Enter a parse tree produced byGee4Parser.negatedCharSet().The default implementation does nothing.
- Specified by:
enterNegatedCharSetin interfaceGee4Listener- Parameters:
ctx- the parse tree
-
exitNegatedCharSet
public void exitNegatedCharSet(Gee4Parser.NegatedCharSetContext ctx)
Exit a parse tree produced byGee4Parser.negatedCharSet().The default implementation does nothing.
- Specified by:
exitNegatedCharSetin interfaceGee4Listener- Parameters:
ctx- the parse tree
-
enterDotPattern
public void enterDotPattern(Gee4Parser.DotPatternContext ctx)
Enter a parse tree produced byGee4Parser.dotPattern().The default implementation does nothing.
- Specified by:
enterDotPatternin interfaceGee4Listener- Parameters:
ctx- the parse tree
-
exitDotPattern
public void exitDotPattern(Gee4Parser.DotPatternContext ctx)
Exit a parse tree produced byGee4Parser.dotPattern().The default implementation does nothing.
- Specified by:
exitDotPatternin interfaceGee4Listener- Parameters:
ctx- the parse tree
-
enterRuleReference
public void enterRuleReference(Gee4Parser.RuleReferenceContext ctx)
Enter a parse tree produced byGee4Parser.ruleReference().The default implementation does nothing.
- Specified by:
enterRuleReferencein interfaceGee4Listener- Parameters:
ctx- the parse tree
-
exitRuleReference
public void exitRuleReference(Gee4Parser.RuleReferenceContext ctx)
Exit a parse tree produced byGee4Parser.ruleReference().The default implementation does nothing.
- Specified by:
exitRuleReferencein interfaceGee4Listener- Parameters:
ctx- the parse tree
-
enterSpecialRule
public void enterSpecialRule(Gee4Parser.SpecialRuleContext ctx)
Enter a parse tree produced byGee4Parser.specialRule().The default implementation does nothing.
- Specified by:
enterSpecialRulein interfaceGee4Listener- Parameters:
ctx- the parse tree
-
exitSpecialRule
public void exitSpecialRule(Gee4Parser.SpecialRuleContext ctx)
Exit a parse tree produced byGee4Parser.specialRule().The default implementation does nothing.
- Specified by:
exitSpecialRulein interfaceGee4Listener- Parameters:
ctx- the parse tree
-
enterFragmentRule
public void enterFragmentRule(Gee4Parser.FragmentRuleContext ctx)
Enter a parse tree produced byGee4Parser.fragmentRule().The default implementation does nothing.
- Specified by:
enterFragmentRulein interfaceGee4Listener- Parameters:
ctx- the parse tree
-
exitFragmentRule
public void exitFragmentRule(Gee4Parser.FragmentRuleContext ctx)
Exit a parse tree produced byGee4Parser.fragmentRule().The default implementation does nothing.
- Specified by:
exitFragmentRulein interfaceGee4Listener- 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
-
-