parser

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2020 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewantlrLexer

func NewantlrLexer(input antlr.CharStream) *antlrLexer

func NewantlrParser

func NewantlrParser(input antlr.TokenStream) *antlrParser

Types

type BaseantlrListener

type BaseantlrListener struct{}

BaseantlrListener is a complete listener for a parse tree produced by antlrParser.

func (*BaseantlrListener) EnterClientStreams

func (s *BaseantlrListener) EnterClientStreams(ctx *ClientStreamsContext)

EnterClientStreams is called when production clientStreams is entered.

func (*BaseantlrListener) EnterConstant

func (s *BaseantlrListener) EnterConstant(ctx *ConstantContext)

EnterConstant is called when production constant is entered.

func (*BaseantlrListener) EnterEnum

func (s *BaseantlrListener) EnterEnum(ctx *EnumContext)

EnterEnum is called when production enum is entered.

func (*BaseantlrListener) EnterEnumDecl

func (s *BaseantlrListener) EnterEnumDecl(ctx *EnumDeclContext)

EnterEnumDecl is called when production enumDecl is entered.

func (*BaseantlrListener) EnterEnumField

func (s *BaseantlrListener) EnterEnumField(ctx *EnumFieldContext)

EnterEnumField is called when production enumField is entered.

func (*BaseantlrListener) EnterEveryRule

func (s *BaseantlrListener) EnterEveryRule(ctx antlr.ParserRuleContext)

EnterEveryRule is called when any rule is entered.

func (*BaseantlrListener) EnterExtend

func (s *BaseantlrListener) EnterExtend(ctx *ExtendContext)

EnterExtend is called when production extend is entered.

func (*BaseantlrListener) EnterExtendDecl

func (s *BaseantlrListener) EnterExtendDecl(ctx *ExtendDeclContext)

EnterExtendDecl is called when production extendDecl is entered.

func (*BaseantlrListener) EnterExtendName

func (s *BaseantlrListener) EnterExtendName(ctx *ExtendNameContext)

EnterExtendName is called when production extendName is entered.

func (*BaseantlrListener) EnterField

func (s *BaseantlrListener) EnterField(ctx *FieldContext)

EnterField is called when production field is entered.

func (*BaseantlrListener) EnterFieldNames

func (s *BaseantlrListener) EnterFieldNames(ctx *FieldNamesContext)

EnterFieldNames is called when production fieldNames is entered.

func (*BaseantlrListener) EnterFieldOpts

func (s *BaseantlrListener) EnterFieldOpts(ctx *FieldOptsContext)

EnterFieldOpts is called when production fieldOpts is entered.

func (*BaseantlrListener) EnterFieldType

func (s *BaseantlrListener) EnterFieldType(ctx *FieldTypeContext)

EnterFieldType is called when production fieldType is entered.

func (*BaseantlrListener) EnterFullIdent

func (s *BaseantlrListener) EnterFullIdent(ctx *FullIdentContext)

EnterFullIdent is called when production fullIdent is entered.

func (*BaseantlrListener) EnterImports

func (s *BaseantlrListener) EnterImports(ctx *ImportsContext)

EnterImports is called when production imports is entered.

func (*BaseantlrListener) EnterKeyType

func (s *BaseantlrListener) EnterKeyType(ctx *KeyTypeContext)

EnterKeyType is called when production keyType is entered.

func (*BaseantlrListener) EnterKeyValue

func (s *BaseantlrListener) EnterKeyValue(ctx *KeyValueContext)

EnterKeyValue is called when production keyValue is entered.

func (*BaseantlrListener) EnterMapField

func (s *BaseantlrListener) EnterMapField(ctx *MapFieldContext)

EnterMapField is called when production mapField is entered.

func (*BaseantlrListener) EnterMessage

func (s *BaseantlrListener) EnterMessage(ctx *MessageContext)

EnterMessage is called when production message is entered.

func (*BaseantlrListener) EnterMessageDecl

func (s *BaseantlrListener) EnterMessageDecl(ctx *MessageDeclContext)

EnterMessageDecl is called when production messageDecl is entered.

func (*BaseantlrListener) EnterMessageOrEnumType

func (s *BaseantlrListener) EnterMessageOrEnumType(ctx *MessageOrEnumTypeContext)

EnterMessageOrEnumType is called when production messageOrEnumType is entered.

func (*BaseantlrListener) EnterOneof

func (s *BaseantlrListener) EnterOneof(ctx *OneofContext)

EnterOneof is called when production oneof is entered.

func (*BaseantlrListener) EnterOneofField

func (s *BaseantlrListener) EnterOneofField(ctx *OneofFieldContext)

EnterOneofField is called when production oneofField is entered.

func (*BaseantlrListener) EnterOption

func (s *BaseantlrListener) EnterOption(ctx *OptionContext)

EnterOption is called when production option is entered.

func (*BaseantlrListener) EnterOptionDecl

func (s *BaseantlrListener) EnterOptionDecl(ctx *OptionDeclContext)

EnterOptionDecl is called when production optionDecl is entered.

func (*BaseantlrListener) EnterOptionDeclVar

func (s *BaseantlrListener) EnterOptionDeclVar(ctx *OptionDeclVarContext)

EnterOptionDeclVar is called when production optionDeclVar is entered.

func (*BaseantlrListener) EnterOptionName

func (s *BaseantlrListener) EnterOptionName(ctx *OptionNameContext)

EnterOptionName is called when production optionName is entered.

func (*BaseantlrListener) EnterPackageName

func (s *BaseantlrListener) EnterPackageName(ctx *PackageNameContext)

EnterPackageName is called when production packageName is entered.

func (*BaseantlrListener) EnterProto

func (s *BaseantlrListener) EnterProto(ctx *ProtoContext)

EnterProto is called when production proto is entered.

func (*BaseantlrListener) EnterRangeDef

func (s *BaseantlrListener) EnterRangeDef(ctx *RangeDefContext)

EnterRangeDef is called when production rangeDef is entered.

func (*BaseantlrListener) EnterRanges

func (s *BaseantlrListener) EnterRanges(ctx *RangesContext)

EnterRanges is called when production ranges is entered.

func (*BaseantlrListener) EnterReserved

func (s *BaseantlrListener) EnterReserved(ctx *ReservedContext)

EnterReserved is called when production reserved is entered.

func (*BaseantlrListener) EnterReservedWord

func (s *BaseantlrListener) EnterReservedWord(ctx *ReservedWordContext)

EnterReservedWord is called when production reservedWord is entered.

func (*BaseantlrListener) EnterRpc

func (s *BaseantlrListener) EnterRpc(ctx *RpcContext)

EnterRpc is called when production rpc is entered.

func (*BaseantlrListener) EnterRpcName

func (s *BaseantlrListener) EnterRpcName(ctx *RpcNameContext)

EnterRpcName is called when production rpcName is entered.

func (*BaseantlrListener) EnterRpcParams

func (s *BaseantlrListener) EnterRpcParams(ctx *RpcParamsContext)

EnterRpcParams is called when production rpcParams is entered.

func (*BaseantlrListener) EnterRpcReturns

func (s *BaseantlrListener) EnterRpcReturns(ctx *RpcReturnsContext)

EnterRpcReturns is called when production rpcReturns is entered.

func (*BaseantlrListener) EnterServerStreams

func (s *BaseantlrListener) EnterServerStreams(ctx *ServerStreamsContext)

EnterServerStreams is called when production serverStreams is entered.

func (*BaseantlrListener) EnterService

func (s *BaseantlrListener) EnterService(ctx *ServiceContext)

EnterService is called when production service is entered.

func (*BaseantlrListener) EnterSyntax

func (s *BaseantlrListener) EnterSyntax(ctx *SyntaxContext)

EnterSyntax is called when production syntax is entered.

func (*BaseantlrListener) ExitClientStreams

func (s *BaseantlrListener) ExitClientStreams(ctx *ClientStreamsContext)

ExitClientStreams is called when production clientStreams is exited.

func (*BaseantlrListener) ExitConstant

func (s *BaseantlrListener) ExitConstant(ctx *ConstantContext)

