Interface Protobuf2ParserVisitor<T>
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Superinterfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
- All Known Implementing Classes:
Protobuf2ParserBaseVisitor,ProtoParserVisitor
public interface Protobuf2ParserVisitor<T>
extends org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
This interface defines a complete generic visitor for a parse tree produced
by
Protobuf2Parser.-
Method Summary
Modifier and TypeMethodDescriptionVisit a parse tree produced byProtobuf2Parser.constant().Visit a parse tree produced byProtobuf2Parser.emptyStatement().Visit a parse tree produced byProtobuf2Parser.enumBody().Visit a parse tree produced byProtobuf2Parser.enumDefinition().Visit a parse tree produced byProtobuf2Parser.enumField().Visit a parse tree produced byProtobuf2Parser.extend().Visit a parse tree produced byProtobuf2Parser.field().Visit a parse tree produced byProtobuf2Parser.fieldNames().Visit a parse tree produced byProtobuf2Parser.fullIdent().Visit a parse tree produced by theFullyQualifiedTypelabeled alternative inProtobuf2Parser.type().Visit a parse tree produced byProtobuf2Parser.ident().Visit a parse tree produced byProtobuf2Parser.identOrReserved().Visit a parse tree produced byProtobuf2Parser.importStatement().Visit a parse tree produced byProtobuf2Parser.keyType().Visit a parse tree produced byProtobuf2Parser.mapField().Visit a parse tree produced byProtobuf2Parser.message().Visit a parse tree produced byProtobuf2Parser.messageBody().Visit a parse tree produced byProtobuf2Parser.messageField().Visit a parse tree produced byProtobuf2Parser.oneOf().Visit a parse tree produced byProtobuf2Parser.option().Visit a parse tree produced byProtobuf2Parser.optionDef().Visit a parse tree produced byProtobuf2Parser.optionList().Visit a parse tree produced byProtobuf2Parser.optionName().Visit a parse tree produced byProtobuf2Parser.packageStatement().Visit a parse tree produced by thePrimitiveTypelabeled alternative inProtobuf2Parser.type().Visit a parse tree produced byProtobuf2Parser.proto().Visit a parse tree produced byProtobuf2Parser.range().Visit a parse tree produced byProtobuf2Parser.ranges().Visit a parse tree produced byProtobuf2Parser.reserved().Visit a parse tree produced byProtobuf2Parser.reservedWord().Visit a parse tree produced byProtobuf2Parser.rpc().Visit a parse tree produced byProtobuf2Parser.rpcBody().Visit a parse tree produced byProtobuf2Parser.rpcInOut().Visit a parse tree produced byProtobuf2Parser.service().Visit a parse tree produced byProtobuf2Parser.serviceBody().Visit a parse tree produced byProtobuf2Parser.stringLiteral().Visit a parse tree produced byProtobuf2Parser.syntax().Visit a parse tree produced byProtobuf2Parser.topLevelDef().Methods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Method Details
-
visitProto
Visit a parse tree produced byProtobuf2Parser.proto().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStringLiteral
Visit a parse tree produced byProtobuf2Parser.stringLiteral().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIdentOrReserved
Visit a parse tree produced byProtobuf2Parser.identOrReserved().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSyntax
Visit a parse tree produced byProtobuf2Parser.syntax().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImportStatement
Visit a parse tree produced byProtobuf2Parser.importStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPackageStatement
Visit a parse tree produced byProtobuf2Parser.packageStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOptionName
Visit a parse tree produced byProtobuf2Parser.optionName().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOption
Visit a parse tree produced byProtobuf2Parser.option().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOptionDef
Visit a parse tree produced byProtobuf2Parser.optionDef().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOptionList
Visit a parse tree produced byProtobuf2Parser.optionList().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTopLevelDef
Visit a parse tree produced byProtobuf2Parser.topLevelDef().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIdent
Visit a parse tree produced byProtobuf2Parser.ident().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMessage
Visit a parse tree produced byProtobuf2Parser.message().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMessageField
Visit a parse tree produced byProtobuf2Parser.messageField().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMessageBody
Visit a parse tree produced byProtobuf2Parser.messageBody().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExtend
Visit a parse tree produced byProtobuf2Parser.extend().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumDefinition
Visit a parse tree produced byProtobuf2Parser.enumDefinition().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumBody
Visit a parse tree produced byProtobuf2Parser.enumBody().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumField
Visit a parse tree produced byProtobuf2Parser.enumField().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitService
Visit a parse tree produced byProtobuf2Parser.service().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitServiceBody
Visit a parse tree produced byProtobuf2Parser.serviceBody().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRpc
Visit a parse tree produced byProtobuf2Parser.rpc().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRpcInOut
Visit a parse tree produced byProtobuf2Parser.rpcInOut().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRpcBody
Visit a parse tree produced byProtobuf2Parser.rpcBody().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitReserved
Visit a parse tree produced byProtobuf2Parser.reserved().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRanges
Visit a parse tree produced byProtobuf2Parser.ranges().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRange
Visit a parse tree produced byProtobuf2Parser.range().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFieldNames
Visit a parse tree produced byProtobuf2Parser.fieldNames().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPrimitiveType
Visit a parse tree produced by thePrimitiveTypelabeled alternative inProtobuf2Parser.type().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFullyQualifiedType
Visit a parse tree produced by theFullyQualifiedTypelabeled alternative inProtobuf2Parser.type().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitField
Visit a parse tree produced byProtobuf2Parser.field().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOneOf
Visit a parse tree produced byProtobuf2Parser.oneOf().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMapField
Visit a parse tree produced byProtobuf2Parser.mapField().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitKeyType
Visit a parse tree produced byProtobuf2Parser.keyType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitReservedWord
Visit a parse tree produced byProtobuf2Parser.reservedWord().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFullIdent
Visit a parse tree produced byProtobuf2Parser.fullIdent().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEmptyStatement
Visit a parse tree produced byProtobuf2Parser.emptyStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConstant
Visit a parse tree produced byProtobuf2Parser.constant().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-