public class GmlBaseListener extends Object implements GmlListener
GmlListener
,
which can be extended to create a listener which only needs to handle a subset
of the available methods.Constructor and Description |
---|
GmlBaseListener() |
Modifier and Type | Method and Description |
---|---|
void |
enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) |
void |
enterGml(GmlParser.GmlContext ctx)
Enter a parse tree produced by
GmlParser.gml() . |
void |
enterListKeyValue(GmlParser.ListKeyValueContext ctx)
Enter a parse tree produced by the
ListKeyValue
labeled alternative in GmlParser.keyValuePair() . |
void |
enterNumberKeyValue(GmlParser.NumberKeyValueContext ctx)
Enter a parse tree produced by the
NumberKeyValue
labeled alternative in GmlParser.keyValuePair() . |
void |
enterStringKeyValue(GmlParser.StringKeyValueContext ctx)
Enter a parse tree produced by the
StringKeyValue
labeled alternative in GmlParser.keyValuePair() . |
void |
exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) |
void |
exitGml(GmlParser.GmlContext ctx)
Exit a parse tree produced by
GmlParser.gml() . |
void |
exitListKeyValue(GmlParser.ListKeyValueContext ctx)
Exit a parse tree produced by the
ListKeyValue
labeled alternative in GmlParser.keyValuePair() . |
void |
exitNumberKeyValue(GmlParser.NumberKeyValueContext ctx)
Exit a parse tree produced by the
NumberKeyValue
labeled alternative in GmlParser.keyValuePair() . |
void |
exitStringKeyValue(GmlParser.StringKeyValueContext ctx)
Exit a parse tree produced by the
StringKeyValue
labeled alternative in GmlParser.keyValuePair() . |
void |
visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node) |
void |
visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node) |
public void enterGml(GmlParser.GmlContext ctx)
GmlParser.gml()
.
The default implementation does nothing.
enterGml
in interface GmlListener
ctx
- the parse treepublic void exitGml(GmlParser.GmlContext ctx)
GmlParser.gml()
.
The default implementation does nothing.
exitGml
in interface GmlListener
ctx
- the parse treepublic void enterStringKeyValue(GmlParser.StringKeyValueContext ctx)
StringKeyValue
labeled alternative in GmlParser.keyValuePair()
.
The default implementation does nothing.
enterStringKeyValue
in interface GmlListener
ctx
- the parse treepublic void exitStringKeyValue(GmlParser.StringKeyValueContext ctx)
StringKeyValue
labeled alternative in GmlParser.keyValuePair()
.
The default implementation does nothing.
exitStringKeyValue
in interface GmlListener
ctx
- the parse treepublic void enterNumberKeyValue(GmlParser.NumberKeyValueContext ctx)
NumberKeyValue
labeled alternative in GmlParser.keyValuePair()
.
The default implementation does nothing.
enterNumberKeyValue
in interface GmlListener
ctx
- the parse treepublic void exitNumberKeyValue(GmlParser.NumberKeyValueContext ctx)
NumberKeyValue
labeled alternative in GmlParser.keyValuePair()
.
The default implementation does nothing.
exitNumberKeyValue
in interface GmlListener
ctx
- the parse treepublic void enterListKeyValue(GmlParser.ListKeyValueContext ctx)
ListKeyValue
labeled alternative in GmlParser.keyValuePair()
.
The default implementation does nothing.
enterListKeyValue
in interface GmlListener
ctx
- the parse treepublic void exitListKeyValue(GmlParser.ListKeyValueContext ctx)
ListKeyValue
labeled alternative in GmlParser.keyValuePair()
.
The default implementation does nothing.
exitListKeyValue
in interface GmlListener
ctx
- the parse treepublic void enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
enterEveryRule
in interface org.antlr.v4.runtime.tree.ParseTreeListener
public void exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
exitEveryRule
in interface org.antlr.v4.runtime.tree.ParseTreeListener
public void visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
The default implementation does nothing.
visitTerminal
in interface org.antlr.v4.runtime.tree.ParseTreeListener
public void visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node)
The default implementation does nothing.
visitErrorNode
in interface org.antlr.v4.runtime.tree.ParseTreeListener
Copyright © 2016. All rights reserved.