ExitConstant is called when production constant is exited.

func (*BaseantlrListener) ExitEnum

func (s *BaseantlrListener) ExitEnum(ctx *EnumContext)

ExitEnum is called when production enum is exited.

func (*BaseantlrListener) ExitEnumDecl

func (s *BaseantlrListener) ExitEnumDecl(ctx *EnumDeclContext)

ExitEnumDecl is called when production enumDecl is exited.

func (*BaseantlrListener) ExitEnumField

func (s *BaseantlrListener) ExitEnumField(ctx *EnumFieldContext)

ExitEnumField is called when production enumField is exited.

func (*BaseantlrListener) ExitEveryRule

func (s *BaseantlrListener) ExitEveryRule(ctx antlr.ParserRuleContext)

ExitEveryRule is called when any rule is exited.

func (*BaseantlrListener) ExitExtend

func (s *BaseantlrListener) ExitExtend(ctx *ExtendContext)

ExitExtend is called when production extend is exited.

func (*BaseantlrListener) ExitExtendDecl

func (s *BaseantlrListener) ExitExtendDecl(ctx *ExtendDeclContext)

ExitExtendDecl is called when production extendDecl is exited.

func (*BaseantlrListener) ExitExtendName

func (s *BaseantlrListener) ExitExtendName(ctx *ExtendNameContext)

ExitExtendName is called when production extendName is exited.

func (*BaseantlrListener) ExitField

func (s *BaseantlrListener) ExitField(ctx *FieldContext)

ExitField is called when production field is exited.

func (*BaseantlrListener) ExitFieldNames

func (s *BaseantlrListener) ExitFieldNames(ctx *FieldNamesContext)

ExitFieldNames is called when production fieldNames is exited.

func (*BaseantlrListener) ExitFieldOpts

func (s *BaseantlrListener) ExitFieldOpts(ctx *FieldOptsContext)

ExitFieldOpts is called when production fieldOpts is exited.

func (*BaseantlrListener) ExitFieldType

func (s *BaseantlrListener) ExitFieldType(ctx *FieldTypeContext)

ExitFieldType is called when production fieldType is exited.

func (*BaseantlrListener) ExitFullIdent

func (s *BaseantlrListener) ExitFullIdent(ctx *FullIdentContext)

ExitFullIdent is called when production fullIdent is exited.

func (*BaseantlrListener) ExitImports

func (s *BaseantlrListener) ExitImports(ctx *ImportsContext)

ExitImports is called when production imports is exited.

func (*BaseantlrListener) ExitKeyType

func (s *BaseantlrListener) ExitKeyType(ctx *KeyTypeContext)

ExitKeyType is called when production keyType is exited.

func (*BaseantlrListener) ExitKeyValue

func (s *BaseantlrListener) ExitKeyValue(ctx *KeyValueContext)

ExitKeyValue is called when production keyValue is exited.

func (*BaseantlrListener) ExitMapField

func (s *BaseantlrListener) ExitMapField(ctx *MapFieldContext)

ExitMapField is called when production mapField is exited.

func (*BaseantlrListener) ExitMessage

func (s *BaseantlrListener) ExitMessage(ctx *MessageContext)

ExitMessage is called when production message is exited.

func (*BaseantlrListener) ExitMessageDecl

func (s *BaseantlrListener) ExitMessageDecl(ctx *MessageDeclContext)

ExitMessageDecl is called when production messageDecl is exited.

func (*BaseantlrListener) ExitMessageOrEnumType

func (s *BaseantlrListener) ExitMessageOrEnumType(ctx *MessageOrEnumTypeContext)

ExitMessageOrEnumType is called when production messageOrEnumType is exited.

func (*BaseantlrListener) ExitOneof

func (s *BaseantlrListener) ExitOneof(ctx *OneofContext)

ExitOneof is called when production oneof is exited.

func (*BaseantlrListener) ExitOneofField

func (s *BaseantlrListener) ExitOneofField(ctx *OneofFieldContext)

ExitOneofField is called when production oneofField is exited.

func (*BaseantlrListener) ExitOption

func (s *BaseantlrListener) ExitOption(ctx *OptionContext)

ExitOption is called when production option is exited.

func (*BaseantlrListener) ExitOptionDecl

func (s *BaseantlrListener) ExitOptionDecl(ctx *OptionDeclContext)

ExitOptionDecl is called when production optionDecl is exited.

func (*BaseantlrListener) ExitOptionDeclVar

func (s *BaseantlrListener) ExitOptionDeclVar(ctx *OptionDeclVarContext)

ExitOptionDeclVar is called when production optionDeclVar is exited.

func (*BaseantlrListener) ExitOptionName

func (s *BaseantlrListener) ExitOptionName(ctx *OptionNameContext)

ExitOptionName is called when production optionName is exited.

func (*BaseantlrListener) ExitPackageName

func (s *BaseantlrListener) ExitPackageName(ctx *PackageNameContext)

ExitPackageName is called when production packageName is exited.

func (*BaseantlrListener) ExitProto

func (s *BaseantlrListener) ExitProto(ctx *ProtoContext)

ExitProto is called when production proto is exited.

func (*BaseantlrListener) ExitRangeDef

func (s *BaseantlrListener) ExitRangeDef(ctx *RangeDefContext)

ExitRangeDef is called when production rangeDef is exited.

func (*BaseantlrListener) ExitRanges

func (s *BaseantlrListener) ExitRanges(ctx *RangesContext)

ExitRanges is called when production ranges is exited.

func (*BaseantlrListener) ExitReserved

func (s *BaseantlrListener) ExitReserved(ctx *ReservedContext)

ExitReserved is called when production reserved is exited.

func (*BaseantlrListener) ExitReservedWord

func (s *BaseantlrListener) ExitReservedWord(ctx *ReservedWordContext)

ExitReservedWord is called when production reservedWord is exited.

func (*BaseantlrListener) ExitRpc

func (s *BaseantlrListener) ExitRpc(ctx *RpcContext)

ExitRpc is called when production rpc is exited.

func (*BaseantlrListener) ExitRpcName

func (s *BaseantlrListener) ExitRpcName(ctx *RpcNameContext)

ExitRpcName is called when production rpcName is exited.

func (*BaseantlrListener) ExitRpcParams

func (s *BaseantlrListener) ExitRpcParams(ctx *RpcParamsContext)

ExitRpcParams is called when production rpcParams is exited.

func (*BaseantlrListener) ExitRpcReturns

func (s *BaseantlrListener) ExitRpcReturns(ctx *RpcReturnsContext)

ExitRpcReturns is called when production rpcReturns is exited.

func (*BaseantlrListener) ExitServerStreams

func (s *BaseantlrListener) ExitServerStreams(ctx *ServerStreamsContext)

ExitServerStreams is called when production serverStreams is exited.

func (*BaseantlrListener) ExitService

func (s *BaseantlrListener) ExitService(ctx *ServiceContext)

ExitService is called when production service is exited.

func (*BaseantlrListener) ExitSyntax

func (s *BaseantlrListener) ExitSyntax(ctx *SyntaxContext)

ExitSyntax is called when production syntax is exited.

func (*BaseantlrListener) VisitErrorNode

func (s *BaseantlrListener) VisitErrorNode(node antlr.ErrorNode)

VisitErrorNode is called when an error node is visited.

func (*BaseantlrListener) VisitTerminal

func (s *BaseantlrListener) VisitTerminal(node antlr.TerminalNode)

VisitTerminal is called when a terminal node is visited.

type ClientStreamsContext

type ClientStreamsContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewClientStreamsContext

func NewClientStreamsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ClientStreamsContext

func NewEmptyClientStreamsContext

func NewEmptyClientStreamsContext() *ClientStreamsContext

func (*ClientStreamsContext) EnterRule

func (s *ClientStreamsContext) EnterRule(listener antlr.ParseTreeListener)

func (*ClientStreamsContext) ExitRule

func (s *ClientStreamsContext) ExitRule(listener antlr.ParseTreeListener)

func (*ClientStreamsContext) GetParser

func (s *ClientStreamsContext) GetParser() antlr.Parser

func (*ClientStreamsContext) GetRuleContext

