Class TOMLAntlrParserBaseVisitor<T>
- java.lang.Object
-
- org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
-
- net.vieiro.toml.antlr4.TOMLAntlrParserBaseVisitor<T>
-
- Type Parameters:
T
- The return type of the visit operation. UseVoid
for operations with no return type.
- All Implemented Interfaces:
TOMLAntlrParserVisitor<T>
,org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
public class TOMLAntlrParserBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements TOMLAntlrParserVisitor<T>
This class provides an empty implementation ofTOMLAntlrParserVisitor
, which can be extended to create a visitor which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description TOMLAntlrParserBaseVisitor()
-
Method Summary
-
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
-
-
-
-
Method Detail
-
visitDocument
public T visitDocument(TOMLAntlrParser.DocumentContext ctx)
Visit a parse tree produced byTOMLAntlrParser.document()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDocument
in interfaceTOMLAntlrParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExpression
public T visitExpression(TOMLAntlrParser.ExpressionContext ctx)
Visit a parse tree produced byTOMLAntlrParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExpression
in interfaceTOMLAntlrParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitComment
public T visitComment(TOMLAntlrParser.CommentContext ctx)
Visit a parse tree produced byTOMLAntlrParser.comment()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitComment
in interfaceTOMLAntlrParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitKey_value
public T visitKey_value(TOMLAntlrParser.Key_valueContext ctx)
Visit a parse tree produced byTOMLAntlrParser.key_value()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitKey_value
in interfaceTOMLAntlrParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitKey
public T visitKey(TOMLAntlrParser.KeyContext ctx)
Visit a parse tree produced byTOMLAntlrParser.key()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitKey
in interfaceTOMLAntlrParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSimple_key
public T visitSimple_key(TOMLAntlrParser.Simple_keyContext ctx)
Visit a parse tree produced byTOMLAntlrParser.simple_key()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSimple_key
in interfaceTOMLAntlrParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitUnquoted_key
public T visitUnquoted_key(TOMLAntlrParser.Unquoted_keyContext ctx)
Visit a parse tree produced byTOMLAntlrParser.unquoted_key()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitUnquoted_key
in interfaceTOMLAntlrParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitQuoted_key
public T visitQuoted_key(TOMLAntlrParser.Quoted_keyContext ctx)
Visit a parse tree produced byTOMLAntlrParser.quoted_key()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitQuoted_key
in interfaceTOMLAntlrParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDotted_key
public T visitDotted_key(TOMLAntlrParser.Dotted_keyContext ctx)
Visit a parse tree produced byTOMLAntlrParser.dotted_key()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDotted_key
in interfaceTOMLAntlrParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitValue
public T visitValue(TOMLAntlrParser.ValueContext ctx)
Visit a parse tree produced byTOMLAntlrParser.value()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitValue
in interfaceTOMLAntlrParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitString
public T visitString(TOMLAntlrParser.StringContext ctx)
Visit a parse tree produced byTOMLAntlrParser.string()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitString
in interfaceTOMLAntlrParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitInteger
public T visitInteger(TOMLAntlrParser.IntegerContext ctx)
Visit a parse tree produced byTOMLAntlrParser.integer()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitInteger
in interfaceTOMLAntlrParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFloating_point
public T visitFloating_point(TOMLAntlrParser.Floating_pointContext ctx)
Visit a parse tree produced byTOMLAntlrParser.floating_point()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFloating_point
in interfaceTOMLAntlrParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBool_
public T visitBool_(TOMLAntlrParser.Bool_Context ctx)
Visit a parse tree produced byTOMLAntlrParser.bool_()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitBool_
in interfaceTOMLAntlrParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDate_time
public T visitDate_time(TOMLAntlrParser.Date_timeContext ctx)
Visit a parse tree produced byTOMLAntlrParser.date_time()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDate_time
in interfaceTOMLAntlrParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitInline_table
public T visitInline_table(TOMLAntlrParser.Inline_tableContext ctx)
Visit a parse tree produced byTOMLAntlrParser.inline_table()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitInline_table
in interfaceTOMLAntlrParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitInner_array
public T visitInner_array(TOMLAntlrParser.Inner_arrayContext ctx)
Visit a parse tree produced byTOMLAntlrParser.inner_array()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitInner_array
in interfaceTOMLAntlrParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitInline_value
public T visitInline_value(TOMLAntlrParser.Inline_valueContext ctx)
Visit a parse tree produced byTOMLAntlrParser.inline_value()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitInline_value
in interfaceTOMLAntlrParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitArray_
public T visitArray_(TOMLAntlrParser.Array_Context ctx)
Visit a parse tree produced byTOMLAntlrParser.array_()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitArray_
in interfaceTOMLAntlrParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitArray_values
public T visitArray_values(TOMLAntlrParser.Array_valuesContext ctx)
Visit a parse tree produced byTOMLAntlrParser.array_values()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitArray_values
in interfaceTOMLAntlrParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitComment_or_nl
public T visitComment_or_nl(TOMLAntlrParser.Comment_or_nlContext ctx)
Visit a parse tree produced byTOMLAntlrParser.comment_or_nl()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitComment_or_nl
in interfaceTOMLAntlrParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTable
public T visitTable(TOMLAntlrParser.TableContext ctx)
Visit a parse tree produced byTOMLAntlrParser.table()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitTable
in interfaceTOMLAntlrParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStandard_table
public T visitStandard_table(TOMLAntlrParser.Standard_tableContext ctx)
Visit a parse tree produced byTOMLAntlrParser.standard_table()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitStandard_table
in interfaceTOMLAntlrParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitArray_table
public T visitArray_table(TOMLAntlrParser.Array_tableContext ctx)
Visit a parse tree produced byTOMLAntlrParser.array_table()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitArray_table
in interfaceTOMLAntlrParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
-