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. UseVoidfor 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:
visitDocumentin 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:
visitExpressionin 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:
visitCommentin 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_valuein 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:
visitKeyin 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_keyin 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_keyin 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_keyin 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_keyin 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:
visitValuein 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:
visitStringin 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:
visitIntegerin 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_pointin 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_timein 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_tablein 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_arrayin 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_valuein 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_valuesin 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_nlin 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:
visitTablein 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_tablein 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_tablein interfaceTOMLAntlrParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
-