func (s *ClientStreamsContext) GetRuleContext() antlr.RuleContext

func (*ClientStreamsContext) IsClientStreamsContext

func (*ClientStreamsContext) IsClientStreamsContext()

func (*ClientStreamsContext) STREAM

func (*ClientStreamsContext) ToStringTree

func (s *ClientStreamsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

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) BoolLit

func (s *ConstantContext) BoolLit() antlr.TerminalNode

func (*ConstantContext) EnterRule

func (s *ConstantContext) EnterRule(listener antlr.ParseTreeListener)

func (*ConstantContext) ExitRule

func (s *ConstantContext) ExitRule(listener antlr.ParseTreeListener)

func (*ConstantContext) FloatLit

func (s *ConstantContext) FloatLit() 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) IntLit

func (s *ConstantContext) IntLit() antlr.TerminalNode

func (*ConstantContext) IsConstantContext

func (*ConstantContext) IsConstantContext()

func (*ConstantContext) MINUS

func (s *ConstantContext) MINUS() antlr.TerminalNode

func (*ConstantContext) PLUS

func (*ConstantContext) StrLit

func (s *ConstantContext) StrLit() antlr.TerminalNode

func (*ConstantContext) ToStringTree

func (s *ConstantContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type EnumContext

type EnumContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyEnumContext

func NewEmptyEnumContext() *EnumContext

func NewEnumContext

func NewEnumContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *EnumContext

func (*EnumContext) ENUM

func (s *EnumContext) ENUM() antlr.TerminalNode

func (*EnumContext) EnterRule

func (s *EnumContext) EnterRule(listener antlr.ParseTreeListener)

func (*EnumContext) EnumDecl

func (s *EnumContext) EnumDecl() IEnumDeclContext

func (*EnumContext) ExitRule

func (s *EnumContext) ExitRule(listener antlr.ParseTreeListener)

func (*EnumContext) GetParser

func (s *EnumContext) GetParser() antlr.Parser

func (*EnumContext) GetRuleContext

func (s *EnumContext) GetRuleContext() antlr.RuleContext

func (*EnumContext) Ident

func (s *EnumContext) Ident() antlr.TerminalNode

func (*EnumContext) IsEnumContext

func (*EnumContext) IsEnumContext()

func (*EnumContext) ToStringTree

func (s *EnumContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type EnumDeclContext

type EnumDeclContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyEnumDeclContext

func NewEmptyEnumDeclContext() *EnumDeclContext

func NewEnumDeclContext

func NewEnumDeclContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *EnumDeclContext

func (*EnumDeclContext) AllEnumField

func (s *EnumDeclContext) AllEnumField() []IEnumFieldContext

func (*EnumDeclContext) AllOption

func (s *EnumDeclContext) AllOption() []IOptionContext

func (*EnumDeclContext) AllSEMI

func (s *EnumDeclContext) AllSEMI() []antlr.TerminalNode

func (*EnumDeclContext) EnterRule

func (s *EnumDeclContext) EnterRule(listener antlr.ParseTreeListener)

func (*EnumDeclContext) EnumField

func (s *EnumDeclContext) EnumField(i int) IEnumFieldContext

func (*EnumDeclContext) ExitRule

func (s *EnumDeclContext) ExitRule(listener antlr.ParseTreeListener)

func (*EnumDeclContext) GetParser

func (s *EnumDeclContext) GetParser() antlr.Parser

func (*EnumDeclContext) GetRuleContext

func (s *EnumDeclContext) GetRuleContext() antlr.RuleContext

func (*EnumDeclContext) IsEnumDeclContext

func (*EnumDeclContext) IsEnumDeclContext()

func (*EnumDeclContext) LBRACE

func (s *EnumDeclContext) LBRACE() antlr.TerminalNode

func (*EnumDeclContext) Option

func (s *EnumDeclContext) Option(i int) IOptionContext

func (*EnumDeclContext) RBRACE

func (s *EnumDeclContext) RBRACE() antlr.TerminalNode

func (*EnumDeclContext) SEMI

func (*EnumDeclContext) ToStringTree

func (s *EnumDeclContext) 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) AllCOMMA

func (s *EnumFieldContext) AllCOMMA() []antlr.TerminalNode

func (*EnumFieldContext) AllKeyValue

func (s *EnumFieldContext) AllKeyValue() []IKeyValueContext

func (*EnumFieldContext) COMMA

func (s *EnumFieldContext) COMMA(i int) antlr.TerminalNode

func (*EnumFieldContext) EQ

func (*EnumFieldContext) EnterRule

func (s *EnumFieldContext) EnterRule(listener antlr.ParseTreeListener)

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) IntLit

func (s *EnumFieldContext) IntLit() antlr.TerminalNode

func (*EnumFieldContext) IsEnumFieldContext

func (*EnumFieldContext) IsEnumFieldContext()

func (*EnumFieldContext) KeyValue

func (s *EnumFieldContext) KeyValue(i int) IKeyValueContext

func (*EnumFieldContext) LBRACK

func (s *EnumFieldContext) LBRACK() antlr.TerminalNode

func (*EnumFieldContext) MINUS

func (s *EnumFieldContext) MINUS() antlr.TerminalNode

func (*EnumFieldContext) RBRACK

func (s *EnumFieldContext) RBRACK() antlr.TerminalNode

func (*EnumFieldContext) SEMI

func (*EnumFieldContext) ToStringTree

func (s *EnumFieldContext) 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) EXTEND

func (s *ExtendContext) EXTEND() antlr.TerminalNode

func (*ExtendContext) EnterRule

func (s *ExtendContext) EnterRule(listener antlr.ParseTreeListener)

func (*ExtendContext) ExitRule

func (s *ExtendContext) ExitRule(listener antlr.ParseTreeListener)

func (*ExtendContext) ExtendDecl

func (s *ExtendContext) ExtendDecl() IExtendDeclContext

func (*ExtendContext) ExtendName

func (s *ExtendContext) ExtendName() IExtendNameContext

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) ToStringTree

func (s *ExtendContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ExtendDeclContext

type ExtendDeclContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyExtendDeclContext

func NewEmptyExtendDeclContext() *ExtendDeclContext

func NewExtendDeclContext

func NewExtendDeclContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExtendDeclContext

func (*ExtendDeclContext) AllField

func (s *ExtendDeclContext) AllField() []IFieldContext

func (*ExtendDeclContext) EnterRule

func (s *ExtendDeclContext) EnterRule(listener antlr.ParseTreeListener)

func (*ExtendDeclContext) ExitRule

func (s *ExtendDeclContext) ExitRule(listener antlr.ParseTreeListener)

func (*ExtendDeclContext) Field

func (s *ExtendDeclContext) Field(i int) IFieldContext

func (*ExtendDeclContext) GetParser

func (s *ExtendDeclContext) GetParser() antlr.Parser

func (*ExtendDeclContext) GetRuleContext

func (s *ExtendDeclContext) GetRuleContext() antlr.RuleContext

func (*ExtendDeclContext) IsExtendDeclContext

func (*ExtendDeclContext) IsExtendDeclContext()

func (*ExtendDeclContext) LBRACE

func (s *ExtendDeclContext) LBRACE() antlr.TerminalNode

func (*ExtendDeclContext) RBRACE

func (s *ExtendDeclContext) RBRACE() antlr.TerminalNode

func (*ExtendDeclContext) ToStringTree

func (s *ExtendDeclContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ExtendNameContext

type ExtendNameContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyExtendNameContext

func NewEmptyExtendNameContext() *ExtendNameContext

func NewExtendNameContext

func NewExtendNameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExtendNameContext

func (*ExtendNameContext) EnterRule

func (s *ExtendNameContext) EnterRule(listener antlr.ParseTreeListener)

func (*ExtendNameContext) ExitRule

func (s *ExtendNameContext) ExitRule(listener antlr.ParseTreeListener)

func (*ExtendNameContext) FullIdent

func (s *ExtendNameContext) FullIdent() IFullIdentContext

func (*ExtendNameContext) GetParser

func (s *ExtendNameContext) GetParser() antlr.Parser

func (*ExtendNameContext) GetRuleContext

func (s *ExtendNameContext) GetRuleContext() antlr.RuleContext

func (*ExtendNameContext) Ident

func (*ExtendNameContext) IsExtendNameContext

func (*ExtendNameContext) IsExtendNameContext()

func (*ExtendNameContext) ToStringTree

func (s *ExtendNameContext) 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) EQ

func (*FieldContext) EnterRule

func (s *FieldContext) EnterRule(listener antlr.ParseTreeListener)

func (*FieldContext) ExitRule

func (s *FieldContext) ExitRule(listener antlr.ParseTreeListener)

func (*FieldContext) FieldOpts

func (s *FieldContext) FieldOpts() IFieldOptsContext

func (*FieldContext) FieldType

func (s *FieldContext) FieldType() IFieldTypeContext

func (*FieldContext) GetParser

func (s *FieldContext) GetParser() antlr.Parser

func (*FieldContext) GetRuleContext

func (s *FieldContext) GetRuleContext() antlr.RuleContext

func (*FieldContext) Ident

func (s *FieldContext) Ident() antlr.TerminalNode

func (*FieldContext) IntLit

func (s *FieldContext) IntLit() antlr.TerminalNode

func (*FieldContext) IsFieldContext

func (*FieldContext) IsFieldContext()

func (*FieldContext) LBRACK

func (s *FieldContext) LBRACK() antlr.TerminalNode

func (*FieldContext) RBRACK

func (s *FieldContext) RBRACK() antlr.TerminalNode

func (*FieldContext) REPEATED

func (s *FieldContext) REPEATED() antlr.TerminalNode

func (*FieldContext) ReservedWord

func (s *FieldContext) ReservedWord() IReservedWordContext

func (*FieldContext) SEMI

func (s *FieldContext) SEMI() antlr.TerminalNode

func (*FieldContext) ToStringTree

func (s *FieldContext) 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) AllCOMMA

