Package org.tomlj.internal
Interface TomlParserVisitor<T>
-
- Type Parameters:
T
- The return type of the visit operation. UseVoid
for operations with no return type.
- All Superinterfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
- All Known Implementing Classes:
ArrayVisitor
,InlineTableVisitor
,KeyVisitor
,LineVisitor
,LocalDateVisitor
,LocalTimeVisitor
,QuotedStringVisitor
,TomlParserBaseVisitor
,ValueVisitor
,ZoneOffsetVisitor
public interface TomlParserVisitor<T> extends org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
This interface defines a complete generic visitor for a parse tree produced byTomlParser
.
-
-
Method Summary
-
-
-
Method Detail
-
visitToml
T visitToml(TomlParser.TomlContext ctx)
Visit a parse tree produced byTomlParser.toml()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExpression
T visitExpression(TomlParser.ExpressionContext ctx)
Visit a parse tree produced byTomlParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTomlKey
T visitTomlKey(TomlParser.TomlKeyContext ctx)
Visit a parse tree produced byTomlParser.tomlKey()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitKeyval
T visitKeyval(TomlParser.KeyvalContext ctx)
Visit a parse tree produced byTomlParser.keyval()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitKey
T visitKey(TomlParser.KeyContext ctx)
Visit a parse tree produced byTomlParser.key()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSimpleKey
T visitSimpleKey(TomlParser.SimpleKeyContext ctx)
Visit a parse tree produced byTomlParser.simpleKey()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitUnquotedKey
T visitUnquotedKey(TomlParser.UnquotedKeyContext ctx)
Visit a parse tree produced byTomlParser.unquotedKey()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitQuotedKey
T visitQuotedKey(TomlParser.QuotedKeyContext ctx)
Visit a parse tree produced byTomlParser.quotedKey()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitVal
T visitVal(TomlParser.ValContext ctx)
Visit a parse tree produced byTomlParser.val()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitString
T visitString(TomlParser.StringContext ctx)
Visit a parse tree produced byTomlParser.string()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBasicString
T visitBasicString(TomlParser.BasicStringContext ctx)
Visit a parse tree produced byTomlParser.basicString()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBasicChar
T visitBasicChar(TomlParser.BasicCharContext ctx)
Visit a parse tree produced byTomlParser.basicChar()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBasicUnescaped
T visitBasicUnescaped(TomlParser.BasicUnescapedContext ctx)
Visit a parse tree produced byTomlParser.basicUnescaped()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEscaped
T visitEscaped(TomlParser.EscapedContext ctx)
Visit a parse tree produced byTomlParser.escaped()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMlBasicString
T visitMlBasicString(TomlParser.MlBasicStringContext ctx)
Visit a parse tree produced byTomlParser.mlBasicString()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMlBasicChar
T visitMlBasicChar(TomlParser.MlBasicCharContext ctx)
Visit a parse tree produced byTomlParser.mlBasicChar()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMlBasicUnescaped
T visitMlBasicUnescaped(TomlParser.MlBasicUnescapedContext ctx)
Visit a parse tree produced byTomlParser.mlBasicUnescaped()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLiteralString
T visitLiteralString(TomlParser.LiteralStringContext ctx)
Visit a parse tree produced byTomlParser.literalString()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLiteralBody
T visitLiteralBody(TomlParser.LiteralBodyContext ctx)
Visit a parse tree produced byTomlParser.literalBody()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMlLiteralString
T visitMlLiteralString(TomlParser.MlLiteralStringContext ctx)
Visit a parse tree produced byTomlParser.mlLiteralString()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMlLiteralBody
T visitMlLiteralBody(TomlParser.MlLiteralBodyContext ctx)
Visit a parse tree produced byTomlParser.mlLiteralBody()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitInteger
T visitInteger(TomlParser.IntegerContext ctx)
Visit a parse tree produced byTomlParser.integer()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDecInt
T visitDecInt(TomlParser.DecIntContext ctx)
Visit a parse tree produced byTomlParser.decInt()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitHexInt
T visitHexInt(TomlParser.HexIntContext ctx)
Visit a parse tree produced byTomlParser.hexInt()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitOctInt
T visitOctInt(TomlParser.OctIntContext ctx)
Visit a parse tree produced byTomlParser.octInt()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBinInt
T visitBinInt(TomlParser.BinIntContext ctx)
Visit a parse tree produced byTomlParser.binInt()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFloatValue
T visitFloatValue(TomlParser.FloatValueContext ctx)
Visit a parse tree produced byTomlParser.floatValue()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitRegularFloat
T visitRegularFloat(TomlParser.RegularFloatContext ctx)
Visit a parse tree produced byTomlParser.regularFloat()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitRegularFloatInf
T visitRegularFloatInf(TomlParser.RegularFloatInfContext ctx)
Visit a parse tree produced byTomlParser.regularFloatInf()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitRegularFloatNaN
T visitRegularFloatNaN(TomlParser.RegularFloatNaNContext ctx)
Visit a parse tree produced byTomlParser.regularFloatNaN()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBooleanValue
T visitBooleanValue(TomlParser.BooleanValueContext ctx)
Visit a parse tree produced byTomlParser.booleanValue()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTrueBool
T visitTrueBool(TomlParser.TrueBoolContext ctx)
Visit a parse tree produced byTomlParser.trueBool()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFalseBool
T visitFalseBool(TomlParser.FalseBoolContext ctx)
Visit a parse tree produced byTomlParser.falseBool()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDateTime
T visitDateTime(TomlParser.DateTimeContext ctx)
Visit a parse tree produced byTomlParser.dateTime()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitOffsetDateTime
T visitOffsetDateTime(TomlParser.OffsetDateTimeContext ctx)
Visit a parse tree produced byTomlParser.offsetDateTime()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLocalDateTime
T visitLocalDateTime(TomlParser.LocalDateTimeContext ctx)
Visit a parse tree produced byTomlParser.localDateTime()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLocalDate
T visitLocalDate(TomlParser.LocalDateContext ctx)
Visit a parse tree produced byTomlParser.localDate()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLocalTime
T visitLocalTime(TomlParser.LocalTimeContext ctx)
Visit a parse tree produced byTomlParser.localTime()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDate
T visitDate(TomlParser.DateContext ctx)
Visit a parse tree produced byTomlParser.date()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTime
T visitTime(TomlParser.TimeContext ctx)
Visit a parse tree produced byTomlParser.time()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTimeOffset
T visitTimeOffset(TomlParser.TimeOffsetContext ctx)
Visit a parse tree produced byTomlParser.timeOffset()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitHourOffset
T visitHourOffset(TomlParser.HourOffsetContext ctx)
Visit a parse tree produced byTomlParser.hourOffset()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMinuteOffset
T visitMinuteOffset(TomlParser.MinuteOffsetContext ctx)
Visit a parse tree produced byTomlParser.minuteOffset()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSecondFraction
T visitSecondFraction(TomlParser.SecondFractionContext ctx)
Visit a parse tree produced byTomlParser.secondFraction()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitYear
T visitYear(TomlParser.YearContext ctx)
Visit a parse tree produced byTomlParser.year()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMonth
T visitMonth(TomlParser.MonthContext ctx)
Visit a parse tree produced byTomlParser.month()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDay
T visitDay(TomlParser.DayContext ctx)
Visit a parse tree produced byTomlParser.day()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitHour
T visitHour(TomlParser.HourContext ctx)
Visit a parse tree produced byTomlParser.hour()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMinute
T visitMinute(TomlParser.MinuteContext ctx)
Visit a parse tree produced byTomlParser.minute()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSecond
T visitSecond(TomlParser.SecondContext ctx)
Visit a parse tree produced byTomlParser.second()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitArray
T visitArray(TomlParser.ArrayContext ctx)
Visit a parse tree produced byTomlParser.array()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitArrayValues
T visitArrayValues(TomlParser.ArrayValuesContext ctx)
Visit a parse tree produced byTomlParser.arrayValues()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitArrayValue
T visitArrayValue(TomlParser.ArrayValueContext ctx)
Visit a parse tree produced byTomlParser.arrayValue()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTable
T visitTable(TomlParser.TableContext ctx)
Visit a parse tree produced byTomlParser.table()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStandardTable
T visitStandardTable(TomlParser.StandardTableContext ctx)
Visit a parse tree produced byTomlParser.standardTable()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitInlineTable
T visitInlineTable(TomlParser.InlineTableContext ctx)
Visit a parse tree produced byTomlParser.inlineTable()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitInlineTableValues
T visitInlineTableValues(TomlParser.InlineTableValuesContext ctx)
Visit a parse tree produced byTomlParser.inlineTableValues()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitArrayTable
T visitArrayTable(TomlParser.ArrayTableContext ctx)
Visit a parse tree produced byTomlParser.arrayTable()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
-