Class LineVisitor
java.lang.Object
org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<MutableTomlTable>
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<MutableTomlTable>, TomlParserVisitor<MutableTomlTable>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate MutableTomlTableprivate final ErrorReporterprivate final Map<MutableTomlTable, TomlPosition> private final MutableTomlTableprivate final TomlVersion -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected MutableTomlTableaggregateResult(MutableTomlTable aggregate, MutableTomlTable nextResult) protected MutableTomlTableprivate voidVisit a parse tree produced byTomlParser.arrayTable().Visit a parse tree produced byTomlParser.keyval().Visit a parse tree produced byTomlParser.standardTable().Methods inherited from class TomlParserBaseVisitor
visitArray, visitArrayValue, visitArrayValues, visitBasicChar, visitBasicString, visitBasicUnescaped, visitBinInt, visitBooleanValue, visitDate, visitDateTime, visitDay, visitDecInt, visitEscaped, visitExpression, visitFalseBool, visitFloatValue, visitHexInt, visitHour, visitHourOffset, visitInlineTable, visitInlineTableValues, visitInteger, visitKey, visitLiteralBody, visitLiteralString, visitLocalDate, visitLocalDateTime, visitLocalTime, visitMinute, visitMinuteOffset, visitMlBasicChar, visitMlBasicString, visitMlBasicUnescaped, visitMlLiteralBody, visitMlLiteralString, visitMonth, visitOctInt, visitOffsetDateTime, visitQuotedKey, visitRegularFloat, visitRegularFloatInf, visitRegularFloatNaN, visitSecond, visitSecondFraction, visitSimpleKey, visitString, visitTable, visitTime, visitTimeOffset, visitToml, visitTomlKey, visitTrueBool, visitUnquotedKey, visitVal, visitYearMethods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminalMethods inherited from class 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
-
Field Details
-
version
-
errorReporter
-
rootTable
-
currentTable
-
openTables
-
-
Constructor Details
-
LineVisitor
LineVisitor(TomlVersion version, ErrorReporter errorReporter)
-
-
Method Details
-
visitKeyval
Description copied from class:TomlParserBaseVisitorVisit a parse tree produced byTomlParser.keyval().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitKeyvalin interfaceTomlParserVisitor<MutableTomlTable>- Overrides:
visitKeyvalin classTomlParserBaseVisitor<MutableTomlTable>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStandardTable
Description copied from class:TomlParserBaseVisitorVisit a parse tree produced byTomlParser.standardTable().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitStandardTablein interfaceTomlParserVisitor<MutableTomlTable>- Overrides:
visitStandardTablein classTomlParserBaseVisitor<MutableTomlTable>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArrayTable
Description copied from class:TomlParserBaseVisitorVisit a parse tree produced byTomlParser.arrayTable().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(RuleNode)onctx.- Specified by:
visitArrayTablein interfaceTomlParserVisitor<MutableTomlTable>- Overrides:
visitArrayTablein classTomlParserBaseVisitor<MutableTomlTable>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
aggregateResult
- Overrides:
aggregateResultin classorg.antlr.v4.runtime.tree.AbstractParseTreeVisitor<MutableTomlTable>
-
defaultResult
- Overrides:
defaultResultin classorg.antlr.v4.runtime.tree.AbstractParseTreeVisitor<MutableTomlTable>
-
defineOpenTables
private void defineOpenTables()
-