func (s *FieldNamesContext) AllCOMMA() []antlr.TerminalNode

func (*FieldNamesContext) AllStrLit

func (s *FieldNamesContext) AllStrLit() []antlr.TerminalNode

func (*FieldNamesContext) COMMA

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) StrLit

func (s *FieldNamesContext) StrLit(i int) antlr.TerminalNode

func (*FieldNamesContext) ToStringTree

func (s *FieldNamesContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type FieldOptsContext

type FieldOptsContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyFieldOptsContext

func NewEmptyFieldOptsContext() *FieldOptsContext

func NewFieldOptsContext

func NewFieldOptsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FieldOptsContext

func (*FieldOptsContext) AllCOMMA

func (s *FieldOptsContext) AllCOMMA() []antlr.TerminalNode

func (*FieldOptsContext) AllKeyValue

func (s *FieldOptsContext) AllKeyValue() []IKeyValueContext

func (*FieldOptsContext) COMMA

func (s *FieldOptsContext) COMMA(i int) antlr.TerminalNode

func (*FieldOptsContext) EnterRule

func (s *FieldOptsContext) EnterRule(listener antlr.ParseTreeListener)

func (*FieldOptsContext) ExitRule

func (s *FieldOptsContext) ExitRule(listener antlr.ParseTreeListener)

func (*FieldOptsContext) GetParser

func (s *FieldOptsContext) GetParser() antlr.Parser

func (*FieldOptsContext) GetRuleContext

func (s *FieldOptsContext) GetRuleContext() antlr.RuleContext

func (*FieldOptsContext) IsFieldOptsContext

func (*FieldOptsContext) IsFieldOptsContext()

func (*FieldOptsContext) KeyValue

func (s *FieldOptsContext) KeyValue(i int) IKeyValueContext

func (*FieldOptsContext) ToStringTree

func (s *FieldOptsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type FieldTypeContext

type FieldTypeContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyFieldTypeContext

func NewEmptyFieldTypeContext() *FieldTypeContext

func NewFieldTypeContext

func NewFieldTypeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FieldTypeContext

func (*FieldTypeContext) BOOL

func (*FieldTypeContext) BYTES

func (s *FieldTypeContext) BYTES() antlr.TerminalNode

func (*FieldTypeContext) DOUBLE

func (s *FieldTypeContext) DOUBLE() antlr.TerminalNode

func (*FieldTypeContext) EnterRule

func (s *FieldTypeContext) EnterRule(listener antlr.ParseTreeListener)

func (*FieldTypeContext) ExitRule

func (s *FieldTypeContext) ExitRule(listener antlr.ParseTreeListener)

func (*FieldTypeContext) FIXED32

func (s *FieldTypeContext) FIXED32() antlr.TerminalNode

func (*FieldTypeContext) FIXED64

func (s *FieldTypeContext) FIXED64() antlr.TerminalNode

func (*FieldTypeContext) FLOAT

func (s *FieldTypeContext) FLOAT() antlr.TerminalNode

func (*FieldTypeContext) GetParser

func (s *FieldTypeContext) GetParser() antlr.Parser

func (*FieldTypeContext) GetRuleContext

func (s *FieldTypeContext) GetRuleContext() antlr.RuleContext

func (*FieldTypeContext) INT32

func (s *FieldTypeContext) INT32() antlr.TerminalNode

func (*FieldTypeContext) INT64

func (s *FieldTypeContext) INT64() antlr.TerminalNode

func (*FieldTypeContext) IsFieldTypeContext

func (*FieldTypeContext) IsFieldTypeContext()

func (*FieldTypeContext) MessageOrEnumType

func (s *FieldTypeContext) MessageOrEnumType() IMessageOrEnumTypeContext

func (*FieldTypeContext) SFIXED32

func (s *FieldTypeContext) SFIXED32() antlr.TerminalNode

func (*FieldTypeContext) SFIXED64

func (s *FieldTypeContext) SFIXED64() antlr.TerminalNode

func (*FieldTypeContext) SINT32

func (s *FieldTypeContext) SINT32() antlr.TerminalNode

func (*FieldTypeContext) SINT64

func (s *FieldTypeContext) SINT64() antlr.TerminalNode

func (*FieldTypeContext) STRING

func (s *FieldTypeContext) STRING() antlr.TerminalNode

func (*FieldTypeContext) ToStringTree

func (s *FieldTypeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*FieldTypeContext) UINT32

func (s *FieldTypeContext) UINT32() antlr.TerminalNode

func (*FieldTypeContext) UINT64

func (s *FieldTypeContext) UINT64() antlr.TerminalNode

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) AllDOT

func (s *FullIdentContext) AllDOT() []antlr.TerminalNode

func (*FullIdentContext) AllIdent

func (s *FullIdentContext) AllIdent() []antlr.TerminalNode

func (*FullIdentContext) DOT

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 IClientStreamsContext

type IClientStreamsContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsClientStreamsContext differentiates from other interfaces.
	IsClientStreamsContext()
}

IClientStreamsContext is an interface to support dynamic dispatch.

type IConstantContext

type IConstantContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsConstantContext differentiates from other interfaces.
	IsConstantContext()
}

IConstantContext is an interface to support dynamic dispatch.

type IEnumContext

type IEnumContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsEnumContext differentiates from other interfaces.
	IsEnumContext()
}

IEnumContext is an interface to support dynamic dispatch.

type IEnumDeclContext

type IEnumDeclContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsEnumDeclContext differentiates from other interfaces.
	IsEnumDeclContext()
}

IEnumDeclContext is an interface to support dynamic dispatch.

type IEnumFieldContext

type IEnumFieldContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsEnumFieldContext differentiates from other interfaces.
	IsEnumFieldContext()
}

IEnumFieldContext is an interface to support dynamic dispatch.

type IExtendContext

type IExtendContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsExtendContext differentiates from other interfaces.
	IsExtendContext()
}

IExtendContext is an interface to support dynamic dispatch.

type IExtendDeclContext

type IExtendDeclContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsExtendDeclContext differentiates from other interfaces.
	IsExtendDeclContext()
}

IExtendDeclContext is an interface to support dynamic dispatch.

type IExtendNameContext

type IExtendNameContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsExtendNameContext differentiates from other interfaces.
	IsExtendNameContext()
}

IExtendNameContext is an interface to support dynamic dispatch.

type IFieldContext

type IFieldContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsFieldContext differentiates from other interfaces.
	IsFieldContext()
}

IFieldContext is an interface to support dynamic dispatch.

type IFieldNamesContext

type IFieldNamesContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsFieldNamesContext differentiates from other interfaces.
	IsFieldNamesContext()
}

IFieldNamesContext is an interface to support dynamic dispatch.

type IFieldOptsContext

type IFieldOptsContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsFieldOptsContext differentiates from other interfaces.
	IsFieldOptsContext()
}

IFieldOptsContext is an interface to support dynamic dispatch.

type IFieldTypeContext

type IFieldTypeContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsFieldTypeContext differentiates from other interfaces.
	IsFieldTypeContext()
}

IFieldTypeContext is an interface to support dynamic dispatch.

type IFullIdentContext

type IFullIdentContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsFullIdentContext differentiates from other interfaces.
	IsFullIdentContext()
}

IFullIdentContext is an interface to support dynamic dispatch.

type IImportsContext

type IImportsContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsImportsContext differentiates from other interfaces.
	IsImportsContext()
}

IImportsContext is an interface to support dynamic dispatch.

type IKeyTypeContext

type IKeyTypeContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsKeyTypeContext differentiates from other interfaces.
	IsKeyTypeContext()
}

IKeyTypeContext is an interface to support dynamic dispatch.

type IKeyValueContext

type IKeyValueContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsKeyValueContext differentiates from other interfaces.
	IsKeyValueContext()
}

IKeyValueContext is an interface to support dynamic dispatch.

type IMapFieldContext

type IMapFieldContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsMapFieldContext differentiates from other interfaces.
	IsMapFieldContext()
}

IMapFieldContext is an interface to support dynamic dispatch.

type IMessageContext

type IMessageContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsMessageContext differentiates from other interfaces.
	IsMessageContext()
}

IMessageContext is an interface to support dynamic dispatch.

type IMessageDeclContext

type IMessageDeclContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsMessageDeclContext differentiates from other interfaces.
	IsMessageDeclContext()
}

IMessageDeclContext is an interface to support dynamic dispatch.

type IMessageOrEnumTypeContext

type IMessageOrEnumTypeContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsMessageOrEnumTypeContext differentiates from other interfaces.
	IsMessageOrEnumTypeContext()
}

IMessageOrEnumTypeContext is an interface to support dynamic dispatch.

type IOneofContext

type IOneofContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// 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

	// IsOneofFieldContext differentiates from other interfaces.
	IsOneofFieldContext()
}

IOneofFieldContext is an interface to support dynamic dispatch.

type IOptionContext

type IOptionContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsOptionContext differentiates from other interfaces.
	IsOptionContext()
}

IOptionContext is an interface to support dynamic dispatch.

type IOptionDeclContext

type IOptionDeclContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsOptionDeclContext differentiates from other interfaces.
	IsOptionDeclContext()
}

IOptionDeclContext is an interface to support dynamic dispatch.

type IOptionDeclVarContext

type IOptionDeclVarContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsOptionDeclVarContext differentiates from other interfaces.
	IsOptionDeclVarContext()
}

IOptionDeclVarContext is an interface to support dynamic dispatch.

type IOptionNameContext

type IOptionNameContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsOptionNameContext differentiates from other interfaces.
	IsOptionNameContext()
}

IOptionNameContext is an interface to support dynamic dispatch.

type IPackageNameContext

type IPackageNameContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsPackageNameContext differentiates from other interfaces.
	IsPackageNameContext()
}

IPackageNameContext is an interface to support dynamic dispatch.

type IProtoContext

type IProtoContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsProtoContext differentiates from other interfaces.
	IsProtoContext()
}

IProtoContext is an interface to support dynamic dispatch.

type IRangeDefContext

type IRangeDefContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsRangeDefContext differentiates from other interfaces.
	IsRangeDefContext()
}

IRangeDefContext is an interface to support dynamic dispatch.

type IRangesContext

type IRangesContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// 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

	// 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

	// 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

	// 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

	// IsRpcNameContext differentiates from other interfaces.
	IsRpcNameContext()
}

IRpcNameContext is an interface to support dynamic dispatch.

type IRpcParamsContext

type IRpcParamsContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsRpcParamsContext differentiates from other interfaces.
	IsRpcParamsContext()
}

IRpcParamsContext is an interface to support dynamic dispatch.

type IRpcReturnsContext

type IRpcReturnsContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsRpcReturnsContext differentiates from other interfaces.
	IsRpcReturnsContext()
}

IRpcReturnsContext is an interface to support dynamic dispatch.

type IServerStreamsContext

type IServerStreamsContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsServerStreamsContext differentiates from other interfaces.
	IsServerStreamsContext()
}

IServerStreamsContext is an interface to support dynamic dispatch.

type IServiceContext

type IServiceContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsServiceContext differentiates from other interfaces.
	IsServiceContext()
}

IServiceContext is an interface to support dynamic dispatch.

type ISyntaxContext

type ISyntaxContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsSyntaxContext differentiates from other interfaces.
	IsSyntaxContext()
}

ISyntaxContext is an interface to support dynamic dispatch.

type ImportsContext

type ImportsContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyImportsContext

func NewEmptyImportsContext() *ImportsContext

func NewImportsContext

func NewImportsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ImportsContext

func (*ImportsContext) EnterRule

func (s *ImportsContext) EnterRule(listener antlr.ParseTreeListener)

func (*ImportsContext) ExitRule

func (s *ImportsContext) ExitRule(listener antlr.ParseTreeListener)

func (*ImportsContext) GetParser

func (s *ImportsContext) GetParser() antlr.Parser

func (*ImportsContext) GetRuleContext

func (s *ImportsContext) GetRuleContext() antlr.RuleContext

func (*ImportsContext) IMPORT

func (s *ImportsContext) IMPORT() antlr.TerminalNode

func (*ImportsContext) IsImportsContext

func (*ImportsContext) IsImportsContext()

func (*ImportsContext) PUBLIC

func (s *ImportsContext) PUBLIC() antlr.TerminalNode

func (*ImportsContext) SEMI

func (s *ImportsContext) SEMI() antlr.TerminalNode

func (*ImportsContext) StrLit

func (s *ImportsContext) StrLit() antlr.TerminalNode

func (*ImportsContext) ToStringTree

func (s *ImportsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*ImportsContext) WEAK

func (s *ImportsContext) 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) 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 KeyValueContext

type KeyValueContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyKeyValueContext

func NewEmptyKeyValueContext() *KeyValueContext

func NewKeyValueContext

func NewKeyValueContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *KeyValueContext

func (*KeyValueContext) Constant

func (s *KeyValueContext) Constant() IConstantContext

func (*KeyValueContext) EQ

func (*KeyValueContext) EnterRule

func (s *KeyValueContext) EnterRule(listener antlr.ParseTreeListener)

func (*KeyValueContext) ExitRule

func (s *KeyValueContext) ExitRule(listener antlr.ParseTreeListener)

func (*KeyValueContext) GetParser

func (s *KeyValueContext) GetParser() antlr.Parser

func (*KeyValueContext) GetRuleContext

func (s *KeyValueContext) GetRuleContext() antlr.RuleContext

func (*KeyValueContext) IsKeyValueContext

func (*KeyValueContext) IsKeyValueContext()

func (*KeyValueContext) OptionName

func (s *KeyValueContext) OptionName() IOptionNameContext

func (*KeyValueContext) ToStringTree

func (s *KeyValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

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) COMMA

func (s *MapFieldContext) COMMA() antlr.TerminalNode

func (*MapFieldContext) EQ

func (*MapFieldContext) EnterRule

func (s *MapFieldContext) EnterRule(listener antlr.ParseTreeListener)

func (*MapFieldContext) ExitRule

func (s *MapFieldContext) ExitRule(listener antlr.ParseTreeListener)

func (*MapFieldContext) FieldOpts

