Class TomlParserBaseVisitor<T>
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>,TomlParserVisitor<T>
- Direct Known Subclasses:
TomlParserVisitor
TomlParserVisitor,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionVisit a parse tree produced byTomlParser.array().Visit a parse tree produced byTomlParser.arrayTable().Visit a parse tree produced byTomlParser.bool().Visit a parse tree produced byTomlParser.comment().Visit a parse tree produced byTomlParser.commentOrNl().Visit a parse tree produced byTomlParser.dateTime().Visit a parse tree produced byTomlParser.document().Visit a parse tree produced byTomlParser.dottedKey().Visit a parse tree produced byTomlParser.expression().Visit a parse tree produced byTomlParser.floatingPoint().Visit a parse tree produced byTomlParser.inlineTable().Visit a parse tree produced byTomlParser.integer().Visit a parse tree produced byTomlParser.key().Visit a parse tree produced byTomlParser.keyValue().Visit a parse tree produced byTomlParser.quotedKey().Visit a parse tree produced byTomlParser.simpleKey().Visit a parse tree produced byTomlParser.standardTable().Visit a parse tree produced byTomlParser.string().Visit a parse tree produced byTomlParser.table().Visit a parse tree produced byTomlParser.unquotedKey().Visit a parse tree produced byTomlParser.value().Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Constructor Details
-
TomlParserBaseVisitor
public TomlParserBaseVisitor()
-
-
Method Details
-
visitDocument
Visit a parse tree produced byTomlParser.document().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDocumentin interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpression
Visit a parse tree produced byTomlParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExpressionin interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitComment
Visit a parse tree produced byTomlParser.comment().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCommentin interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitKeyValue
Visit a parse tree produced byTomlParser.keyValue().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitKeyValuein interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitKey
Visit a parse tree produced byTomlParser.key().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitKeyin interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSimpleKey
Visit a parse tree produced byTomlParser.simpleKey().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSimpleKeyin interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUnquotedKey
Visit a parse tree produced byTomlParser.unquotedKey().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitUnquotedKeyin interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQuotedKey
Visit a parse tree produced byTomlParser.quotedKey().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitQuotedKeyin interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDottedKey
Visit a parse tree produced byTomlParser.dottedKey().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDottedKeyin interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitValue
Visit a parse tree produced byTomlParser.value().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitValuein interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitString
Visit a parse tree produced byTomlParser.string().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStringin interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInteger
Visit a parse tree produced byTomlParser.integer().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIntegerin interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFloatingPoint
Visit a parse tree produced byTomlParser.floatingPoint().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFloatingPointin interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBool
Visit a parse tree produced byTomlParser.bool().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBoolin interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDateTime
Visit a parse tree produced byTomlParser.dateTime().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDateTimein interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCommentOrNl
Visit a parse tree produced byTomlParser.commentOrNl().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCommentOrNlin interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArray
Visit a parse tree produced byTomlParser.array().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArrayin interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTable
Visit a parse tree produced byTomlParser.table().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTablein interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStandardTable
Visit a parse tree produced byTomlParser.standardTable().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStandardTablein interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInlineTable
Visit a parse tree produced byTomlParser.inlineTable().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitInlineTablein interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArrayTable
Visit a parse tree produced byTomlParser.arrayTable().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitArrayTablein interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-