SNBTBaseVisitor

open class SNBTBaseVisitor<T> : AbstractParseTreeVisitor<T> , SNBTVisitor<T>

This class provides an empty implementation of SNBTVisitor, which can be extended to create a visitor which only needs to handle a subset of the available methods.

Parameters

<T>

The return type of the visit operation. Use Void for operations with no return type.

Functions

visit
Link copied to clipboard
open fun visit(tree: ParseTree): T
visitByteArray
Link copied to clipboard
open fun visitByteArray(ctx: SNBTParser.ByteArrayContext): T
Visit a parse tree produced by SNBTParser#byteArray.
visitByteNBT
Link copied to clipboard
open fun visitByteNBT(ctx: SNBTParser.ByteNBTContext): T
Visit a parse tree produced by SNBTParser#byteNBT.
visitChildren
Link copied to clipboard
open fun visitChildren(node: RuleNode): T
visitCompound
Link copied to clipboard
open fun visitCompound(ctx: SNBTParser.CompoundContext): T
Visit a parse tree produced by SNBTParser#compound.
visitDoubleNBT
Link copied to clipboard
open fun visitDoubleNBT(ctx: SNBTParser.DoubleNBTContext): T
Visit a parse tree produced by SNBTParser#doubleNBT.
visitElement
Link copied to clipboard
open fun visitElement(ctx: SNBTParser.ElementContext): T
Visit a parse tree produced by SNBTParser#element.
visitErrorNode
Link copied to clipboard
open fun visitErrorNode(node: ErrorNode): T
visitFloatNBT
Link copied to clipboard
open fun visitFloatNBT(ctx: SNBTParser.FloatNBTContext): T
Visit a parse tree produced by SNBTParser#floatNBT.
visitIdentifier
Link copied to clipboard
open fun visitIdentifier(ctx: SNBTParser.IdentifierContext): T
Visit a parse tree produced by SNBTParser#identifier.
visitIntArray
Link copied to clipboard
open fun visitIntArray(ctx: SNBTParser.IntArrayContext): T
Visit a parse tree produced by SNBTParser#intArray.
visitIntNBT
Link copied to clipboard
open fun visitIntNBT(ctx: SNBTParser.IntNBTContext): T
Visit a parse tree produced by SNBTParser#intNBT.
visitList
Link copied to clipboard
open fun visitList(ctx: SNBTParser.ListContext): T
Visit a parse tree produced by SNBTParser#list.
visitLongArray
Link copied to clipboard
open fun visitLongArray(ctx: SNBTParser.LongArrayContext): T
Visit a parse tree produced by SNBTParser#longArray.
visitLongNBT
Link copied to clipboard
open fun visitLongNBT(ctx: SNBTParser.LongNBTContext): T
Visit a parse tree produced by SNBTParser#longNBT.
visitNamedElement
Link copied to clipboard
open fun visitNamedElement(ctx: SNBTParser.NamedElementContext): T
Visit a parse tree produced by SNBTParser#namedElement.
visitShortNBT
Link copied to clipboard
open fun visitShortNBT(ctx: SNBTParser.ShortNBTContext): T
Visit a parse tree produced by SNBTParser#shortNBT.
visitSnbt
Link copied to clipboard
open fun visitSnbt(ctx: SNBTParser.SnbtContext): T
Visit a parse tree produced by SNBTParser#snbt.
visitStringNBT
Link copied to clipboard
open fun visitStringNBT(ctx: SNBTParser.StringNBTContext): T
Visit a parse tree produced by SNBTParser#stringNBT.
visitTerminal
Link copied to clipboard
open fun visitTerminal(node: TerminalNode): T