func (s *MapFieldContext) FieldOpts() IFieldOptsContext

func (*MapFieldContext) FieldType

func (s *MapFieldContext) FieldType() IFieldTypeContext

func (*MapFieldContext) GetParser

func (s *MapFieldContext) GetParser() antlr.Parser

func (*MapFieldContext) GetRuleContext

func (s *MapFieldContext) GetRuleContext() antlr.RuleContext

func (*MapFieldContext) Ident

func (s *MapFieldContext) Ident() antlr.TerminalNode

func (*MapFieldContext) IntLit

func (s *MapFieldContext) IntLit() antlr.TerminalNode

func (*MapFieldContext) IsMapFieldContext

func (*MapFieldContext) IsMapFieldContext()

func (*MapFieldContext) KeyType

func (s *MapFieldContext) KeyType() IKeyTypeContext

func (*MapFieldContext) LBRACK

func (s *MapFieldContext) LBRACK() antlr.TerminalNode

func (*MapFieldContext) LCHEVR

func (s *MapFieldContext) LCHEVR() antlr.TerminalNode

func (*MapFieldContext) MAP

func (*MapFieldContext) RBRACK

func (s *MapFieldContext) RBRACK() antlr.TerminalNode

func (*MapFieldContext) RCHEVR

func (s *MapFieldContext) RCHEVR() antlr.TerminalNode

func (*MapFieldContext) SEMI

func (*MapFieldContext) ToStringTree

func (s *MapFieldContext) 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) 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) Ident

func (s *MessageContext) Ident() antlr.TerminalNode

func (*MessageContext) IsMessageContext

func (*MessageContext) IsMessageContext()

func (*MessageContext) MESSAGE

func (s *MessageContext) MESSAGE() antlr.TerminalNode

func (*MessageContext) MessageDecl

func (s *MessageContext) MessageDecl() IMessageDeclContext

func (*MessageContext) ToStringTree

func (s *MessageContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type MessageDeclContext

type MessageDeclContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyMessageDeclContext

func NewEmptyMessageDeclContext() *MessageDeclContext

func NewMessageDeclContext

func NewMessageDeclContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MessageDeclContext

func (*MessageDeclContext) AllEnum

func (s *MessageDeclContext) AllEnum() []IEnumContext

func (*MessageDeclContext) AllField

func (s *MessageDeclContext) AllField() []IFieldContext

func (*MessageDeclContext) AllMapField

func (s *MessageDeclContext) AllMapField() []IMapFieldContext

func (*MessageDeclContext) AllMessage

func (s *MessageDeclContext) AllMessage() []IMessageContext

func (*MessageDeclContext) AllOneof

func (s *MessageDeclContext) AllOneof() []IOneofContext

func (*MessageDeclContext) AllOption

func (s *MessageDeclContext) AllOption() []IOptionContext

func (*MessageDeclContext) AllReserved

func (s *MessageDeclContext) AllReserved() []IReservedContext

func (*MessageDeclContext) AllSEMI

func (s *MessageDeclContext) AllSEMI() []antlr.TerminalNode

func (*MessageDeclContext) EnterRule

func (s *MessageDeclContext) EnterRule(listener antlr.ParseTreeListener)

func (*MessageDeclContext) Enum

func (s *MessageDeclContext) Enum(i int) IEnumContext

func (*MessageDeclContext) ExitRule

func (s *MessageDeclContext) ExitRule(listener antlr.ParseTreeListener)

func (*MessageDeclContext) Field

func (s *MessageDeclContext) Field(i int) IFieldContext

func (*MessageDeclContext) GetParser

func (s *MessageDeclContext) GetParser() antlr.Parser

func (*MessageDeclContext) GetRuleContext

func (s *MessageDeclContext) GetRuleContext() antlr.RuleContext

func (*MessageDeclContext) IsMessageDeclContext

func (*MessageDeclContext) IsMessageDeclContext()

func (*MessageDeclContext) LBRACE

func (*MessageDeclContext) MapField

func (s *MessageDeclContext) MapField(i int) IMapFieldContext

func (*MessageDeclContext) Message

func (s *MessageDeclContext) Message(i int) IMessageContext

func (*MessageDeclContext) Oneof

func (s *MessageDeclContext) Oneof(i int) IOneofContext

func (*MessageDeclContext) Option

func (s *MessageDeclContext) Option(i int) IOptionContext

func (*MessageDeclContext) RBRACE

func (*MessageDeclContext) Reserved

func (s *MessageDeclContext) Reserved(i int) IReservedContext

func (*MessageDeclContext) SEMI

func (*MessageDeclContext) ToStringTree

func (s *MessageDeclContext) 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) AllDOT

func (*MessageOrEnumTypeContext) AllIdent

func (*MessageOrEnumTypeContext) AllReservedWord

func (s *MessageOrEnumTypeContext) AllReservedWord() []IReservedWordContext

func (*MessageOrEnumTypeContext) DOT

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 (*MessageOrEnumTypeContext) IsMessageOrEnumTypeContext

func (*MessageOrEnumTypeContext) IsMessageOrEnumTypeContext()

func (*MessageOrEnumTypeContext) ReservedWord

func (*MessageOrEnumTypeContext) ToStringTree

func (s *MessageOrEnumTypeContext) 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) AllOneofField

func (s *OneofContext) AllOneofField() []IOneofFieldContext

func (*OneofContext) AllSEMI

func (s *OneofContext) AllSEMI() []antlr.TerminalNode

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) Ident

func (s *OneofContext) Ident() antlr.TerminalNode

func (*OneofContext) IsOneofContext

func (*OneofContext) IsOneofContext()

func (*OneofContext) LBRACE

func (s *OneofContext) LBRACE() antlr.TerminalNode

func (*OneofContext) ONEOF

func (s *OneofContext) ONEOF() antlr.TerminalNode

func (*OneofContext) OneofField

func (s *OneofContext) OneofField(i int) IOneofFieldContext

func (*OneofContext) RBRACE

func (s *OneofContext) RBRACE() antlr.TerminalNode

func (*OneofContext) SEMI

func (s *OneofContext) SEMI(i int) antlr.TerminalNode

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) EQ

func (*OneofFieldContext) EnterRule

func (s *OneofFieldContext) EnterRule(listener antlr.ParseTreeListener)

func (*OneofFieldContext) ExitRule

func (s *OneofFieldContext) ExitRule(listener antlr.ParseTreeListener)

func (*OneofFieldContext) FieldOpts

func (s *OneofFieldContext) FieldOpts() IFieldOptsContext

func (*OneofFieldContext) FieldType

func (s *OneofFieldContext) FieldType() IFieldTypeContext

func (*OneofFieldContext) GetParser

func (s *OneofFieldContext) GetParser() antlr.Parser

func (*OneofFieldContext) GetRuleContext

func (s *OneofFieldContext) GetRuleContext() antlr.RuleContext

func (*OneofFieldContext) Ident

func (*OneofFieldContext) IntLit

func (s *OneofFieldContext) IntLit() antlr.TerminalNode

func (*OneofFieldContext) IsOneofFieldContext

func (*OneofFieldContext) IsOneofFieldContext()

func (*OneofFieldContext) LBRACK

func (s *OneofFieldContext) LBRACK() antlr.TerminalNode

func (*OneofFieldContext) RBRACK

func (s *OneofFieldContext) RBRACK() antlr.TerminalNode

func (*OneofFieldContext) ReservedWord

func (s *OneofFieldContext) ReservedWord() IReservedWordContext

func (*OneofFieldContext) SEMI

func (*OneofFieldContext) ToStringTree

func (s *OneofFieldContext) 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) Constant

func (s *OptionContext) Constant() IConstantContext

func (*OptionContext) EQ

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) OptionDecl

func (s *OptionContext) OptionDecl() IOptionDeclContext

func (*OptionContext) OptionName

func (s *OptionContext) OptionName() IOptionNameContext

func (*OptionContext) SEMI

func (s *OptionContext) SEMI() antlr.TerminalNode

func (*OptionContext) ToStringTree

