Package io.github.timortel.kmpgrpc.anltr
Interface Protobuf3Visitor<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>
public interface Protobuf3Visitor<T>
extends org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
This interface defines a complete generic visitor for a parse tree produced
by
Protobuf3Parser.-
Method Summary
Modifier and TypeMethodDescriptionvisitBlockLit(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.BlockLitContext ctx) Visit a parse tree produced byProtobuf3Parser.blockLit().visitBoolLit(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.BoolLitContext ctx) Visit a parse tree produced byProtobuf3Parser.boolLit().visitConstant(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.ConstantContext ctx) Visit a parse tree produced byProtobuf3Parser.constant().visitEmptyStatement_(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.EmptyStatement_Context ctx) Visit a parse tree produced byProtobuf3Parser.emptyStatement_().visitEnumBody(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.EnumBodyContext ctx) Visit a parse tree produced byProtobuf3Parser.enumBody().visitEnumDef(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.EnumDefContext ctx) Visit a parse tree produced byProtobuf3Parser.enumDef().visitEnumElement(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.EnumElementContext ctx) Visit a parse tree produced byProtobuf3Parser.enumElement().visitEnumField(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.EnumFieldContext ctx) Visit a parse tree produced byProtobuf3Parser.enumField().visitEnumName(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.EnumNameContext ctx) Visit a parse tree produced byProtobuf3Parser.enumName().visitEnumType(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.EnumTypeContext ctx) Visit a parse tree produced byProtobuf3Parser.enumType().visitEnumValueOption(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.EnumValueOptionContext ctx) Visit a parse tree produced byProtobuf3Parser.enumValueOption().visitEnumValueOptions(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.EnumValueOptionsContext ctx) Visit a parse tree produced byProtobuf3Parser.enumValueOptions().visitExtendDef(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.ExtendDefContext ctx) Visit a parse tree produced byProtobuf3Parser.extendDef().visitField(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.FieldContext ctx) Visit a parse tree produced byProtobuf3Parser.field().visitFieldLabel(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.FieldLabelContext ctx) Visit a parse tree produced byProtobuf3Parser.fieldLabel().visitFieldName(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.FieldNameContext ctx) Visit a parse tree produced byProtobuf3Parser.fieldName().visitFieldNumber(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.FieldNumberContext ctx) Visit a parse tree produced byProtobuf3Parser.fieldNumber().visitFieldOption(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.FieldOptionContext ctx) Visit a parse tree produced byProtobuf3Parser.fieldOption().visitFieldOptions(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.FieldOptionsContext ctx) Visit a parse tree produced byProtobuf3Parser.fieldOptions().visitFloatLit(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.FloatLitContext ctx) Visit a parse tree produced byProtobuf3Parser.floatLit().visitFullIdent(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.FullIdentContext ctx) Visit a parse tree produced byProtobuf3Parser.fullIdent().visitIdent(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.IdentContext ctx) Visit a parse tree produced byProtobuf3Parser.ident().visitImportStatement(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.ImportStatementContext ctx) Visit a parse tree produced byProtobuf3Parser.importStatement().visitIntLit(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.IntLitContext ctx) Visit a parse tree produced byProtobuf3Parser.intLit().visitKeyType(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.KeyTypeContext ctx) Visit a parse tree produced byProtobuf3Parser.keyType().visitKeywords(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.KeywordsContext ctx) Visit a parse tree produced byProtobuf3Parser.keywords().visitMapField(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.MapFieldContext ctx) Visit a parse tree produced byProtobuf3Parser.mapField().visitMapName(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.MapNameContext ctx) Visit a parse tree produced byProtobuf3Parser.mapName().visitMessageBody(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.MessageBodyContext ctx) Visit a parse tree produced byProtobuf3Parser.messageBody().visitMessageDef(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.MessageDefContext ctx) Visit a parse tree produced byProtobuf3Parser.messageDef().visitMessageElement(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.MessageElementContext ctx) Visit a parse tree produced byProtobuf3Parser.messageElement().visitMessageName(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.MessageNameContext ctx) Visit a parse tree produced byProtobuf3Parser.messageName().visitMessageType(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.MessageTypeContext ctx) Visit a parse tree produced byProtobuf3Parser.messageType().visitOneof(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.OneofContext ctx) Visit a parse tree produced byProtobuf3Parser.oneof().visitOneofField(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.OneofFieldContext ctx) Visit a parse tree produced byProtobuf3Parser.oneofField().visitOneofName(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.OneofNameContext ctx) Visit a parse tree produced byProtobuf3Parser.oneofName().visitOptionName(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.OptionNameContext ctx) Visit a parse tree produced byProtobuf3Parser.optionName().visitOptionStatement(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.OptionStatementContext ctx) Visit a parse tree produced byProtobuf3Parser.optionStatement().visitPackageStatement(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.PackageStatementContext ctx) Visit a parse tree produced byProtobuf3Parser.packageStatement().visitProto(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.ProtoContext ctx) Visit a parse tree produced byProtobuf3Parser.proto().visitRange_(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.Range_Context ctx) Visit a parse tree produced byProtobuf3Parser.range_().visitRanges(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.RangesContext ctx) Visit a parse tree produced byProtobuf3Parser.ranges().visitReserved(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.ReservedContext ctx) Visit a parse tree produced byProtobuf3Parser.reserved().visitReservedFieldNames(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.ReservedFieldNamesContext ctx) Visit a parse tree produced byProtobuf3Parser.reservedFieldNames().visitRpc(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.RpcContext ctx) Visit a parse tree produced byProtobuf3Parser.rpc().visitRpcName(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.RpcNameContext ctx) Visit a parse tree produced byProtobuf3Parser.rpcName().visitServiceDef(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.ServiceDefContext ctx) Visit a parse tree produced byProtobuf3Parser.serviceDef().visitServiceElement(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.ServiceElementContext ctx) Visit a parse tree produced byProtobuf3Parser.serviceElement().visitServiceName(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.ServiceNameContext ctx) Visit a parse tree produced byProtobuf3Parser.serviceName().visitStrLit(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.StrLitContext ctx) Visit a parse tree produced byProtobuf3Parser.strLit().visitSyntax(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.SyntaxContext ctx) Visit a parse tree produced byProtobuf3Parser.syntax().visitTopLevelDef(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.TopLevelDefContext ctx) Visit a parse tree produced byProtobuf3Parser.topLevelDef().visitType_(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.Type_Context ctx) Visit a parse tree produced byProtobuf3Parser.type_().Methods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Method Details
-
visitProto
Visit a parse tree produced byProtobuf3Parser.proto().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSyntax
Visit a parse tree produced byProtobuf3Parser.syntax().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImportStatement
Visit a parse tree produced byProtobuf3Parser.importStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPackageStatement
T visitPackageStatement(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.PackageStatementContext ctx) Visit a parse tree produced byProtobuf3Parser.packageStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOptionStatement
Visit a parse tree produced byProtobuf3Parser.optionStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOptionName
Visit a parse tree produced byProtobuf3Parser.optionName().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFieldLabel
Visit a parse tree produced byProtobuf3Parser.fieldLabel().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitField
Visit a parse tree produced byProtobuf3Parser.field().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFieldOptions
Visit a parse tree produced byProtobuf3Parser.fieldOptions().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFieldOption
Visit a parse tree produced byProtobuf3Parser.fieldOption().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFieldNumber
Visit a parse tree produced byProtobuf3Parser.fieldNumber().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOneof
Visit a parse tree produced byProtobuf3Parser.oneof().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOneofField
Visit a parse tree produced byProtobuf3Parser.oneofField().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMapField
Visit a parse tree produced byProtobuf3Parser.mapField().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitKeyType
Visit a parse tree produced byProtobuf3Parser.keyType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitType_
Visit a parse tree produced byProtobuf3Parser.type_().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitReserved
Visit a parse tree produced byProtobuf3Parser.reserved().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRanges
Visit a parse tree produced byProtobuf3Parser.ranges().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRange_
Visit a parse tree produced byProtobuf3Parser.range_().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitReservedFieldNames
T visitReservedFieldNames(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.ReservedFieldNamesContext ctx) Visit a parse tree produced byProtobuf3Parser.reservedFieldNames().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTopLevelDef
Visit a parse tree produced byProtobuf3Parser.topLevelDef().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumDef
Visit a parse tree produced byProtobuf3Parser.enumDef().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumBody
Visit a parse tree produced byProtobuf3Parser.enumBody().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumElement
Visit a parse tree produced byProtobuf3Parser.enumElement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumField
Visit a parse tree produced byProtobuf3Parser.enumField().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumValueOptions
T visitEnumValueOptions(io.github.timortel.kmpgrpc.anltr.Protobuf3Parser.EnumValueOptionsContext ctx) Visit a parse tree produced byProtobuf3Parser.enumValueOptions().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumValueOption
Visit a parse tree produced byProtobuf3Parser.enumValueOption().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMessageDef
Visit a parse tree produced byProtobuf3Parser.messageDef().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMessageBody
Visit a parse tree produced byProtobuf3Parser.messageBody().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMessageElement
Visit a parse tree produced byProtobuf3Parser.messageElement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExtendDef
Visit a parse tree produced byProtobuf3Parser.extendDef().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitServiceDef
Visit a parse tree produced byProtobuf3Parser.serviceDef().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitServiceElement
Visit a parse tree produced byProtobuf3Parser.serviceElement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRpc
Visit a parse tree produced byProtobuf3Parser.rpc().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConstant
Visit a parse tree produced byProtobuf3Parser.constant().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBlockLit
Visit a parse tree produced byProtobuf3Parser.blockLit().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEmptyStatement_
Visit a parse tree produced byProtobuf3Parser.emptyStatement_().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIdent
Visit a parse tree produced byProtobuf3Parser.ident().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFullIdent
Visit a parse tree produced byProtobuf3Parser.fullIdent().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMessageName
Visit a parse tree produced byProtobuf3Parser.messageName().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumName
Visit a parse tree produced byProtobuf3Parser.enumName().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFieldName
Visit a parse tree produced byProtobuf3Parser.fieldName().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOneofName
Visit a parse tree produced byProtobuf3Parser.oneofName().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMapName
Visit a parse tree produced byProtobuf3Parser.mapName().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitServiceName
Visit a parse tree produced byProtobuf3Parser.serviceName().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRpcName
Visit a parse tree produced byProtobuf3Parser.rpcName().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMessageType
Visit a parse tree produced byProtobuf3Parser.messageType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumType
Visit a parse tree produced byProtobuf3Parser.enumType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIntLit
Visit a parse tree produced byProtobuf3Parser.intLit().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStrLit
Visit a parse tree produced byProtobuf3Parser.strLit().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBoolLit
Visit a parse tree produced byProtobuf3Parser.boolLit().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFloatLit
Visit a parse tree produced byProtobuf3Parser.floatLit().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitKeywords
Visit a parse tree produced byProtobuf3Parser.keywords().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-