Class TOMLAntlrParserBaseListener
- java.lang.Object
-
- net.vieiro.toml.antlr4.TOMLAntlrParserBaseListener
-
- All Implemented Interfaces:
TOMLAntlrParserListener
,org.antlr.v4.runtime.tree.ParseTreeListener
public class TOMLAntlrParserBaseListener extends Object implements TOMLAntlrParserListener
This class provides an empty implementation ofTOMLAntlrParserListener
, which can be extended to create a listener which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description TOMLAntlrParserBaseListener()
-
Method Summary
-
-
-
Method Detail
-
enterDocument
public void enterDocument(TOMLAntlrParser.DocumentContext ctx)
Enter a parse tree produced byTOMLAntlrParser.document()
.The default implementation does nothing.
- Specified by:
enterDocument
in interfaceTOMLAntlrParserListener
- Parameters:
ctx
- the parse tree
-
exitDocument
public void exitDocument(TOMLAntlrParser.DocumentContext ctx)
Exit a parse tree produced byTOMLAntlrParser.document()
.The default implementation does nothing.
- Specified by:
exitDocument
in interfaceTOMLAntlrParserListener
- Parameters:
ctx
- the parse tree
-
enterExpression
public void enterExpression(TOMLAntlrParser.ExpressionContext ctx)
Enter a parse tree produced byTOMLAntlrParser.expression()
.The default implementation does nothing.
- Specified by:
enterExpression
in interfaceTOMLAntlrParserListener
- Parameters:
ctx
- the parse tree
-
exitExpression
public void exitExpression(TOMLAntlrParser.ExpressionContext ctx)
Exit a parse tree produced byTOMLAntlrParser.expression()
.The default implementation does nothing.
- Specified by:
exitExpression
in interfaceTOMLAntlrParserListener
- Parameters:
ctx
- the parse tree
-
enterComment
public void enterComment(TOMLAntlrParser.CommentContext ctx)
Enter a parse tree produced byTOMLAntlrParser.comment()
.The default implementation does nothing.
- Specified by:
enterComment
in interfaceTOMLAntlrParserListener
- Parameters:
ctx
- the parse tree
-
exitComment
public void exitComment(TOMLAntlrParser.CommentContext ctx)
Exit a parse tree produced byTOMLAntlrParser.comment()
.The default implementation does nothing.
- Specified by:
exitComment
in interfaceTOMLAntlrParserListener
- Parameters:
ctx
- the parse tree
-
enterKey_value
public void enterKey_value(TOMLAntlrParser.Key_valueContext ctx)
Enter a parse tree produced byTOMLAntlrParser.key_value()
.The default implementation does nothing.
- Specified by:
enterKey_value
in interfaceTOMLAntlrParserListener
- Parameters:
ctx
- the parse tree
-
exitKey_value
public void exitKey_value(TOMLAntlrParser.Key_valueContext ctx)
Exit a parse tree produced byTOMLAntlrParser.key_value()
.The default implementation does nothing.
- Specified by:
exitKey_value
in interfaceTOMLAntlrParserListener
- Parameters:
ctx
- the parse tree
-
enterKey
public void enterKey(TOMLAntlrParser.KeyContext ctx)
Enter a parse tree produced byTOMLAntlrParser.key()
.The default implementation does nothing.
- Specified by:
enterKey
in interfaceTOMLAntlrParserListener
- Parameters:
ctx
- the parse tree
-
exitKey
public void exitKey(TOMLAntlrParser.KeyContext ctx)
Exit a parse tree produced byTOMLAntlrParser.key()
.The default implementation does nothing.
- Specified by:
exitKey
in interfaceTOMLAntlrParserListener
- Parameters:
ctx
- the parse tree
-
enterSimple_key
public void enterSimple_key(TOMLAntlrParser.Simple_keyContext ctx)
Enter a parse tree produced byTOMLAntlrParser.simple_key()
.The default implementation does nothing.
- Specified by:
enterSimple_key
in interfaceTOMLAntlrParserListener
- Parameters:
ctx
- the parse tree
-
exitSimple_key
public void exitSimple_key(TOMLAntlrParser.Simple_keyContext ctx)
Exit a parse tree produced byTOMLAntlrParser.simple_key()
.The default implementation does nothing.
- Specified by:
exitSimple_key
in interfaceTOMLAntlrParserListener
- Parameters:
ctx
- the parse tree
-
enterUnquoted_key
public void enterUnquoted_key(TOMLAntlrParser.Unquoted_keyContext ctx)
Enter a parse tree produced byTOMLAntlrParser.unquoted_key()
.The default implementation does nothing.
- Specified by:
enterUnquoted_key
in interfaceTOMLAntlrParserListener
- Parameters:
ctx
- the parse tree
-
exitUnquoted_key
public void exitUnquoted_key(TOMLAntlrParser.Unquoted_keyContext ctx)
Exit a parse tree produced byTOMLAntlrParser.unquoted_key()
.The default implementation does nothing.
- Specified by:
exitUnquoted_key
in interfaceTOMLAntlrParserListener
- Parameters:
ctx
- the parse tree
-
enterQuoted_key
public void enterQuoted_key(TOMLAntlrParser.Quoted_keyContext ctx)
Enter a parse tree produced byTOMLAntlrParser.quoted_key()
.The default implementation does nothing.
- Specified by:
enterQuoted_key
in interfaceTOMLAntlrParserListener
- Parameters:
ctx
- the parse tree
-
exitQuoted_key
public void exitQuoted_key(TOMLAntlrParser.Quoted_keyContext ctx)
Exit a parse tree produced byTOMLAntlrParser.quoted_key()
.The default implementation does nothing.
- Specified by:
exitQuoted_key
in interfaceTOMLAntlrParserListener
- Parameters:
ctx
- the parse tree
-
enterDotted_key
public void enterDotted_key(TOMLAntlrParser.Dotted_keyContext ctx)
Enter a parse tree produced byTOMLAntlrParser.dotted_key()
.The default implementation does nothing.
- Specified by:
enterDotted_key
in interfaceTOMLAntlrParserListener
- Parameters:
ctx
- the parse tree
-
exitDotted_key
public void exitDotted_key(TOMLAntlrParser.Dotted_keyContext ctx)
Exit a parse tree produced byTOMLAntlrParser.dotted_key()
.The default implementation does nothing.
- Specified by:
exitDotted_key
in interfaceTOMLAntlrParserListener
- Parameters:
ctx
- the parse tree
-
enterValue
public void enterValue(TOMLAntlrParser.ValueContext ctx)
Enter a parse tree produced byTOMLAntlrParser.value()
.The default implementation does nothing.
- Specified by:
enterValue
in interfaceTOMLAntlrParserListener
- Parameters:
ctx
- the parse tree
-
exitValue
public void exitValue(TOMLAntlrParser.ValueContext ctx)
Exit a parse tree produced byTOMLAntlrParser.value()
.The default implementation does nothing.
- Specified by:
exitValue
in interfaceTOMLAntlrParserListener
- Parameters:
ctx
- the parse tree
-
enterString
public void enterString(TOMLAntlrParser.StringContext ctx)
Enter a parse tree produced byTOMLAntlrParser.string()
.The default implementation does nothing.
- Specified by:
enterString
in interfaceTOMLAntlrParserListener
- Parameters:
ctx
- the parse tree
-
exitString
public void exitString(TOMLAntlrParser.StringContext ctx)
Exit a parse tree produced byTOMLAntlrParser.string()
.The default implementation does nothing.
- Specified by:
exitString
in interfaceTOMLAntlrParserListener
- Parameters:
ctx
- the parse tree
-
enterInteger
public void enterInteger(TOMLAntlrParser.IntegerContext ctx)
Enter a parse tree produced byTOMLAntlrParser.integer()
.The default implementation does nothing.
- Specified by:
enterInteger
in interfaceTOMLAntlrParserListener
- Parameters:
ctx
- the parse tree
-
exitInteger
public void exitInteger(TOMLAntlrParser.IntegerContext ctx)
Exit a parse tree produced byTOMLAntlrParser.integer()
.The default implementation does nothing.
- Specified by:
exitInteger
in interfaceTOMLAntlrParserListener
- Parameters:
ctx
- the parse tree
-
enterFloating_point
public void enterFloating_point(TOMLAntlrParser.Floating_pointContext ctx)
Enter a parse tree produced byTOMLAntlrParser.floating_point()
.The default implementation does nothing.
- Specified by:
enterFloating_point
in interfaceTOMLAntlrParserListener
- Parameters:
ctx
- the parse tree
-
exitFloating_point
public void exitFloating_point(TOMLAntlrParser.Floating_pointContext ctx)
Exit a parse tree produced byTOMLAntlrParser.floating_point()
.The default implementation does nothing.
- Specified by:
exitFloating_point
in interfaceTOMLAntlrParserListener
- Parameters:
ctx
- the parse tree
-
enterBool_
public void enterBool_(TOMLAntlrParser.Bool_Context ctx)
Enter a parse tree produced byTOMLAntlrParser.bool_()
.The default implementation does nothing.
- Specified by:
enterBool_
in interfaceTOMLAntlrParserListener
- Parameters:
ctx
- the parse tree
-
exitBool_
public void exitBool_(TOMLAntlrParser.Bool_Context ctx)
Exit a parse tree produced byTOMLAntlrParser.bool_()
.The default implementation does nothing.
- Specified by:
exitBool_
in interfaceTOMLAntlrParserListener
- Parameters:
ctx
- the parse tree
-
enterDate_time
public void enterDate_time(TOMLAntlrParser.Date_timeContext ctx)
Enter a parse tree produced byTOMLAntlrParser.date_time()
.The default implementation does nothing.
- Specified by:
enterDate_time
in interfaceTOMLAntlrParserListener
- Parameters:
ctx
- the parse tree
-
exitDate_time
public void exitDate_time(TOMLAntlrParser.Date_timeContext ctx)
Exit a parse tree produced byTOMLAntlrParser.date_time()
.The default implementation does nothing.
- Specified by:
exitDate_time
in interfaceTOMLAntlrParserListener
- Parameters:
ctx
- the parse tree
-
enterInline_table
public void enterInline_table(TOMLAntlrParser.Inline_tableContext ctx)
Enter a parse tree produced byTOMLAntlrParser.inline_table()
.The default implementation does nothing.
- Specified by:
enterInline_table
in interfaceTOMLAntlrParserListener
- Parameters:
ctx
- the parse tree
-
exitInline_table
public void exitInline_table(TOMLAntlrParser.Inline_tableContext ctx)
Exit a parse tree produced byTOMLAntlrParser.inline_table()
.The default implementation does nothing.
- Specified by:
exitInline_table
in interfaceTOMLAntlrParserListener
- Parameters:
ctx
- the parse tree
-
enterInner_array
public void enterInner_array(TOMLAntlrParser.Inner_arrayContext ctx)
Enter a parse tree produced byTOMLAntlrParser.inner_array()
.The default implementation does nothing.
- Specified by:
enterInner_array
in interfaceTOMLAntlrParserListener
- Parameters:
ctx
- the parse tree
-
exitInner_array
public void exitInner_array(TOMLAntlrParser.Inner_arrayContext ctx)
Exit a parse tree produced byTOMLAntlrParser.inner_array()
.The default implementation does nothing.
- Specified by:
exitInner_array
in interfaceTOMLAntlrParserListener
- Parameters:
ctx
- the parse tree
-
enterInline_value
public void enterInline_value(TOMLAntlrParser.Inline_valueContext ctx)
Enter a parse tree produced byTOMLAntlrParser.inline_value()
.The default implementation does nothing.
- Specified by:
enterInline_value
in interfaceTOMLAntlrParserListener
- Parameters:
ctx
- the parse tree
-
exitInline_value
public void exitInline_value(TOMLAntlrParser.Inline_valueContext ctx)
Exit a parse tree produced byTOMLAntlrParser.inline_value()
.The default implementation does nothing.
- Specified by:
exitInline_value
in interfaceTOMLAntlrParserListener
- Parameters:
ctx
- the parse tree
-
enterArray_
public void enterArray_(TOMLAntlrParser.Array_Context ctx)
Enter a parse tree produced byTOMLAntlrParser.array_()
.The default implementation does nothing.
- Specified by:
enterArray_
in interfaceTOMLAntlrParserListener
- Parameters:
ctx
- the parse tree
-
exitArray_
public void exitArray_(TOMLAntlrParser.Array_Context ctx)
Exit a parse tree produced byTOMLAntlrParser.array_()
.The default implementation does nothing.
- Specified by:
exitArray_
in interfaceTOMLAntlrParserListener
- Parameters:
ctx
- the parse tree
-
enterArray_values
public void enterArray_values(TOMLAntlrParser.Array_valuesContext ctx)
Enter a parse tree produced byTOMLAntlrParser.array_values()
.The default implementation does nothing.
- Specified by:
enterArray_values
in interfaceTOMLAntlrParserListener
- Parameters:
ctx
- the parse tree
-
exitArray_values
public void exitArray_values(TOMLAntlrParser.Array_valuesContext ctx)
Exit a parse tree produced byTOMLAntlrParser.array_values()
.The default implementation does nothing.
- Specified by:
exitArray_values
in interfaceTOMLAntlrParserListener
- Parameters:
ctx
- the parse tree
-
enterComment_or_nl
public void enterComment_or_nl(TOMLAntlrParser.Comment_or_nlContext ctx)
Enter a parse tree produced byTOMLAntlrParser.comment_or_nl()
.The default implementation does nothing.
- Specified by:
enterComment_or_nl
in interfaceTOMLAntlrParserListener
- Parameters:
ctx
- the parse tree
-
exitComment_or_nl
public void exitComment_or_nl(TOMLAntlrParser.Comment_or_nlContext ctx)
Exit a parse tree produced byTOMLAntlrParser.comment_or_nl()
.The default implementation does nothing.
- Specified by:
exitComment_or_nl
in interfaceTOMLAntlrParserListener
- Parameters:
ctx
- the parse tree
-
enterTable
public void enterTable(TOMLAntlrParser.TableContext ctx)
Enter a parse tree produced byTOMLAntlrParser.table()
.The default implementation does nothing.
- Specified by:
enterTable
in interfaceTOMLAntlrParserListener
- Parameters:
ctx
- the parse tree
-
exitTable
public void exitTable(TOMLAntlrParser.TableContext ctx)
Exit a parse tree produced byTOMLAntlrParser.table()
.The default implementation does nothing.
- Specified by:
exitTable
in interfaceTOMLAntlrParserListener
- Parameters:
ctx
- the parse tree
-
enterStandard_table
public void enterStandard_table(TOMLAntlrParser.Standard_tableContext ctx)
Enter a parse tree produced byTOMLAntlrParser.standard_table()
.The default implementation does nothing.
- Specified by:
enterStandard_table
in interfaceTOMLAntlrParserListener
- Parameters:
ctx
- the parse tree
-
exitStandard_table
public void exitStandard_table(TOMLAntlrParser.Standard_tableContext ctx)
Exit a parse tree produced byTOMLAntlrParser.standard_table()
.The default implementation does nothing.
- Specified by:
exitStandard_table
in interfaceTOMLAntlrParserListener
- Parameters:
ctx
- the parse tree
-
enterArray_table
public void enterArray_table(TOMLAntlrParser.Array_tableContext ctx)
Enter a parse tree produced byTOMLAntlrParser.array_table()
.The default implementation does nothing.
- Specified by:
enterArray_table
in interfaceTOMLAntlrParserListener
- Parameters:
ctx
- the parse tree
-
exitArray_table
public void exitArray_table(TOMLAntlrParser.Array_tableContext ctx)
Exit a parse tree produced byTOMLAntlrParser.array_table()
.The default implementation does nothing.
- Specified by:
exitArray_table
in interfaceTOMLAntlrParserListener
- Parameters:
ctx
- the parse tree
-
enterEveryRule
public void enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
- Specified by:
enterEveryRule
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
exitEveryRule
public void exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
- Specified by:
exitEveryRule
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitTerminal
public void visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
The default implementation does nothing.
- Specified by:
visitTerminal
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitErrorNode
public void visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node)
The default implementation does nothing.
- Specified by:
visitErrorNode
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
-