func (s *OptionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type OptionDeclContext

type OptionDeclContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyOptionDeclContext

func NewEmptyOptionDeclContext() *OptionDeclContext

func NewOptionDeclContext

func NewOptionDeclContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *OptionDeclContext

func (*OptionDeclContext) AllOptionDeclVar

func (s *OptionDeclContext) AllOptionDeclVar() []IOptionDeclVarContext

func (*OptionDeclContext) EnterRule

func (s *OptionDeclContext) EnterRule(listener antlr.ParseTreeListener)

func (*OptionDeclContext) ExitRule

func (s *OptionDeclContext) ExitRule(listener antlr.ParseTreeListener)

func (*OptionDeclContext) GetParser

func (s *OptionDeclContext) GetParser() antlr.Parser

func (*OptionDeclContext) GetRuleContext

func (s *OptionDeclContext) GetRuleContext() antlr.RuleContext

func (*OptionDeclContext) IsOptionDeclContext

func (*OptionDeclContext) IsOptionDeclContext()

func (*OptionDeclContext) LBRACE

func (s *OptionDeclContext) LBRACE() antlr.TerminalNode

func (*OptionDeclContext) OptionDeclVar

func (s *OptionDeclContext) OptionDeclVar(i int) IOptionDeclVarContext

func (*OptionDeclContext) RBRACE

func (s *OptionDeclContext) RBRACE() antlr.TerminalNode

func (*OptionDeclContext) ToStringTree

func (s *OptionDeclContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type OptionDeclVarContext

type OptionDeclVarContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyOptionDeclVarContext

func NewEmptyOptionDeclVarContext() *OptionDeclVarContext

func NewOptionDeclVarContext

func NewOptionDeclVarContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *OptionDeclVarContext

func (*OptionDeclVarContext) Constant

func (s *OptionDeclVarContext) Constant() IConstantContext

func (*OptionDeclVarContext) EnterRule

func (s *OptionDeclVarContext) EnterRule(listener antlr.ParseTreeListener)

func (*OptionDeclVarContext) ExitRule

func (s *OptionDeclVarContext) ExitRule(listener antlr.ParseTreeListener)

func (*OptionDeclVarContext) GetParser

func (s *OptionDeclVarContext) GetParser() antlr.Parser

func (*OptionDeclVarContext) GetRuleContext

func (s *OptionDeclVarContext) GetRuleContext() antlr.RuleContext

func (*OptionDeclVarContext) IsOptionDeclVarContext

func (*OptionDeclVarContext) IsOptionDeclVarContext()

func (*OptionDeclVarContext) OptionName

func (s *OptionDeclVarContext) OptionName() IOptionNameContext

func (*OptionDeclVarContext) ToStringTree

func (s *OptionDeclVarContext) 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) AllDOT

func (s *OptionNameContext) AllDOT() []antlr.TerminalNode

func (*OptionNameContext) AllIdent

func (s *OptionNameContext) AllIdent() []antlr.TerminalNode

func (*OptionNameContext) AllReservedWord

func (s *OptionNameContext) AllReservedWord() []IReservedWordContext

func (*OptionNameContext) DOT

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 (*OptionNameContext) IsOptionNameContext

func (*OptionNameContext) IsOptionNameContext()

func (*OptionNameContext) LPAREN

func (s *OptionNameContext) LPAREN() antlr.TerminalNode

func (*OptionNameContext) RPAREN

func (s *OptionNameContext) RPAREN() antlr.TerminalNode

func (*OptionNameContext) ReservedWord

func (s *OptionNameContext) ReservedWord(i int) IReservedWordContext

func (*OptionNameContext) ToStringTree

func (s *OptionNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type PackageNameContext

type PackageNameContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyPackageNameContext

func NewEmptyPackageNameContext() *PackageNameContext

func NewPackageNameContext

func NewPackageNameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PackageNameContext

func (*PackageNameContext) EnterRule

func (s *PackageNameContext) EnterRule(listener antlr.ParseTreeListener)

func (*PackageNameContext) ExitRule

func (s *PackageNameContext) ExitRule(listener antlr.ParseTreeListener)

func (*PackageNameContext) FullIdent

func (s *PackageNameContext) FullIdent() IFullIdentContext

func (*PackageNameContext) GetParser

func (s *PackageNameContext) GetParser() antlr.Parser

func (*PackageNameContext) GetRuleContext

func (s *PackageNameContext) GetRuleContext() antlr.RuleContext

func (*PackageNameContext) IsPackageNameContext

func (*PackageNameContext) IsPackageNameContext()

func (*PackageNameContext) PACKAGE

func (s *PackageNameContext) PACKAGE() antlr.TerminalNode

func (*PackageNameContext) SEMI

func (*PackageNameContext) ToStringTree

func (s *PackageNameContext) 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) AllEnum

func (s *ProtoContext) AllEnum() []IEnumContext

func (*ProtoContext) AllExtend

func (s *ProtoContext) AllExtend() []IExtendContext

func (*ProtoContext) AllImports

func (s *ProtoContext) AllImports() []IImportsContext

func (*ProtoContext) AllMessage

func (s *ProtoContext) AllMessage() []IMessageContext

func (*ProtoContext) AllOption

func (s *ProtoContext) AllOption() []IOptionContext

func (*ProtoContext) AllPackageName

func (s *ProtoContext) AllPackageName() []IPackageNameContext

func (*ProtoContext) AllSEMI

func (s *ProtoContext) AllSEMI() []antlr.TerminalNode

func (*ProtoContext) AllService

func (s *ProtoContext) AllService() []IServiceContext

func (*ProtoContext) EOF

func (s *ProtoContext) EOF() antlr.TerminalNode

func (*ProtoContext) EnterRule

func (s *ProtoContext) EnterRule(listener antlr.ParseTreeListener)

func (*ProtoContext) Enum

func (s *ProtoContext) Enum(i int) IEnumContext

func (*ProtoContext) ExitRule

func (s *ProtoContext) ExitRule(listener antlr.ParseTreeListener)

func (*ProtoContext) Extend

func (s *ProtoContext) Extend(i int) IExtendContext

func (*ProtoContext) GetParser

func (s *ProtoContext) GetParser() antlr.Parser

func (*ProtoContext) GetRuleContext

func (s *ProtoContext) GetRuleContext() antlr.RuleContext

func (*ProtoContext) Imports

func (s *ProtoContext) Imports(i int) IImportsContext

func (*ProtoContext) IsProtoContext

func (*ProtoContext) IsProtoContext()

func (*ProtoContext) Message

func (s *ProtoContext) Message(i int) IMessageContext

func (*ProtoContext) Option

func (s *ProtoContext) Option(i int) IOptionContext

func (*ProtoContext) PackageName

func (s *ProtoContext) PackageName(i int) IPackageNameContext

func (*ProtoContext) SEMI

func (s *ProtoContext) SEMI(i int) antlr.TerminalNode

func (*ProtoContext) Service

func (s *ProtoContext) Service(i int) IServiceContext

func (*ProtoContext) Syntax

func (s *ProtoContext) Syntax() ISyntaxContext

func (*ProtoContext) ToStringTree

func (s *ProtoContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type RangeDefContext

type RangeDefContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyRangeDefContext

func NewEmptyRangeDefContext() *RangeDefContext

func NewRangeDefContext

func NewRangeDefContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RangeDefContext

func (*RangeDefContext) AllIntLit

func (s *RangeDefContext) AllIntLit() []antlr.TerminalNode

func (*RangeDefContext) EnterRule

func (s *RangeDefContext) EnterRule(listener antlr.ParseTreeListener)

func (*RangeDefContext) ExitRule

func (s *RangeDefContext) ExitRule(listener antlr.ParseTreeListener)

func (*RangeDefContext) GetParser

func (s *RangeDefContext) GetParser() antlr.Parser

func (*RangeDefContext) GetRuleContext

func (s *RangeDefContext) GetRuleContext() antlr.RuleContext

func (*RangeDefContext) IntLit

func (s *RangeDefContext) IntLit(i int) antlr.TerminalNode

func (*RangeDefContext) IsRangeDefContext

func (*RangeDefContext) IsRangeDefContext()

func (*RangeDefContext) TO

func (*RangeDefContext) ToStringTree

func (s *RangeDefContext) 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) AllCOMMA

func (s *RangesContext) AllCOMMA() []antlr.TerminalNode

func (*RangesContext) AllRangeDef

func (s *RangesContext) AllRangeDef() []IRangeDefContext

func (*RangesContext) COMMA

func (s *RangesContext) COMMA(i int) antlr.TerminalNode

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) RangeDef

