Class G4Listener
- java.lang.Object
-
- org.opencypher.tools.antlr.g4.Gee4BaseListener
-
- org.opencypher.tools.g4processors.G4Listener
-
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeListener,Gee4Listener
public class G4Listener extends Gee4BaseListener
-
-
Constructor Summary
Constructors Constructor Description G4Listener(org.antlr.v4.runtime.CommonTokenStream tokens)
-
Method Summary
-
Methods inherited from class org.opencypher.tools.antlr.g4.Gee4BaseListener
enterCardinality, enterCharSet, enterDescription, enterDotPattern, enterEveryRule, enterFragmentRule, enterGrammardef, enterHeader, enterLiteral, enterNegatedCharSet, enterNegatedQuotedString, enterQuotedString, enterRule_, enterRuleAlternative, enterRuleComponent, enterRuleElements, enterRuleItem, enterRulelist, enterRuleName, enterRuleReference, enterSpecialRule, enterWholegrammar, exitCardinality, exitDescription, exitHeader, visitErrorNode, visitTerminal
-
-
-
-
Method Detail
-
getTreeTop
public GrammarTop getTreeTop()
-
exitWholegrammar
public void exitWholegrammar(Gee4Parser.WholegrammarContext ctx)
Description copied from class:Gee4BaseListenerExit a parse tree produced byGee4Parser.wholegrammar().The default implementation does nothing.
- Specified by:
exitWholegrammarin interfaceGee4Listener- Overrides:
exitWholegrammarin classGee4BaseListener- Parameters:
ctx- the parse tree
-
exitGrammardef
public void exitGrammardef(Gee4Parser.GrammardefContext ctx)
Description copied from class:Gee4BaseListenerExit a parse tree produced byGee4Parser.grammardef().The default implementation does nothing.
- Specified by:
exitGrammardefin interfaceGee4Listener- Overrides:
exitGrammardefin classGee4BaseListener- Parameters:
ctx- the parse tree
-
exitRulelist
public void exitRulelist(Gee4Parser.RulelistContext ctx)
Description copied from class:Gee4BaseListenerExit a parse tree produced byGee4Parser.rulelist().The default implementation does nothing.
- Specified by:
exitRulelistin interfaceGee4Listener- Overrides:
exitRulelistin classGee4BaseListener- Parameters:
ctx- the parse tree
-
exitRule_
public void exitRule_(Gee4Parser.Rule_Context ctx)
Description copied from class:Gee4BaseListenerExit a parse tree produced byGee4Parser.rule_().The default implementation does nothing.
- Specified by:
exitRule_in interfaceGee4Listener- Overrides:
exitRule_in classGee4BaseListener- Parameters:
ctx- the parse tree
-
exitFragmentRule
public void exitFragmentRule(Gee4Parser.FragmentRuleContext ctx)
Description copied from class:Gee4BaseListenerExit a parse tree produced byGee4Parser.fragmentRule().The default implementation does nothing.
- Specified by:
exitFragmentRulein interfaceGee4Listener- Overrides:
exitFragmentRulein classGee4BaseListener- Parameters:
ctx- the parse tree
-
exitSpecialRule
public void exitSpecialRule(Gee4Parser.SpecialRuleContext ctx)
Description copied from class:Gee4BaseListenerExit a parse tree produced byGee4Parser.specialRule().The default implementation does nothing.
- Specified by:
exitSpecialRulein interfaceGee4Listener- Overrides:
exitSpecialRulein classGee4BaseListener- Parameters:
ctx- the parse tree
-
exitRuleName
public void exitRuleName(Gee4Parser.RuleNameContext ctx)
Description copied from class:Gee4BaseListenerExit a parse tree produced byGee4Parser.ruleName().The default implementation does nothing.
- Specified by:
exitRuleNamein interfaceGee4Listener- Overrides:
exitRuleNamein classGee4BaseListener- Parameters:
ctx- the parse tree
-
exitRuleElements
public void exitRuleElements(Gee4Parser.RuleElementsContext ctx)
Description copied from class:Gee4BaseListenerExit a parse tree produced byGee4Parser.ruleElements().The default implementation does nothing.
- Specified by:
exitRuleElementsin interfaceGee4Listener- Overrides:
exitRuleElementsin classGee4BaseListener- Parameters:
ctx- the parse tree
-
exitRuleAlternative
public void exitRuleAlternative(Gee4Parser.RuleAlternativeContext ctx)
Description copied from class:Gee4BaseListenerExit a parse tree produced byGee4Parser.ruleAlternative().The default implementation does nothing.
- Specified by:
exitRuleAlternativein interfaceGee4Listener- Overrides:
exitRuleAlternativein classGee4BaseListener- Parameters:
ctx- the parse tree
-
exitRuleItem
public void exitRuleItem(Gee4Parser.RuleItemContext ctx)
Description copied from class:Gee4BaseListenerExit a parse tree produced byGee4Parser.ruleItem().The default implementation does nothing.
- Specified by:
exitRuleItemin interfaceGee4Listener- Overrides:
exitRuleItemin classGee4BaseListener- Parameters:
ctx- the parse tree
-
exitRuleComponent
public void exitRuleComponent(Gee4Parser.RuleComponentContext ctx)
Description copied from class:Gee4BaseListenerExit a parse tree produced byGee4Parser.ruleComponent().The default implementation does nothing.
- Specified by:
exitRuleComponentin interfaceGee4Listener- Overrides:
exitRuleComponentin classGee4BaseListener- Parameters:
ctx- the parse tree
-
exitQuotedString
public void exitQuotedString(Gee4Parser.QuotedStringContext ctx)
Description copied from class:Gee4BaseListenerExit a parse tree produced byGee4Parser.quotedString().The default implementation does nothing.
- Specified by:
exitQuotedStringin interfaceGee4Listener- Overrides:
exitQuotedStringin classGee4BaseListener- Parameters:
ctx- the parse tree
-
exitNegatedQuotedString
public void exitNegatedQuotedString(Gee4Parser.NegatedQuotedStringContext ctx)
Description copied from class:Gee4BaseListenerExit a parse tree produced byGee4Parser.negatedQuotedString().The default implementation does nothing.
- Specified by:
exitNegatedQuotedStringin interfaceGee4Listener- Overrides:
exitNegatedQuotedStringin classGee4BaseListener- Parameters:
ctx- the parse tree
-
exitCharSet
public void exitCharSet(Gee4Parser.CharSetContext ctx)
Description copied from class:Gee4BaseListenerExit a parse tree produced byGee4Parser.charSet().The default implementation does nothing.
- Specified by:
exitCharSetin interfaceGee4Listener- Overrides:
exitCharSetin classGee4BaseListener- Parameters:
ctx- the parse tree
-
exitNegatedCharSet
public void exitNegatedCharSet(Gee4Parser.NegatedCharSetContext ctx)
Description copied from class:Gee4BaseListenerExit a parse tree produced byGee4Parser.negatedCharSet().The default implementation does nothing.
- Specified by:
exitNegatedCharSetin interfaceGee4Listener- Overrides:
exitNegatedCharSetin classGee4BaseListener- Parameters:
ctx- the parse tree
-
exitDotPattern
public void exitDotPattern(Gee4Parser.DotPatternContext ctx)
Description copied from class:Gee4BaseListenerExit a parse tree produced byGee4Parser.dotPattern().The default implementation does nothing.
- Specified by:
exitDotPatternin interfaceGee4Listener- Overrides:
exitDotPatternin classGee4BaseListener- Parameters:
ctx- the parse tree
-
exitLiteral
public void exitLiteral(Gee4Parser.LiteralContext ctx)
Description copied from class:Gee4BaseListenerExit a parse tree produced byGee4Parser.literal().The default implementation does nothing.
- Specified by:
exitLiteralin interfaceGee4Listener- Overrides:
exitLiteralin classGee4BaseListener- Parameters:
ctx- the parse tree
-
exitRuleReference
public void exitRuleReference(Gee4Parser.RuleReferenceContext ctx)
Description copied from class:Gee4BaseListenerExit a parse tree produced byGee4Parser.ruleReference().The default implementation does nothing.
- Specified by:
exitRuleReferencein interfaceGee4Listener- Overrides:
exitRuleReferencein classGee4BaseListener- Parameters:
ctx- the parse tree
-
exitEveryRule
public void exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
Description copied from class:Gee4BaseListenerThe default implementation does nothing.
- Specified by:
exitEveryRulein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener- Overrides:
exitEveryRulein classGee4BaseListener
-
-