Class TomlParserBaseVisitor<T>
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Implemented Interfaces:
TomlParserVisitor<T>
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 TypeMethodDescriptionprotected TaggregateResult(T arg0, T arg1) protected Tprotected booleanshouldVisitNextChild(org.antlr.v4.runtime.tree.RuleNode arg0, T arg1) visit(org.antlr.v4.runtime.tree.ParseTree arg0) visit(org.antlr.v4.runtime.tree.ParseTree arg0) Visit a parse tree produced byTomlParser.array().Visit a parse tree produced byTomlParser.arrayTable().Visit a parse tree produced byTomlParser.arrayValue().Visit a parse tree produced byTomlParser.arrayValues().Visit a parse tree produced byTomlParser.basicChar().Visit a parse tree produced byTomlParser.basicString().Visit a parse tree produced byTomlParser.basicUnescaped().Visit a parse tree produced byTomlParser.binInt().Visit a parse tree produced byTomlParser.booleanValue().visitChildren(org.antlr.v4.runtime.tree.RuleNode arg0) visitChildren(org.antlr.v4.runtime.tree.RuleNode arg0) Visit a parse tree produced byTomlParser.date().Visit a parse tree produced byTomlParser.dateTime().Visit a parse tree produced byTomlParser.day().Visit a parse tree produced byTomlParser.decInt().visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode arg0) visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode arg0) Visit a parse tree produced byTomlParser.escaped().Visit a parse tree produced byTomlParser.expression().Visit a parse tree produced byTomlParser.falseBool().Visit a parse tree produced byTomlParser.floatValue().Visit a parse tree produced byTomlParser.hexInt().Visit a parse tree produced byTomlParser.hour().Visit a parse tree produced byTomlParser.hourOffset().Visit a parse tree produced byTomlParser.inlineTable().Visit a parse tree produced byTomlParser.inlineTableValues().Visit a parse tree produced byTomlParser.integer().Visit a parse tree produced byTomlParser.key().Visit a parse tree produced byTomlParser.keyval().Visit a parse tree produced byTomlParser.literalBody().Visit a parse tree produced byTomlParser.literalString().Visit a parse tree produced byTomlParser.localDate().Visit a parse tree produced byTomlParser.localDateTime().Visit a parse tree produced byTomlParser.localTime().Visit a parse tree produced byTomlParser.minute().Visit a parse tree produced byTomlParser.minuteOffset().Visit a parse tree produced byTomlParser.mlBasicChar().Visit a parse tree produced byTomlParser.mlBasicString().Visit a parse tree produced byTomlParser.mlBasicUnescaped().Visit a parse tree produced byTomlParser.mlLiteralBody().Visit a parse tree produced byTomlParser.mlLiteralString().Visit a parse tree produced byTomlParser.month().Visit a parse tree produced byTomlParser.octInt().Visit a parse tree produced byTomlParser.offsetDateTime().Visit a parse tree produced byTomlParser.quotedKey().Visit a parse tree produced byTomlParser.regularFloat().Visit a parse tree produced byTomlParser.regularFloatInf().Visit a parse tree produced byTomlParser.regularFloatNaN().Visit a parse tree produced byTomlParser.second().Visit a parse tree produced byTomlParser.secondFraction().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().visitTerminal(org.antlr.v4.runtime.tree.TerminalNode arg0) visitTerminal(org.antlr.v4.runtime.tree.TerminalNode arg0) Visit a parse tree produced byTomlParser.time().Visit a parse tree produced byTomlParser.timeOffset().Visit a parse tree produced byTomlParser.toml().Visit a parse tree produced byTomlParser.tomlKey().Visit a parse tree produced byTomlParser.trueBool().Visit a parse tree produced byTomlParser.unquotedKey().Visit a parse tree produced byTomlParser.val().Visit a parse tree produced byTomlParser.year().
-
Constructor Details
-
TomlParserBaseVisitor
public TomlParserBaseVisitor()
-
-
Method Details
-
visitToml
Visit a parse tree produced byTomlParser.toml().The default implementation returns the result of calling
visitChildren(RuleNode)onctx.- Specified by:
visitTomlin 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
visitChildren(RuleNode)onctx.- Specified by:
visitExpressionin interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTomlKey
Visit a parse tree produced byTomlParser.tomlKey().The default implementation returns the result of calling
visitChildren(RuleNode)onctx.- Specified by:
visitTomlKeyin interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitKeyval
Visit a parse tree produced byTomlParser.keyval().The default implementation returns the result of calling
visitChildren(RuleNode)onctx.- Specified by:
visitKeyvalin 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
visitChildren(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
visitChildren(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
visitChildren(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
visitChildren(RuleNode)onctx.- Specified by:
visitQuotedKeyin interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVal
Visit a parse tree produced byTomlParser.val().The default implementation returns the result of calling
visitChildren(RuleNode)onctx.- Specified by:
visitValin 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
visitChildren(RuleNode)onctx.- Specified by:
visitStringin interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBasicString
Visit a parse tree produced byTomlParser.basicString().The default implementation returns the result of calling
visitChildren(RuleNode)onctx.- Specified by:
visitBasicStringin interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBasicChar
Visit a parse tree produced byTomlParser.basicChar().The default implementation returns the result of calling
visitChildren(RuleNode)onctx.- Specified by:
visitBasicCharin interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBasicUnescaped
Visit a parse tree produced byTomlParser.basicUnescaped().The default implementation returns the result of calling
visitChildren(RuleNode)onctx.- Specified by:
visitBasicUnescapedin interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEscaped
Visit a parse tree produced byTomlParser.escaped().The default implementation returns the result of calling
visitChildren(RuleNode)onctx.- Specified by:
visitEscapedin interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMlBasicString
Visit a parse tree produced byTomlParser.mlBasicString().The default implementation returns the result of calling
visitChildren(RuleNode)onctx.- Specified by:
visitMlBasicStringin interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMlBasicChar
Visit a parse tree produced byTomlParser.mlBasicChar().The default implementation returns the result of calling
visitChildren(RuleNode)onctx.- Specified by:
visitMlBasicCharin interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMlBasicUnescaped
Visit a parse tree produced byTomlParser.mlBasicUnescaped().The default implementation returns the result of calling
visitChildren(RuleNode)onctx.- Specified by:
visitMlBasicUnescapedin interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLiteralString
Visit a parse tree produced byTomlParser.literalString().The default implementation returns the result of calling
visitChildren(RuleNode)onctx.- Specified by:
visitLiteralStringin interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLiteralBody
Visit a parse tree produced byTomlParser.literalBody().The default implementation returns the result of calling
visitChildren(RuleNode)onctx.- Specified by:
visitLiteralBodyin interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMlLiteralString
Visit a parse tree produced byTomlParser.mlLiteralString().The default implementation returns the result of calling
visitChildren(RuleNode)onctx.- Specified by:
visitMlLiteralStringin interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMlLiteralBody
Visit a parse tree produced byTomlParser.mlLiteralBody().The default implementation returns the result of calling
visitChildren(RuleNode)onctx.- Specified by:
visitMlLiteralBodyin 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
visitChildren(RuleNode)onctx.- Specified by:
visitIntegerin interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDecInt
Visit a parse tree produced byTomlParser.decInt().The default implementation returns the result of calling
visitChildren(RuleNode)onctx.- Specified by:
visitDecIntin interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitHexInt
Visit a parse tree produced byTomlParser.hexInt().The default implementation returns the result of calling
visitChildren(RuleNode)onctx.- Specified by:
visitHexIntin interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOctInt
Visit a parse tree produced byTomlParser.octInt().The default implementation returns the result of calling
visitChildren(RuleNode)onctx.- Specified by:
visitOctIntin interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBinInt
Visit a parse tree produced byTomlParser.binInt().The default implementation returns the result of calling
visitChildren(RuleNode)onctx.- Specified by:
visitBinIntin interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFloatValue
Visit a parse tree produced byTomlParser.floatValue().The default implementation returns the result of calling
visitChildren(RuleNode)onctx.- Specified by:
visitFloatValuein interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRegularFloat
Visit a parse tree produced byTomlParser.regularFloat().The default implementation returns the result of calling
visitChildren(RuleNode)onctx.- Specified by:
visitRegularFloatin interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRegularFloatInf
Visit a parse tree produced byTomlParser.regularFloatInf().The default implementation returns the result of calling
visitChildren(RuleNode)onctx.- Specified by:
visitRegularFloatInfin interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRegularFloatNaN
Visit a parse tree produced byTomlParser.regularFloatNaN().The default implementation returns the result of calling
visitChildren(RuleNode)onctx.- Specified by:
visitRegularFloatNaNin interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBooleanValue
Visit a parse tree produced byTomlParser.booleanValue().The default implementation returns the result of calling
visitChildren(RuleNode)onctx.- Specified by:
visitBooleanValuein interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTrueBool
Visit a parse tree produced byTomlParser.trueBool().The default implementation returns the result of calling
visitChildren(RuleNode)onctx.- Specified by:
visitTrueBoolin interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFalseBool
Visit a parse tree produced byTomlParser.falseBool().The default implementation returns the result of calling
visitChildren(RuleNode)onctx.- Specified by:
visitFalseBoolin 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
visitChildren(RuleNode)onctx.- Specified by:
visitDateTimein interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOffsetDateTime
Visit a parse tree produced byTomlParser.offsetDateTime().The default implementation returns the result of calling
visitChildren(RuleNode)onctx.- Specified by:
visitOffsetDateTimein interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLocalDateTime
Visit a parse tree produced byTomlParser.localDateTime().The default implementation returns the result of calling
visitChildren(RuleNode)onctx.- Specified by:
visitLocalDateTimein interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLocalDate
Visit a parse tree produced byTomlParser.localDate().The default implementation returns the result of calling
visitChildren(RuleNode)onctx.- Specified by:
visitLocalDatein interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLocalTime
Visit a parse tree produced byTomlParser.localTime().The default implementation returns the result of calling
visitChildren(RuleNode)onctx.- Specified by:
visitLocalTimein interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDate
Visit a parse tree produced byTomlParser.date().The default implementation returns the result of calling
visitChildren(RuleNode)onctx.- Specified by:
visitDatein interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTime
Visit a parse tree produced byTomlParser.time().The default implementation returns the result of calling
visitChildren(RuleNode)onctx.- Specified by:
visitTimein interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTimeOffset
Visit a parse tree produced byTomlParser.timeOffset().The default implementation returns the result of calling
visitChildren(RuleNode)onctx.- Specified by:
visitTimeOffsetin interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitHourOffset
Visit a parse tree produced byTomlParser.hourOffset().The default implementation returns the result of calling
visitChildren(RuleNode)onctx.- Specified by:
visitHourOffsetin interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMinuteOffset
Visit a parse tree produced byTomlParser.minuteOffset().The default implementation returns the result of calling
visitChildren(RuleNode)onctx.- Specified by:
visitMinuteOffsetin interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSecondFraction
Visit a parse tree produced byTomlParser.secondFraction().The default implementation returns the result of calling
visitChildren(RuleNode)onctx.- Specified by:
visitSecondFractionin interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitYear
Visit a parse tree produced byTomlParser.year().The default implementation returns the result of calling
visitChildren(RuleNode)onctx.- Specified by:
visitYearin interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMonth
Visit a parse tree produced byTomlParser.month().The default implementation returns the result of calling
visitChildren(RuleNode)onctx.- Specified by:
visitMonthin interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDay
Visit a parse tree produced byTomlParser.day().The default implementation returns the result of calling
visitChildren(RuleNode)onctx.- Specified by:
visitDayin interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitHour
Visit a parse tree produced byTomlParser.hour().The default implementation returns the result of calling
visitChildren(RuleNode)onctx.- Specified by:
visitHourin interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMinute
Visit a parse tree produced byTomlParser.minute().The default implementation returns the result of calling
visitChildren(RuleNode)onctx.- Specified by:
visitMinutein interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSecond
Visit a parse tree produced byTomlParser.second().The default implementation returns the result of calling
visitChildren(RuleNode)onctx.- Specified by:
visitSecondin 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
visitChildren(RuleNode)onctx.- Specified by:
visitArrayin interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArrayValues
Visit a parse tree produced byTomlParser.arrayValues().The default implementation returns the result of calling
visitChildren(RuleNode)onctx.- Specified by:
visitArrayValuesin interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArrayValue
Visit a parse tree produced byTomlParser.arrayValue().The default implementation returns the result of calling
visitChildren(RuleNode)onctx.- Specified by:
visitArrayValuein 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
visitChildren(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
visitChildren(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
visitChildren(RuleNode)onctx.- Specified by:
visitInlineTablein interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInlineTableValues
Visit a parse tree produced byTomlParser.inlineTableValues().The default implementation returns the result of calling
visitChildren(RuleNode)onctx.- Specified by:
visitInlineTableValuesin 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
visitChildren(RuleNode)onctx.- Specified by:
visitArrayTablein interfaceTomlParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visit
-
visitChildren
-
visitTerminal
-
visitErrorNode
-
visit
-
visitChildren
-
visitTerminal
-
visitErrorNode
-
defaultResult
-
aggregateResult
-
shouldVisitNextChild
-