func (s *RangesContext) RangeDef(i int) IRangeDefContext

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) 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) SEMI

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) EXTEND

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 (*ReservedWordContext) PACKAGE

func (s *ReservedWordContext) PACKAGE() antlr.TerminalNode

func (*ReservedWordContext) RPC

func (*ReservedWordContext) SERVICE

func (s *ReservedWordContext) SERVICE() antlr.TerminalNode

func (*ReservedWordContext) STREAM

func (*ReservedWordContext) STRING

func (*ReservedWordContext) SYNTAX

func (*ReservedWordContext) ToStringTree

func (s *ReservedWordContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*ReservedWordContext) WEAK

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) AllDOT

func (s *RpcContext) AllDOT() []antlr.TerminalNode

func (*RpcContext) AllLPAREN

func (s *RpcContext) AllLPAREN() []antlr.TerminalNode

func (*RpcContext) AllOption

func (s *RpcContext) AllOption() []IOptionContext

func (*RpcContext) AllRPAREN

func (s *RpcContext) AllRPAREN() []antlr.TerminalNode

func (*RpcContext) AllSEMI

func (s *RpcContext) AllSEMI() []antlr.TerminalNode

func (*RpcContext) ClientStreams

func (s *RpcContext) ClientStreams() IClientStreamsContext

func (*RpcContext) DOT

func (s *RpcContext) DOT(i int) antlr.TerminalNode

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) LBRACE

func (s *RpcContext) LBRACE() antlr.TerminalNode

func (*RpcContext) LPAREN

func (s *RpcContext) LPAREN(i int) antlr.TerminalNode

func (*RpcContext) Option

func (s *RpcContext) Option(i int) IOptionContext

func (*RpcContext) RBRACE

func (s *RpcContext) RBRACE() antlr.TerminalNode

func (*RpcContext) RETURNS

func (s *RpcContext) RETURNS() antlr.TerminalNode

func (*RpcContext) RPAREN

func (s *RpcContext) RPAREN(i int) antlr.TerminalNode

func (*RpcContext) RPC

func (s *RpcContext) RPC() antlr.TerminalNode

func (*RpcContext) RpcName

func (s *RpcContext) RpcName() IRpcNameContext

func (*RpcContext) RpcParams

func (s *RpcContext) RpcParams() IRpcParamsContext

func (*RpcContext) RpcReturns

func (s *RpcContext) RpcReturns() IRpcReturnsContext

func (*RpcContext) SEMI

func (s *RpcContext) SEMI(i int) antlr.TerminalNode

func (*RpcContext) ServerStreams

func (s *RpcContext) ServerStreams() IServerStreamsContext

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) 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 RpcParamsContext

type RpcParamsContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyRpcParamsContext

func NewEmptyRpcParamsContext() *RpcParamsContext

func NewRpcParamsContext

func NewRpcParamsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RpcParamsContext

func (*RpcParamsContext) AllDOT

func (s *RpcParamsContext) AllDOT() []antlr.TerminalNode

func (*RpcParamsContext) AllIdent

func (s *RpcParamsContext) AllIdent() []antlr.TerminalNode

func (*RpcParamsContext) DOT

func (*RpcParamsContext) EnterRule

func (s *RpcParamsContext) EnterRule(listener antlr.ParseTreeListener)

func (*RpcParamsContext) ExitRule

func (s *RpcParamsContext) ExitRule(listener antlr.ParseTreeListener)

func (*RpcParamsContext) GetParser

func (s *RpcParamsContext) GetParser() antlr.Parser

func (*RpcParamsContext) GetRuleContext

func (s *RpcParamsContext) GetRuleContext() antlr.RuleContext

func (*RpcParamsContext) Ident

func (s *RpcParamsContext) Ident(i int) antlr.TerminalNode

func (*RpcParamsContext) IsRpcParamsContext

func (*RpcParamsContext) IsRpcParamsContext()

func (*RpcParamsContext) ToStringTree

func (s *RpcParamsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type RpcReturnsContext

type RpcReturnsContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyRpcReturnsContext

func NewEmptyRpcReturnsContext() *RpcReturnsContext

func NewRpcReturnsContext

func NewRpcReturnsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RpcReturnsContext

func (*RpcReturnsContext) AllDOT

func (s *RpcReturnsContext) AllDOT() []antlr.TerminalNode

func (*RpcReturnsContext) AllIdent

func (s *RpcReturnsContext) AllIdent() []antlr.TerminalNode

func (*RpcReturnsContext) DOT

func (*RpcReturnsContext) EnterRule

func (s *RpcReturnsContext) EnterRule(listener antlr.ParseTreeListener)

func (*RpcReturnsContext) ExitRule

func (s *RpcReturnsContext) ExitRule(listener antlr.ParseTreeListener)

func (*RpcReturnsContext) GetParser

func (s *RpcReturnsContext) GetParser() antlr.Parser

func (*RpcReturnsContext) GetRuleContext

func (s *RpcReturnsContext) GetRuleContext() antlr.RuleContext

func (*RpcReturnsContext) Ident

func (*RpcReturnsContext) IsRpcReturnsContext

func (*RpcReturnsContext) IsRpcReturnsContext()

func (*RpcReturnsContext) ToStringTree

func (s *RpcReturnsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ServerStreamsContext

type ServerStreamsContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyServerStreamsContext

func NewEmptyServerStreamsContext() *ServerStreamsContext

func NewServerStreamsContext

func NewServerStreamsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ServerStreamsContext

func (*ServerStreamsContext) EnterRule

func (s *ServerStreamsContext) EnterRule(listener antlr.ParseTreeListener)

func (*ServerStreamsContext) ExitRule

func (s *ServerStreamsContext) ExitRule(listener antlr.ParseTreeListener)

func (*ServerStreamsContext) GetParser

func (s *ServerStreamsContext) GetParser() antlr.Parser

func (*ServerStreamsContext) GetRuleContext

func (s *ServerStreamsContext) GetRuleContext() antlr.RuleContext

func (*ServerStreamsContext) IsServerStreamsContext

func (*ServerStreamsContext) IsServerStreamsContext()

func (*ServerStreamsContext) STREAM

func (*ServerStreamsContext) ToStringTree

func (s *ServerStreamsContext) 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) AllOption

func (s *ServiceContext) AllOption() []IOptionContext

func (*ServiceContext) AllRpc

func (s *ServiceContext) AllRpc() []IRpcContext

func (*ServiceContext) AllSEMI

func (s *ServiceContext) AllSEMI() []antlr.TerminalNode

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) Ident

func (s *ServiceContext) Ident() antlr.TerminalNode

func (*ServiceContext) IsServiceContext

func (*ServiceContext) IsServiceContext()

func (*ServiceContext) LBRACE

func (s *ServiceContext) LBRACE() antlr.TerminalNode

func (*ServiceContext) Option

func (s *ServiceContext) Option(i int) IOptionContext

func (*ServiceContext) RBRACE

func (s *ServiceContext) RBRACE() antlr.TerminalNode

func (*ServiceContext) Rpc

func (s *ServiceContext) Rpc(i int) IRpcContext

func (*ServiceContext) SEMI

func (s *ServiceContext) SEMI(i int) antlr.TerminalNode

func (*ServiceContext) SERVICE

func (s *ServiceContext) SERVICE() antlr.TerminalNode

func (*ServiceContext) ToStringTree

func (s *ServiceContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

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) EQ

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) SEMI

func (s *SyntaxContext) SEMI() antlr.TerminalNode

func (*SyntaxContext) SYNTAX

func (s *SyntaxContext) SYNTAX() antlr.TerminalNode

func (*SyntaxContext) ToStringTree

func (s *SyntaxContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL