Documentation ¶
Index ¶
- Constants
- func Protobuf3LexerInit()
- func Protobuf3ParserInit()
- type BaseProtobuf3Listener
- func (s *BaseProtobuf3Listener) EnterConstant(ctx *ConstantContext)
- func (s *BaseProtobuf3Listener) EnterEmptyStatement(ctx *EmptyStatementContext)
- func (s *BaseProtobuf3Listener) EnterEnumBody(ctx *EnumBodyContext)
- func (s *BaseProtobuf3Listener) EnterEnumDefinition(ctx *EnumDefinitionContext)
- func (s *BaseProtobuf3Listener) EnterEnumField(ctx *EnumFieldContext)
- func (s *BaseProtobuf3Listener) EnterEnumName(ctx *EnumNameContext)
- func (s *BaseProtobuf3Listener) EnterEnumValueOption(ctx *EnumValueOptionContext)
- func (s *BaseProtobuf3Listener) EnterEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseProtobuf3Listener) EnterExtend(ctx *ExtendContext)
- func (s *BaseProtobuf3Listener) EnterField(ctx *FieldContext)
- func (s *BaseProtobuf3Listener) EnterFieldName(ctx *FieldNameContext)
- func (s *BaseProtobuf3Listener) EnterFieldNames(ctx *FieldNamesContext)
- func (s *BaseProtobuf3Listener) EnterFieldNumber(ctx *FieldNumberContext)
- func (s *BaseProtobuf3Listener) EnterFieldOption(ctx *FieldOptionContext)
- func (s *BaseProtobuf3Listener) EnterFieldOptions(ctx *FieldOptionsContext)
- func (s *BaseProtobuf3Listener) EnterFullIdent(ctx *FullIdentContext)
- func (s *BaseProtobuf3Listener) EnterImportStatement(ctx *ImportStatementContext)
- func (s *BaseProtobuf3Listener) EnterKeyType(ctx *KeyTypeContext)
- func (s *BaseProtobuf3Listener) EnterMapField(ctx *MapFieldContext)
- func (s *BaseProtobuf3Listener) EnterMapName(ctx *MapNameContext)
- func (s *BaseProtobuf3Listener) EnterMessage(ctx *MessageContext)
- func (s *BaseProtobuf3Listener) EnterMessageBody(ctx *MessageBodyContext)
- func (s *BaseProtobuf3Listener) EnterMessageBodyContent(ctx *MessageBodyContentContext)
- func (s *BaseProtobuf3Listener) EnterMessageName(ctx *MessageNameContext)
- func (s *BaseProtobuf3Listener) EnterMessageOrEnumName(ctx *MessageOrEnumNameContext)
- func (s *BaseProtobuf3Listener) EnterMessageOrEnumType(ctx *MessageOrEnumTypeContext)
- func (s *BaseProtobuf3Listener) EnterMessageType(ctx *MessageTypeContext)
- func (s *BaseProtobuf3Listener) EnterOneof(ctx *OneofContext)
- func (s *BaseProtobuf3Listener) EnterOneofField(ctx *OneofFieldContext)
- func (s *BaseProtobuf3Listener) EnterOneofName(ctx *OneofNameContext)
- func (s *BaseProtobuf3Listener) EnterOption(ctx *OptionContext)
- func (s *BaseProtobuf3Listener) EnterOptionBody(ctx *OptionBodyContext)
- func (s *BaseProtobuf3Listener) EnterOptionBodyVariable(ctx *OptionBodyVariableContext)
- func (s *BaseProtobuf3Listener) EnterOptionName(ctx *OptionNameContext)
- func (s *BaseProtobuf3Listener) EnterPackageStatement(ctx *PackageStatementContext)
- func (s *BaseProtobuf3Listener) EnterProto(ctx *ProtoContext)
- func (s *BaseProtobuf3Listener) EnterRangeRule(ctx *RangeRuleContext)
- func (s *BaseProtobuf3Listener) EnterRanges(ctx *RangesContext)
- func (s *BaseProtobuf3Listener) EnterReserved(ctx *ReservedContext)
- func (s *BaseProtobuf3Listener) EnterReservedWord(ctx *ReservedWordContext)
- func (s *BaseProtobuf3Listener) EnterRpc(ctx *RpcContext)
- func (s *BaseProtobuf3Listener) EnterRpcName(ctx *RpcNameContext)
- func (s *BaseProtobuf3Listener) EnterService(ctx *ServiceContext)
- func (s *BaseProtobuf3Listener) EnterServiceName(ctx *ServiceNameContext)
- func (s *BaseProtobuf3Listener) EnterSimpleType(ctx *SimpleTypeContext)
- func (s *BaseProtobuf3Listener) EnterSyntax(ctx *SyntaxContext)
- func (s *BaseProtobuf3Listener) EnterSyntaxExtra(ctx *SyntaxExtraContext)
- func (s *BaseProtobuf3Listener) EnterTopLevelDef(ctx *TopLevelDefContext)
- func (s *BaseProtobuf3Listener) EnterTypeRule(ctx *TypeRuleContext)
- func (s *BaseProtobuf3Listener) ExitConstant(ctx *ConstantContext)
- func (s *BaseProtobuf3Listener) ExitEmptyStatement(ctx *EmptyStatementContext)
- func (s *BaseProtobuf3Listener) ExitEnumBody(ctx *EnumBodyContext)
- func (s *BaseProtobuf3Listener) ExitEnumDefinition(ctx *EnumDefinitionContext)
- func (s *BaseProtobuf3Listener) ExitEnumField(ctx *EnumFieldContext)
- func (s *BaseProtobuf3Listener) ExitEnumName(ctx *EnumNameContext)
- func (s *BaseProtobuf3Listener) ExitEnumValueOption(ctx *EnumValueOptionContext)
- func (s *BaseProtobuf3Listener) ExitEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseProtobuf3Listener) ExitExtend(ctx *ExtendContext)
- func (s *BaseProtobuf3Listener) ExitField(ctx *FieldContext)
- func (s *BaseProtobuf3Listener) ExitFieldName(ctx *FieldNameContext)
- func (s *BaseProtobuf3Listener) ExitFieldNames(ctx *FieldNamesContext)
- func (s *BaseProtobuf3Listener) ExitFieldNumber(ctx *FieldNumberContext)
- func (s *BaseProtobuf3Listener) ExitFieldOption(ctx *FieldOptionContext)
- func (s *BaseProtobuf3Listener) ExitFieldOptions(ctx *FieldOptionsContext)
- func (s *BaseProtobuf3Listener) ExitFullIdent(ctx *FullIdentContext)
- func (s *BaseProtobuf3Listener) ExitImportStatement(ctx *ImportStatementContext)
- func (s *BaseProtobuf3Listener) ExitKeyType(ctx *KeyTypeContext)
- func (s *BaseProtobuf3Listener) ExitMapField(ctx *MapFieldContext)
- func (s *BaseProtobuf3Listener) ExitMapName(ctx *MapNameContext)
- func (s *BaseProtobuf3Listener) ExitMessage(ctx *MessageContext)
- func (s *BaseProtobuf3Listener) ExitMessageBody(ctx *MessageBodyContext)
- func (s *BaseProtobuf3Listener) ExitMessageBodyContent(ctx *MessageBodyContentContext)
- func (s *BaseProtobuf3Listener) ExitMessageName(ctx *MessageNameContext)
- func (s *BaseProtobuf3Listener) ExitMessageOrEnumName(ctx *MessageOrEnumNameContext)
- func (s *BaseProtobuf3Listener) ExitMessageOrEnumType(ctx *MessageOrEnumTypeContext)
- func (s *BaseProtobuf3Listener) ExitMessageType(ctx *MessageTypeContext)
- func (s *BaseProtobuf3Listener) ExitOneof(ctx *OneofContext)
- func (s *BaseProtobuf3Listener) ExitOneofField(ctx *OneofFieldContext)
- func (s *BaseProtobuf3Listener) ExitOneofName(ctx *OneofNameContext)
- func (s *BaseProtobuf3Listener) ExitOption(ctx *OptionContext)
- func (s *BaseProtobuf3Listener) ExitOptionBody(ctx *OptionBodyContext)
- func (s *BaseProtobuf3Listener) ExitOptionBodyVariable(ctx *OptionBodyVariableContext)
- func (s *BaseProtobuf3Listener) ExitOptionName(ctx *OptionNameContext)
- func (s *BaseProtobuf3Listener) ExitPackageStatement(ctx *PackageStatementContext)
- func (s *BaseProtobuf3Listener) ExitProto(ctx *ProtoContext)
- func (s *BaseProtobuf3Listener) ExitRangeRule(ctx *RangeRuleContext)
- func (s *BaseProtobuf3Listener) ExitRanges(ctx *RangesContext)
- func (s *BaseProtobuf3Listener) ExitReserved(ctx *ReservedContext)
- func (s *BaseProtobuf3Listener) ExitReservedWord(ctx *ReservedWordContext)
- func (s *BaseProtobuf3Listener) ExitRpc(ctx *RpcContext)
- func (s *BaseProtobuf3Listener) ExitRpcName(ctx *RpcNameContext)
- func (s *BaseProtobuf3Listener) ExitService(ctx *ServiceContext)
- func (s *BaseProtobuf3Listener) ExitServiceName(ctx *ServiceNameContext)
- func (s *BaseProtobuf3Listener) ExitSimpleType(ctx *SimpleTypeContext)
- func (s *BaseProtobuf3Listener) ExitSyntax(ctx *SyntaxContext)
- func (s *BaseProtobuf3Listener) ExitSyntaxExtra(ctx *SyntaxExtraContext)
- func (s *BaseProtobuf3Listener) ExitTopLevelDef(ctx *TopLevelDefContext)
- func (s *BaseProtobuf3Listener) ExitTypeRule(ctx *TypeRuleContext)
- func (s *BaseProtobuf3Listener) VisitErrorNode(node antlr.ErrorNode)
- func (s *BaseProtobuf3Listener) VisitTerminal(node antlr.TerminalNode)
- type BaseProtobuf3Visitor
- func (v *BaseProtobuf3Visitor) VisitConstant(ctx *ConstantContext) any
- func (v *BaseProtobuf3Visitor) VisitEmptyStatement(ctx *EmptyStatementContext) any
- func (v *BaseProtobuf3Visitor) VisitEnumBody(ctx *EnumBodyContext) any
- func (v *BaseProtobuf3Visitor) VisitEnumDefinition(ctx *EnumDefinitionContext) any
- func (v *BaseProtobuf3Visitor) VisitEnumField(ctx *EnumFieldContext) any
- func (v *BaseProtobuf3Visitor) VisitEnumName(ctx *EnumNameContext) any
- func (v *BaseProtobuf3Visitor) VisitEnumValueOption(ctx *EnumValueOptionContext) any
- func (v *BaseProtobuf3Visitor) VisitExtend(ctx *ExtendContext) any
- func (v *BaseProtobuf3Visitor) VisitField(ctx *FieldContext) any
- func (v *BaseProtobuf3Visitor) VisitFieldName(ctx *FieldNameContext) any
- func (v *BaseProtobuf3Visitor) VisitFieldNames(ctx *FieldNamesContext) any
- func (v *BaseProtobuf3Visitor) VisitFieldNumber(ctx *FieldNumberContext) any
- func (v *BaseProtobuf3Visitor) VisitFieldOption(ctx *FieldOptionContext) any
- func (v *BaseProtobuf3Visitor) VisitFieldOptions(ctx *FieldOptionsContext) any
- func (v *BaseProtobuf3Visitor) VisitFullIdent(ctx *FullIdentContext) any
- func (v *BaseProtobuf3Visitor) VisitImportStatement(ctx *ImportStatementContext) any
- func (v *BaseProtobuf3Visitor) VisitKeyType(ctx *KeyTypeContext) any
- func (v *BaseProtobuf3Visitor) VisitMapField(ctx *MapFieldContext) any
- func (v *BaseProtobuf3Visitor) VisitMapName(ctx *MapNameContext) any
- func (v *BaseProtobuf3Visitor) VisitMessage(ctx *MessageContext) any
- func (v *BaseProtobuf3Visitor) VisitMessageBody(ctx *MessageBodyContext) any
- func (v *BaseProtobuf3Visitor) VisitMessageBodyContent(ctx *MessageBodyContentContext) any
- func (v *BaseProtobuf3Visitor) VisitMessageName(ctx *MessageNameContext) any
- func (v *BaseProtobuf3Visitor) VisitMessageOrEnumName(ctx *MessageOrEnumNameContext) any
- func (v *BaseProtobuf3Visitor) VisitMessageOrEnumType(ctx *MessageOrEnumTypeContext) any
- func (v *BaseProtobuf3Visitor) VisitMessageType(ctx *MessageTypeContext) any
- func (v *BaseProtobuf3Visitor) VisitOneof(ctx *OneofContext) any
- func (v *BaseProtobuf3Visitor) VisitOneofField(ctx *OneofFieldContext) any
- func (v *BaseProtobuf3Visitor) VisitOneofName(ctx *OneofNameContext) any
- func (v *BaseProtobuf3Visitor) VisitOption(ctx *OptionContext) any
- func (v *BaseProtobuf3Visitor) VisitOptionBody(ctx *OptionBodyContext) any
- func (v *BaseProtobuf3Visitor) VisitOptionBodyVariable(ctx *OptionBodyVariableContext) any
- func (v *BaseProtobuf3Visitor) VisitOptionName(ctx *OptionNameContext) any
- func (v *BaseProtobuf3Visitor) VisitPackageStatement(ctx *PackageStatementContext) any
- func (v *BaseProtobuf3Visitor) VisitProto(ctx *ProtoContext) any
- func (v *BaseProtobuf3Visitor) VisitRangeRule(ctx *RangeRuleContext) any
- func (v *BaseProtobuf3Visitor) VisitRanges(ctx *RangesContext) any
- func (v *BaseProtobuf3Visitor) VisitReserved(ctx *ReservedContext) any
- func (v *BaseProtobuf3Visitor) VisitReservedWord(ctx *ReservedWordContext) any
- func (v *BaseProtobuf3Visitor) VisitRpc(ctx *RpcContext) any
- func (v *BaseProtobuf3Visitor) VisitRpcName(ctx *RpcNameContext) any
- func (v *BaseProtobuf3Visitor) VisitService(ctx *ServiceContext) any
- func (v *BaseProtobuf3Visitor) VisitServiceName(ctx *ServiceNameContext) any
- func (v *BaseProtobuf3Visitor) VisitSimpleType(ctx *SimpleTypeContext) any
- func (v *BaseProtobuf3Visitor) VisitSyntax(ctx *SyntaxContext) any
- func (v *BaseProtobuf3Visitor) VisitSyntaxExtra(ctx *SyntaxExtraContext) any
- func (v *BaseProtobuf3Visitor) VisitTopLevelDef(ctx *TopLevelDefContext) any
- func (v *BaseProtobuf3Visitor) VisitTypeRule(ctx *TypeRuleContext) any
- type ConstantContext
- func (s *ConstantContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *ConstantContext) BOOL_LIT() antlr.TerminalNode
- func (s *ConstantContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ConstantContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ConstantContext) FLOAT_LIT() antlr.TerminalNode
- func (s *ConstantContext) FullIdent() IFullIdentContext
- func (s *ConstantContext) GetParser() antlr.Parser
- func (s *ConstantContext) GetRuleContext() antlr.RuleContext
- func (s *ConstantContext) INT_LIT() antlr.TerminalNode
- func (*ConstantContext) IsConstantContext()
- func (s *ConstantContext) STR_LIT() antlr.TerminalNode
- func (s *ConstantContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type EmptyStatementContext
- func (s *EmptyStatementContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *EmptyStatementContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *EmptyStatementContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *EmptyStatementContext) GetParser() antlr.Parser
- func (s *EmptyStatementContext) GetRuleContext() antlr.RuleContext
- func (*EmptyStatementContext) IsEmptyStatementContext()
- func (s *EmptyStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type EnumBodyContext
- func (s *EnumBodyContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *EnumBodyContext) AllEmptyStatement() []IEmptyStatementContext
- func (s *EnumBodyContext) AllEnumField() []IEnumFieldContext
- func (s *EnumBodyContext) AllOption() []IOptionContext
- func (s *EnumBodyContext) EmptyStatement(i int) IEmptyStatementContext
- func (s *EnumBodyContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *EnumBodyContext) EnumField(i int) IEnumFieldContext
- func (s *EnumBodyContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *EnumBodyContext) GetParser() antlr.Parser
- func (s *EnumBodyContext) GetRuleContext() antlr.RuleContext
- func (*EnumBodyContext) IsEnumBodyContext()
- func (s *EnumBodyContext) Option(i int) IOptionContext
- func (s *EnumBodyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type EnumDefinitionContext
- func (s *EnumDefinitionContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *EnumDefinitionContext) ENUM() antlr.TerminalNode
- func (s *EnumDefinitionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *EnumDefinitionContext) EnumBody() IEnumBodyContext
- func (s *EnumDefinitionContext) EnumName() IEnumNameContext
- func (s *EnumDefinitionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *EnumDefinitionContext) GetParser() antlr.Parser
- func (s *EnumDefinitionContext) GetRuleContext() antlr.RuleContext
- func (*EnumDefinitionContext) IsEnumDefinitionContext()
- func (s *EnumDefinitionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type EnumFieldContext
- func (s *EnumFieldContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *EnumFieldContext) AllEnumValueOption() []IEnumValueOptionContext
- func (s *EnumFieldContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *EnumFieldContext) EnumValueOption(i int) IEnumValueOptionContext
- func (s *EnumFieldContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *EnumFieldContext) GetParser() antlr.Parser
- func (s *EnumFieldContext) GetRuleContext() antlr.RuleContext
- func (s *EnumFieldContext) IDENT() antlr.TerminalNode
- func (s *EnumFieldContext) INT_LIT() antlr.TerminalNode
- func (*EnumFieldContext) IsEnumFieldContext()
- func (s *EnumFieldContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type EnumNameContext
- func (s *EnumNameContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *EnumNameContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *EnumNameContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *EnumNameContext) GetParser() antlr.Parser
- func (s *EnumNameContext) GetRuleContext() antlr.RuleContext
- func (s *EnumNameContext) IDENT() antlr.TerminalNode
- func (*EnumNameContext) IsEnumNameContext()
- func (s *EnumNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type EnumValueOptionContext
- func (s *EnumValueOptionContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *EnumValueOptionContext) Constant() IConstantContext
- func (s *EnumValueOptionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *EnumValueOptionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *EnumValueOptionContext) GetParser() antlr.Parser
- func (s *EnumValueOptionContext) GetRuleContext() antlr.RuleContext
- func (*EnumValueOptionContext) IsEnumValueOptionContext()
- func (s *EnumValueOptionContext) OptionName() IOptionNameContext
- func (s *EnumValueOptionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ExtendContext
- func (s *ExtendContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *ExtendContext) EXTEND() antlr.TerminalNode
- func (s *ExtendContext) EmptyStatement() IEmptyStatementContext
- func (s *ExtendContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ExtendContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ExtendContext) Field() IFieldContext
- func (s *ExtendContext) GetParser() antlr.Parser
- func (s *ExtendContext) GetRuleContext() antlr.RuleContext
- func (*ExtendContext) IsExtendContext()
- func (s *ExtendContext) MessageType() IMessageTypeContext
- func (s *ExtendContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type FieldContext
- func (s *FieldContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *FieldContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *FieldContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *FieldContext) FieldName() IFieldNameContext
- func (s *FieldContext) FieldNumber() IFieldNumberContext
- func (s *FieldContext) FieldOptions() IFieldOptionsContext
- func (s *FieldContext) GetParser() antlr.Parser
- func (s *FieldContext) GetRuleContext() antlr.RuleContext
- func (*FieldContext) IsFieldContext()
- func (s *FieldContext) REPEATED() antlr.TerminalNode
- func (s *FieldContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *FieldContext) TypeRule() ITypeRuleContext
- type FieldNameContext
- func (s *FieldNameContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *FieldNameContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *FieldNameContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *FieldNameContext) GetParser() antlr.Parser
- func (s *FieldNameContext) GetRuleContext() antlr.RuleContext
- func (s *FieldNameContext) IDENT() antlr.TerminalNode
- func (*FieldNameContext) IsFieldNameContext()
- func (s *FieldNameContext) ReservedWord() IReservedWordContext
- func (s *FieldNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type FieldNamesContext
- func (s *FieldNamesContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *FieldNamesContext) AllSTR_LIT() []antlr.TerminalNode
- func (s *FieldNamesContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *FieldNamesContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *FieldNamesContext) GetParser() antlr.Parser
- func (s *FieldNamesContext) GetRuleContext() antlr.RuleContext
- func (*FieldNamesContext) IsFieldNamesContext()
- func (s *FieldNamesContext) STR_LIT(i int) antlr.TerminalNode
- func (s *FieldNamesContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type FieldNumberContext
- func (s *FieldNumberContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *FieldNumberContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *FieldNumberContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *FieldNumberContext) GetParser() antlr.Parser
- func (s *FieldNumberContext) GetRuleContext() antlr.RuleContext
- func (s *FieldNumberContext) INT_LIT() antlr.TerminalNode
- func (*FieldNumberContext) IsFieldNumberContext()
- func (s *FieldNumberContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type FieldOptionContext
- func (s *FieldOptionContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *FieldOptionContext) Constant() IConstantContext
- func (s *FieldOptionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *FieldOptionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *FieldOptionContext) GetParser() antlr.Parser
- func (s *FieldOptionContext) GetRuleContext() antlr.RuleContext
- func (*FieldOptionContext) IsFieldOptionContext()
- func (s *FieldOptionContext) OptionName() IOptionNameContext
- func (s *FieldOptionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type FieldOptionsContext
- func (s *FieldOptionsContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *FieldOptionsContext) AllFieldOption() []IFieldOptionContext
- func (s *FieldOptionsContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *FieldOptionsContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *FieldOptionsContext) FieldOption(i int) IFieldOptionContext
- func (s *FieldOptionsContext) GetParser() antlr.Parser
- func (s *FieldOptionsContext) GetRuleContext() antlr.RuleContext
- func (*FieldOptionsContext) IsFieldOptionsContext()
- func (s *FieldOptionsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type FullIdentContext
- func (s *FullIdentContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *FullIdentContext) AllIDENT() []antlr.TerminalNode
- func (s *FullIdentContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *FullIdentContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *FullIdentContext) GetParser() antlr.Parser
- func (s *FullIdentContext) GetRuleContext() antlr.RuleContext
- func (s *FullIdentContext) IDENT(i int) antlr.TerminalNode
- func (*FullIdentContext) IsFullIdentContext()
- func (s *FullIdentContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type IConstantContext
- type IEmptyStatementContext
- type IEnumBodyContext
- type IEnumDefinitionContext
- type IEnumFieldContext
- type IEnumNameContext
- type IEnumValueOptionContext
- type IExtendContext
- type IFieldContext
- type IFieldNameContext
- type IFieldNamesContext
- type IFieldNumberContext
- type IFieldOptionContext
- type IFieldOptionsContext
- type IFullIdentContext
- type IImportStatementContext
- type IKeyTypeContext
- type IMapFieldContext
- type IMapNameContext
- type IMessageBodyContentContext
- type IMessageBodyContext
- type IMessageContext
- type IMessageNameContext
- type IMessageOrEnumNameContext
- type IMessageOrEnumTypeContext
- type IMessageTypeContext
- type IOneofContext
- type IOneofFieldContext
- type IOneofNameContext
- type IOptionBodyContext
- type IOptionBodyVariableContext
- type IOptionContext
- type IOptionNameContext
- type IPackageStatementContext
- type IProtoContext
- type IRangeRuleContext
- type IRangesContext
- type IReservedContext
- type IReservedWordContext
- type IRpcContext
- type IRpcNameContext
- type IServiceContext
- type IServiceNameContext
- type ISimpleTypeContext
- type ISyntaxContext
- type ISyntaxExtraContext
- type ITopLevelDefContext
- type ITypeRuleContext
- type ImportStatementContext
- func (s *ImportStatementContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *ImportStatementContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ImportStatementContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ImportStatementContext) GetParser() antlr.Parser
- func (s *ImportStatementContext) GetRuleContext() antlr.RuleContext
- func (s *ImportStatementContext) IMPORT() antlr.TerminalNode
- func (*ImportStatementContext) IsImportStatementContext()
- func (s *ImportStatementContext) PUBLIC() antlr.TerminalNode
- func (s *ImportStatementContext) STR_LIT() antlr.TerminalNode
- func (s *ImportStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *ImportStatementContext) WEAK() antlr.TerminalNode
- type KeyTypeContext
- func (s *KeyTypeContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *KeyTypeContext) BOOL() antlr.TerminalNode
- func (s *KeyTypeContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *KeyTypeContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *KeyTypeContext) FIXED32() antlr.TerminalNode
- func (s *KeyTypeContext) FIXED64() antlr.TerminalNode
- func (s *KeyTypeContext) GetParser() antlr.Parser
- func (s *KeyTypeContext) GetRuleContext() antlr.RuleContext
- func (s *KeyTypeContext) INT32() antlr.TerminalNode
- func (s *KeyTypeContext) INT64() antlr.TerminalNode
- func (*KeyTypeContext) IsKeyTypeContext()
- func (s *KeyTypeContext) SFIXED32() antlr.TerminalNode
- func (s *KeyTypeContext) SFIXED64() antlr.TerminalNode
- func (s *KeyTypeContext) SINT32() antlr.TerminalNode
- func (s *KeyTypeContext) SINT64() antlr.TerminalNode
- func (s *KeyTypeContext) STRING() antlr.TerminalNode
- func (s *KeyTypeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *KeyTypeContext) UINT32() antlr.TerminalNode
- func (s *KeyTypeContext) UINT64() antlr.TerminalNode
- type MapFieldContext
- func (s *MapFieldContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *MapFieldContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *MapFieldContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *MapFieldContext) FieldNumber() IFieldNumberContext
- func (s *MapFieldContext) FieldOptions() IFieldOptionsContext
- func (s *MapFieldContext) GetParser() antlr.Parser
- func (s *MapFieldContext) GetRuleContext() antlr.RuleContext
- func (*MapFieldContext) IsMapFieldContext()
- func (s *MapFieldContext) KeyType() IKeyTypeContext
- func (s *MapFieldContext) MAP() antlr.TerminalNode
- func (s *MapFieldContext) MapName() IMapNameContext
- func (s *MapFieldContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *MapFieldContext) TypeRule() ITypeRuleContext
- type MapNameContext
- func (s *MapNameContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *MapNameContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *MapNameContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *MapNameContext) GetParser() antlr.Parser
- func (s *MapNameContext) GetRuleContext() antlr.RuleContext
- func (s *MapNameContext) IDENT() antlr.TerminalNode
- func (*MapNameContext) IsMapNameContext()
- func (s *MapNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type MessageBodyContentContext
- func (s *MessageBodyContentContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *MessageBodyContentContext) EmptyStatement() IEmptyStatementContext
- func (s *MessageBodyContentContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *MessageBodyContentContext) EnumDefinition() IEnumDefinitionContext
- func (s *MessageBodyContentContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *MessageBodyContentContext) Extend() IExtendContext
- func (s *MessageBodyContentContext) Field() IFieldContext
- func (s *MessageBodyContentContext) GetParser() antlr.Parser
- func (s *MessageBodyContentContext) GetRuleContext() antlr.RuleContext
- func (*MessageBodyContentContext) IsMessageBodyContentContext()
- func (s *MessageBodyContentContext) MapField() IMapFieldContext
- func (s *MessageBodyContentContext) Message() IMessageContext
- func (s *MessageBodyContentContext) Oneof() IOneofContext
- func (s *MessageBodyContentContext) Option() IOptionContext
- func (s *MessageBodyContentContext) Reserved() IReservedContext
- func (s *MessageBodyContentContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type MessageBodyContext
- func (s *MessageBodyContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *MessageBodyContext) AllMessageBodyContent() []IMessageBodyContentContext
- func (s *MessageBodyContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *MessageBodyContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *MessageBodyContext) GetParser() antlr.Parser
- func (s *MessageBodyContext) GetRuleContext() antlr.RuleContext
- func (*MessageBodyContext) IsMessageBodyContext()
- func (s *MessageBodyContext) MessageBodyContent(i int) IMessageBodyContentContext
- func (s *MessageBodyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type MessageContext
- func (s *MessageContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *MessageContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *MessageContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *MessageContext) GetParser() antlr.Parser
- func (s *MessageContext) GetRuleContext() antlr.RuleContext
- func (*MessageContext) IsMessageContext()
- func (s *MessageContext) MESSAGE() antlr.TerminalNode
- func (s *MessageContext) MessageBody() IMessageBodyContext
- func (s *MessageContext) MessageName() IMessageNameContext
- func (s *MessageContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type MessageNameContext
- func (s *MessageNameContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *MessageNameContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *MessageNameContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *MessageNameContext) GetParser() antlr.Parser
- func (s *MessageNameContext) GetRuleContext() antlr.RuleContext
- func (s *MessageNameContext) IDENT() antlr.TerminalNode
- func (*MessageNameContext) IsMessageNameContext()
- func (s *MessageNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type MessageOrEnumNameContext
- func (s *MessageOrEnumNameContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *MessageOrEnumNameContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *MessageOrEnumNameContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *MessageOrEnumNameContext) GetParser() antlr.Parser
- func (s *MessageOrEnumNameContext) GetRuleContext() antlr.RuleContext
- func (s *MessageOrEnumNameContext) IDENT() antlr.TerminalNode
- func (*MessageOrEnumNameContext) IsMessageOrEnumNameContext()
- func (s *MessageOrEnumNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type MessageOrEnumTypeContext
- func (s *MessageOrEnumTypeContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *MessageOrEnumTypeContext) AllIDENT() []antlr.TerminalNode
- func (s *MessageOrEnumTypeContext) AllReservedWord() []IReservedWordContext
- func (s *MessageOrEnumTypeContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *MessageOrEnumTypeContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *MessageOrEnumTypeContext) GetParser() antlr.Parser
- func (s *MessageOrEnumTypeContext) GetRuleContext() antlr.RuleContext
- func (s *MessageOrEnumTypeContext) IDENT(i int) antlr.TerminalNode
- func (*MessageOrEnumTypeContext) IsMessageOrEnumTypeContext()
- func (s *MessageOrEnumTypeContext) MessageOrEnumName() IMessageOrEnumNameContext
- func (s *MessageOrEnumTypeContext) ReservedWord(i int) IReservedWordContext
- func (s *MessageOrEnumTypeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type MessageTypeContext
- func (s *MessageTypeContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *MessageTypeContext) AllIDENT() []antlr.TerminalNode
- func (s *MessageTypeContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *MessageTypeContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *MessageTypeContext) GetParser() antlr.Parser
- func (s *MessageTypeContext) GetRuleContext() antlr.RuleContext
- func (s *MessageTypeContext) IDENT(i int) antlr.TerminalNode
- func (*MessageTypeContext) IsMessageTypeContext()
- func (s *MessageTypeContext) MessageName() IMessageNameContext
- func (s *MessageTypeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type OneofContext
- func (s *OneofContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *OneofContext) AllEmptyStatement() []IEmptyStatementContext
- func (s *OneofContext) AllOneofField() []IOneofFieldContext
- func (s *OneofContext) EmptyStatement(i int) IEmptyStatementContext
- func (s *OneofContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *OneofContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *OneofContext) GetParser() antlr.Parser
- func (s *OneofContext) GetRuleContext() antlr.RuleContext
- func (*OneofContext) IsOneofContext()
- func (s *OneofContext) ONEOF() antlr.TerminalNode
- func (s *OneofContext) OneofField(i int) IOneofFieldContext
- func (s *OneofContext) OneofName() IOneofNameContext
- func (s *OneofContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type OneofFieldContext
- func (s *OneofFieldContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *OneofFieldContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *OneofFieldContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *OneofFieldContext) FieldName() IFieldNameContext
- func (s *OneofFieldContext) FieldNumber() IFieldNumberContext
- func (s *OneofFieldContext) FieldOptions() IFieldOptionsContext
- func (s *OneofFieldContext) GetParser() antlr.Parser
- func (s *OneofFieldContext) GetRuleContext() antlr.RuleContext
- func (*OneofFieldContext) IsOneofFieldContext()
- func (s *OneofFieldContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *OneofFieldContext) TypeRule() ITypeRuleContext
- type OneofNameContext
- func (s *OneofNameContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *OneofNameContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *OneofNameContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *OneofNameContext) GetParser() antlr.Parser
- func (s *OneofNameContext) GetRuleContext() antlr.RuleContext
- func (s *OneofNameContext) IDENT() antlr.TerminalNode
- func (*OneofNameContext) IsOneofNameContext()
- func (s *OneofNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type OptionBodyContext
- func (s *OptionBodyContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *OptionBodyContext) AllOptionBodyVariable() []IOptionBodyVariableContext
- func (s *OptionBodyContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *OptionBodyContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *OptionBodyContext) GetParser() antlr.Parser
- func (s *OptionBodyContext) GetRuleContext() antlr.RuleContext
- func (*OptionBodyContext) IsOptionBodyContext()
- func (s *OptionBodyContext) OptionBodyVariable(i int) IOptionBodyVariableContext
- func (s *OptionBodyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type OptionBodyVariableContext
- func (s *OptionBodyVariableContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *OptionBodyVariableContext) Constant() IConstantContext
- func (s *OptionBodyVariableContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *OptionBodyVariableContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *OptionBodyVariableContext) GetParser() antlr.Parser
- func (s *OptionBodyVariableContext) GetRuleContext() antlr.RuleContext
- func (*OptionBodyVariableContext) IsOptionBodyVariableContext()
- func (s *OptionBodyVariableContext) OptionName() IOptionNameContext
- func (s *OptionBodyVariableContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type OptionContext
- func (s *OptionContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *OptionContext) Constant() IConstantContext
- func (s *OptionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *OptionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *OptionContext) GetParser() antlr.Parser
- func (s *OptionContext) GetRuleContext() antlr.RuleContext
- func (*OptionContext) IsOptionContext()
- func (s *OptionContext) OPTION() antlr.TerminalNode
- func (s *OptionContext) OptionBody() IOptionBodyContext
- func (s *OptionContext) OptionName() IOptionNameContext
- func (s *OptionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type OptionNameContext
- func (s *OptionNameContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *OptionNameContext) AllIDENT() []antlr.TerminalNode
- func (s *OptionNameContext) AllReservedWord() []IReservedWordContext
- func (s *OptionNameContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *OptionNameContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *OptionNameContext) FullIdent() IFullIdentContext
- func (s *OptionNameContext) GetParser() antlr.Parser
- func (s *OptionNameContext) GetRuleContext() antlr.RuleContext
- func (s *OptionNameContext) IDENT(i int) antlr.TerminalNode
- func (*OptionNameContext) IsOptionNameContext()
- func (s *OptionNameContext) ReservedWord(i int) IReservedWordContext
- func (s *OptionNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type PackageStatementContext
- func (s *PackageStatementContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *PackageStatementContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *PackageStatementContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *PackageStatementContext) FullIdent() IFullIdentContext
- func (s *PackageStatementContext) GetParser() antlr.Parser
- func (s *PackageStatementContext) GetRuleContext() antlr.RuleContext
- func (*PackageStatementContext) IsPackageStatementContext()
- func (s *PackageStatementContext) PACKAGE() antlr.TerminalNode
- func (s *PackageStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ProtoContext
- func (s *ProtoContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *ProtoContext) AllSyntaxExtra() []ISyntaxExtraContext
- func (s *ProtoContext) EOF() antlr.TerminalNode
- func (s *ProtoContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ProtoContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ProtoContext) GetParser() antlr.Parser
- func (s *ProtoContext) GetRuleContext() antlr.RuleContext
- func (*ProtoContext) IsProtoContext()
- func (s *ProtoContext) Syntax() ISyntaxContext
- func (s *ProtoContext) SyntaxExtra(i int) ISyntaxExtraContext
- func (s *ProtoContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Protobuf3Lexer
- type Protobuf3Listener
- type Protobuf3Parser
- func (p *Protobuf3Parser) Constant() (localctx IConstantContext)
- func (p *Protobuf3Parser) EmptyStatement() (localctx IEmptyStatementContext)
- func (p *Protobuf3Parser) EnumBody() (localctx IEnumBodyContext)
- func (p *Protobuf3Parser) EnumDefinition() (localctx IEnumDefinitionContext)
- func (p *Protobuf3Parser) EnumField() (localctx IEnumFieldContext)
- func (p *Protobuf3Parser) EnumName() (localctx IEnumNameContext)
- func (p *Protobuf3Parser) EnumValueOption() (localctx IEnumValueOptionContext)
- func (p *Protobuf3Parser) Extend() (localctx IExtendContext)
- func (p *Protobuf3Parser) Field() (localctx IFieldContext)
- func (p *Protobuf3Parser) FieldName() (localctx IFieldNameContext)
- func (p *Protobuf3Parser) FieldNames() (localctx IFieldNamesContext)
- func (p *Protobuf3Parser) FieldNumber() (localctx IFieldNumberContext)
- func (p *Protobuf3Parser) FieldOption() (localctx IFieldOptionContext)
- func (p *Protobuf3Parser) FieldOptions() (localctx IFieldOptionsContext)
- func (p *Protobuf3Parser) FullIdent() (localctx IFullIdentContext)
- func (p *Protobuf3Parser) ImportStatement() (localctx IImportStatementContext)
- func (p *Protobuf3Parser) KeyType() (localctx IKeyTypeContext)
- func (p *Protobuf3Parser) MapField() (localctx IMapFieldContext)
- func (p *Protobuf3Parser) MapName() (localctx IMapNameContext)
- func (p *Protobuf3Parser) Message() (localctx IMessageContext)
- func (p *Protobuf3Parser) MessageBody() (localctx IMessageBodyContext)
- func (p *Protobuf3Parser) MessageBodyContent() (localctx IMessageBodyContentContext)
- func (p *Protobuf3Parser) MessageName() (localctx IMessageNameContext)
- func (p *Protobuf3Parser) MessageOrEnumName() (localctx IMessageOrEnumNameContext)
- func (p *Protobuf3Parser) MessageOrEnumType() (localctx IMessageOrEnumTypeContext)
- func (p *Protobuf3Parser) MessageType() (localctx IMessageTypeContext)
- func (p *Protobuf3Parser) Oneof() (localctx IOneofContext)
- func (p *Protobuf3Parser) OneofField() (localctx IOneofFieldContext)
- func (p *Protobuf3Parser) OneofName() (localctx IOneofNameContext)
- func (p *Protobuf3Parser) Option() (localctx IOptionContext)
- func (p *Protobuf3Parser) OptionBody() (localctx IOptionBodyContext)
- func (p *Protobuf3Parser) OptionBodyVariable() (localctx IOptionBodyVariableContext)
- func (p *Protobuf3Parser) OptionName() (localctx IOptionNameContext)
- func (p *Protobuf3Parser) PackageStatement() (localctx IPackageStatementContext)
- func (p *Protobuf3Parser) Proto() (localctx IProtoContext)
- func (p *Protobuf3Parser) RangeRule() (localctx IRangeRuleContext)
- func (p *Protobuf3Parser) Ranges() (localctx IRangesContext)
- func (p *Protobuf3Parser) Reserved() (localctx IReservedContext)
- func (p *Protobuf3Parser) ReservedWord() (localctx IReservedWordContext)
- func (p *Protobuf3Parser) Rpc() (localctx IRpcContext)
- func (p *Protobuf3Parser) RpcName() (localctx IRpcNameContext)
- func (p *Protobuf3Parser) Service() (localctx IServiceContext)
- func (p *Protobuf3Parser) ServiceName() (localctx IServiceNameContext)
- func (p *Protobuf3Parser) SimpleType() (localctx ISimpleTypeContext)
- func (p *Protobuf3Parser) Syntax() (localctx ISyntaxContext)
- func (p *Protobuf3Parser) SyntaxExtra() (localctx ISyntaxExtraContext)
- func (p *Protobuf3Parser) TopLevelDef() (localctx ITopLevelDefContext)
- func (p *Protobuf3Parser) TypeRule() (localctx ITypeRuleContext)
- type Protobuf3Visitor
- type RangeRuleContext
- func (s *RangeRuleContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *RangeRuleContext) AllINT_LIT() []antlr.TerminalNode
- func (s *RangeRuleContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *RangeRuleContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *RangeRuleContext) GetParser() antlr.Parser
- func (s *RangeRuleContext) GetRuleContext() antlr.RuleContext
- func (s *RangeRuleContext) INT_LIT(i int) antlr.TerminalNode
- func (*RangeRuleContext) IsRangeRuleContext()
- func (s *RangeRuleContext) TO() antlr.TerminalNode
- func (s *RangeRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type RangesContext
- func (s *RangesContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *RangesContext) AllRangeRule() []IRangeRuleContext
- func (s *RangesContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *RangesContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *RangesContext) GetParser() antlr.Parser
- func (s *RangesContext) GetRuleContext() antlr.RuleContext
- func (*RangesContext) IsRangesContext()
- func (s *RangesContext) RangeRule(i int) IRangeRuleContext
- func (s *RangesContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ReservedContext
- func (s *ReservedContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *ReservedContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ReservedContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ReservedContext) FieldNames() IFieldNamesContext
- func (s *ReservedContext) GetParser() antlr.Parser
- func (s *ReservedContext) GetRuleContext() antlr.RuleContext
- func (*ReservedContext) IsReservedContext()
- func (s *ReservedContext) RESERVED() antlr.TerminalNode
- func (s *ReservedContext) Ranges() IRangesContext
- func (s *ReservedContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ReservedWordContext
- func (s *ReservedWordContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *ReservedWordContext) EXTEND() antlr.TerminalNode
- func (s *ReservedWordContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ReservedWordContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ReservedWordContext) GetParser() antlr.Parser
- func (s *ReservedWordContext) GetRuleContext() antlr.RuleContext
- func (*ReservedWordContext) IsReservedWordContext()
- func (s *ReservedWordContext) MESSAGE() antlr.TerminalNode
- func (s *ReservedWordContext) OPTION() antlr.TerminalNode
- func (s *ReservedWordContext) PACKAGE() antlr.TerminalNode
- func (s *ReservedWordContext) RPC() antlr.TerminalNode
- func (s *ReservedWordContext) SERVICE() antlr.TerminalNode
- func (s *ReservedWordContext) STREAM() antlr.TerminalNode
- func (s *ReservedWordContext) STRING() antlr.TerminalNode
- func (s *ReservedWordContext) SYNTAX() antlr.TerminalNode
- func (s *ReservedWordContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *ReservedWordContext) WEAK() antlr.TerminalNode
- type RpcContext
- func (s *RpcContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *RpcContext) AllEmptyStatement() []IEmptyStatementContext
- func (s *RpcContext) AllMessageType() []IMessageTypeContext
- func (s *RpcContext) AllOption() []IOptionContext
- func (s *RpcContext) AllSTREAM() []antlr.TerminalNode
- func (s *RpcContext) EmptyStatement(i int) IEmptyStatementContext
- func (s *RpcContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *RpcContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *RpcContext) GetParser() antlr.Parser
- func (s *RpcContext) GetRuleContext() antlr.RuleContext
- func (*RpcContext) IsRpcContext()
- func (s *RpcContext) MessageType(i int) IMessageTypeContext
- func (s *RpcContext) Option(i int) IOptionContext
- func (s *RpcContext) RETURNS() antlr.TerminalNode
- func (s *RpcContext) RPC() antlr.TerminalNode
- func (s *RpcContext) RpcName() IRpcNameContext
- func (s *RpcContext) STREAM(i int) antlr.TerminalNode
- func (s *RpcContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type RpcNameContext
- func (s *RpcNameContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *RpcNameContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *RpcNameContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *RpcNameContext) GetParser() antlr.Parser
- func (s *RpcNameContext) GetRuleContext() antlr.RuleContext
- func (s *RpcNameContext) IDENT() antlr.TerminalNode
- func (*RpcNameContext) IsRpcNameContext()
- func (s *RpcNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ServiceContext
- func (s *ServiceContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *ServiceContext) AllEmptyStatement() []IEmptyStatementContext
- func (s *ServiceContext) AllOption() []IOptionContext
- func (s *ServiceContext) AllRpc() []IRpcContext
- func (s *ServiceContext) EmptyStatement(i int) IEmptyStatementContext
- func (s *ServiceContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ServiceContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ServiceContext) GetParser() antlr.Parser
- func (s *ServiceContext) GetRuleContext() antlr.RuleContext
- func (*ServiceContext) IsServiceContext()
- func (s *ServiceContext) Option(i int) IOptionContext
- func (s *ServiceContext) Rpc(i int) IRpcContext
- func (s *ServiceContext) SERVICE() antlr.TerminalNode
- func (s *ServiceContext) ServiceName() IServiceNameContext
- func (s *ServiceContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ServiceNameContext
- func (s *ServiceNameContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *ServiceNameContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ServiceNameContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ServiceNameContext) GetParser() antlr.Parser
- func (s *ServiceNameContext) GetRuleContext() antlr.RuleContext
- func (s *ServiceNameContext) IDENT() antlr.TerminalNode
- func (*ServiceNameContext) IsServiceNameContext()
- func (s *ServiceNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type SimpleTypeContext
- func (s *SimpleTypeContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *SimpleTypeContext) BOOL() antlr.TerminalNode
- func (s *SimpleTypeContext) BYTES() antlr.TerminalNode
- func (s *SimpleTypeContext) DOUBLE() antlr.TerminalNode
- func (s *SimpleTypeContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *SimpleTypeContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *SimpleTypeContext) FIXED32() antlr.TerminalNode
- func (s *SimpleTypeContext) FIXED64() antlr.TerminalNode
- func (s *SimpleTypeContext) FLOAT() antlr.TerminalNode
- func (s *SimpleTypeContext) GetParser() antlr.Parser
- func (s *SimpleTypeContext) GetRuleContext() antlr.RuleContext
- func (s *SimpleTypeContext) INT32() antlr.TerminalNode
- func (s *SimpleTypeContext) INT64() antlr.TerminalNode
- func (*SimpleTypeContext) IsSimpleTypeContext()
- func (s *SimpleTypeContext) SFIXED32() antlr.TerminalNode
- func (s *SimpleTypeContext) SFIXED64() antlr.TerminalNode
- func (s *SimpleTypeContext) SINT32() antlr.TerminalNode
- func (s *SimpleTypeContext) SINT64() antlr.TerminalNode
- func (s *SimpleTypeContext) STRING() antlr.TerminalNode
- func (s *SimpleTypeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *SimpleTypeContext) UINT32() antlr.TerminalNode
- func (s *SimpleTypeContext) UINT64() antlr.TerminalNode
- type SyntaxContext
- func (s *SyntaxContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *SyntaxContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *SyntaxContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *SyntaxContext) GetParser() antlr.Parser
- func (s *SyntaxContext) GetRuleContext() antlr.RuleContext
- func (*SyntaxContext) IsSyntaxContext()
- func (s *SyntaxContext) PROTO3_DOUBLE() antlr.TerminalNode
- func (s *SyntaxContext) PROTO3_SINGLE() antlr.TerminalNode
- func (s *SyntaxContext) SYNTAX() antlr.TerminalNode
- func (s *SyntaxContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type SyntaxExtraContext
- func (s *SyntaxExtraContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *SyntaxExtraContext) EmptyStatement() IEmptyStatementContext
- func (s *SyntaxExtraContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *SyntaxExtraContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *SyntaxExtraContext) GetParser() antlr.Parser
- func (s *SyntaxExtraContext) GetRuleContext() antlr.RuleContext
- func (s *SyntaxExtraContext) ImportStatement() IImportStatementContext
- func (*SyntaxExtraContext) IsSyntaxExtraContext()
- func (s *SyntaxExtraContext) Option() IOptionContext
- func (s *SyntaxExtraContext) PackageStatement() IPackageStatementContext
- func (s *SyntaxExtraContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *SyntaxExtraContext) TopLevelDef() ITopLevelDefContext
- type TopLevelDefContext
- func (s *TopLevelDefContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *TopLevelDefContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *TopLevelDefContext) EnumDefinition() IEnumDefinitionContext
- func (s *TopLevelDefContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *TopLevelDefContext) Extend() IExtendContext
- func (s *TopLevelDefContext) GetParser() antlr.Parser
- func (s *TopLevelDefContext) GetRuleContext() antlr.RuleContext
- func (*TopLevelDefContext) IsTopLevelDefContext()
- func (s *TopLevelDefContext) Message() IMessageContext
- func (s *TopLevelDefContext) Service() IServiceContext
- func (s *TopLevelDefContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type TypeRuleContext
- func (s *TypeRuleContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *TypeRuleContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *TypeRuleContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *TypeRuleContext) GetParser() antlr.Parser
- func (s *TypeRuleContext) GetRuleContext() antlr.RuleContext
- func (*TypeRuleContext) IsTypeRuleContext()
- func (s *TypeRuleContext) MessageOrEnumType() IMessageOrEnumTypeContext
- func (s *TypeRuleContext) SimpleType() ISimpleTypeContext
- func (s *TypeRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
Constants ¶
const ( Protobuf3LexerT__0 = 1 Protobuf3LexerT__1 = 2 Protobuf3LexerT__2 = 3 Protobuf3LexerT__3 = 4 Protobuf3LexerT__4 = 5 Protobuf3LexerT__5 = 6 Protobuf3LexerT__6 = 7 Protobuf3LexerT__7 = 8 Protobuf3LexerT__8 = 9 Protobuf3LexerT__9 = 10 Protobuf3LexerT__10 = 11 Protobuf3LexerT__11 = 12 Protobuf3LexerT__12 = 13 Protobuf3LexerT__13 = 14 Protobuf3LexerT__14 = 15 Protobuf3LexerBOOL = 16 Protobuf3LexerBYTES = 17 Protobuf3LexerDOUBLE = 18 Protobuf3LexerENUM = 19 Protobuf3LexerEXTEND = 20 Protobuf3LexerFIXED32 = 21 Protobuf3LexerFIXED64 = 22 Protobuf3LexerFLOAT = 23 Protobuf3LexerIMPORT = 24 Protobuf3LexerINT32 = 25 Protobuf3LexerINT64 = 26 Protobuf3LexerMAP = 27 Protobuf3LexerMESSAGE = 28 Protobuf3LexerONEOF = 29 Protobuf3LexerOPTION = 30 Protobuf3LexerPACKAGE = 31 Protobuf3LexerPROTO3_DOUBLE = 32 Protobuf3LexerPROTO3_SINGLE = 33 Protobuf3LexerPUBLIC = 34 Protobuf3LexerREPEATED = 35 Protobuf3LexerRESERVED = 36 Protobuf3LexerRETURNS = 37 Protobuf3LexerRPC = 38 Protobuf3LexerSERVICE = 39 Protobuf3LexerSFIXED32 = 40 Protobuf3LexerSFIXED64 = 41 Protobuf3LexerSINT32 = 42 Protobuf3LexerSINT64 = 43 Protobuf3LexerSTREAM = 44 Protobuf3LexerSTRING = 45 Protobuf3LexerSYNTAX = 46 Protobuf3LexerTO = 47 Protobuf3LexerUINT32 = 48 Protobuf3LexerUINT64 = 49 Protobuf3LexerWEAK = 50 Protobuf3LexerIDENT = 51 Protobuf3LexerINT_LIT = 52 Protobuf3LexerFLOAT_LIT = 53 Protobuf3LexerBOOL_LIT = 54 Protobuf3LexerSTR_LIT = 55 Protobuf3LexerQUOTE = 56 Protobuf3LexerWS = 57 Protobuf3LexerCOMMENT = 58 Protobuf3LexerLINE_COMMENT = 59 )
Protobuf3Lexer tokens.
const ( Protobuf3ParserEOF = antlr.TokenEOF Protobuf3ParserT__0 = 1 Protobuf3ParserT__1 = 2 Protobuf3ParserT__2 = 3 Protobuf3ParserT__3 = 4 Protobuf3ParserT__4 = 5 Protobuf3ParserT__5 = 6 Protobuf3ParserT__6 = 7 Protobuf3ParserT__7 = 8 Protobuf3ParserT__8 = 9 Protobuf3ParserT__9 = 10 Protobuf3ParserT__10 = 11 Protobuf3ParserT__11 = 12 Protobuf3ParserT__12 = 13 Protobuf3ParserT__13 = 14 Protobuf3ParserT__14 = 15 Protobuf3ParserBOOL = 16 Protobuf3ParserBYTES = 17 Protobuf3ParserDOUBLE = 18 Protobuf3ParserENUM = 19 Protobuf3ParserEXTEND = 20 Protobuf3ParserFIXED32 = 21 Protobuf3ParserFIXED64 = 22 Protobuf3ParserFLOAT = 23 Protobuf3ParserIMPORT = 24 Protobuf3ParserINT32 = 25 Protobuf3ParserINT64 = 26 Protobuf3ParserMAP = 27 Protobuf3ParserMESSAGE = 28 Protobuf3ParserONEOF = 29 Protobuf3ParserOPTION = 30 Protobuf3ParserPACKAGE = 31 Protobuf3ParserPROTO3_DOUBLE = 32 Protobuf3ParserPROTO3_SINGLE = 33 Protobuf3ParserPUBLIC = 34 Protobuf3ParserREPEATED = 35 Protobuf3ParserRESERVED = 36 Protobuf3ParserRETURNS = 37 Protobuf3ParserRPC = 38 Protobuf3ParserSERVICE = 39 Protobuf3ParserSFIXED32 = 40 Protobuf3ParserSFIXED64 = 41 Protobuf3ParserSINT32 = 42 Protobuf3ParserSINT64 = 43 Protobuf3ParserSTREAM = 44 Protobuf3ParserSTRING = 45 Protobuf3ParserSYNTAX = 46 Protobuf3ParserTO = 47 Protobuf3ParserUINT32 = 48 Protobuf3ParserUINT64 = 49 Protobuf3ParserWEAK = 50 Protobuf3ParserIDENT = 51 Protobuf3ParserINT_LIT = 52 Protobuf3ParserFLOAT_LIT = 53 Protobuf3ParserBOOL_LIT = 54 Protobuf3ParserSTR_LIT = 55 Protobuf3ParserQUOTE = 56 Protobuf3ParserWS = 57 Protobuf3ParserCOMMENT = 58 Protobuf3ParserLINE_COMMENT = 59 )
Protobuf3Parser tokens.
const ( Protobuf3ParserRULE_proto = 0 Protobuf3ParserRULE_syntax = 1 Protobuf3ParserRULE_syntaxExtra = 2 Protobuf3ParserRULE_importStatement = 3 Protobuf3ParserRULE_packageStatement = 4 Protobuf3ParserRULE_option = 5 Protobuf3ParserRULE_optionName = 6 Protobuf3ParserRULE_optionBody = 7 Protobuf3ParserRULE_optionBodyVariable = 8 Protobuf3ParserRULE_topLevelDef = 9 Protobuf3ParserRULE_message = 10 Protobuf3ParserRULE_messageBody = 11 Protobuf3ParserRULE_messageBodyContent = 12 Protobuf3ParserRULE_enumDefinition = 13 Protobuf3ParserRULE_enumBody = 14 Protobuf3ParserRULE_enumField = 15 Protobuf3ParserRULE_enumValueOption = 16 Protobuf3ParserRULE_extend = 17 Protobuf3ParserRULE_service = 18 Protobuf3ParserRULE_rpc = 19 Protobuf3ParserRULE_reserved = 20 Protobuf3ParserRULE_ranges = 21 Protobuf3ParserRULE_rangeRule = 22 Protobuf3ParserRULE_fieldNames = 23 Protobuf3ParserRULE_typeRule = 24 Protobuf3ParserRULE_simpleType = 25 Protobuf3ParserRULE_fieldNumber = 26 Protobuf3ParserRULE_field = 27 Protobuf3ParserRULE_fieldOptions = 28 Protobuf3ParserRULE_fieldOption = 29 Protobuf3ParserRULE_oneof = 30 Protobuf3ParserRULE_oneofField = 31 Protobuf3ParserRULE_mapField = 32 Protobuf3ParserRULE_keyType = 33 Protobuf3ParserRULE_reservedWord = 34 Protobuf3ParserRULE_fullIdent = 35 Protobuf3ParserRULE_messageName = 36 Protobuf3ParserRULE_enumName = 37 Protobuf3ParserRULE_messageOrEnumName = 38 Protobuf3ParserRULE_fieldName = 39 Protobuf3ParserRULE_oneofName = 40 Protobuf3ParserRULE_mapName = 41 Protobuf3ParserRULE_serviceName = 42 Protobuf3ParserRULE_rpcName = 43 Protobuf3ParserRULE_messageType = 44 Protobuf3ParserRULE_messageOrEnumType = 45 Protobuf3ParserRULE_emptyStatement = 46 Protobuf3ParserRULE_constant = 47 )
Protobuf3Parser rules.
Variables ¶
This section is empty.
Functions ¶
func Protobuf3LexerInit ¶
func Protobuf3LexerInit()
Protobuf3LexerInit initializes any static state used to implement Protobuf3Lexer. By default the static state used to implement the lexer is lazily initialized during the first call to NewProtobuf3Lexer(). You can call this function if you wish to initialize the static state ahead of time.
func Protobuf3ParserInit ¶
func Protobuf3ParserInit()
Protobuf3ParserInit initializes any static state used to implement Protobuf3Parser. By default the static state used to implement the parser is lazily initialized during the first call to NewProtobuf3Parser(). You can call this function if you wish to initialize the static state ahead of time.
Types ¶
type BaseProtobuf3Listener ¶
type BaseProtobuf3Listener struct{}
BaseProtobuf3Listener is a complete listener for a parse tree produced by Protobuf3Parser.
func (*BaseProtobuf3Listener) EnterConstant ¶
func (s *BaseProtobuf3Listener) EnterConstant(ctx *ConstantContext)
EnterConstant is called when production constant is entered.
func (*BaseProtobuf3Listener) EnterEmptyStatement ¶
func (s *BaseProtobuf3Listener) EnterEmptyStatement(ctx *EmptyStatementContext)
EnterEmptyStatement is called when production emptyStatement is entered.
func (*BaseProtobuf3Listener) EnterEnumBody ¶
func (s *BaseProtobuf3Listener) EnterEnumBody(ctx *EnumBodyContext)
EnterEnumBody is called when production enumBody is entered.
func (*BaseProtobuf3Listener) EnterEnumDefinition ¶
func (s *BaseProtobuf3Listener) EnterEnumDefinition(ctx *EnumDefinitionContext)
EnterEnumDefinition is called when production enumDefinition is entered.
func (*BaseProtobuf3Listener) EnterEnumField ¶
func (s *BaseProtobuf3Listener) EnterEnumField(ctx *EnumFieldContext)
EnterEnumField is called when production enumField is entered.
func (*BaseProtobuf3Listener) EnterEnumName ¶
func (s *BaseProtobuf3Listener) EnterEnumName(ctx *EnumNameContext)
EnterEnumName is called when production enumName is entered.
func (*BaseProtobuf3Listener) EnterEnumValueOption ¶
func (s *BaseProtobuf3Listener) EnterEnumValueOption(ctx *EnumValueOptionContext)
EnterEnumValueOption is called when production enumValueOption is entered.
func (*BaseProtobuf3Listener) EnterEveryRule ¶
func (s *BaseProtobuf3Listener) EnterEveryRule(ctx antlr.ParserRuleContext)
EnterEveryRule is called when any rule is entered.
func (*BaseProtobuf3Listener) EnterExtend ¶
func (s *BaseProtobuf3Listener) EnterExtend(ctx *ExtendContext)
EnterExtend is called when production extend is entered.
func (*BaseProtobuf3Listener) EnterField ¶
func (s *BaseProtobuf3Listener) EnterField(ctx *FieldContext)
EnterField is called when production field is entered.
func (*BaseProtobuf3Listener) EnterFieldName ¶
func (s *BaseProtobuf3Listener) EnterFieldName(ctx *FieldNameContext)
EnterFieldName is called when production fieldName is entered.
func (*BaseProtobuf3Listener) EnterFieldNames ¶
func (s *BaseProtobuf3Listener) EnterFieldNames(ctx *FieldNamesContext)
EnterFieldNames is called when production fieldNames is entered.
func (*BaseProtobuf3Listener) EnterFieldNumber ¶
func (s *BaseProtobuf3Listener) EnterFieldNumber(ctx *FieldNumberContext)
EnterFieldNumber is called when production fieldNumber is entered.
func (*BaseProtobuf3Listener) EnterFieldOption ¶
func (s *BaseProtobuf3Listener) EnterFieldOption(ctx *FieldOptionContext)
EnterFieldOption is called when production fieldOption is entered.
func (*BaseProtobuf3Listener) EnterFieldOptions ¶
func (s *BaseProtobuf3Listener) EnterFieldOptions(ctx *FieldOptionsContext)
EnterFieldOptions is called when production fieldOptions is entered.
func (*BaseProtobuf3Listener) EnterFullIdent ¶
func (s *BaseProtobuf3Listener) EnterFullIdent(ctx *FullIdentContext)
EnterFullIdent is called when production fullIdent is entered.
func (*BaseProtobuf3Listener) EnterImportStatement ¶
func (s *BaseProtobuf3Listener) EnterImportStatement(ctx *ImportStatementContext)
EnterImportStatement is called when production importStatement is entered.
func (*BaseProtobuf3Listener) EnterKeyType ¶
func (s *BaseProtobuf3Listener) EnterKeyType(ctx *KeyTypeContext)
EnterKeyType is called when production keyType is entered.
func (*BaseProtobuf3Listener) EnterMapField ¶
func (s *BaseProtobuf3Listener) EnterMapField(ctx *MapFieldContext)
EnterMapField is called when production mapField is entered.
func (*BaseProtobuf3Listener) EnterMapName ¶
func (s *BaseProtobuf3Listener) EnterMapName(ctx *MapNameContext)
EnterMapName is called when production mapName is entered.
func (*BaseProtobuf3Listener) EnterMessage ¶
func (s *BaseProtobuf3Listener) EnterMessage(ctx *MessageContext)
EnterMessage is called when production message is entered.
func (*BaseProtobuf3Listener) EnterMessageBody ¶
func (s *BaseProtobuf3Listener) EnterMessageBody(ctx *MessageBodyContext)
EnterMessageBody is called when production messageBody is entered.
func (*BaseProtobuf3Listener) EnterMessageBodyContent ¶
func (s *BaseProtobuf3Listener) EnterMessageBodyContent(ctx *MessageBodyContentContext)
EnterMessageBodyContent is called when production messageBodyContent is entered.
func (*BaseProtobuf3Listener) EnterMessageName ¶
func (s *BaseProtobuf3Listener) EnterMessageName(ctx *MessageNameContext)
EnterMessageName is called when production messageName is entered.
func (*BaseProtobuf3Listener) EnterMessageOrEnumName ¶
func (s *BaseProtobuf3Listener) EnterMessageOrEnumName(ctx *MessageOrEnumNameContext)
EnterMessageOrEnumName is called when production messageOrEnumName is entered.
func (*BaseProtobuf3Listener) EnterMessageOrEnumType ¶
func (s *BaseProtobuf3Listener) EnterMessageOrEnumType(ctx *MessageOrEnumTypeContext)
EnterMessageOrEnumType is called when production messageOrEnumType is entered.
func (*BaseProtobuf3Listener) EnterMessageType ¶
func (s *BaseProtobuf3Listener) EnterMessageType(ctx *MessageTypeContext)
EnterMessageType is called when production messageType is entered.
func (*BaseProtobuf3Listener) EnterOneof ¶
func (s *BaseProtobuf3Listener) EnterOneof(ctx *OneofContext)
EnterOneof is called when production oneof is entered.
func (*BaseProtobuf3Listener) EnterOneofField ¶
func (s *BaseProtobuf3Listener) EnterOneofField(ctx *OneofFieldContext)
EnterOneofField is called when production oneofField is entered.
func (*BaseProtobuf3Listener) EnterOneofName ¶
func (s *BaseProtobuf3Listener) EnterOneofName(ctx *OneofNameContext)
EnterOneofName is called when production oneofName is entered.
func (*BaseProtobuf3Listener) EnterOption ¶
func (s *BaseProtobuf3Listener) EnterOption(ctx *OptionContext)
EnterOption is called when production option is entered.
func (*BaseProtobuf3Listener) EnterOptionBody ¶
func (s *BaseProtobuf3Listener) EnterOptionBody(ctx *OptionBodyContext)
EnterOptionBody is called when production optionBody is entered.
func (*BaseProtobuf3Listener) EnterOptionBodyVariable ¶
func (s *BaseProtobuf3Listener) EnterOptionBodyVariable(ctx *OptionBodyVariableContext)
EnterOptionBodyVariable is called when production optionBodyVariable is entered.
func (*BaseProtobuf3Listener) EnterOptionName ¶
func (s *BaseProtobuf3Listener) EnterOptionName(ctx *OptionNameContext)
EnterOptionName is called when production optionName is entered.
func (*BaseProtobuf3Listener) EnterPackageStatement ¶
func (s *BaseProtobuf3Listener) EnterPackageStatement(ctx *PackageStatementContext)
EnterPackageStatement is called when production packageStatement is entered.
func (*BaseProtobuf3Listener) EnterProto ¶
func (s *BaseProtobuf3Listener) EnterProto(ctx *ProtoContext)
EnterProto is called when production proto is entered.
func (*BaseProtobuf3Listener) EnterRangeRule ¶
func (s *BaseProtobuf3Listener) EnterRangeRule(ctx *RangeRuleContext)
EnterRangeRule is called when production rangeRule is entered.
func (*BaseProtobuf3Listener) EnterRanges ¶
func (s *BaseProtobuf3Listener) EnterRanges(ctx *RangesContext)
EnterRanges is called when production ranges is entered.
func (*BaseProtobuf3Listener) EnterReserved ¶
func (s *BaseProtobuf3Listener) EnterReserved(ctx *ReservedContext)
EnterReserved is called when production reserved is entered.
func (*BaseProtobuf3Listener) EnterReservedWord ¶
func (s *BaseProtobuf3Listener) EnterReservedWord(ctx *ReservedWordContext)
EnterReservedWord is called when production reservedWord is entered.
func (*BaseProtobuf3Listener) EnterRpc ¶
func (s *BaseProtobuf3Listener) EnterRpc(ctx *RpcContext)
EnterRpc is called when production rpc is entered.
func (*BaseProtobuf3Listener) EnterRpcName ¶
func (s *BaseProtobuf3Listener) EnterRpcName(ctx *RpcNameContext)
EnterRpcName is called when production rpcName is entered.
func (*BaseProtobuf3Listener) EnterService ¶
func (s *BaseProtobuf3Listener) EnterService(ctx *ServiceContext)
EnterService is called when production service is entered.
func (*BaseProtobuf3Listener) EnterServiceName ¶
func (s *BaseProtobuf3Listener) EnterServiceName(ctx *ServiceNameContext)
EnterServiceName is called when production serviceName is entered.
func (*BaseProtobuf3Listener) EnterSimpleType ¶
func (s *BaseProtobuf3Listener) EnterSimpleType(ctx *SimpleTypeContext)
EnterSimpleType is called when production simpleType is entered.
func (*BaseProtobuf3Listener) EnterSyntax ¶
func (s *BaseProtobuf3Listener) EnterSyntax(ctx *SyntaxContext)
EnterSyntax is called when production syntax is entered.
func (*BaseProtobuf3Listener) EnterSyntaxExtra ¶
func (s *BaseProtobuf3Listener) EnterSyntaxExtra(ctx *SyntaxExtraContext)
EnterSyntaxExtra is called when production syntaxExtra is entered.
func (*BaseProtobuf3Listener) EnterTopLevelDef ¶
func (s *BaseProtobuf3Listener) EnterTopLevelDef(ctx *TopLevelDefContext)
EnterTopLevelDef is called when production topLevelDef is entered.
func (*BaseProtobuf3Listener) EnterTypeRule ¶
func (s *BaseProtobuf3Listener) EnterTypeRule(ctx *TypeRuleContext)
EnterTypeRule is called when production typeRule is entered.
func (*BaseProtobuf3Listener) ExitConstant ¶
func (s *BaseProtobuf3Listener) ExitConstant(ctx *ConstantContext)
ExitConstant is called when production constant is exited.
func (*BaseProtobuf3Listener) ExitEmptyStatement ¶
func (s *BaseProtobuf3Listener) ExitEmptyStatement(ctx *EmptyStatementContext)
ExitEmptyStatement is called when production emptyStatement is exited.
func (*BaseProtobuf3Listener) ExitEnumBody ¶
func (s *BaseProtobuf3Listener) ExitEnumBody(ctx *EnumBodyContext)
ExitEnumBody is called when production enumBody is exited.
func (*BaseProtobuf3Listener) ExitEnumDefinition ¶
func (s *BaseProtobuf3Listener) ExitEnumDefinition(ctx *EnumDefinitionContext)
ExitEnumDefinition is called when production enumDefinition is exited.
func (*BaseProtobuf3Listener) ExitEnumField ¶
func (s *BaseProtobuf3Listener) ExitEnumField(ctx *EnumFieldContext)
ExitEnumField is called when production enumField is exited.
func (*BaseProtobuf3Listener) ExitEnumName ¶
func (s *BaseProtobuf3Listener) ExitEnumName(ctx *EnumNameContext)
ExitEnumName is called when production enumName is exited.
func (*BaseProtobuf3Listener) ExitEnumValueOption ¶
func (s *BaseProtobuf3Listener) ExitEnumValueOption(ctx *EnumValueOptionContext)
ExitEnumValueOption is called when production enumValueOption is exited.
func (*BaseProtobuf3Listener) ExitEveryRule ¶
func (s *BaseProtobuf3Listener) ExitEveryRule(ctx antlr.ParserRuleContext)
ExitEveryRule is called when any rule is exited.
func (*BaseProtobuf3Listener) ExitExtend ¶
func (s *BaseProtobuf3Listener) ExitExtend(ctx *ExtendContext)
ExitExtend is called when production extend is exited.
func (*BaseProtobuf3Listener) ExitField ¶
func (s *BaseProtobuf3Listener) ExitField(ctx *FieldContext)
ExitField is called when production field is exited.
func (*BaseProtobuf3Listener) ExitFieldName ¶
func (s *BaseProtobuf3Listener) ExitFieldName(ctx *FieldNameContext)
ExitFieldName is called when production fieldName is exited.
func (*BaseProtobuf3Listener) ExitFieldNames ¶
func (s *BaseProtobuf3Listener) ExitFieldNames(ctx *FieldNamesContext)
ExitFieldNames is called when production fieldNames is exited.
func (*BaseProtobuf3Listener) ExitFieldNumber ¶
func (s *BaseProtobuf3Listener) ExitFieldNumber(ctx *FieldNumberContext)
ExitFieldNumber is called when production fieldNumber is exited.
func (*BaseProtobuf3Listener) ExitFieldOption ¶
func (s *BaseProtobuf3Listener) ExitFieldOption(ctx *FieldOptionContext)
ExitFieldOption is called when production fieldOption is exited.
func (*BaseProtobuf3Listener) ExitFieldOptions ¶
func (s *BaseProtobuf3Listener) ExitFieldOptions(ctx *FieldOptionsContext)
ExitFieldOptions is called when production fieldOptions is exited.
func (*BaseProtobuf3Listener) ExitFullIdent ¶
func (s *BaseProtobuf3Listener) ExitFullIdent(ctx *FullIdentContext)
ExitFullIdent is called when production fullIdent is exited.
func (*BaseProtobuf3Listener) ExitImportStatement ¶
func (s *BaseProtobuf3Listener) ExitImportStatement(ctx *ImportStatementContext)
ExitImportStatement is called when production importStatement is exited.
func (*BaseProtobuf3Listener) ExitKeyType ¶
func (s *BaseProtobuf3Listener) ExitKeyType(ctx *KeyTypeContext)
ExitKeyType is called when production keyType is exited.
func (*BaseProtobuf3Listener) ExitMapField ¶
func (s *BaseProtobuf3Listener) ExitMapField(ctx *MapFieldContext)
ExitMapField is called when production mapField is exited.
func (*BaseProtobuf3Listener) ExitMapName ¶
func (s *BaseProtobuf3Listener) ExitMapName(ctx *MapNameContext)
ExitMapName is called when production mapName is exited.
func (*BaseProtobuf3Listener) ExitMessage ¶
func (s *BaseProtobuf3Listener) ExitMessage(ctx *MessageContext)
ExitMessage is called when production message is exited.
func (*BaseProtobuf3Listener) ExitMessageBody ¶
func (s *BaseProtobuf3Listener) ExitMessageBody(ctx *MessageBodyContext)
ExitMessageBody is called when production messageBody is exited.
func (*BaseProtobuf3Listener) ExitMessageBodyContent ¶
func (s *BaseProtobuf3Listener) ExitMessageBodyContent(ctx *MessageBodyContentContext)
ExitMessageBodyContent is called when production messageBodyContent is exited.
func (*BaseProtobuf3Listener) ExitMessageName ¶
func (s *BaseProtobuf3Listener) ExitMessageName(ctx *MessageNameContext)
ExitMessageName is called when production messageName is exited.
func (*BaseProtobuf3Listener) ExitMessageOrEnumName ¶
func (s *BaseProtobuf3Listener) ExitMessageOrEnumName(ctx *MessageOrEnumNameContext)
ExitMessageOrEnumName is called when production messageOrEnumName is exited.
func (*BaseProtobuf3Listener) ExitMessageOrEnumType ¶
func (s *BaseProtobuf3Listener) ExitMessageOrEnumType(ctx *MessageOrEnumTypeContext)
ExitMessageOrEnumType is called when production messageOrEnumType is exited.
func (*BaseProtobuf3Listener) ExitMessageType ¶
func (s *BaseProtobuf3Listener) ExitMessageType(ctx *MessageTypeContext)
ExitMessageType is called when production messageType is exited.
func (*BaseProtobuf3Listener) ExitOneof ¶
func (s *BaseProtobuf3Listener) ExitOneof(ctx *OneofContext)
ExitOneof is called when production oneof is exited.
func (*BaseProtobuf3Listener) ExitOneofField ¶
func (s *BaseProtobuf3Listener) ExitOneofField(ctx *OneofFieldContext)
ExitOneofField is called when production oneofField is exited.
func (*BaseProtobuf3Listener) ExitOneofName ¶
func (s *BaseProtobuf3Listener) ExitOneofName(ctx *OneofNameContext)
ExitOneofName is called when production oneofName is exited.
func (*BaseProtobuf3Listener) ExitOption ¶
func (s *BaseProtobuf3Listener) ExitOption(ctx *OptionContext)
ExitOption is called when production option is exited.
func (*BaseProtobuf3Listener) ExitOptionBody ¶
func (s *BaseProtobuf3Listener) ExitOptionBody(ctx *OptionBodyContext)
ExitOptionBody is called when production optionBody is exited.
func (*BaseProtobuf3Listener) ExitOptionBodyVariable ¶
func (s *BaseProtobuf3Listener) ExitOptionBodyVariable(ctx *OptionBodyVariableContext)
ExitOptionBodyVariable is called when production optionBodyVariable is exited.
func (*BaseProtobuf3Listener) ExitOptionName ¶
func (s *BaseProtobuf3Listener) ExitOptionName(ctx *OptionNameContext)
ExitOptionName is called when production optionName is exited.
func (*BaseProtobuf3Listener) ExitPackageStatement ¶
func (s *BaseProtobuf3Listener) ExitPackageStatement(ctx *PackageStatementContext)
ExitPackageStatement is called when production packageStatement is exited.
func (*BaseProtobuf3Listener) ExitProto ¶
func (s *BaseProtobuf3Listener) ExitProto(ctx *ProtoContext)
ExitProto is called when production proto is exited.
func (*BaseProtobuf3Listener) ExitRangeRule ¶
func (s *BaseProtobuf3Listener) ExitRangeRule(ctx *RangeRuleContext)
ExitRangeRule is called when production rangeRule is exited.
func (*BaseProtobuf3Listener) ExitRanges ¶
func (s *BaseProtobuf3Listener) ExitRanges(ctx *RangesContext)
ExitRanges is called when production ranges is exited.
func (*BaseProtobuf3Listener) ExitReserved ¶
func (s *BaseProtobuf3Listener) ExitReserved(ctx *ReservedContext)
ExitReserved is called when production reserved is exited.
func (*BaseProtobuf3Listener) ExitReservedWord ¶
func (s *BaseProtobuf3Listener) ExitReservedWord(ctx *ReservedWordContext)
ExitReservedWord is called when production reservedWord is exited.
func (*BaseProtobuf3Listener) ExitRpc ¶
func (s *BaseProtobuf3Listener) ExitRpc(ctx *RpcContext)
ExitRpc is called when production rpc is exited.
func (*BaseProtobuf3Listener) ExitRpcName ¶
func (s *BaseProtobuf3Listener) ExitRpcName(ctx *RpcNameContext)
ExitRpcName is called when production rpcName is exited.
func (*BaseProtobuf3Listener) ExitService ¶
func (s *BaseProtobuf3Listener) ExitService(ctx *ServiceContext)
ExitService is called when production service is exited.
func (*BaseProtobuf3Listener) ExitServiceName ¶
func (s *BaseProtobuf3Listener) ExitServiceName(ctx *ServiceNameContext)
ExitServiceName is called when production serviceName is exited.
func (*BaseProtobuf3Listener) ExitSimpleType ¶
func (s *BaseProtobuf3Listener) ExitSimpleType(ctx *SimpleTypeContext)
ExitSimpleType is called when production simpleType is exited.
func (*BaseProtobuf3Listener) ExitSyntax ¶
func (s *BaseProtobuf3Listener) ExitSyntax(ctx *SyntaxContext)
ExitSyntax is called when production syntax is exited.
func (*BaseProtobuf3Listener) ExitSyntaxExtra ¶
func (s *BaseProtobuf3Listener) ExitSyntaxExtra(ctx *SyntaxExtraContext)
ExitSyntaxExtra is called when production syntaxExtra is exited.
func (*BaseProtobuf3Listener) ExitTopLevelDef ¶
func (s *BaseProtobuf3Listener) ExitTopLevelDef(ctx *TopLevelDefContext)
ExitTopLevelDef is called when production topLevelDef is exited.
func (*BaseProtobuf3Listener) ExitTypeRule ¶
func (s *BaseProtobuf3Listener) ExitTypeRule(ctx *TypeRuleContext)
ExitTypeRule is called when production typeRule is exited.
func (*BaseProtobuf3Listener) VisitErrorNode ¶
func (s *BaseProtobuf3Listener) VisitErrorNode(node antlr.ErrorNode)
VisitErrorNode is called when an error node is visited.
func (*BaseProtobuf3Listener) VisitTerminal ¶
func (s *BaseProtobuf3Listener) VisitTerminal(node antlr.TerminalNode)
VisitTerminal is called when a terminal node is visited.
type BaseProtobuf3Visitor ¶
type BaseProtobuf3Visitor struct {
*antlr.BaseParseTreeVisitor
}
func (*BaseProtobuf3Visitor) VisitConstant ¶
func (v *BaseProtobuf3Visitor) VisitConstant(ctx *ConstantContext) any
func (*BaseProtobuf3Visitor) VisitEmptyStatement ¶
func (v *BaseProtobuf3Visitor) VisitEmptyStatement(ctx *EmptyStatementContext) any
func (*BaseProtobuf3Visitor) VisitEnumBody ¶
func (v *BaseProtobuf3Visitor) VisitEnumBody(ctx *EnumBodyContext) any
func (*BaseProtobuf3Visitor) VisitEnumDefinition ¶
func (v *BaseProtobuf3Visitor) VisitEnumDefinition(ctx *EnumDefinitionContext) any
func (*BaseProtobuf3Visitor) VisitEnumField ¶
func (v *BaseProtobuf3Visitor) VisitEnumField(ctx *EnumFieldContext) any
func (*BaseProtobuf3Visitor) VisitEnumName ¶
func (v *BaseProtobuf3Visitor) VisitEnumName(ctx *EnumNameContext) any
func (*BaseProtobuf3Visitor) VisitEnumValueOption ¶
func (v *BaseProtobuf3Visitor) VisitEnumValueOption(ctx *EnumValueOptionContext) any
func (*BaseProtobuf3Visitor) VisitExtend ¶
func (v *BaseProtobuf3Visitor) VisitExtend(ctx *ExtendContext) any
func (*BaseProtobuf3Visitor) VisitField ¶
func (v *BaseProtobuf3Visitor) VisitField(ctx *FieldContext) any
func (*BaseProtobuf3Visitor) VisitFieldName ¶
func (v *BaseProtobuf3Visitor) VisitFieldName(ctx *FieldNameContext) any
func (*BaseProtobuf3Visitor) VisitFieldNames ¶
func (v *BaseProtobuf3Visitor) VisitFieldNames(ctx *FieldNamesContext) any
func (*BaseProtobuf3Visitor) VisitFieldNumber ¶
func (v *BaseProtobuf3Visitor) VisitFieldNumber(ctx *FieldNumberContext) any
func (*BaseProtobuf3Visitor) VisitFieldOption ¶
func (v *BaseProtobuf3Visitor) VisitFieldOption(ctx *FieldOptionContext) any
func (*BaseProtobuf3Visitor) VisitFieldOptions ¶
func (v *BaseProtobuf3Visitor) VisitFieldOptions(ctx *FieldOptionsContext) any
func (*BaseProtobuf3Visitor) VisitFullIdent ¶
func (v *BaseProtobuf3Visitor) VisitFullIdent(ctx *FullIdentContext) any
func (*BaseProtobuf3Visitor) VisitImportStatement ¶
func (v *BaseProtobuf3Visitor) VisitImportStatement(ctx *ImportStatementContext) any
func (*BaseProtobuf3Visitor) VisitKeyType ¶
func (v *BaseProtobuf3Visitor) VisitKeyType(ctx *KeyTypeContext) any
func (*BaseProtobuf3Visitor) VisitMapField ¶
func (v *BaseProtobuf3Visitor) VisitMapField(ctx *MapFieldContext) any
func (*BaseProtobuf3Visitor) VisitMapName ¶
func (v *BaseProtobuf3Visitor) VisitMapName(ctx *MapNameContext) any
func (*BaseProtobuf3Visitor) VisitMessage ¶
func (v *BaseProtobuf3Visitor) VisitMessage(ctx *MessageContext) any
func (*BaseProtobuf3Visitor) VisitMessageBody ¶
func (v *BaseProtobuf3Visitor) VisitMessageBody(ctx *MessageBodyContext) any
func (*BaseProtobuf3Visitor) VisitMessageBodyContent ¶
func (v *BaseProtobuf3Visitor) VisitMessageBodyContent(ctx *MessageBodyContentContext) any
func (*BaseProtobuf3Visitor) VisitMessageName ¶
func (v *BaseProtobuf3Visitor) VisitMessageName(ctx *MessageNameContext) any
func (*BaseProtobuf3Visitor) VisitMessageOrEnumName ¶
func (v *BaseProtobuf3Visitor) VisitMessageOrEnumName(ctx *MessageOrEnumNameContext) any
func (*BaseProtobuf3Visitor) VisitMessageOrEnumType ¶
func (v *BaseProtobuf3Visitor) VisitMessageOrEnumType(ctx *MessageOrEnumTypeContext) any
func (*BaseProtobuf3Visitor) VisitMessageType ¶
func (v *BaseProtobuf3Visitor) VisitMessageType(ctx *MessageTypeContext) any
func (*BaseProtobuf3Visitor) VisitOneof ¶
func (v *BaseProtobuf3Visitor) VisitOneof(ctx *OneofContext) any
func (*BaseProtobuf3Visitor) VisitOneofField ¶
func (v *BaseProtobuf3Visitor) VisitOneofField(ctx *OneofFieldContext) any
func (*BaseProtobuf3Visitor) VisitOneofName ¶
func (v *BaseProtobuf3Visitor) VisitOneofName(ctx *OneofNameContext) any
func (*BaseProtobuf3Visitor) VisitOption ¶
func (v *BaseProtobuf3Visitor) VisitOption(ctx *OptionContext) any
func (*BaseProtobuf3Visitor) VisitOptionBody ¶
func (v *BaseProtobuf3Visitor) VisitOptionBody(ctx *OptionBodyContext) any
func (*BaseProtobuf3Visitor) VisitOptionBodyVariable ¶
func (v *BaseProtobuf3Visitor) VisitOptionBodyVariable(ctx *OptionBodyVariableContext) any
func (*BaseProtobuf3Visitor) VisitOptionName ¶
func (v *BaseProtobuf3Visitor) VisitOptionName(ctx *OptionNameContext) any
func (*BaseProtobuf3Visitor) VisitPackageStatement ¶
func (v *BaseProtobuf3Visitor) VisitPackageStatement(ctx *PackageStatementContext) any
func (*BaseProtobuf3Visitor) VisitProto ¶
func (v *BaseProtobuf3Visitor) VisitProto(ctx *ProtoContext) any
func (*BaseProtobuf3Visitor) VisitRangeRule ¶
func (v *BaseProtobuf3Visitor) VisitRangeRule(ctx *RangeRuleContext) any
func (*BaseProtobuf3Visitor) VisitRanges ¶
func (v *BaseProtobuf3Visitor) VisitRanges(ctx *RangesContext) any
func (*BaseProtobuf3Visitor) VisitReserved ¶
func (v *BaseProtobuf3Visitor) VisitReserved(ctx *ReservedContext) any
func (*BaseProtobuf3Visitor) VisitReservedWord ¶
func (v *BaseProtobuf3Visitor) VisitReservedWord(ctx *ReservedWordContext) any
func (*BaseProtobuf3Visitor) VisitRpc ¶
func (v *BaseProtobuf3Visitor) VisitRpc(ctx *RpcContext) any
func (*BaseProtobuf3Visitor) VisitRpcName ¶
func (v *BaseProtobuf3Visitor) VisitRpcName(ctx *RpcNameContext) any
func (*BaseProtobuf3Visitor) VisitService ¶
func (v *BaseProtobuf3Visitor) VisitService(ctx *ServiceContext) any
func (*BaseProtobuf3Visitor) VisitServiceName ¶
func (v *BaseProtobuf3Visitor) VisitServiceName(ctx *ServiceNameContext) any
func (*BaseProtobuf3Visitor) VisitSimpleType ¶
func (v *BaseProtobuf3Visitor) VisitSimpleType(ctx *SimpleTypeContext) any
func (*BaseProtobuf3Visitor) VisitSyntax ¶
func (v *BaseProtobuf3Visitor) VisitSyntax(ctx *SyntaxContext) any
func (*BaseProtobuf3Visitor) VisitSyntaxExtra ¶
func (v *BaseProtobuf3Visitor) VisitSyntaxExtra(ctx *SyntaxExtraContext) any
func (*BaseProtobuf3Visitor) VisitTopLevelDef ¶
func (v *BaseProtobuf3Visitor) VisitTopLevelDef(ctx *TopLevelDefContext) any
func (*BaseProtobuf3Visitor) VisitTypeRule ¶
func (v *BaseProtobuf3Visitor) VisitTypeRule(ctx *TypeRuleContext) any
type ConstantContext ¶
type ConstantContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewConstantContext ¶
func NewConstantContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ConstantContext
func NewEmptyConstantContext ¶
func NewEmptyConstantContext() *ConstantContext
func (*ConstantContext) Accept ¶
func (s *ConstantContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*ConstantContext) BOOL_LIT ¶
func (s *ConstantContext) BOOL_LIT() antlr.TerminalNode
func (*ConstantContext) EnterRule ¶
func (s *ConstantContext) EnterRule(listener antlr.ParseTreeListener)
func (*ConstantContext) ExitRule ¶
func (s *ConstantContext) ExitRule(listener antlr.ParseTreeListener)
func (*ConstantContext) FLOAT_LIT ¶
func (s *ConstantContext) FLOAT_LIT() antlr.TerminalNode
func (*ConstantContext) FullIdent ¶
func (s *ConstantContext) FullIdent() IFullIdentContext
func (*ConstantContext) GetParser ¶
func (s *ConstantContext) GetParser() antlr.Parser
func (*ConstantContext) GetRuleContext ¶
func (s *ConstantContext) GetRuleContext() antlr.RuleContext
func (*ConstantContext) INT_LIT ¶
func (s *ConstantContext) INT_LIT() antlr.TerminalNode
func (*ConstantContext) IsConstantContext ¶
func (*ConstantContext) IsConstantContext()
func (*ConstantContext) STR_LIT ¶
func (s *ConstantContext) STR_LIT() antlr.TerminalNode
func (*ConstantContext) ToStringTree ¶
func (s *ConstantContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type EmptyStatementContext ¶
type EmptyStatementContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyEmptyStatementContext ¶
func NewEmptyEmptyStatementContext() *EmptyStatementContext
func NewEmptyStatementContext ¶
func NewEmptyStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *EmptyStatementContext
func (*EmptyStatementContext) Accept ¶
func (s *EmptyStatementContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*EmptyStatementContext) EnterRule ¶
func (s *EmptyStatementContext) EnterRule(listener antlr.ParseTreeListener)
func (*EmptyStatementContext) ExitRule ¶
func (s *EmptyStatementContext) ExitRule(listener antlr.ParseTreeListener)
func (*EmptyStatementContext) GetParser ¶
func (s *EmptyStatementContext) GetParser() antlr.Parser
func (*EmptyStatementContext) GetRuleContext ¶
func (s *EmptyStatementContext) GetRuleContext() antlr.RuleContext
func (*EmptyStatementContext) IsEmptyStatementContext ¶
func (*EmptyStatementContext) IsEmptyStatementContext()
func (*EmptyStatementContext) ToStringTree ¶
func (s *EmptyStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type EnumBodyContext ¶
type EnumBodyContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyEnumBodyContext ¶
func NewEmptyEnumBodyContext() *EnumBodyContext
func NewEnumBodyContext ¶
func NewEnumBodyContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *EnumBodyContext
func (*EnumBodyContext) Accept ¶
func (s *EnumBodyContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*EnumBodyContext) AllEmptyStatement ¶
func (s *EnumBodyContext) AllEmptyStatement() []IEmptyStatementContext
func (*EnumBodyContext) AllEnumField ¶
func (s *EnumBodyContext) AllEnumField() []IEnumFieldContext
func (*EnumBodyContext) AllOption ¶
func (s *EnumBodyContext) AllOption() []IOptionContext
func (*EnumBodyContext) EmptyStatement ¶
func (s *EnumBodyContext) EmptyStatement(i int) IEmptyStatementContext
func (*EnumBodyContext) EnterRule ¶
func (s *EnumBodyContext) EnterRule(listener antlr.ParseTreeListener)
func (*EnumBodyContext) EnumField ¶
func (s *EnumBodyContext) EnumField(i int) IEnumFieldContext
func (*EnumBodyContext) ExitRule ¶
func (s *EnumBodyContext) ExitRule(listener antlr.ParseTreeListener)
func (*EnumBodyContext) GetParser ¶
func (s *EnumBodyContext) GetParser() antlr.Parser
func (*EnumBodyContext) GetRuleContext ¶
func (s *EnumBodyContext) GetRuleContext() antlr.RuleContext
func (*EnumBodyContext) IsEnumBodyContext ¶
func (*EnumBodyContext) IsEnumBodyContext()
func (*EnumBodyContext) Option ¶
func (s *EnumBodyContext) Option(i int) IOptionContext
func (*EnumBodyContext) ToStringTree ¶
func (s *EnumBodyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type EnumDefinitionContext ¶
type EnumDefinitionContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyEnumDefinitionContext ¶
func NewEmptyEnumDefinitionContext() *EnumDefinitionContext
func NewEnumDefinitionContext ¶
func NewEnumDefinitionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *EnumDefinitionContext
func (*EnumDefinitionContext) Accept ¶
func (s *EnumDefinitionContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*EnumDefinitionContext) ENUM ¶
func (s *EnumDefinitionContext) ENUM() antlr.TerminalNode
func (*EnumDefinitionContext) EnterRule ¶
func (s *EnumDefinitionContext) EnterRule(listener antlr.ParseTreeListener)
func (*EnumDefinitionContext) EnumBody ¶
func (s *EnumDefinitionContext) EnumBody() IEnumBodyContext
func (*EnumDefinitionContext) EnumName ¶
func (s *EnumDefinitionContext) EnumName() IEnumNameContext
func (*EnumDefinitionContext) ExitRule ¶
func (s *EnumDefinitionContext) ExitRule(listener antlr.ParseTreeListener)
func (*EnumDefinitionContext) GetParser ¶
func (s *EnumDefinitionContext) GetParser() antlr.Parser
func (*EnumDefinitionContext) GetRuleContext ¶
func (s *EnumDefinitionContext) GetRuleContext() antlr.RuleContext
func (*EnumDefinitionContext) IsEnumDefinitionContext ¶
func (*EnumDefinitionContext) IsEnumDefinitionContext()
func (*EnumDefinitionContext) ToStringTree ¶
func (s *EnumDefinitionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type EnumFieldContext ¶
type EnumFieldContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyEnumFieldContext ¶
func NewEmptyEnumFieldContext() *EnumFieldContext
func NewEnumFieldContext ¶
func NewEnumFieldContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *EnumFieldContext
func (*EnumFieldContext) Accept ¶
func (s *EnumFieldContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*EnumFieldContext) AllEnumValueOption ¶
func (s *EnumFieldContext) AllEnumValueOption() []IEnumValueOptionContext
func (*EnumFieldContext) EnterRule ¶
func (s *EnumFieldContext) EnterRule(listener antlr.ParseTreeListener)
func (*EnumFieldContext) EnumValueOption ¶
func (s *EnumFieldContext) EnumValueOption(i int) IEnumValueOptionContext
func (*EnumFieldContext) ExitRule ¶
func (s *EnumFieldContext) ExitRule(listener antlr.ParseTreeListener)
func (*EnumFieldContext) GetParser ¶
func (s *EnumFieldContext) GetParser() antlr.Parser
func (*EnumFieldContext) GetRuleContext ¶
func (s *EnumFieldContext) GetRuleContext() antlr.RuleContext
func (*EnumFieldContext) IDENT ¶
func (s *EnumFieldContext) IDENT() antlr.TerminalNode
func (*EnumFieldContext) INT_LIT ¶
func (s *EnumFieldContext) INT_LIT() antlr.TerminalNode
func (*EnumFieldContext) IsEnumFieldContext ¶
func (*EnumFieldContext) IsEnumFieldContext()
func (*EnumFieldContext) ToStringTree ¶
func (s *EnumFieldContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type EnumNameContext ¶
type EnumNameContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyEnumNameContext ¶
func NewEmptyEnumNameContext() *EnumNameContext
func NewEnumNameContext ¶
func NewEnumNameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *EnumNameContext
func (*EnumNameContext) Accept ¶
func (s *EnumNameContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*EnumNameContext) EnterRule ¶
func (s *EnumNameContext) EnterRule(listener antlr.ParseTreeListener)
func (*EnumNameContext) ExitRule ¶
func (s *EnumNameContext) ExitRule(listener antlr.ParseTreeListener)
func (*EnumNameContext) GetParser ¶
func (s *EnumNameContext) GetParser() antlr.Parser
func (*EnumNameContext) GetRuleContext ¶
func (s *EnumNameContext) GetRuleContext() antlr.RuleContext
func (*EnumNameContext) IDENT ¶
func (s *EnumNameContext) IDENT() antlr.TerminalNode
func (*EnumNameContext) IsEnumNameContext ¶
func (*EnumNameContext) IsEnumNameContext()
func (*EnumNameContext) ToStringTree ¶
func (s *EnumNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type EnumValueOptionContext ¶
type EnumValueOptionContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyEnumValueOptionContext ¶
func NewEmptyEnumValueOptionContext() *EnumValueOptionContext
func NewEnumValueOptionContext ¶
func NewEnumValueOptionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *EnumValueOptionContext
func (*EnumValueOptionContext) Accept ¶
func (s *EnumValueOptionContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*EnumValueOptionContext) Constant ¶
func (s *EnumValueOptionContext) Constant() IConstantContext
func (*EnumValueOptionContext) EnterRule ¶
func (s *EnumValueOptionContext) EnterRule(listener antlr.ParseTreeListener)
func (*EnumValueOptionContext) ExitRule ¶
func (s *EnumValueOptionContext) ExitRule(listener antlr.ParseTreeListener)
func (*EnumValueOptionContext) GetParser ¶
func (s *EnumValueOptionContext) GetParser() antlr.Parser
func (*EnumValueOptionContext) GetRuleContext ¶
func (s *EnumValueOptionContext) GetRuleContext() antlr.RuleContext
func (*EnumValueOptionContext) IsEnumValueOptionContext ¶
func (*EnumValueOptionContext) IsEnumValueOptionContext()
func (*EnumValueOptionContext) OptionName ¶
func (s *EnumValueOptionContext) OptionName() IOptionNameContext
func (*EnumValueOptionContext) ToStringTree ¶
func (s *EnumValueOptionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ExtendContext ¶
type ExtendContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyExtendContext ¶
func NewEmptyExtendContext() *ExtendContext
func NewExtendContext ¶
func NewExtendContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExtendContext
func (*ExtendContext) Accept ¶
func (s *ExtendContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*ExtendContext) EXTEND ¶
func (s *ExtendContext) EXTEND() antlr.TerminalNode
func (*ExtendContext) EmptyStatement ¶
func (s *ExtendContext) EmptyStatement() IEmptyStatementContext
func (*ExtendContext) EnterRule ¶
func (s *ExtendContext) EnterRule(listener antlr.ParseTreeListener)
func (*ExtendContext) ExitRule ¶
func (s *ExtendContext) ExitRule(listener antlr.ParseTreeListener)
func (*ExtendContext) Field ¶
func (s *ExtendContext) Field() IFieldContext
func (*ExtendContext) GetParser ¶
func (s *ExtendContext) GetParser() antlr.Parser
func (*ExtendContext) GetRuleContext ¶
func (s *ExtendContext) GetRuleContext() antlr.RuleContext
func (*ExtendContext) IsExtendContext ¶
func (*ExtendContext) IsExtendContext()
func (*ExtendContext) MessageType ¶
func (s *ExtendContext) MessageType() IMessageTypeContext
func (*ExtendContext) ToStringTree ¶
func (s *ExtendContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type FieldContext ¶
type FieldContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFieldContext ¶
func NewEmptyFieldContext() *FieldContext
func NewFieldContext ¶
func NewFieldContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FieldContext
func (*FieldContext) Accept ¶
func (s *FieldContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*FieldContext) EnterRule ¶
func (s *FieldContext) EnterRule(listener antlr.ParseTreeListener)
func (*FieldContext) ExitRule ¶
func (s *FieldContext) ExitRule(listener antlr.ParseTreeListener)
func (*FieldContext) FieldName ¶
func (s *FieldContext) FieldName() IFieldNameContext
func (*FieldContext) FieldNumber ¶
func (s *FieldContext) FieldNumber() IFieldNumberContext
func (*FieldContext) FieldOptions ¶
func (s *FieldContext) FieldOptions() IFieldOptionsContext
func (*FieldContext) GetParser ¶
func (s *FieldContext) GetParser() antlr.Parser
func (*FieldContext) GetRuleContext ¶
func (s *FieldContext) GetRuleContext() antlr.RuleContext
func (*FieldContext) IsFieldContext ¶
func (*FieldContext) IsFieldContext()
func (*FieldContext) REPEATED ¶
func (s *FieldContext) REPEATED() antlr.TerminalNode
func (*FieldContext) ToStringTree ¶
func (s *FieldContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*FieldContext) TypeRule ¶
func (s *FieldContext) TypeRule() ITypeRuleContext
type FieldNameContext ¶
type FieldNameContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFieldNameContext ¶
func NewEmptyFieldNameContext() *FieldNameContext
func NewFieldNameContext ¶
func NewFieldNameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FieldNameContext
func (*FieldNameContext) Accept ¶
func (s *FieldNameContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*FieldNameContext) EnterRule ¶
func (s *FieldNameContext) EnterRule(listener antlr.ParseTreeListener)
func (*FieldNameContext) ExitRule ¶
func (s *FieldNameContext) ExitRule(listener antlr.ParseTreeListener)
func (*FieldNameContext) GetParser ¶
func (s *FieldNameContext) GetParser() antlr.Parser
func (*FieldNameContext) GetRuleContext ¶
func (s *FieldNameContext) GetRuleContext() antlr.RuleContext
func (*FieldNameContext) IDENT ¶
func (s *FieldNameContext) IDENT() antlr.TerminalNode
func (*FieldNameContext) IsFieldNameContext ¶
func (*FieldNameContext) IsFieldNameContext()
func (*FieldNameContext) ReservedWord ¶
func (s *FieldNameContext) ReservedWord() IReservedWordContext
func (*FieldNameContext) ToStringTree ¶
func (s *FieldNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type FieldNamesContext ¶
type FieldNamesContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFieldNamesContext ¶
func NewEmptyFieldNamesContext() *FieldNamesContext
func NewFieldNamesContext ¶
func NewFieldNamesContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FieldNamesContext
func (*FieldNamesContext) Accept ¶
func (s *FieldNamesContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*FieldNamesContext) AllSTR_LIT ¶
func (s *FieldNamesContext) AllSTR_LIT() []antlr.TerminalNode
func (*FieldNamesContext) EnterRule ¶
func (s *FieldNamesContext) EnterRule(listener antlr.ParseTreeListener)
func (*FieldNamesContext) ExitRule ¶
func (s *FieldNamesContext) ExitRule(listener antlr.ParseTreeListener)
func (*FieldNamesContext) GetParser ¶
func (s *FieldNamesContext) GetParser() antlr.Parser
func (*FieldNamesContext) GetRuleContext ¶
func (s *FieldNamesContext) GetRuleContext() antlr.RuleContext
func (*FieldNamesContext) IsFieldNamesContext ¶
func (*FieldNamesContext) IsFieldNamesContext()
func (*FieldNamesContext) STR_LIT ¶
func (s *FieldNamesContext) STR_LIT(i int) antlr.TerminalNode
func (*FieldNamesContext) ToStringTree ¶
func (s *FieldNamesContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type FieldNumberContext ¶
type FieldNumberContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFieldNumberContext ¶
func NewEmptyFieldNumberContext() *FieldNumberContext
func NewFieldNumberContext ¶
func NewFieldNumberContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FieldNumberContext
func (*FieldNumberContext) Accept ¶
func (s *FieldNumberContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*FieldNumberContext) EnterRule ¶
func (s *FieldNumberContext) EnterRule(listener antlr.ParseTreeListener)
func (*FieldNumberContext) ExitRule ¶
func (s *FieldNumberContext) ExitRule(listener antlr.ParseTreeListener)
func (*FieldNumberContext) GetParser ¶
func (s *FieldNumberContext) GetParser() antlr.Parser
func (*FieldNumberContext) GetRuleContext ¶
func (s *FieldNumberContext) GetRuleContext() antlr.RuleContext
func (*FieldNumberContext) INT_LIT ¶
func (s *FieldNumberContext) INT_LIT() antlr.TerminalNode
func (*FieldNumberContext) IsFieldNumberContext ¶
func (*FieldNumberContext) IsFieldNumberContext()
func (*FieldNumberContext) ToStringTree ¶
func (s *FieldNumberContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type FieldOptionContext ¶
type FieldOptionContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFieldOptionContext ¶
func NewEmptyFieldOptionContext() *FieldOptionContext
func NewFieldOptionContext ¶
func NewFieldOptionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FieldOptionContext
func (*FieldOptionContext) Accept ¶
func (s *FieldOptionContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*FieldOptionContext) Constant ¶
func (s *FieldOptionContext) Constant() IConstantContext
func (*FieldOptionContext) EnterRule ¶
func (s *FieldOptionContext) EnterRule(listener antlr.ParseTreeListener)
func (*FieldOptionContext) ExitRule ¶
func (s *FieldOptionContext) ExitRule(listener antlr.ParseTreeListener)
func (*FieldOptionContext) GetParser ¶
func (s *FieldOptionContext) GetParser() antlr.Parser
func (*FieldOptionContext) GetRuleContext ¶
func (s *FieldOptionContext) GetRuleContext() antlr.RuleContext
func (*FieldOptionContext) IsFieldOptionContext ¶
func (*FieldOptionContext) IsFieldOptionContext()
func (*FieldOptionContext) OptionName ¶
func (s *FieldOptionContext) OptionName() IOptionNameContext
func (*FieldOptionContext) ToStringTree ¶
func (s *FieldOptionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type FieldOptionsContext ¶
type FieldOptionsContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFieldOptionsContext ¶
func NewEmptyFieldOptionsContext() *FieldOptionsContext
func NewFieldOptionsContext ¶
func NewFieldOptionsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FieldOptionsContext
func (*FieldOptionsContext) Accept ¶
func (s *FieldOptionsContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*FieldOptionsContext) AllFieldOption ¶
func (s *FieldOptionsContext) AllFieldOption() []IFieldOptionContext
func (*FieldOptionsContext) EnterRule ¶
func (s *FieldOptionsContext) EnterRule(listener antlr.ParseTreeListener)
func (*FieldOptionsContext) ExitRule ¶
func (s *FieldOptionsContext) ExitRule(listener antlr.ParseTreeListener)
func (*FieldOptionsContext) FieldOption ¶
func (s *FieldOptionsContext) FieldOption(i int) IFieldOptionContext
func (*FieldOptionsContext) GetParser ¶
func (s *FieldOptionsContext) GetParser() antlr.Parser
func (*FieldOptionsContext) GetRuleContext ¶
func (s *FieldOptionsContext) GetRuleContext() antlr.RuleContext
func (*FieldOptionsContext) IsFieldOptionsContext ¶
func (*FieldOptionsContext) IsFieldOptionsContext()
func (*FieldOptionsContext) ToStringTree ¶
func (s *FieldOptionsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type FullIdentContext ¶
type FullIdentContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFullIdentContext ¶
func NewEmptyFullIdentContext() *FullIdentContext
func NewFullIdentContext ¶
func NewFullIdentContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FullIdentContext
func (*FullIdentContext) Accept ¶
func (s *FullIdentContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*FullIdentContext) AllIDENT ¶
func (s *FullIdentContext) AllIDENT() []antlr.TerminalNode
func (*FullIdentContext) EnterRule ¶
func (s *FullIdentContext) EnterRule(listener antlr.ParseTreeListener)
func (*FullIdentContext) ExitRule ¶
func (s *FullIdentContext) ExitRule(listener antlr.ParseTreeListener)
func (*FullIdentContext) GetParser ¶
func (s *FullIdentContext) GetParser() antlr.Parser
func (*FullIdentContext) GetRuleContext ¶
func (s *FullIdentContext) GetRuleContext() antlr.RuleContext
func (*FullIdentContext) IDENT ¶
func (s *FullIdentContext) IDENT(i int) antlr.TerminalNode
func (*FullIdentContext) IsFullIdentContext ¶
func (*FullIdentContext) IsFullIdentContext()
func (*FullIdentContext) ToStringTree ¶
func (s *FullIdentContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type IConstantContext ¶
type IConstantContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures FullIdent() IFullIdentContext INT_LIT() antlr.TerminalNode FLOAT_LIT() antlr.TerminalNode STR_LIT() antlr.TerminalNode BOOL_LIT() antlr.TerminalNode // IsConstantContext differentiates from other interfaces. IsConstantContext() }
IConstantContext is an interface to support dynamic dispatch.
type IEmptyStatementContext ¶
type IEmptyStatementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsEmptyStatementContext differentiates from other interfaces. IsEmptyStatementContext() }
IEmptyStatementContext is an interface to support dynamic dispatch.
type IEnumBodyContext ¶
type IEnumBodyContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllOption() []IOptionContext Option(i int) IOptionContext AllEnumField() []IEnumFieldContext EnumField(i int) IEnumFieldContext AllEmptyStatement() []IEmptyStatementContext EmptyStatement(i int) IEmptyStatementContext // IsEnumBodyContext differentiates from other interfaces. IsEnumBodyContext() }
IEnumBodyContext is an interface to support dynamic dispatch.
type IEnumDefinitionContext ¶
type IEnumDefinitionContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures ENUM() antlr.TerminalNode EnumName() IEnumNameContext EnumBody() IEnumBodyContext // IsEnumDefinitionContext differentiates from other interfaces. IsEnumDefinitionContext() }
IEnumDefinitionContext is an interface to support dynamic dispatch.
type IEnumFieldContext ¶
type IEnumFieldContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures IDENT() antlr.TerminalNode INT_LIT() antlr.TerminalNode AllEnumValueOption() []IEnumValueOptionContext EnumValueOption(i int) IEnumValueOptionContext // IsEnumFieldContext differentiates from other interfaces. IsEnumFieldContext() }
IEnumFieldContext is an interface to support dynamic dispatch.
type IEnumNameContext ¶
type IEnumNameContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures IDENT() antlr.TerminalNode // IsEnumNameContext differentiates from other interfaces. IsEnumNameContext() }
IEnumNameContext is an interface to support dynamic dispatch.
type IEnumValueOptionContext ¶
type IEnumValueOptionContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures OptionName() IOptionNameContext Constant() IConstantContext // IsEnumValueOptionContext differentiates from other interfaces. IsEnumValueOptionContext() }
IEnumValueOptionContext is an interface to support dynamic dispatch.
type IExtendContext ¶
type IExtendContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures EXTEND() antlr.TerminalNode MessageType() IMessageTypeContext Field() IFieldContext EmptyStatement() IEmptyStatementContext // IsExtendContext differentiates from other interfaces. IsExtendContext() }
IExtendContext is an interface to support dynamic dispatch.
type IFieldContext ¶
type IFieldContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures TypeRule() ITypeRuleContext FieldName() IFieldNameContext FieldNumber() IFieldNumberContext REPEATED() antlr.TerminalNode FieldOptions() IFieldOptionsContext // IsFieldContext differentiates from other interfaces. IsFieldContext() }
IFieldContext is an interface to support dynamic dispatch.
type IFieldNameContext ¶
type IFieldNameContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures IDENT() antlr.TerminalNode ReservedWord() IReservedWordContext // IsFieldNameContext differentiates from other interfaces. IsFieldNameContext() }
IFieldNameContext is an interface to support dynamic dispatch.
type IFieldNamesContext ¶
type IFieldNamesContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllSTR_LIT() []antlr.TerminalNode STR_LIT(i int) antlr.TerminalNode // IsFieldNamesContext differentiates from other interfaces. IsFieldNamesContext() }
IFieldNamesContext is an interface to support dynamic dispatch.
type IFieldNumberContext ¶
type IFieldNumberContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures INT_LIT() antlr.TerminalNode // IsFieldNumberContext differentiates from other interfaces. IsFieldNumberContext() }
IFieldNumberContext is an interface to support dynamic dispatch.
type IFieldOptionContext ¶
type IFieldOptionContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures OptionName() IOptionNameContext Constant() IConstantContext // IsFieldOptionContext differentiates from other interfaces. IsFieldOptionContext() }
IFieldOptionContext is an interface to support dynamic dispatch.
type IFieldOptionsContext ¶
type IFieldOptionsContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllFieldOption() []IFieldOptionContext FieldOption(i int) IFieldOptionContext // IsFieldOptionsContext differentiates from other interfaces. IsFieldOptionsContext() }
IFieldOptionsContext is an interface to support dynamic dispatch.
type IFullIdentContext ¶
type IFullIdentContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllIDENT() []antlr.TerminalNode IDENT(i int) antlr.TerminalNode // IsFullIdentContext differentiates from other interfaces. IsFullIdentContext() }
IFullIdentContext is an interface to support dynamic dispatch.
type IImportStatementContext ¶
type IImportStatementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures IMPORT() antlr.TerminalNode STR_LIT() antlr.TerminalNode WEAK() antlr.TerminalNode PUBLIC() antlr.TerminalNode // IsImportStatementContext differentiates from other interfaces. IsImportStatementContext() }
IImportStatementContext is an interface to support dynamic dispatch.
type IKeyTypeContext ¶
type IKeyTypeContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures INT32() antlr.TerminalNode INT64() antlr.TerminalNode UINT32() antlr.TerminalNode UINT64() antlr.TerminalNode SINT32() antlr.TerminalNode SINT64() antlr.TerminalNode FIXED32() antlr.TerminalNode FIXED64() antlr.TerminalNode SFIXED32() antlr.TerminalNode SFIXED64() antlr.TerminalNode BOOL() antlr.TerminalNode STRING() antlr.TerminalNode // IsKeyTypeContext differentiates from other interfaces. IsKeyTypeContext() }
IKeyTypeContext is an interface to support dynamic dispatch.
type IMapFieldContext ¶
type IMapFieldContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures MAP() antlr.TerminalNode KeyType() IKeyTypeContext TypeRule() ITypeRuleContext MapName() IMapNameContext FieldNumber() IFieldNumberContext FieldOptions() IFieldOptionsContext // IsMapFieldContext differentiates from other interfaces. IsMapFieldContext() }
IMapFieldContext is an interface to support dynamic dispatch.
type IMapNameContext ¶
type IMapNameContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures IDENT() antlr.TerminalNode // IsMapNameContext differentiates from other interfaces. IsMapNameContext() }
IMapNameContext is an interface to support dynamic dispatch.
type IMessageBodyContentContext ¶
type IMessageBodyContentContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures Field() IFieldContext EnumDefinition() IEnumDefinitionContext Message() IMessageContext Extend() IExtendContext Option() IOptionContext Oneof() IOneofContext MapField() IMapFieldContext Reserved() IReservedContext EmptyStatement() IEmptyStatementContext // IsMessageBodyContentContext differentiates from other interfaces. IsMessageBodyContentContext() }
IMessageBodyContentContext is an interface to support dynamic dispatch.
type IMessageBodyContext ¶
type IMessageBodyContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllMessageBodyContent() []IMessageBodyContentContext MessageBodyContent(i int) IMessageBodyContentContext // IsMessageBodyContext differentiates from other interfaces. IsMessageBodyContext() }
IMessageBodyContext is an interface to support dynamic dispatch.
type IMessageContext ¶
type IMessageContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures MESSAGE() antlr.TerminalNode MessageName() IMessageNameContext MessageBody() IMessageBodyContext // IsMessageContext differentiates from other interfaces. IsMessageContext() }
IMessageContext is an interface to support dynamic dispatch.
type IMessageNameContext ¶
type IMessageNameContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures IDENT() antlr.TerminalNode // IsMessageNameContext differentiates from other interfaces. IsMessageNameContext() }
IMessageNameContext is an interface to support dynamic dispatch.
type IMessageOrEnumNameContext ¶
type IMessageOrEnumNameContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures IDENT() antlr.TerminalNode // IsMessageOrEnumNameContext differentiates from other interfaces. IsMessageOrEnumNameContext() }
IMessageOrEnumNameContext is an interface to support dynamic dispatch.
type IMessageOrEnumTypeContext ¶
type IMessageOrEnumTypeContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures MessageOrEnumName() IMessageOrEnumNameContext AllIDENT() []antlr.TerminalNode IDENT(i int) antlr.TerminalNode AllReservedWord() []IReservedWordContext ReservedWord(i int) IReservedWordContext // IsMessageOrEnumTypeContext differentiates from other interfaces. IsMessageOrEnumTypeContext() }
IMessageOrEnumTypeContext is an interface to support dynamic dispatch.
type IMessageTypeContext ¶
type IMessageTypeContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures MessageName() IMessageNameContext AllIDENT() []antlr.TerminalNode IDENT(i int) antlr.TerminalNode // IsMessageTypeContext differentiates from other interfaces. IsMessageTypeContext() }
IMessageTypeContext is an interface to support dynamic dispatch.
type IOneofContext ¶
type IOneofContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures ONEOF() antlr.TerminalNode OneofName() IOneofNameContext AllOneofField() []IOneofFieldContext OneofField(i int) IOneofFieldContext AllEmptyStatement() []IEmptyStatementContext EmptyStatement(i int) IEmptyStatementContext // IsOneofContext differentiates from other interfaces. IsOneofContext() }
IOneofContext is an interface to support dynamic dispatch.
type IOneofFieldContext ¶
type IOneofFieldContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures TypeRule() ITypeRuleContext FieldName() IFieldNameContext FieldNumber() IFieldNumberContext FieldOptions() IFieldOptionsContext // IsOneofFieldContext differentiates from other interfaces. IsOneofFieldContext() }
IOneofFieldContext is an interface to support dynamic dispatch.
type IOneofNameContext ¶
type IOneofNameContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures IDENT() antlr.TerminalNode // IsOneofNameContext differentiates from other interfaces. IsOneofNameContext() }
IOneofNameContext is an interface to support dynamic dispatch.
type IOptionBodyContext ¶
type IOptionBodyContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllOptionBodyVariable() []IOptionBodyVariableContext OptionBodyVariable(i int) IOptionBodyVariableContext // IsOptionBodyContext differentiates from other interfaces. IsOptionBodyContext() }
IOptionBodyContext is an interface to support dynamic dispatch.
type IOptionBodyVariableContext ¶
type IOptionBodyVariableContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures OptionName() IOptionNameContext Constant() IConstantContext // IsOptionBodyVariableContext differentiates from other interfaces. IsOptionBodyVariableContext() }
IOptionBodyVariableContext is an interface to support dynamic dispatch.
type IOptionContext ¶
type IOptionContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures OPTION() antlr.TerminalNode OptionName() IOptionNameContext Constant() IConstantContext OptionBody() IOptionBodyContext // IsOptionContext differentiates from other interfaces. IsOptionContext() }
IOptionContext is an interface to support dynamic dispatch.
type IOptionNameContext ¶
type IOptionNameContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllIDENT() []antlr.TerminalNode IDENT(i int) antlr.TerminalNode FullIdent() IFullIdentContext AllReservedWord() []IReservedWordContext ReservedWord(i int) IReservedWordContext // IsOptionNameContext differentiates from other interfaces. IsOptionNameContext() }
IOptionNameContext is an interface to support dynamic dispatch.
type IPackageStatementContext ¶
type IPackageStatementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures PACKAGE() antlr.TerminalNode FullIdent() IFullIdentContext // IsPackageStatementContext differentiates from other interfaces. IsPackageStatementContext() }
IPackageStatementContext is an interface to support dynamic dispatch.
type IProtoContext ¶
type IProtoContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures Syntax() ISyntaxContext EOF() antlr.TerminalNode AllSyntaxExtra() []ISyntaxExtraContext SyntaxExtra(i int) ISyntaxExtraContext // IsProtoContext differentiates from other interfaces. IsProtoContext() }
IProtoContext is an interface to support dynamic dispatch.
type IRangeRuleContext ¶
type IRangeRuleContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllINT_LIT() []antlr.TerminalNode INT_LIT(i int) antlr.TerminalNode TO() antlr.TerminalNode // IsRangeRuleContext differentiates from other interfaces. IsRangeRuleContext() }
IRangeRuleContext is an interface to support dynamic dispatch.
type IRangesContext ¶
type IRangesContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllRangeRule() []IRangeRuleContext RangeRule(i int) IRangeRuleContext // IsRangesContext differentiates from other interfaces. IsRangesContext() }
IRangesContext is an interface to support dynamic dispatch.
type IReservedContext ¶
type IReservedContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures RESERVED() antlr.TerminalNode Ranges() IRangesContext FieldNames() IFieldNamesContext // IsReservedContext differentiates from other interfaces. IsReservedContext() }
IReservedContext is an interface to support dynamic dispatch.
type IReservedWordContext ¶
type IReservedWordContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures EXTEND() antlr.TerminalNode MESSAGE() antlr.TerminalNode OPTION() antlr.TerminalNode PACKAGE() antlr.TerminalNode RPC() antlr.TerminalNode SERVICE() antlr.TerminalNode STREAM() antlr.TerminalNode STRING() antlr.TerminalNode SYNTAX() antlr.TerminalNode WEAK() antlr.TerminalNode // IsReservedWordContext differentiates from other interfaces. IsReservedWordContext() }
IReservedWordContext is an interface to support dynamic dispatch.
type IRpcContext ¶
type IRpcContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures RPC() antlr.TerminalNode RpcName() IRpcNameContext AllMessageType() []IMessageTypeContext MessageType(i int) IMessageTypeContext RETURNS() antlr.TerminalNode AllSTREAM() []antlr.TerminalNode STREAM(i int) antlr.TerminalNode AllOption() []IOptionContext Option(i int) IOptionContext AllEmptyStatement() []IEmptyStatementContext EmptyStatement(i int) IEmptyStatementContext // IsRpcContext differentiates from other interfaces. IsRpcContext() }
IRpcContext is an interface to support dynamic dispatch.
type IRpcNameContext ¶
type IRpcNameContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures IDENT() antlr.TerminalNode // IsRpcNameContext differentiates from other interfaces. IsRpcNameContext() }
IRpcNameContext is an interface to support dynamic dispatch.
type IServiceContext ¶
type IServiceContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures SERVICE() antlr.TerminalNode ServiceName() IServiceNameContext AllOption() []IOptionContext Option(i int) IOptionContext AllRpc() []IRpcContext Rpc(i int) IRpcContext AllEmptyStatement() []IEmptyStatementContext EmptyStatement(i int) IEmptyStatementContext // IsServiceContext differentiates from other interfaces. IsServiceContext() }
IServiceContext is an interface to support dynamic dispatch.
type IServiceNameContext ¶
type IServiceNameContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures IDENT() antlr.TerminalNode // IsServiceNameContext differentiates from other interfaces. IsServiceNameContext() }
IServiceNameContext is an interface to support dynamic dispatch.
type ISimpleTypeContext ¶
type ISimpleTypeContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures DOUBLE() antlr.TerminalNode FLOAT() antlr.TerminalNode INT32() antlr.TerminalNode INT64() antlr.TerminalNode UINT32() antlr.TerminalNode UINT64() antlr.TerminalNode SINT32() antlr.TerminalNode SINT64() antlr.TerminalNode FIXED32() antlr.TerminalNode FIXED64() antlr.TerminalNode SFIXED32() antlr.TerminalNode SFIXED64() antlr.TerminalNode BOOL() antlr.TerminalNode STRING() antlr.TerminalNode BYTES() antlr.TerminalNode // IsSimpleTypeContext differentiates from other interfaces. IsSimpleTypeContext() }
ISimpleTypeContext is an interface to support dynamic dispatch.
type ISyntaxContext ¶
type ISyntaxContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures SYNTAX() antlr.TerminalNode PROTO3_DOUBLE() antlr.TerminalNode PROTO3_SINGLE() antlr.TerminalNode // IsSyntaxContext differentiates from other interfaces. IsSyntaxContext() }
ISyntaxContext is an interface to support dynamic dispatch.
type ISyntaxExtraContext ¶
type ISyntaxExtraContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures ImportStatement() IImportStatementContext PackageStatement() IPackageStatementContext Option() IOptionContext TopLevelDef() ITopLevelDefContext EmptyStatement() IEmptyStatementContext // IsSyntaxExtraContext differentiates from other interfaces. IsSyntaxExtraContext() }
ISyntaxExtraContext is an interface to support dynamic dispatch.
type ITopLevelDefContext ¶
type ITopLevelDefContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures Message() IMessageContext EnumDefinition() IEnumDefinitionContext Extend() IExtendContext Service() IServiceContext // IsTopLevelDefContext differentiates from other interfaces. IsTopLevelDefContext() }
ITopLevelDefContext is an interface to support dynamic dispatch.
type ITypeRuleContext ¶
type ITypeRuleContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures SimpleType() ISimpleTypeContext MessageOrEnumType() IMessageOrEnumTypeContext // IsTypeRuleContext differentiates from other interfaces. IsTypeRuleContext() }
ITypeRuleContext is an interface to support dynamic dispatch.
type ImportStatementContext ¶
type ImportStatementContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyImportStatementContext ¶
func NewEmptyImportStatementContext() *ImportStatementContext
func NewImportStatementContext ¶
func NewImportStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ImportStatementContext
func (*ImportStatementContext) Accept ¶
func (s *ImportStatementContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*ImportStatementContext) EnterRule ¶
func (s *ImportStatementContext) EnterRule(listener antlr.ParseTreeListener)
func (*ImportStatementContext) ExitRule ¶
func (s *ImportStatementContext) ExitRule(listener antlr.ParseTreeListener)
func (*ImportStatementContext) GetParser ¶
func (s *ImportStatementContext) GetParser() antlr.Parser
func (*ImportStatementContext) GetRuleContext ¶
func (s *ImportStatementContext) GetRuleContext() antlr.RuleContext
func (*ImportStatementContext) IMPORT ¶
func (s *ImportStatementContext) IMPORT() antlr.TerminalNode
func (*ImportStatementContext) IsImportStatementContext ¶
func (*ImportStatementContext) IsImportStatementContext()
func (*ImportStatementContext) PUBLIC ¶
func (s *ImportStatementContext) PUBLIC() antlr.TerminalNode
func (*ImportStatementContext) STR_LIT ¶
func (s *ImportStatementContext) STR_LIT() antlr.TerminalNode
func (*ImportStatementContext) ToStringTree ¶
func (s *ImportStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*ImportStatementContext) WEAK ¶
func (s *ImportStatementContext) WEAK() antlr.TerminalNode
type KeyTypeContext ¶
type KeyTypeContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyKeyTypeContext ¶
func NewEmptyKeyTypeContext() *KeyTypeContext
func NewKeyTypeContext ¶
func NewKeyTypeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *KeyTypeContext
func (*KeyTypeContext) Accept ¶
func (s *KeyTypeContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*KeyTypeContext) BOOL ¶
func (s *KeyTypeContext) BOOL() antlr.TerminalNode
func (*KeyTypeContext) EnterRule ¶
func (s *KeyTypeContext) EnterRule(listener antlr.ParseTreeListener)
func (*KeyTypeContext) ExitRule ¶
func (s *KeyTypeContext) ExitRule(listener antlr.ParseTreeListener)
func (*KeyTypeContext) FIXED32 ¶
func (s *KeyTypeContext) FIXED32() antlr.TerminalNode
func (*KeyTypeContext) FIXED64 ¶
func (s *KeyTypeContext) FIXED64() antlr.TerminalNode
func (*KeyTypeContext) GetParser ¶
func (s *KeyTypeContext) GetParser() antlr.Parser
func (*KeyTypeContext) GetRuleContext ¶
func (s *KeyTypeContext) GetRuleContext() antlr.RuleContext
func (*KeyTypeContext) INT32 ¶
func (s *KeyTypeContext) INT32() antlr.TerminalNode
func (*KeyTypeContext) INT64 ¶
func (s *KeyTypeContext) INT64() antlr.TerminalNode
func (*KeyTypeContext) IsKeyTypeContext ¶
func (*KeyTypeContext) IsKeyTypeContext()
func (*KeyTypeContext) SFIXED32 ¶
func (s *KeyTypeContext) SFIXED32() antlr.TerminalNode
func (*KeyTypeContext) SFIXED64 ¶
func (s *KeyTypeContext) SFIXED64() antlr.TerminalNode
func (*KeyTypeContext) SINT32 ¶
func (s *KeyTypeContext) SINT32() antlr.TerminalNode
func (*KeyTypeContext) SINT64 ¶
func (s *KeyTypeContext) SINT64() antlr.TerminalNode
func (*KeyTypeContext) STRING ¶
func (s *KeyTypeContext) STRING() antlr.TerminalNode
func (*KeyTypeContext) ToStringTree ¶
func (s *KeyTypeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*KeyTypeContext) UINT32 ¶
func (s *KeyTypeContext) UINT32() antlr.TerminalNode
func (*KeyTypeContext) UINT64 ¶
func (s *KeyTypeContext) UINT64() antlr.TerminalNode
type MapFieldContext ¶
type MapFieldContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyMapFieldContext ¶
func NewEmptyMapFieldContext() *MapFieldContext
func NewMapFieldContext ¶
func NewMapFieldContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MapFieldContext
func (*MapFieldContext) Accept ¶
func (s *MapFieldContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*MapFieldContext) EnterRule ¶
func (s *MapFieldContext) EnterRule(listener antlr.ParseTreeListener)
func (*MapFieldContext) ExitRule ¶
func (s *MapFieldContext) ExitRule(listener antlr.ParseTreeListener)
func (*MapFieldContext) FieldNumber ¶
func (s *MapFieldContext) FieldNumber() IFieldNumberContext
func (*MapFieldContext) FieldOptions ¶
func (s *MapFieldContext) FieldOptions() IFieldOptionsContext
func (*MapFieldContext) GetParser ¶
func (s *MapFieldContext) GetParser() antlr.Parser
func (*MapFieldContext) GetRuleContext ¶
func (s *MapFieldContext) GetRuleContext() antlr.RuleContext
func (*MapFieldContext) IsMapFieldContext ¶
func (*MapFieldContext) IsMapFieldContext()
func (*MapFieldContext) KeyType ¶
func (s *MapFieldContext) KeyType() IKeyTypeContext
func (*MapFieldContext) MAP ¶
func (s *MapFieldContext) MAP() antlr.TerminalNode
func (*MapFieldContext) MapName ¶
func (s *MapFieldContext) MapName() IMapNameContext
func (*MapFieldContext) ToStringTree ¶
func (s *MapFieldContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*MapFieldContext) TypeRule ¶
func (s *MapFieldContext) TypeRule() ITypeRuleContext
type MapNameContext ¶
type MapNameContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyMapNameContext ¶
func NewEmptyMapNameContext() *MapNameContext
func NewMapNameContext ¶
func NewMapNameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MapNameContext
func (*MapNameContext) Accept ¶
func (s *MapNameContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*MapNameContext) EnterRule ¶
func (s *MapNameContext) EnterRule(listener antlr.ParseTreeListener)
func (*MapNameContext) ExitRule ¶
func (s *MapNameContext) ExitRule(listener antlr.ParseTreeListener)
func (*MapNameContext) GetParser ¶
func (s *MapNameContext) GetParser() antlr.Parser
func (*MapNameContext) GetRuleContext ¶
func (s *MapNameContext) GetRuleContext() antlr.RuleContext
func (*MapNameContext) IDENT ¶
func (s *MapNameContext) IDENT() antlr.TerminalNode
func (*MapNameContext) IsMapNameContext ¶
func (*MapNameContext) IsMapNameContext()
func (*MapNameContext) ToStringTree ¶
func (s *MapNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type MessageBodyContentContext ¶
type MessageBodyContentContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyMessageBodyContentContext ¶
func NewEmptyMessageBodyContentContext() *MessageBodyContentContext
func NewMessageBodyContentContext ¶
func NewMessageBodyContentContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MessageBodyContentContext
func (*MessageBodyContentContext) Accept ¶
func (s *MessageBodyContentContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*MessageBodyContentContext) EmptyStatement ¶
func (s *MessageBodyContentContext) EmptyStatement() IEmptyStatementContext
func (*MessageBodyContentContext) EnterRule ¶
func (s *MessageBodyContentContext) EnterRule(listener antlr.ParseTreeListener)
func (*MessageBodyContentContext) EnumDefinition ¶
func (s *MessageBodyContentContext) EnumDefinition() IEnumDefinitionContext
func (*MessageBodyContentContext) ExitRule ¶
func (s *MessageBodyContentContext) ExitRule(listener antlr.ParseTreeListener)
func (*MessageBodyContentContext) Extend ¶
func (s *MessageBodyContentContext) Extend() IExtendContext
func (*MessageBodyContentContext) Field ¶
func (s *MessageBodyContentContext) Field() IFieldContext
func (*MessageBodyContentContext) GetParser ¶
func (s *MessageBodyContentContext) GetParser() antlr.Parser
func (*MessageBodyContentContext) GetRuleContext ¶
func (s *MessageBodyContentContext) GetRuleContext() antlr.RuleContext
func (*MessageBodyContentContext) IsMessageBodyContentContext ¶
func (*MessageBodyContentContext) IsMessageBodyContentContext()
func (*MessageBodyContentContext) MapField ¶
func (s *MessageBodyContentContext) MapField() IMapFieldContext
func (*MessageBodyContentContext) Message ¶
func (s *MessageBodyContentContext) Message() IMessageContext
func (*MessageBodyContentContext) Oneof ¶
func (s *MessageBodyContentContext) Oneof() IOneofContext
func (*MessageBodyContentContext) Option ¶
func (s *MessageBodyContentContext) Option() IOptionContext
func (*MessageBodyContentContext) Reserved ¶
func (s *MessageBodyContentContext) Reserved() IReservedContext
func (*MessageBodyContentContext) ToStringTree ¶
func (s *MessageBodyContentContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type MessageBodyContext ¶
type MessageBodyContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyMessageBodyContext ¶
func NewEmptyMessageBodyContext() *MessageBodyContext
func NewMessageBodyContext ¶
func NewMessageBodyContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MessageBodyContext
func (*MessageBodyContext) Accept ¶
func (s *MessageBodyContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*MessageBodyContext) AllMessageBodyContent ¶
func (s *MessageBodyContext) AllMessageBodyContent() []IMessageBodyContentContext
func (*MessageBodyContext) EnterRule ¶
func (s *MessageBodyContext) EnterRule(listener antlr.ParseTreeListener)
func (*MessageBodyContext) ExitRule ¶
func (s *MessageBodyContext) ExitRule(listener antlr.ParseTreeListener)
func (*MessageBodyContext) GetParser ¶
func (s *MessageBodyContext) GetParser() antlr.Parser
func (*MessageBodyContext) GetRuleContext ¶
func (s *MessageBodyContext) GetRuleContext() antlr.RuleContext
func (*MessageBodyContext) IsMessageBodyContext ¶
func (*MessageBodyContext) IsMessageBodyContext()
func (*MessageBodyContext) MessageBodyContent ¶
func (s *MessageBodyContext) MessageBodyContent(i int) IMessageBodyContentContext
func (*MessageBodyContext) ToStringTree ¶
func (s *MessageBodyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type MessageContext ¶
type MessageContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyMessageContext ¶
func NewEmptyMessageContext() *MessageContext
func NewMessageContext ¶
func NewMessageContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MessageContext
func (*MessageContext) Accept ¶
func (s *MessageContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*MessageContext) EnterRule ¶
func (s *MessageContext) EnterRule(listener antlr.ParseTreeListener)
func (*MessageContext) ExitRule ¶
func (s *MessageContext) ExitRule(listener antlr.ParseTreeListener)
func (*MessageContext) GetParser ¶
func (s *MessageContext) GetParser() antlr.Parser
func (*MessageContext) GetRuleContext ¶
func (s *MessageContext) GetRuleContext() antlr.RuleContext
func (*MessageContext) IsMessageContext ¶
func (*MessageContext) IsMessageContext()
func (*MessageContext) MESSAGE ¶
func (s *MessageContext) MESSAGE() antlr.TerminalNode
func (*MessageContext) MessageBody ¶
func (s *MessageContext) MessageBody() IMessageBodyContext
func (*MessageContext) MessageName ¶
func (s *MessageContext) MessageName() IMessageNameContext
func (*MessageContext) ToStringTree ¶
func (s *MessageContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type MessageNameContext ¶
type MessageNameContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyMessageNameContext ¶
func NewEmptyMessageNameContext() *MessageNameContext
func NewMessageNameContext ¶
func NewMessageNameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MessageNameContext
func (*MessageNameContext) Accept ¶
func (s *MessageNameContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*MessageNameContext) EnterRule ¶
func (s *MessageNameContext) EnterRule(listener antlr.ParseTreeListener)
func (*MessageNameContext) ExitRule ¶
func (s *MessageNameContext) ExitRule(listener antlr.ParseTreeListener)
func (*MessageNameContext) GetParser ¶
func (s *MessageNameContext) GetParser() antlr.Parser
func (*MessageNameContext) GetRuleContext ¶
func (s *MessageNameContext) GetRuleContext() antlr.RuleContext
func (*MessageNameContext) IDENT ¶
func (s *MessageNameContext) IDENT() antlr.TerminalNode
func (*MessageNameContext) IsMessageNameContext ¶
func (*MessageNameContext) IsMessageNameContext()
func (*MessageNameContext) ToStringTree ¶
func (s *MessageNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type MessageOrEnumNameContext ¶
type MessageOrEnumNameContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyMessageOrEnumNameContext ¶
func NewEmptyMessageOrEnumNameContext() *MessageOrEnumNameContext
func NewMessageOrEnumNameContext ¶
func NewMessageOrEnumNameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MessageOrEnumNameContext
func (*MessageOrEnumNameContext) Accept ¶
func (s *MessageOrEnumNameContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*MessageOrEnumNameContext) EnterRule ¶
func (s *MessageOrEnumNameContext) EnterRule(listener antlr.ParseTreeListener)
func (*MessageOrEnumNameContext) ExitRule ¶
func (s *MessageOrEnumNameContext) ExitRule(listener antlr.ParseTreeListener)
func (*MessageOrEnumNameContext) GetParser ¶
func (s *MessageOrEnumNameContext) GetParser() antlr.Parser
func (*MessageOrEnumNameContext) GetRuleContext ¶
func (s *MessageOrEnumNameContext) GetRuleContext() antlr.RuleContext
func (*MessageOrEnumNameContext) IDENT ¶
func (s *MessageOrEnumNameContext) IDENT() antlr.TerminalNode
func (*MessageOrEnumNameContext) IsMessageOrEnumNameContext ¶
func (*MessageOrEnumNameContext) IsMessageOrEnumNameContext()
func (*MessageOrEnumNameContext) ToStringTree ¶
func (s *MessageOrEnumNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type MessageOrEnumTypeContext ¶
type MessageOrEnumTypeContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyMessageOrEnumTypeContext ¶
func NewEmptyMessageOrEnumTypeContext() *MessageOrEnumTypeContext
func NewMessageOrEnumTypeContext ¶
func NewMessageOrEnumTypeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MessageOrEnumTypeContext
func (*MessageOrEnumTypeContext) Accept ¶
func (s *MessageOrEnumTypeContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*MessageOrEnumTypeContext) AllIDENT ¶
func (s *MessageOrEnumTypeContext) AllIDENT() []antlr.TerminalNode
func (*MessageOrEnumTypeContext) AllReservedWord ¶
func (s *MessageOrEnumTypeContext) AllReservedWord() []IReservedWordContext
func (*MessageOrEnumTypeContext) EnterRule ¶
func (s *MessageOrEnumTypeContext) EnterRule(listener antlr.ParseTreeListener)
func (*MessageOrEnumTypeContext) ExitRule ¶
func (s *MessageOrEnumTypeContext) ExitRule(listener antlr.ParseTreeListener)
func (*MessageOrEnumTypeContext) GetParser ¶
func (s *MessageOrEnumTypeContext) GetParser() antlr.Parser
func (*MessageOrEnumTypeContext) GetRuleContext ¶
func (s *MessageOrEnumTypeContext) GetRuleContext() antlr.RuleContext
func (*MessageOrEnumTypeContext) IDENT ¶
func (s *MessageOrEnumTypeContext) IDENT(i int) antlr.TerminalNode
func (*MessageOrEnumTypeContext) IsMessageOrEnumTypeContext ¶
func (*MessageOrEnumTypeContext) IsMessageOrEnumTypeContext()
func (*MessageOrEnumTypeContext) MessageOrEnumName ¶
func (s *MessageOrEnumTypeContext) MessageOrEnumName() IMessageOrEnumNameContext
func (*MessageOrEnumTypeContext) ReservedWord ¶
func (s *MessageOrEnumTypeContext) ReservedWord(i int) IReservedWordContext
func (*MessageOrEnumTypeContext) ToStringTree ¶
func (s *MessageOrEnumTypeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type MessageTypeContext ¶
type MessageTypeContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyMessageTypeContext ¶
func NewEmptyMessageTypeContext() *MessageTypeContext
func NewMessageTypeContext ¶
func NewMessageTypeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MessageTypeContext
func (*MessageTypeContext) Accept ¶
func (s *MessageTypeContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*MessageTypeContext) AllIDENT ¶
func (s *MessageTypeContext) AllIDENT() []antlr.TerminalNode
func (*MessageTypeContext) EnterRule ¶
func (s *MessageTypeContext) EnterRule(listener antlr.ParseTreeListener)
func (*MessageTypeContext) ExitRule ¶
func (s *MessageTypeContext) ExitRule(listener antlr.ParseTreeListener)
func (*MessageTypeContext) GetParser ¶
func (s *MessageTypeContext) GetParser() antlr.Parser
func (*MessageTypeContext) GetRuleContext ¶
func (s *MessageTypeContext) GetRuleContext() antlr.RuleContext
func (*MessageTypeContext) IDENT ¶
func (s *MessageTypeContext) IDENT(i int) antlr.TerminalNode
func (*MessageTypeContext) IsMessageTypeContext ¶
func (*MessageTypeContext) IsMessageTypeContext()
func (*MessageTypeContext) MessageName ¶
func (s *MessageTypeContext) MessageName() IMessageNameContext
func (*MessageTypeContext) ToStringTree ¶
func (s *MessageTypeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type OneofContext ¶
type OneofContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyOneofContext ¶
func NewEmptyOneofContext() *OneofContext
func NewOneofContext ¶
func NewOneofContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *OneofContext
func (*OneofContext) Accept ¶
func (s *OneofContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*OneofContext) AllEmptyStatement ¶
func (s *OneofContext) AllEmptyStatement() []IEmptyStatementContext
func (*OneofContext) AllOneofField ¶
func (s *OneofContext) AllOneofField() []IOneofFieldContext
func (*OneofContext) EmptyStatement ¶
func (s *OneofContext) EmptyStatement(i int) IEmptyStatementContext
func (*OneofContext) EnterRule ¶
func (s *OneofContext) EnterRule(listener antlr.ParseTreeListener)
func (*OneofContext) ExitRule ¶
func (s *OneofContext) ExitRule(listener antlr.ParseTreeListener)
func (*OneofContext) GetParser ¶
func (s *OneofContext) GetParser() antlr.Parser
func (*OneofContext) GetRuleContext ¶
func (s *OneofContext) GetRuleContext() antlr.RuleContext
func (*OneofContext) IsOneofContext ¶
func (*OneofContext) IsOneofContext()
func (*OneofContext) ONEOF ¶
func (s *OneofContext) ONEOF() antlr.TerminalNode
func (*OneofContext) OneofField ¶
func (s *OneofContext) OneofField(i int) IOneofFieldContext
func (*OneofContext) OneofName ¶
func (s *OneofContext) OneofName() IOneofNameContext
func (*OneofContext) ToStringTree ¶
func (s *OneofContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type OneofFieldContext ¶
type OneofFieldContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyOneofFieldContext ¶
func NewEmptyOneofFieldContext() *OneofFieldContext
func NewOneofFieldContext ¶
func NewOneofFieldContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *OneofFieldContext
func (*OneofFieldContext) Accept ¶
func (s *OneofFieldContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*OneofFieldContext) EnterRule ¶
func (s *OneofFieldContext) EnterRule(listener antlr.ParseTreeListener)
func (*OneofFieldContext) ExitRule ¶
func (s *OneofFieldContext) ExitRule(listener antlr.ParseTreeListener)
func (*OneofFieldContext) FieldName ¶
func (s *OneofFieldContext) FieldName() IFieldNameContext
func (*OneofFieldContext) FieldNumber ¶
func (s *OneofFieldContext) FieldNumber() IFieldNumberContext
func (*OneofFieldContext) FieldOptions ¶
func (s *OneofFieldContext) FieldOptions() IFieldOptionsContext
func (*OneofFieldContext) GetParser ¶
func (s *OneofFieldContext) GetParser() antlr.Parser
func (*OneofFieldContext) GetRuleContext ¶
func (s *OneofFieldContext) GetRuleContext() antlr.RuleContext
func (*OneofFieldContext) IsOneofFieldContext ¶
func (*OneofFieldContext) IsOneofFieldContext()
func (*OneofFieldContext) ToStringTree ¶
func (s *OneofFieldContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*OneofFieldContext) TypeRule ¶
func (s *OneofFieldContext) TypeRule() ITypeRuleContext
type OneofNameContext ¶
type OneofNameContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyOneofNameContext ¶
func NewEmptyOneofNameContext() *OneofNameContext
func NewOneofNameContext ¶
func NewOneofNameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *OneofNameContext
func (*OneofNameContext) Accept ¶
func (s *OneofNameContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*OneofNameContext) EnterRule ¶
func (s *OneofNameContext) EnterRule(listener antlr.ParseTreeListener)
func (*OneofNameContext) ExitRule ¶
func (s *OneofNameContext) ExitRule(listener antlr.ParseTreeListener)
func (*OneofNameContext) GetParser ¶
func (s *OneofNameContext) GetParser() antlr.Parser
func (*OneofNameContext) GetRuleContext ¶
func (s *OneofNameContext) GetRuleContext() antlr.RuleContext
func (*OneofNameContext) IDENT ¶
func (s *OneofNameContext) IDENT() antlr.TerminalNode
func (*OneofNameContext) IsOneofNameContext ¶
func (*OneofNameContext) IsOneofNameContext()
func (*OneofNameContext) ToStringTree ¶
func (s *OneofNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type OptionBodyContext ¶
type OptionBodyContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyOptionBodyContext ¶
func NewEmptyOptionBodyContext() *OptionBodyContext
func NewOptionBodyContext ¶
func NewOptionBodyContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *OptionBodyContext
func (*OptionBodyContext) Accept ¶
func (s *OptionBodyContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*OptionBodyContext) AllOptionBodyVariable ¶
func (s *OptionBodyContext) AllOptionBodyVariable() []IOptionBodyVariableContext
func (*OptionBodyContext) EnterRule ¶
func (s *OptionBodyContext) EnterRule(listener antlr.ParseTreeListener)
func (*OptionBodyContext) ExitRule ¶
func (s *OptionBodyContext) ExitRule(listener antlr.ParseTreeListener)
func (*OptionBodyContext) GetParser ¶
func (s *OptionBodyContext) GetParser() antlr.Parser
func (*OptionBodyContext) GetRuleContext ¶
func (s *OptionBodyContext) GetRuleContext() antlr.RuleContext
func (*OptionBodyContext) IsOptionBodyContext ¶
func (*OptionBodyContext) IsOptionBodyContext()
func (*OptionBodyContext) OptionBodyVariable ¶
func (s *OptionBodyContext) OptionBodyVariable(i int) IOptionBodyVariableContext
func (*OptionBodyContext) ToStringTree ¶
func (s *OptionBodyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type OptionBodyVariableContext ¶
type OptionBodyVariableContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyOptionBodyVariableContext ¶
func NewEmptyOptionBodyVariableContext() *OptionBodyVariableContext
func NewOptionBodyVariableContext ¶
func NewOptionBodyVariableContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *OptionBodyVariableContext
func (*OptionBodyVariableContext) Accept ¶
func (s *OptionBodyVariableContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*OptionBodyVariableContext) Constant ¶
func (s *OptionBodyVariableContext) Constant() IConstantContext
func (*OptionBodyVariableContext) EnterRule ¶
func (s *OptionBodyVariableContext) EnterRule(listener antlr.ParseTreeListener)
func (*OptionBodyVariableContext) ExitRule ¶
func (s *OptionBodyVariableContext) ExitRule(listener antlr.ParseTreeListener)
func (*OptionBodyVariableContext) GetParser ¶
func (s *OptionBodyVariableContext) GetParser() antlr.Parser
func (*OptionBodyVariableContext) GetRuleContext ¶
func (s *OptionBodyVariableContext) GetRuleContext() antlr.RuleContext
func (*OptionBodyVariableContext) IsOptionBodyVariableContext ¶
func (*OptionBodyVariableContext) IsOptionBodyVariableContext()
func (*OptionBodyVariableContext) OptionName ¶
func (s *OptionBodyVariableContext) OptionName() IOptionNameContext
func (*OptionBodyVariableContext) ToStringTree ¶
func (s *OptionBodyVariableContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type OptionContext ¶
type OptionContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyOptionContext ¶
func NewEmptyOptionContext() *OptionContext
func NewOptionContext ¶
func NewOptionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *OptionContext
func (*OptionContext) Accept ¶
func (s *OptionContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*OptionContext) Constant ¶
func (s *OptionContext) Constant() IConstantContext
func (*OptionContext) EnterRule ¶
func (s *OptionContext) EnterRule(listener antlr.ParseTreeListener)
func (*OptionContext) ExitRule ¶
func (s *OptionContext) ExitRule(listener antlr.ParseTreeListener)
func (*OptionContext) GetParser ¶
func (s *OptionContext) GetParser() antlr.Parser
func (*OptionContext) GetRuleContext ¶
func (s *OptionContext) GetRuleContext() antlr.RuleContext
func (*OptionContext) IsOptionContext ¶
func (*OptionContext) IsOptionContext()
func (*OptionContext) OPTION ¶
func (s *OptionContext) OPTION() antlr.TerminalNode
func (*OptionContext) OptionBody ¶
func (s *OptionContext) OptionBody() IOptionBodyContext
func (*OptionContext) OptionName ¶
func (s *OptionContext) OptionName() IOptionNameContext
func (*OptionContext) ToStringTree ¶
func (s *OptionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type OptionNameContext ¶
type OptionNameContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyOptionNameContext ¶
func NewEmptyOptionNameContext() *OptionNameContext
func NewOptionNameContext ¶
func NewOptionNameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *OptionNameContext
func (*OptionNameContext) Accept ¶
func (s *OptionNameContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*OptionNameContext) AllIDENT ¶
func (s *OptionNameContext) AllIDENT() []antlr.TerminalNode
func (*OptionNameContext) AllReservedWord ¶
func (s *OptionNameContext) AllReservedWord() []IReservedWordContext
func (*OptionNameContext) EnterRule ¶
func (s *OptionNameContext) EnterRule(listener antlr.ParseTreeListener)
func (*OptionNameContext) ExitRule ¶
func (s *OptionNameContext) ExitRule(listener antlr.ParseTreeListener)
func (*OptionNameContext) FullIdent ¶
func (s *OptionNameContext) FullIdent() IFullIdentContext
func (*OptionNameContext) GetParser ¶
func (s *OptionNameContext) GetParser() antlr.Parser
func (*OptionNameContext) GetRuleContext ¶
func (s *OptionNameContext) GetRuleContext() antlr.RuleContext
func (*OptionNameContext) IDENT ¶
func (s *OptionNameContext) IDENT(i int) antlr.TerminalNode
func (*OptionNameContext) IsOptionNameContext ¶
func (*OptionNameContext) IsOptionNameContext()
func (*OptionNameContext) ReservedWord ¶
func (s *OptionNameContext) ReservedWord(i int) IReservedWordContext
func (*OptionNameContext) ToStringTree ¶
func (s *OptionNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type PackageStatementContext ¶
type PackageStatementContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyPackageStatementContext ¶
func NewEmptyPackageStatementContext() *PackageStatementContext
func NewPackageStatementContext ¶
func NewPackageStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PackageStatementContext
func (*PackageStatementContext) Accept ¶
func (s *PackageStatementContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*PackageStatementContext) EnterRule ¶
func (s *PackageStatementContext) EnterRule(listener antlr.ParseTreeListener)
func (*PackageStatementContext) ExitRule ¶
func (s *PackageStatementContext) ExitRule(listener antlr.ParseTreeListener)
func (*PackageStatementContext) FullIdent ¶
func (s *PackageStatementContext) FullIdent() IFullIdentContext
func (*PackageStatementContext) GetParser ¶
func (s *PackageStatementContext) GetParser() antlr.Parser
func (*PackageStatementContext) GetRuleContext ¶
func (s *PackageStatementContext) GetRuleContext() antlr.RuleContext
func (*PackageStatementContext) IsPackageStatementContext ¶
func (*PackageStatementContext) IsPackageStatementContext()
func (*PackageStatementContext) PACKAGE ¶
func (s *PackageStatementContext) PACKAGE() antlr.TerminalNode
func (*PackageStatementContext) ToStringTree ¶
func (s *PackageStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ProtoContext ¶
type ProtoContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyProtoContext ¶
func NewEmptyProtoContext() *ProtoContext
func NewProtoContext ¶
func NewProtoContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ProtoContext
func (*ProtoContext) Accept ¶
func (s *ProtoContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*ProtoContext) AllSyntaxExtra ¶
func (s *ProtoContext) AllSyntaxExtra() []ISyntaxExtraContext
func (*ProtoContext) EOF ¶
func (s *ProtoContext) EOF() antlr.TerminalNode
func (*ProtoContext) EnterRule ¶
func (s *ProtoContext) EnterRule(listener antlr.ParseTreeListener)
func (*ProtoContext) ExitRule ¶
func (s *ProtoContext) ExitRule(listener antlr.ParseTreeListener)
func (*ProtoContext) GetParser ¶
func (s *ProtoContext) GetParser() antlr.Parser
func (*ProtoContext) GetRuleContext ¶
func (s *ProtoContext) GetRuleContext() antlr.RuleContext
func (*ProtoContext) IsProtoContext ¶
func (*ProtoContext) IsProtoContext()
func (*ProtoContext) Syntax ¶
func (s *ProtoContext) Syntax() ISyntaxContext
func (*ProtoContext) SyntaxExtra ¶
func (s *ProtoContext) SyntaxExtra(i int) ISyntaxExtraContext
func (*ProtoContext) ToStringTree ¶
func (s *ProtoContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Protobuf3Lexer ¶
func NewProtobuf3Lexer ¶
func NewProtobuf3Lexer(input antlr.CharStream) *Protobuf3Lexer
NewProtobuf3Lexer produces a new lexer instance for the optional input antlr.CharStream.
type Protobuf3Listener ¶
type Protobuf3Listener interface { antlr.ParseTreeListener // EnterProto is called when entering the proto production. EnterProto(c *ProtoContext) // EnterSyntax is called when entering the syntax production. EnterSyntax(c *SyntaxContext) // EnterSyntaxExtra is called when entering the syntaxExtra production. EnterSyntaxExtra(c *SyntaxExtraContext) // EnterImportStatement is called when entering the importStatement production. EnterImportStatement(c *ImportStatementContext) // EnterPackageStatement is called when entering the packageStatement production. EnterPackageStatement(c *PackageStatementContext) // EnterOption is called when entering the option production. EnterOption(c *OptionContext) // EnterOptionName is called when entering the optionName production. EnterOptionName(c *OptionNameContext) // EnterOptionBody is called when entering the optionBody production. EnterOptionBody(c *OptionBodyContext) // EnterOptionBodyVariable is called when entering the optionBodyVariable production. EnterOptionBodyVariable(c *OptionBodyVariableContext) // EnterTopLevelDef is called when entering the topLevelDef production. EnterTopLevelDef(c *TopLevelDefContext) // EnterMessage is called when entering the message production. EnterMessage(c *MessageContext) // EnterMessageBody is called when entering the messageBody production. EnterMessageBody(c *MessageBodyContext) // EnterMessageBodyContent is called when entering the messageBodyContent production. EnterMessageBodyContent(c *MessageBodyContentContext) // EnterEnumDefinition is called when entering the enumDefinition production. EnterEnumDefinition(c *EnumDefinitionContext) // EnterEnumBody is called when entering the enumBody production. EnterEnumBody(c *EnumBodyContext) // EnterEnumField is called when entering the enumField production. EnterEnumField(c *EnumFieldContext) // EnterEnumValueOption is called when entering the enumValueOption production. EnterEnumValueOption(c *EnumValueOptionContext) // EnterExtend is called when entering the extend production. EnterExtend(c *ExtendContext) // EnterService is called when entering the service production. EnterService(c *ServiceContext) // EnterRpc is called when entering the rpc production. EnterRpc(c *RpcContext) // EnterReserved is called when entering the reserved production. EnterReserved(c *ReservedContext) // EnterRanges is called when entering the ranges production. EnterRanges(c *RangesContext) // EnterRangeRule is called when entering the rangeRule production. EnterRangeRule(c *RangeRuleContext) // EnterFieldNames is called when entering the fieldNames production. EnterFieldNames(c *FieldNamesContext) // EnterTypeRule is called when entering the typeRule production. EnterTypeRule(c *TypeRuleContext) // EnterSimpleType is called when entering the simpleType production. EnterSimpleType(c *SimpleTypeContext) // EnterFieldNumber is called when entering the fieldNumber production. EnterFieldNumber(c *FieldNumberContext) // EnterField is called when entering the field production. EnterField(c *FieldContext) // EnterFieldOptions is called when entering the fieldOptions production. EnterFieldOptions(c *FieldOptionsContext) // EnterFieldOption is called when entering the fieldOption production. EnterFieldOption(c *FieldOptionContext) // EnterOneof is called when entering the oneof production. EnterOneof(c *OneofContext) // EnterOneofField is called when entering the oneofField production. EnterOneofField(c *OneofFieldContext) // EnterMapField is called when entering the mapField production. EnterMapField(c *MapFieldContext) // EnterKeyType is called when entering the keyType production. EnterKeyType(c *KeyTypeContext) // EnterReservedWord is called when entering the reservedWord production. EnterReservedWord(c *ReservedWordContext) // EnterFullIdent is called when entering the fullIdent production. EnterFullIdent(c *FullIdentContext) // EnterMessageName is called when entering the messageName production. EnterMessageName(c *MessageNameContext) // EnterEnumName is called when entering the enumName production. EnterEnumName(c *EnumNameContext) // EnterMessageOrEnumName is called when entering the messageOrEnumName production. EnterMessageOrEnumName(c *MessageOrEnumNameContext) // EnterFieldName is called when entering the fieldName production. EnterFieldName(c *FieldNameContext) // EnterOneofName is called when entering the oneofName production. EnterOneofName(c *OneofNameContext) // EnterMapName is called when entering the mapName production. EnterMapName(c *MapNameContext) // EnterServiceName is called when entering the serviceName production. EnterServiceName(c *ServiceNameContext) // EnterRpcName is called when entering the rpcName production. EnterRpcName(c *RpcNameContext) // EnterMessageType is called when entering the messageType production. EnterMessageType(c *MessageTypeContext) // EnterMessageOrEnumType is called when entering the messageOrEnumType production. EnterMessageOrEnumType(c *MessageOrEnumTypeContext) // EnterEmptyStatement is called when entering the emptyStatement production. EnterEmptyStatement(c *EmptyStatementContext) // EnterConstant is called when entering the constant production. EnterConstant(c *ConstantContext) // ExitProto is called when exiting the proto production. ExitProto(c *ProtoContext) // ExitSyntax is called when exiting the syntax production. ExitSyntax(c *SyntaxContext) // ExitSyntaxExtra is called when exiting the syntaxExtra production. ExitSyntaxExtra(c *SyntaxExtraContext) // ExitImportStatement is called when exiting the importStatement production. ExitImportStatement(c *ImportStatementContext) // ExitPackageStatement is called when exiting the packageStatement production. ExitPackageStatement(c *PackageStatementContext) // ExitOption is called when exiting the option production. ExitOption(c *OptionContext) // ExitOptionName is called when exiting the optionName production. ExitOptionName(c *OptionNameContext) // ExitOptionBody is called when exiting the optionBody production. ExitOptionBody(c *OptionBodyContext) // ExitOptionBodyVariable is called when exiting the optionBodyVariable production. ExitOptionBodyVariable(c *OptionBodyVariableContext) // ExitTopLevelDef is called when exiting the topLevelDef production. ExitTopLevelDef(c *TopLevelDefContext) // ExitMessage is called when exiting the message production. ExitMessage(c *MessageContext) // ExitMessageBody is called when exiting the messageBody production. ExitMessageBody(c *MessageBodyContext) // ExitMessageBodyContent is called when exiting the messageBodyContent production. ExitMessageBodyContent(c *MessageBodyContentContext) // ExitEnumDefinition is called when exiting the enumDefinition production. ExitEnumDefinition(c *EnumDefinitionContext) // ExitEnumBody is called when exiting the enumBody production. ExitEnumBody(c *EnumBodyContext) // ExitEnumField is called when exiting the enumField production. ExitEnumField(c *EnumFieldContext) // ExitEnumValueOption is called when exiting the enumValueOption production. ExitEnumValueOption(c *EnumValueOptionContext) // ExitExtend is called when exiting the extend production. ExitExtend(c *ExtendContext) // ExitService is called when exiting the service production. ExitService(c *ServiceContext) // ExitRpc is called when exiting the rpc production. ExitRpc(c *RpcContext) // ExitReserved is called when exiting the reserved production. ExitReserved(c *ReservedContext) // ExitRanges is called when exiting the ranges production. ExitRanges(c *RangesContext) // ExitRangeRule is called when exiting the rangeRule production. ExitRangeRule(c *RangeRuleContext) // ExitFieldNames is called when exiting the fieldNames production. ExitFieldNames(c *FieldNamesContext) // ExitTypeRule is called when exiting the typeRule production. ExitTypeRule(c *TypeRuleContext) // ExitSimpleType is called when exiting the simpleType production. ExitSimpleType(c *SimpleTypeContext) // ExitFieldNumber is called when exiting the fieldNumber production. ExitFieldNumber(c *FieldNumberContext) // ExitField is called when exiting the field production. ExitField(c *FieldContext) // ExitFieldOptions is called when exiting the fieldOptions production. ExitFieldOptions(c *FieldOptionsContext) // ExitFieldOption is called when exiting the fieldOption production. ExitFieldOption(c *FieldOptionContext) // ExitOneof is called when exiting the oneof production. ExitOneof(c *OneofContext) // ExitOneofField is called when exiting the oneofField production. ExitOneofField(c *OneofFieldContext) // ExitMapField is called when exiting the mapField production. ExitMapField(c *MapFieldContext) // ExitKeyType is called when exiting the keyType production. ExitKeyType(c *KeyTypeContext) // ExitReservedWord is called when exiting the reservedWord production. ExitReservedWord(c *ReservedWordContext) // ExitFullIdent is called when exiting the fullIdent production. ExitFullIdent(c *FullIdentContext) // ExitMessageName is called when exiting the messageName production. ExitMessageName(c *MessageNameContext) // ExitEnumName is called when exiting the enumName production. ExitEnumName(c *EnumNameContext) // ExitMessageOrEnumName is called when exiting the messageOrEnumName production. ExitMessageOrEnumName(c *MessageOrEnumNameContext) // ExitFieldName is called when exiting the fieldName production. ExitFieldName(c *FieldNameContext) // ExitOneofName is called when exiting the oneofName production. ExitOneofName(c *OneofNameContext) // ExitMapName is called when exiting the mapName production. ExitMapName(c *MapNameContext) // ExitServiceName is called when exiting the serviceName production. ExitServiceName(c *ServiceNameContext) // ExitRpcName is called when exiting the rpcName production. ExitRpcName(c *RpcNameContext) // ExitMessageType is called when exiting the messageType production. ExitMessageType(c *MessageTypeContext) // ExitMessageOrEnumType is called when exiting the messageOrEnumType production. ExitMessageOrEnumType(c *MessageOrEnumTypeContext) // ExitEmptyStatement is called when exiting the emptyStatement production. ExitEmptyStatement(c *EmptyStatementContext) // ExitConstant is called when exiting the constant production. ExitConstant(c *ConstantContext) }
Protobuf3Listener is a complete listener for a parse tree produced by Protobuf3Parser.
type Protobuf3Parser ¶
type Protobuf3Parser struct {
*antlr.BaseParser
}
func NewProtobuf3Parser ¶
func NewProtobuf3Parser(input antlr.TokenStream) *Protobuf3Parser
NewProtobuf3Parser produces a new parser instance for the optional input antlr.TokenStream.
func (*Protobuf3Parser) Constant ¶
func (p *Protobuf3Parser) Constant() (localctx IConstantContext)
func (*Protobuf3Parser) EmptyStatement ¶
func (p *Protobuf3Parser) EmptyStatement() (localctx IEmptyStatementContext)
func (*Protobuf3Parser) EnumBody ¶
func (p *Protobuf3Parser) EnumBody() (localctx IEnumBodyContext)
func (*Protobuf3Parser) EnumDefinition ¶
func (p *Protobuf3Parser) EnumDefinition() (localctx IEnumDefinitionContext)
func (*Protobuf3Parser) EnumField ¶
func (p *Protobuf3Parser) EnumField() (localctx IEnumFieldContext)
func (*Protobuf3Parser) EnumName ¶
func (p *Protobuf3Parser) EnumName() (localctx IEnumNameContext)
func (*Protobuf3Parser) EnumValueOption ¶
func (p *Protobuf3Parser) EnumValueOption() (localctx IEnumValueOptionContext)
func (*Protobuf3Parser) Extend ¶
func (p *Protobuf3Parser) Extend() (localctx IExtendContext)
func (*Protobuf3Parser) Field ¶
func (p *Protobuf3Parser) Field() (localctx IFieldContext)
func (*Protobuf3Parser) FieldName ¶
func (p *Protobuf3Parser) FieldName() (localctx IFieldNameContext)
func (*Protobuf3Parser) FieldNames ¶
func (p *Protobuf3Parser) FieldNames() (localctx IFieldNamesContext)
func (*Protobuf3Parser) FieldNumber ¶
func (p *Protobuf3Parser) FieldNumber() (localctx IFieldNumberContext)
func (*Protobuf3Parser) FieldOption ¶
func (p *Protobuf3Parser) FieldOption() (localctx IFieldOptionContext)
func (*Protobuf3Parser) FieldOptions ¶
func (p *Protobuf3Parser) FieldOptions() (localctx IFieldOptionsContext)
func (*Protobuf3Parser) FullIdent ¶
func (p *Protobuf3Parser) FullIdent() (localctx IFullIdentContext)
func (*Protobuf3Parser) ImportStatement ¶
func (p *Protobuf3Parser) ImportStatement() (localctx IImportStatementContext)
func (*Protobuf3Parser) KeyType ¶
func (p *Protobuf3Parser) KeyType() (localctx IKeyTypeContext)
func (*Protobuf3Parser) MapField ¶
func (p *Protobuf3Parser) MapField() (localctx IMapFieldContext)
func (*Protobuf3Parser) MapName ¶
func (p *Protobuf3Parser) MapName() (localctx IMapNameContext)
func (*Protobuf3Parser) Message ¶
func (p *Protobuf3Parser) Message() (localctx IMessageContext)
func (*Protobuf3Parser) MessageBody ¶
func (p *Protobuf3Parser) MessageBody() (localctx IMessageBodyContext)
func (*Protobuf3Parser) MessageBodyContent ¶
func (p *Protobuf3Parser) MessageBodyContent() (localctx IMessageBodyContentContext)
func (*Protobuf3Parser) MessageName ¶
func (p *Protobuf3Parser) MessageName() (localctx IMessageNameContext)
func (*Protobuf3Parser) MessageOrEnumName ¶
func (p *Protobuf3Parser) MessageOrEnumName() (localctx IMessageOrEnumNameContext)
func (*Protobuf3Parser) MessageOrEnumType ¶
func (p *Protobuf3Parser) MessageOrEnumType() (localctx IMessageOrEnumTypeContext)
func (*Protobuf3Parser) MessageType ¶
func (p *Protobuf3Parser) MessageType() (localctx IMessageTypeContext)
func (*Protobuf3Parser) Oneof ¶
func (p *Protobuf3Parser) Oneof() (localctx IOneofContext)
func (*Protobuf3Parser) OneofField ¶
func (p *Protobuf3Parser) OneofField() (localctx IOneofFieldContext)
func (*Protobuf3Parser) OneofName ¶
func (p *Protobuf3Parser) OneofName() (localctx IOneofNameContext)
func (*Protobuf3Parser) Option ¶
func (p *Protobuf3Parser) Option() (localctx IOptionContext)
func (*Protobuf3Parser) OptionBody ¶
func (p *Protobuf3Parser) OptionBody() (localctx IOptionBodyContext)
func (*Protobuf3Parser) OptionBodyVariable ¶
func (p *Protobuf3Parser) OptionBodyVariable() (localctx IOptionBodyVariableContext)
func (*Protobuf3Parser) OptionName ¶
func (p *Protobuf3Parser) OptionName() (localctx IOptionNameContext)
func (*Protobuf3Parser) PackageStatement ¶
func (p *Protobuf3Parser) PackageStatement() (localctx IPackageStatementContext)
func (*Protobuf3Parser) Proto ¶
func (p *Protobuf3Parser) Proto() (localctx IProtoContext)
func (*Protobuf3Parser) RangeRule ¶
func (p *Protobuf3Parser) RangeRule() (localctx IRangeRuleContext)
func (*Protobuf3Parser) Ranges ¶
func (p *Protobuf3Parser) Ranges() (localctx IRangesContext)
func (*Protobuf3Parser) Reserved ¶
func (p *Protobuf3Parser) Reserved() (localctx IReservedContext)
func (*Protobuf3Parser) ReservedWord ¶
func (p *Protobuf3Parser) ReservedWord() (localctx IReservedWordContext)
func (*Protobuf3Parser) Rpc ¶
func (p *Protobuf3Parser) Rpc() (localctx IRpcContext)
func (*Protobuf3Parser) RpcName ¶
func (p *Protobuf3Parser) RpcName() (localctx IRpcNameContext)
func (*Protobuf3Parser) Service ¶
func (p *Protobuf3Parser) Service() (localctx IServiceContext)
func (*Protobuf3Parser) ServiceName ¶
func (p *Protobuf3Parser) ServiceName() (localctx IServiceNameContext)
func (*Protobuf3Parser) SimpleType ¶
func (p *Protobuf3Parser) SimpleType() (localctx ISimpleTypeContext)
func (*Protobuf3Parser) Syntax ¶
func (p *Protobuf3Parser) Syntax() (localctx ISyntaxContext)
func (*Protobuf3Parser) SyntaxExtra ¶
func (p *Protobuf3Parser) SyntaxExtra() (localctx ISyntaxExtraContext)
func (*Protobuf3Parser) TopLevelDef ¶
func (p *Protobuf3Parser) TopLevelDef() (localctx ITopLevelDefContext)
func (*Protobuf3Parser) TypeRule ¶
func (p *Protobuf3Parser) TypeRule() (localctx ITypeRuleContext)
type Protobuf3Visitor ¶
type Protobuf3Visitor interface { antlr.ParseTreeVisitor // Visit a parse tree produced by Protobuf3Parser#proto. VisitProto(ctx *ProtoContext) any // Visit a parse tree produced by Protobuf3Parser#syntax. VisitSyntax(ctx *SyntaxContext) any // Visit a parse tree produced by Protobuf3Parser#syntaxExtra. VisitSyntaxExtra(ctx *SyntaxExtraContext) any // Visit a parse tree produced by Protobuf3Parser#importStatement. VisitImportStatement(ctx *ImportStatementContext) any // Visit a parse tree produced by Protobuf3Parser#packageStatement. VisitPackageStatement(ctx *PackageStatementContext) any // Visit a parse tree produced by Protobuf3Parser#option. VisitOption(ctx *OptionContext) any // Visit a parse tree produced by Protobuf3Parser#optionName. VisitOptionName(ctx *OptionNameContext) any // Visit a parse tree produced by Protobuf3Parser#optionBody. VisitOptionBody(ctx *OptionBodyContext) any // Visit a parse tree produced by Protobuf3Parser#optionBodyVariable. VisitOptionBodyVariable(ctx *OptionBodyVariableContext) any // Visit a parse tree produced by Protobuf3Parser#topLevelDef. VisitTopLevelDef(ctx *TopLevelDefContext) any // Visit a parse tree produced by Protobuf3Parser#message. VisitMessage(ctx *MessageContext) any // Visit a parse tree produced by Protobuf3Parser#messageBody. VisitMessageBody(ctx *MessageBodyContext) any // Visit a parse tree produced by Protobuf3Parser#messageBodyContent. VisitMessageBodyContent(ctx *MessageBodyContentContext) any // Visit a parse tree produced by Protobuf3Parser#enumDefinition. VisitEnumDefinition(ctx *EnumDefinitionContext) any // Visit a parse tree produced by Protobuf3Parser#enumBody. VisitEnumBody(ctx *EnumBodyContext) any // Visit a parse tree produced by Protobuf3Parser#enumField. VisitEnumField(ctx *EnumFieldContext) any // Visit a parse tree produced by Protobuf3Parser#enumValueOption. VisitEnumValueOption(ctx *EnumValueOptionContext) any // Visit a parse tree produced by Protobuf3Parser#extend. VisitExtend(ctx *ExtendContext) any // Visit a parse tree produced by Protobuf3Parser#service. VisitService(ctx *ServiceContext) any // Visit a parse tree produced by Protobuf3Parser#rpc. VisitRpc(ctx *RpcContext) any // Visit a parse tree produced by Protobuf3Parser#reserved. VisitReserved(ctx *ReservedContext) any // Visit a parse tree produced by Protobuf3Parser#ranges. VisitRanges(ctx *RangesContext) any // Visit a parse tree produced by Protobuf3Parser#rangeRule. VisitRangeRule(ctx *RangeRuleContext) any // Visit a parse tree produced by Protobuf3Parser#fieldNames. VisitFieldNames(ctx *FieldNamesContext) any // Visit a parse tree produced by Protobuf3Parser#typeRule. VisitTypeRule(ctx *TypeRuleContext) any // Visit a parse tree produced by Protobuf3Parser#simpleType. VisitSimpleType(ctx *SimpleTypeContext) any // Visit a parse tree produced by Protobuf3Parser#fieldNumber. VisitFieldNumber(ctx *FieldNumberContext) any // Visit a parse tree produced by Protobuf3Parser#field. VisitField(ctx *FieldContext) any // Visit a parse tree produced by Protobuf3Parser#fieldOptions. VisitFieldOptions(ctx *FieldOptionsContext) any // Visit a parse tree produced by Protobuf3Parser#fieldOption. VisitFieldOption(ctx *FieldOptionContext) any // Visit a parse tree produced by Protobuf3Parser#oneof. VisitOneof(ctx *OneofContext) any // Visit a parse tree produced by Protobuf3Parser#oneofField. VisitOneofField(ctx *OneofFieldContext) any // Visit a parse tree produced by Protobuf3Parser#mapField. VisitMapField(ctx *MapFieldContext) any // Visit a parse tree produced by Protobuf3Parser#keyType. VisitKeyType(ctx *KeyTypeContext) any // Visit a parse tree produced by Protobuf3Parser#reservedWord. VisitReservedWord(ctx *ReservedWordContext) any // Visit a parse tree produced by Protobuf3Parser#fullIdent. VisitFullIdent(ctx *FullIdentContext) any // Visit a parse tree produced by Protobuf3Parser#messageName. VisitMessageName(ctx *MessageNameContext) any // Visit a parse tree produced by Protobuf3Parser#enumName. VisitEnumName(ctx *EnumNameContext) any // Visit a parse tree produced by Protobuf3Parser#messageOrEnumName. VisitMessageOrEnumName(ctx *MessageOrEnumNameContext) any // Visit a parse tree produced by Protobuf3Parser#fieldName. VisitFieldName(ctx *FieldNameContext) any // Visit a parse tree produced by Protobuf3Parser#oneofName. VisitOneofName(ctx *OneofNameContext) any // Visit a parse tree produced by Protobuf3Parser#mapName. VisitMapName(ctx *MapNameContext) any // Visit a parse tree produced by Protobuf3Parser#serviceName. VisitServiceName(ctx *ServiceNameContext) any // Visit a parse tree produced by Protobuf3Parser#rpcName. VisitRpcName(ctx *RpcNameContext) any // Visit a parse tree produced by Protobuf3Parser#messageType. VisitMessageType(ctx *MessageTypeContext) any // Visit a parse tree produced by Protobuf3Parser#messageOrEnumType. VisitMessageOrEnumType(ctx *MessageOrEnumTypeContext) any // Visit a parse tree produced by Protobuf3Parser#emptyStatement. VisitEmptyStatement(ctx *EmptyStatementContext) any // Visit a parse tree produced by Protobuf3Parser#constant. VisitConstant(ctx *ConstantContext) any }
A complete Visitor for a parse tree produced by Protobuf3Parser.
type RangeRuleContext ¶
type RangeRuleContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyRangeRuleContext ¶
func NewEmptyRangeRuleContext() *RangeRuleContext
func NewRangeRuleContext ¶
func NewRangeRuleContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RangeRuleContext
func (*RangeRuleContext) Accept ¶
func (s *RangeRuleContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*RangeRuleContext) AllINT_LIT ¶
func (s *RangeRuleContext) AllINT_LIT() []antlr.TerminalNode
func (*RangeRuleContext) EnterRule ¶
func (s *RangeRuleContext) EnterRule(listener antlr.ParseTreeListener)
func (*RangeRuleContext) ExitRule ¶
func (s *RangeRuleContext) ExitRule(listener antlr.ParseTreeListener)
func (*RangeRuleContext) GetParser ¶
func (s *RangeRuleContext) GetParser() antlr.Parser
func (*RangeRuleContext) GetRuleContext ¶
func (s *RangeRuleContext) GetRuleContext() antlr.RuleContext
func (*RangeRuleContext) INT_LIT ¶
func (s *RangeRuleContext) INT_LIT(i int) antlr.TerminalNode
func (*RangeRuleContext) IsRangeRuleContext ¶
func (*RangeRuleContext) IsRangeRuleContext()
func (*RangeRuleContext) TO ¶
func (s *RangeRuleContext) TO() antlr.TerminalNode
func (*RangeRuleContext) ToStringTree ¶
func (s *RangeRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type RangesContext ¶
type RangesContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyRangesContext ¶
func NewEmptyRangesContext() *RangesContext
func NewRangesContext ¶
func NewRangesContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RangesContext
func (*RangesContext) Accept ¶
func (s *RangesContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*RangesContext) AllRangeRule ¶
func (s *RangesContext) AllRangeRule() []IRangeRuleContext
func (*RangesContext) EnterRule ¶
func (s *RangesContext) EnterRule(listener antlr.ParseTreeListener)
func (*RangesContext) ExitRule ¶
func (s *RangesContext) ExitRule(listener antlr.ParseTreeListener)
func (*RangesContext) GetParser ¶
func (s *RangesContext) GetParser() antlr.Parser
func (*RangesContext) GetRuleContext ¶
func (s *RangesContext) GetRuleContext() antlr.RuleContext
func (*RangesContext) IsRangesContext ¶
func (*RangesContext) IsRangesContext()
func (*RangesContext) RangeRule ¶
func (s *RangesContext) RangeRule(i int) IRangeRuleContext
func (*RangesContext) ToStringTree ¶
func (s *RangesContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ReservedContext ¶
type ReservedContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyReservedContext ¶
func NewEmptyReservedContext() *ReservedContext
func NewReservedContext ¶
func NewReservedContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ReservedContext
func (*ReservedContext) Accept ¶
func (s *ReservedContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*ReservedContext) EnterRule ¶
func (s *ReservedContext) EnterRule(listener antlr.ParseTreeListener)
func (*ReservedContext) ExitRule ¶
func (s *ReservedContext) ExitRule(listener antlr.ParseTreeListener)
func (*ReservedContext) FieldNames ¶
func (s *ReservedContext) FieldNames() IFieldNamesContext
func (*ReservedContext) GetParser ¶
func (s *ReservedContext) GetParser() antlr.Parser
func (*ReservedContext) GetRuleContext ¶
func (s *ReservedContext) GetRuleContext() antlr.RuleContext
func (*ReservedContext) IsReservedContext ¶
func (*ReservedContext) IsReservedContext()
func (*ReservedContext) RESERVED ¶
func (s *ReservedContext) RESERVED() antlr.TerminalNode
func (*ReservedContext) Ranges ¶
func (s *ReservedContext) Ranges() IRangesContext
func (*ReservedContext) ToStringTree ¶
func (s *ReservedContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ReservedWordContext ¶
type ReservedWordContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyReservedWordContext ¶
func NewEmptyReservedWordContext() *ReservedWordContext
func NewReservedWordContext ¶
func NewReservedWordContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ReservedWordContext
func (*ReservedWordContext) Accept ¶
func (s *ReservedWordContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*ReservedWordContext) EXTEND ¶
func (s *ReservedWordContext) EXTEND() antlr.TerminalNode
func (*ReservedWordContext) EnterRule ¶
func (s *ReservedWordContext) EnterRule(listener antlr.ParseTreeListener)
func (*ReservedWordContext) ExitRule ¶
func (s *ReservedWordContext) ExitRule(listener antlr.ParseTreeListener)
func (*ReservedWordContext) GetParser ¶
func (s *ReservedWordContext) GetParser() antlr.Parser
func (*ReservedWordContext) GetRuleContext ¶
func (s *ReservedWordContext) GetRuleContext() antlr.RuleContext
func (*ReservedWordContext) IsReservedWordContext ¶
func (*ReservedWordContext) IsReservedWordContext()
func (*ReservedWordContext) MESSAGE ¶
func (s *ReservedWordContext) MESSAGE() antlr.TerminalNode
func (*ReservedWordContext) OPTION ¶
func (s *ReservedWordContext) OPTION() antlr.TerminalNode
func (*ReservedWordContext) PACKAGE ¶
func (s *ReservedWordContext) PACKAGE() antlr.TerminalNode
func (*ReservedWordContext) RPC ¶
func (s *ReservedWordContext) RPC() antlr.TerminalNode
func (*ReservedWordContext) SERVICE ¶
func (s *ReservedWordContext) SERVICE() antlr.TerminalNode
func (*ReservedWordContext) STREAM ¶
func (s *ReservedWordContext) STREAM() antlr.TerminalNode
func (*ReservedWordContext) STRING ¶
func (s *ReservedWordContext) STRING() antlr.TerminalNode
func (*ReservedWordContext) SYNTAX ¶
func (s *ReservedWordContext) SYNTAX() antlr.TerminalNode
func (*ReservedWordContext) ToStringTree ¶
func (s *ReservedWordContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*ReservedWordContext) WEAK ¶
func (s *ReservedWordContext) WEAK() antlr.TerminalNode
type RpcContext ¶
type RpcContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyRpcContext ¶
func NewEmptyRpcContext() *RpcContext
func NewRpcContext ¶
func NewRpcContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RpcContext
func (*RpcContext) Accept ¶
func (s *RpcContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*RpcContext) AllEmptyStatement ¶
func (s *RpcContext) AllEmptyStatement() []IEmptyStatementContext
func (*RpcContext) AllMessageType ¶
func (s *RpcContext) AllMessageType() []IMessageTypeContext
func (*RpcContext) AllOption ¶
func (s *RpcContext) AllOption() []IOptionContext
func (*RpcContext) AllSTREAM ¶
func (s *RpcContext) AllSTREAM() []antlr.TerminalNode
func (*RpcContext) EmptyStatement ¶
func (s *RpcContext) EmptyStatement(i int) IEmptyStatementContext
func (*RpcContext) EnterRule ¶
func (s *RpcContext) EnterRule(listener antlr.ParseTreeListener)
func (*RpcContext) ExitRule ¶
func (s *RpcContext) ExitRule(listener antlr.ParseTreeListener)
func (*RpcContext) GetParser ¶
func (s *RpcContext) GetParser() antlr.Parser
func (*RpcContext) GetRuleContext ¶
func (s *RpcContext) GetRuleContext() antlr.RuleContext
func (*RpcContext) IsRpcContext ¶
func (*RpcContext) IsRpcContext()
func (*RpcContext) MessageType ¶
func (s *RpcContext) MessageType(i int) IMessageTypeContext
func (*RpcContext) Option ¶
func (s *RpcContext) Option(i int) IOptionContext
func (*RpcContext) RETURNS ¶
func (s *RpcContext) RETURNS() antlr.TerminalNode
func (*RpcContext) RPC ¶
func (s *RpcContext) RPC() antlr.TerminalNode
func (*RpcContext) RpcName ¶
func (s *RpcContext) RpcName() IRpcNameContext
func (*RpcContext) STREAM ¶
func (s *RpcContext) STREAM(i int) antlr.TerminalNode
func (*RpcContext) ToStringTree ¶
func (s *RpcContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type RpcNameContext ¶
type RpcNameContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyRpcNameContext ¶
func NewEmptyRpcNameContext() *RpcNameContext
func NewRpcNameContext ¶
func NewRpcNameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RpcNameContext
func (*RpcNameContext) Accept ¶
func (s *RpcNameContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*RpcNameContext) EnterRule ¶
func (s *RpcNameContext) EnterRule(listener antlr.ParseTreeListener)
func (*RpcNameContext) ExitRule ¶
func (s *RpcNameContext) ExitRule(listener antlr.ParseTreeListener)
func (*RpcNameContext) GetParser ¶
func (s *RpcNameContext) GetParser() antlr.Parser
func (*RpcNameContext) GetRuleContext ¶
func (s *RpcNameContext) GetRuleContext() antlr.RuleContext
func (*RpcNameContext) IDENT ¶
func (s *RpcNameContext) IDENT() antlr.TerminalNode
func (*RpcNameContext) IsRpcNameContext ¶
func (*RpcNameContext) IsRpcNameContext()
func (*RpcNameContext) ToStringTree ¶
func (s *RpcNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ServiceContext ¶
type ServiceContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyServiceContext ¶
func NewEmptyServiceContext() *ServiceContext
func NewServiceContext ¶
func NewServiceContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ServiceContext
func (*ServiceContext) Accept ¶
func (s *ServiceContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*ServiceContext) AllEmptyStatement ¶
func (s *ServiceContext) AllEmptyStatement() []IEmptyStatementContext
func (*ServiceContext) AllOption ¶
func (s *ServiceContext) AllOption() []IOptionContext
func (*ServiceContext) AllRpc ¶
func (s *ServiceContext) AllRpc() []IRpcContext
func (*ServiceContext) EmptyStatement ¶
func (s *ServiceContext) EmptyStatement(i int) IEmptyStatementContext
func (*ServiceContext) EnterRule ¶
func (s *ServiceContext) EnterRule(listener antlr.ParseTreeListener)
func (*ServiceContext) ExitRule ¶
func (s *ServiceContext) ExitRule(listener antlr.ParseTreeListener)
func (*ServiceContext) GetParser ¶
func (s *ServiceContext) GetParser() antlr.Parser
func (*ServiceContext) GetRuleContext ¶
func (s *ServiceContext) GetRuleContext() antlr.RuleContext
func (*ServiceContext) IsServiceContext ¶
func (*ServiceContext) IsServiceContext()
func (*ServiceContext) Option ¶
func (s *ServiceContext) Option(i int) IOptionContext
func (*ServiceContext) Rpc ¶
func (s *ServiceContext) Rpc(i int) IRpcContext
func (*ServiceContext) SERVICE ¶
func (s *ServiceContext) SERVICE() antlr.TerminalNode
func (*ServiceContext) ServiceName ¶
func (s *ServiceContext) ServiceName() IServiceNameContext
func (*ServiceContext) ToStringTree ¶
func (s *ServiceContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ServiceNameContext ¶
type ServiceNameContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyServiceNameContext ¶
func NewEmptyServiceNameContext() *ServiceNameContext
func NewServiceNameContext ¶
func NewServiceNameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ServiceNameContext
func (*ServiceNameContext) Accept ¶
func (s *ServiceNameContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*ServiceNameContext) EnterRule ¶
func (s *ServiceNameContext) EnterRule(listener antlr.ParseTreeListener)
func (*ServiceNameContext) ExitRule ¶
func (s *ServiceNameContext) ExitRule(listener antlr.ParseTreeListener)
func (*ServiceNameContext) GetParser ¶
func (s *ServiceNameContext) GetParser() antlr.Parser
func (*ServiceNameContext) GetRuleContext ¶
func (s *ServiceNameContext) GetRuleContext() antlr.RuleContext
func (*ServiceNameContext) IDENT ¶
func (s *ServiceNameContext) IDENT() antlr.TerminalNode
func (*ServiceNameContext) IsServiceNameContext ¶
func (*ServiceNameContext) IsServiceNameContext()
func (*ServiceNameContext) ToStringTree ¶
func (s *ServiceNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type SimpleTypeContext ¶
type SimpleTypeContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySimpleTypeContext ¶
func NewEmptySimpleTypeContext() *SimpleTypeContext
func NewSimpleTypeContext ¶
func NewSimpleTypeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SimpleTypeContext
func (*SimpleTypeContext) Accept ¶
func (s *SimpleTypeContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*SimpleTypeContext) BOOL ¶
func (s *SimpleTypeContext) BOOL() antlr.TerminalNode
func (*SimpleTypeContext) BYTES ¶
func (s *SimpleTypeContext) BYTES() antlr.TerminalNode
func (*SimpleTypeContext) DOUBLE ¶
func (s *SimpleTypeContext) DOUBLE() antlr.TerminalNode
func (*SimpleTypeContext) EnterRule ¶
func (s *SimpleTypeContext) EnterRule(listener antlr.ParseTreeListener)
func (*SimpleTypeContext) ExitRule ¶
func (s *SimpleTypeContext) ExitRule(listener antlr.ParseTreeListener)
func (*SimpleTypeContext) FIXED32 ¶
func (s *SimpleTypeContext) FIXED32() antlr.TerminalNode
func (*SimpleTypeContext) FIXED64 ¶
func (s *SimpleTypeContext) FIXED64() antlr.TerminalNode
func (*SimpleTypeContext) FLOAT ¶
func (s *SimpleTypeContext) FLOAT() antlr.TerminalNode
func (*SimpleTypeContext) GetParser ¶
func (s *SimpleTypeContext) GetParser() antlr.Parser
func (*SimpleTypeContext) GetRuleContext ¶
func (s *SimpleTypeContext) GetRuleContext() antlr.RuleContext
func (*SimpleTypeContext) INT32 ¶
func (s *SimpleTypeContext) INT32() antlr.TerminalNode
func (*SimpleTypeContext) INT64 ¶
func (s *SimpleTypeContext) INT64() antlr.TerminalNode
func (*SimpleTypeContext) IsSimpleTypeContext ¶
func (*SimpleTypeContext) IsSimpleTypeContext()
func (*SimpleTypeContext) SFIXED32 ¶
func (s *SimpleTypeContext) SFIXED32() antlr.TerminalNode
func (*SimpleTypeContext) SFIXED64 ¶
func (s *SimpleTypeContext) SFIXED64() antlr.TerminalNode
func (*SimpleTypeContext) SINT32 ¶
func (s *SimpleTypeContext) SINT32() antlr.TerminalNode
func (*SimpleTypeContext) SINT64 ¶
func (s *SimpleTypeContext) SINT64() antlr.TerminalNode
func (*SimpleTypeContext) STRING ¶
func (s *SimpleTypeContext) STRING() antlr.TerminalNode
func (*SimpleTypeContext) ToStringTree ¶
func (s *SimpleTypeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*SimpleTypeContext) UINT32 ¶
func (s *SimpleTypeContext) UINT32() antlr.TerminalNode
func (*SimpleTypeContext) UINT64 ¶
func (s *SimpleTypeContext) UINT64() antlr.TerminalNode
type SyntaxContext ¶
type SyntaxContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySyntaxContext ¶
func NewEmptySyntaxContext() *SyntaxContext
func NewSyntaxContext ¶
func NewSyntaxContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SyntaxContext
func (*SyntaxContext) Accept ¶
func (s *SyntaxContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*SyntaxContext) EnterRule ¶
func (s *SyntaxContext) EnterRule(listener antlr.ParseTreeListener)
func (*SyntaxContext) ExitRule ¶
func (s *SyntaxContext) ExitRule(listener antlr.ParseTreeListener)
func (*SyntaxContext) GetParser ¶
func (s *SyntaxContext) GetParser() antlr.Parser
func (*SyntaxContext) GetRuleContext ¶
func (s *SyntaxContext) GetRuleContext() antlr.RuleContext
func (*SyntaxContext) IsSyntaxContext ¶
func (*SyntaxContext) IsSyntaxContext()
func (*SyntaxContext) PROTO3_DOUBLE ¶
func (s *SyntaxContext) PROTO3_DOUBLE() antlr.TerminalNode
func (*SyntaxContext) PROTO3_SINGLE ¶
func (s *SyntaxContext) PROTO3_SINGLE() antlr.TerminalNode
func (*SyntaxContext) SYNTAX ¶
func (s *SyntaxContext) SYNTAX() antlr.TerminalNode
func (*SyntaxContext) ToStringTree ¶
func (s *SyntaxContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type SyntaxExtraContext ¶
type SyntaxExtraContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySyntaxExtraContext ¶
func NewEmptySyntaxExtraContext() *SyntaxExtraContext
func NewSyntaxExtraContext ¶
func NewSyntaxExtraContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SyntaxExtraContext
func (*SyntaxExtraContext) Accept ¶
func (s *SyntaxExtraContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*SyntaxExtraContext) EmptyStatement ¶
func (s *SyntaxExtraContext) EmptyStatement() IEmptyStatementContext
func (*SyntaxExtraContext) EnterRule ¶
func (s *SyntaxExtraContext) EnterRule(listener antlr.ParseTreeListener)
func (*SyntaxExtraContext) ExitRule ¶
func (s *SyntaxExtraContext) ExitRule(listener antlr.ParseTreeListener)
func (*SyntaxExtraContext) GetParser ¶
func (s *SyntaxExtraContext) GetParser() antlr.Parser
func (*SyntaxExtraContext) GetRuleContext ¶
func (s *SyntaxExtraContext) GetRuleContext() antlr.RuleContext
func (*SyntaxExtraContext) ImportStatement ¶
func (s *SyntaxExtraContext) ImportStatement() IImportStatementContext
func (*SyntaxExtraContext) IsSyntaxExtraContext ¶
func (*SyntaxExtraContext) IsSyntaxExtraContext()
func (*SyntaxExtraContext) Option ¶
func (s *SyntaxExtraContext) Option() IOptionContext
func (*SyntaxExtraContext) PackageStatement ¶
func (s *SyntaxExtraContext) PackageStatement() IPackageStatementContext
func (*SyntaxExtraContext) ToStringTree ¶
func (s *SyntaxExtraContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*SyntaxExtraContext) TopLevelDef ¶
func (s *SyntaxExtraContext) TopLevelDef() ITopLevelDefContext
type TopLevelDefContext ¶
type TopLevelDefContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTopLevelDefContext ¶
func NewEmptyTopLevelDefContext() *TopLevelDefContext
func NewTopLevelDefContext ¶
func NewTopLevelDefContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TopLevelDefContext
func (*TopLevelDefContext) Accept ¶
func (s *TopLevelDefContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*TopLevelDefContext) EnterRule ¶
func (s *TopLevelDefContext) EnterRule(listener antlr.ParseTreeListener)
func (*TopLevelDefContext) EnumDefinition ¶
func (s *TopLevelDefContext) EnumDefinition() IEnumDefinitionContext
func (*TopLevelDefContext) ExitRule ¶
func (s *TopLevelDefContext) ExitRule(listener antlr.ParseTreeListener)
func (*TopLevelDefContext) Extend ¶
func (s *TopLevelDefContext) Extend() IExtendContext
func (*TopLevelDefContext) GetParser ¶
func (s *TopLevelDefContext) GetParser() antlr.Parser
func (*TopLevelDefContext) GetRuleContext ¶
func (s *TopLevelDefContext) GetRuleContext() antlr.RuleContext
func (*TopLevelDefContext) IsTopLevelDefContext ¶
func (*TopLevelDefContext) IsTopLevelDefContext()
func (*TopLevelDefContext) Message ¶
func (s *TopLevelDefContext) Message() IMessageContext
func (*TopLevelDefContext) Service ¶
func (s *TopLevelDefContext) Service() IServiceContext
func (*TopLevelDefContext) ToStringTree ¶
func (s *TopLevelDefContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type TypeRuleContext ¶
type TypeRuleContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTypeRuleContext ¶
func NewEmptyTypeRuleContext() *TypeRuleContext
func NewTypeRuleContext ¶
func NewTypeRuleContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TypeRuleContext
func (*TypeRuleContext) Accept ¶
func (s *TypeRuleContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*TypeRuleContext) EnterRule ¶
func (s *TypeRuleContext) EnterRule(listener antlr.ParseTreeListener)
func (*TypeRuleContext) ExitRule ¶
func (s *TypeRuleContext) ExitRule(listener antlr.ParseTreeListener)
func (*TypeRuleContext) GetParser ¶
func (s *TypeRuleContext) GetParser() antlr.Parser
func (*TypeRuleContext) GetRuleContext ¶
func (s *TypeRuleContext) GetRuleContext() antlr.RuleContext
func (*TypeRuleContext) IsTypeRuleContext ¶
func (*TypeRuleContext) IsTypeRuleContext()
func (*TypeRuleContext) MessageOrEnumType ¶
func (s *TypeRuleContext) MessageOrEnumType() IMessageOrEnumTypeContext
func (*TypeRuleContext) SimpleType ¶
func (s *TypeRuleContext) SimpleType() ISimpleTypeContext
func (*TypeRuleContext) ToStringTree ¶
func (s *TypeRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string