Documentation
¶
Index ¶
- Constants
- Variables
- func InitEmptyConfigContext(p *ConfigContext)
- func InitEmptyDaemon_stmtContext(p *Daemon_stmtContext)
- func InitEmptyGen_typeContext(p *Gen_typeContext)
- func InitEmptyName_blockContext(p *Name_blockContext)
- func InitEmptyName_elt_listContext(p *Name_elt_listContext)
- func InitEmptyName_listContext(p *Name_listContext)
- func InitEmptyPass_blockContext(p *Pass_blockContext)
- func InitEmptyPass_stmtContext(p *Pass_stmtContext)
- func NewpkscLexer(input antlr.CharStream) *pkscLexer
- func NewpkscParser(input antlr.TokenStream) *pkscParser
- func PkscLexerInit()
- func PkscParserInit()
- type BasepkscListener
- func (s *BasepkscListener) EnterConfig(ctx *ConfigContext)
- func (s *BasepkscListener) EnterDaemon_stmt(ctx *Daemon_stmtContext)
- func (s *BasepkscListener) EnterEveryRule(ctx antlr.ParserRuleContext)
- func (s *BasepkscListener) EnterGen_type(ctx *Gen_typeContext)
- func (s *BasepkscListener) EnterName_block(ctx *Name_blockContext)
- func (s *BasepkscListener) EnterName_elt_list(ctx *Name_elt_listContext)
- func (s *BasepkscListener) EnterName_list(ctx *Name_listContext)
- func (s *BasepkscListener) EnterPass_block(ctx *Pass_blockContext)
- func (s *BasepkscListener) EnterPass_stmt(ctx *Pass_stmtContext)
- func (s *BasepkscListener) ExitConfig(ctx *ConfigContext)
- func (s *BasepkscListener) ExitDaemon_stmt(ctx *Daemon_stmtContext)
- func (s *BasepkscListener) ExitEveryRule(ctx antlr.ParserRuleContext)
- func (s *BasepkscListener) ExitGen_type(ctx *Gen_typeContext)
- func (s *BasepkscListener) ExitName_block(ctx *Name_blockContext)
- func (s *BasepkscListener) ExitName_elt_list(ctx *Name_elt_listContext)
- func (s *BasepkscListener) ExitName_list(ctx *Name_listContext)
- func (s *BasepkscListener) ExitPass_block(ctx *Pass_blockContext)
- func (s *BasepkscListener) ExitPass_stmt(ctx *Pass_stmtContext)
- func (s *BasepkscListener) VisitErrorNode(node antlr.ErrorNode)
- func (s *BasepkscListener) VisitTerminal(node antlr.TerminalNode)
- type Config
- type ConfigContext
- func (s *ConfigContext) AllCOMMENT() []antlr.TerminalNode
- func (s *ConfigContext) AllDaemon_stmt() []IDaemon_stmtContext
- func (s *ConfigContext) AllLINE_COMMENT() []antlr.TerminalNode
- func (s *ConfigContext) COMMENT(i int) antlr.TerminalNode
- func (s *ConfigContext) Daemon_stmt(i int) IDaemon_stmtContext
- func (s *ConfigContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ConfigContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ConfigContext) GetParser() antlr.Parser
- func (s *ConfigContext) GetRuleContext() antlr.RuleContext
- func (*ConfigContext) IsConfigContext()
- func (s *ConfigContext) LINE_COMMENT(i int) antlr.TerminalNode
- func (s *ConfigContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Daemon_stmtContext
- func (s *Daemon_stmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Daemon_stmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Daemon_stmtContext) Gen_type() IGen_typeContext
- func (s *Daemon_stmtContext) GetParser() antlr.Parser
- func (s *Daemon_stmtContext) GetRuleContext() antlr.RuleContext
- func (s *Daemon_stmtContext) HNAME() antlr.TerminalNode
- func (*Daemon_stmtContext) IsDaemon_stmtContext()
- func (s *Daemon_stmtContext) KWDAEMON() antlr.TerminalNode
- func (s *Daemon_stmtContext) KWPATH() antlr.TerminalNode
- func (s *Daemon_stmtContext) KWUSE() antlr.TerminalNode
- func (s *Daemon_stmtContext) PATH() antlr.TerminalNode
- func (s *Daemon_stmtContext) Pass_block() IPass_blockContext
- func (s *Daemon_stmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Gen_typeContext
- func (s *Gen_typeContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Gen_typeContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Gen_typeContext) GetParser() antlr.Parser
- func (s *Gen_typeContext) GetRuleContext() antlr.RuleContext
- func (*Gen_typeContext) IsGen_typeContext()
- func (s *Gen_typeContext) KWGOGRPC() antlr.TerminalNode
- func (s *Gen_typeContext) KWGOTLS() antlr.TerminalNode
- func (s *Gen_typeContext) KWPEM() antlr.TerminalNode
- func (s *Gen_typeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type IConfigContext
- type IDaemon_stmtContext
- type IGen_typeContext
- type IName_blockContext
- type IName_elt_listContext
- type IName_listContext
- type IPass_blockContext
- type IPass_stmtContext
- type Name_blockContext
- func (s *Name_blockContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Name_blockContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Name_blockContext) GetParser() antlr.Parser
- func (s *Name_blockContext) GetRuleContext() antlr.RuleContext
- func (s *Name_blockContext) HNAME() antlr.TerminalNode
- func (*Name_blockContext) IsName_blockContext()
- func (s *Name_blockContext) KWANY() antlr.TerminalNode
- func (s *Name_blockContext) Name_list() IName_listContext
- func (s *Name_blockContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Name_elt_listContext
- func (s *Name_elt_listContext) AllCOMMA() []antlr.TerminalNode
- func (s *Name_elt_listContext) AllHNAME() []antlr.TerminalNode
- func (s *Name_elt_listContext) COMMA(i int) antlr.TerminalNode
- func (s *Name_elt_listContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Name_elt_listContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Name_elt_listContext) GetParser() antlr.Parser
- func (s *Name_elt_listContext) GetRuleContext() antlr.RuleContext
- func (s *Name_elt_listContext) HNAME(i int) antlr.TerminalNode
- func (*Name_elt_listContext) IsName_elt_listContext()
- func (s *Name_elt_listContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Name_listContext
- func (s *Name_listContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Name_listContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Name_listContext) GetParser() antlr.Parser
- func (s *Name_listContext) GetRuleContext() antlr.RuleContext
- func (*Name_listContext) IsName_listContext()
- func (s *Name_listContext) LCURLY() antlr.TerminalNode
- func (s *Name_listContext) Name_elt_list() IName_elt_listContext
- func (s *Name_listContext) RCURLY() antlr.TerminalNode
- func (s *Name_listContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Options
- type Parser
- type Pass_blockContext
- func (s *Pass_blockContext) AllPass_stmt() []IPass_stmtContext
- func (s *Pass_blockContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Pass_blockContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Pass_blockContext) GetParser() antlr.Parser
- func (s *Pass_blockContext) GetRuleContext() antlr.RuleContext
- func (*Pass_blockContext) IsPass_blockContext()
- func (s *Pass_blockContext) LCURLY() antlr.TerminalNode
- func (s *Pass_blockContext) Pass_stmt(i int) IPass_stmtContext
- func (s *Pass_blockContext) RCURLY() antlr.TerminalNode
- func (s *Pass_blockContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Pass_stmtContext
- func (s *Pass_stmtContext) AllName_block() []IName_blockContext
- func (s *Pass_stmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Pass_stmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Pass_stmtContext) GetParser() antlr.Parser
- func (s *Pass_stmtContext) GetRuleContext() antlr.RuleContext
- func (*Pass_stmtContext) IsPass_stmtContext()
- func (s *Pass_stmtContext) KWDBG() antlr.TerminalNode
- func (s *Pass_stmtContext) KWON() antlr.TerminalNode
- func (s *Pass_stmtContext) KWPASS() antlr.TerminalNode
- func (s *Pass_stmtContext) KWRPC() antlr.TerminalNode
- func (s *Pass_stmtContext) Name_block(i int) IName_blockContext
- func (s *Pass_stmtContext) SEMI() antlr.TerminalNode
- func (s *Pass_stmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
Constants ¶
const ( FlavorGoTLS int = 1 << iota FlavorGoGRPC FlavorPEM FlavorJavaGRPC FlavorJavaTLS FlavorCppGRPC FlavorCppSocketOSSL FlavorCSocketOSSL )
const (
FlavorNone = 0
)
Variables ¶
var PkscLexerLexerStaticData struct { ChannelNames []string ModeNames []string LiteralNames []string SymbolicNames []string RuleNames []string PredictionContextCache *antlr.PredictionContextCache // contains filtered or unexported fields }
var PkscParserStaticData struct { LiteralNames []string SymbolicNames []string RuleNames []string PredictionContextCache *antlr.PredictionContextCache // contains filtered or unexported fields }
Functions ¶
func InitEmptyConfigContext ¶ added in v0.2.2
func InitEmptyConfigContext(p *ConfigContext)
func InitEmptyDaemon_stmtContext ¶ added in v0.2.2
func InitEmptyDaemon_stmtContext(p *Daemon_stmtContext)
func InitEmptyGen_typeContext ¶ added in v0.2.2
func InitEmptyGen_typeContext(p *Gen_typeContext)
func InitEmptyName_blockContext ¶ added in v0.2.2
func InitEmptyName_blockContext(p *Name_blockContext)
func InitEmptyName_elt_listContext ¶ added in v0.2.2
func InitEmptyName_elt_listContext(p *Name_elt_listContext)
func InitEmptyName_listContext ¶ added in v0.2.2
func InitEmptyName_listContext(p *Name_listContext)
func InitEmptyPass_blockContext ¶ added in v0.2.2
func InitEmptyPass_blockContext(p *Pass_blockContext)
func InitEmptyPass_stmtContext ¶ added in v0.2.2
func InitEmptyPass_stmtContext(p *Pass_stmtContext)
func NewpkscLexer ¶
func NewpkscLexer(input antlr.CharStream) *pkscLexer
NewpkscLexer produces a new lexer instance for the optional input antlr.CharStream.
func NewpkscParser ¶
func NewpkscParser(input antlr.TokenStream) *pkscParser
NewpkscParser produces a new parser instance for the optional input antlr.TokenStream.
func PkscLexerInit ¶ added in v0.2.2
func PkscLexerInit()
pkscLexerInit initializes any static state used to implement pkscLexer. By default the static state used to implement the lexer is lazily initialized during the first call to NewpkscLexer(). You can call this function if you wish to initialize the static state ahead of time.
func PkscParserInit ¶ added in v0.2.2
func PkscParserInit()
pkscParserInit initializes any static state used to implement pkscParser. By default the static state used to implement the parser is lazily initialized during the first call to NewpkscParser(). You can call this function if you wish to initialize the static state ahead of time.
Types ¶
type BasepkscListener ¶
type BasepkscListener struct{}
BasepkscListener is a complete listener for a parse tree produced by pkscParser.
func (*BasepkscListener) EnterConfig ¶
func (s *BasepkscListener) EnterConfig(ctx *ConfigContext)
EnterConfig is called when production config is entered.
func (*BasepkscListener) EnterDaemon_stmt ¶
func (s *BasepkscListener) EnterDaemon_stmt(ctx *Daemon_stmtContext)
EnterDaemon_stmt is called when production daemon_stmt is entered.
func (*BasepkscListener) EnterEveryRule ¶
func (s *BasepkscListener) EnterEveryRule(ctx antlr.ParserRuleContext)
EnterEveryRule is called when any rule is entered.
func (*BasepkscListener) EnterGen_type ¶
func (s *BasepkscListener) EnterGen_type(ctx *Gen_typeContext)
EnterGen_type is called when production gen_type is entered.
func (*BasepkscListener) EnterName_block ¶
func (s *BasepkscListener) EnterName_block(ctx *Name_blockContext)
EnterName_block is called when production name_block is entered.
func (*BasepkscListener) EnterName_elt_list ¶
func (s *BasepkscListener) EnterName_elt_list(ctx *Name_elt_listContext)
EnterName_elt_list is called when production name_elt_list is entered.
func (*BasepkscListener) EnterName_list ¶
func (s *BasepkscListener) EnterName_list(ctx *Name_listContext)
EnterName_list is called when production name_list is entered.
func (*BasepkscListener) EnterPass_block ¶
func (s *BasepkscListener) EnterPass_block(ctx *Pass_blockContext)
EnterPass_block is called when production pass_block is entered.
func (*BasepkscListener) EnterPass_stmt ¶
func (s *BasepkscListener) EnterPass_stmt(ctx *Pass_stmtContext)
EnterPass_stmt is called when production pass_stmt is entered.
func (*BasepkscListener) ExitConfig ¶
func (s *BasepkscListener) ExitConfig(ctx *ConfigContext)
ExitConfig is called when production config is exited.
func (*BasepkscListener) ExitDaemon_stmt ¶
func (s *BasepkscListener) ExitDaemon_stmt(ctx *Daemon_stmtContext)
ExitDaemon_stmt is called when production daemon_stmt is exited.
func (*BasepkscListener) ExitEveryRule ¶
func (s *BasepkscListener) ExitEveryRule(ctx antlr.ParserRuleContext)
ExitEveryRule is called when any rule is exited.
func (*BasepkscListener) ExitGen_type ¶
func (s *BasepkscListener) ExitGen_type(ctx *Gen_typeContext)
ExitGen_type is called when production gen_type is exited.
func (*BasepkscListener) ExitName_block ¶
func (s *BasepkscListener) ExitName_block(ctx *Name_blockContext)
ExitName_block is called when production name_block is exited.
func (*BasepkscListener) ExitName_elt_list ¶
func (s *BasepkscListener) ExitName_elt_list(ctx *Name_elt_listContext)
ExitName_elt_list is called when production name_elt_list is exited.
func (*BasepkscListener) ExitName_list ¶
func (s *BasepkscListener) ExitName_list(ctx *Name_listContext)
ExitName_list is called when production name_list is exited.
func (*BasepkscListener) ExitPass_block ¶
func (s *BasepkscListener) ExitPass_block(ctx *Pass_blockContext)
ExitPass_block is called when production pass_block is exited.
func (*BasepkscListener) ExitPass_stmt ¶
func (s *BasepkscListener) ExitPass_stmt(ctx *Pass_stmtContext)
ExitPass_stmt is called when production pass_stmt is exited.
func (*BasepkscListener) VisitErrorNode ¶
func (s *BasepkscListener) VisitErrorNode(node antlr.ErrorNode)
VisitErrorNode is called when an error node is visited.
func (*BasepkscListener) VisitTerminal ¶
func (s *BasepkscListener) VisitTerminal(node antlr.TerminalNode)
VisitTerminal is called when a terminal node is visited.
type ConfigContext ¶
type ConfigContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewConfigContext ¶
func NewConfigContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ConfigContext
func NewEmptyConfigContext ¶
func NewEmptyConfigContext() *ConfigContext
func (*ConfigContext) AllCOMMENT ¶
func (s *ConfigContext) AllCOMMENT() []antlr.TerminalNode
func (*ConfigContext) AllDaemon_stmt ¶
func (s *ConfigContext) AllDaemon_stmt() []IDaemon_stmtContext
func (*ConfigContext) AllLINE_COMMENT ¶
func (s *ConfigContext) AllLINE_COMMENT() []antlr.TerminalNode
func (*ConfigContext) COMMENT ¶
func (s *ConfigContext) COMMENT(i int) antlr.TerminalNode
func (*ConfigContext) Daemon_stmt ¶
func (s *ConfigContext) Daemon_stmt(i int) IDaemon_stmtContext
func (*ConfigContext) EnterRule ¶
func (s *ConfigContext) EnterRule(listener antlr.ParseTreeListener)
func (*ConfigContext) ExitRule ¶
func (s *ConfigContext) ExitRule(listener antlr.ParseTreeListener)
func (*ConfigContext) GetParser ¶
func (s *ConfigContext) GetParser() antlr.Parser
func (*ConfigContext) GetRuleContext ¶
func (s *ConfigContext) GetRuleContext() antlr.RuleContext
func (*ConfigContext) IsConfigContext ¶
func (*ConfigContext) IsConfigContext()
func (*ConfigContext) LINE_COMMENT ¶
func (s *ConfigContext) LINE_COMMENT(i int) antlr.TerminalNode
func (*ConfigContext) ToStringTree ¶
func (s *ConfigContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Daemon_stmtContext ¶
type Daemon_stmtContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewDaemon_stmtContext ¶
func NewDaemon_stmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Daemon_stmtContext
func NewEmptyDaemon_stmtContext ¶
func NewEmptyDaemon_stmtContext() *Daemon_stmtContext
func (*Daemon_stmtContext) EnterRule ¶
func (s *Daemon_stmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*Daemon_stmtContext) ExitRule ¶
func (s *Daemon_stmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*Daemon_stmtContext) Gen_type ¶
func (s *Daemon_stmtContext) Gen_type() IGen_typeContext
func (*Daemon_stmtContext) GetParser ¶
func (s *Daemon_stmtContext) GetParser() antlr.Parser
func (*Daemon_stmtContext) GetRuleContext ¶
func (s *Daemon_stmtContext) GetRuleContext() antlr.RuleContext
func (*Daemon_stmtContext) HNAME ¶
func (s *Daemon_stmtContext) HNAME() antlr.TerminalNode
func (*Daemon_stmtContext) IsDaemon_stmtContext ¶
func (*Daemon_stmtContext) IsDaemon_stmtContext()
func (*Daemon_stmtContext) KWDAEMON ¶
func (s *Daemon_stmtContext) KWDAEMON() antlr.TerminalNode
func (*Daemon_stmtContext) KWPATH ¶
func (s *Daemon_stmtContext) KWPATH() antlr.TerminalNode
func (*Daemon_stmtContext) KWUSE ¶
func (s *Daemon_stmtContext) KWUSE() antlr.TerminalNode
func (*Daemon_stmtContext) PATH ¶
func (s *Daemon_stmtContext) PATH() antlr.TerminalNode
func (*Daemon_stmtContext) Pass_block ¶
func (s *Daemon_stmtContext) Pass_block() IPass_blockContext
func (*Daemon_stmtContext) ToStringTree ¶
func (s *Daemon_stmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Gen_typeContext ¶
type Gen_typeContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyGen_typeContext ¶
func NewEmptyGen_typeContext() *Gen_typeContext
func NewGen_typeContext ¶
func NewGen_typeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Gen_typeContext
func (*Gen_typeContext) EnterRule ¶
func (s *Gen_typeContext) EnterRule(listener antlr.ParseTreeListener)
func (*Gen_typeContext) ExitRule ¶
func (s *Gen_typeContext) ExitRule(listener antlr.ParseTreeListener)
func (*Gen_typeContext) GetParser ¶
func (s *Gen_typeContext) GetParser() antlr.Parser
func (*Gen_typeContext) GetRuleContext ¶
func (s *Gen_typeContext) GetRuleContext() antlr.RuleContext
func (*Gen_typeContext) IsGen_typeContext ¶
func (*Gen_typeContext) IsGen_typeContext()
func (*Gen_typeContext) KWGOGRPC ¶
func (s *Gen_typeContext) KWGOGRPC() antlr.TerminalNode
func (*Gen_typeContext) KWGOTLS ¶
func (s *Gen_typeContext) KWGOTLS() antlr.TerminalNode
func (*Gen_typeContext) KWPEM ¶
func (s *Gen_typeContext) KWPEM() antlr.TerminalNode
func (*Gen_typeContext) ToStringTree ¶
func (s *Gen_typeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type IConfigContext ¶
type IConfigContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllCOMMENT() []antlr.TerminalNode COMMENT(i int) antlr.TerminalNode AllLINE_COMMENT() []antlr.TerminalNode LINE_COMMENT(i int) antlr.TerminalNode AllDaemon_stmt() []IDaemon_stmtContext Daemon_stmt(i int) IDaemon_stmtContext // IsConfigContext differentiates from other interfaces. IsConfigContext() }
IConfigContext is an interface to support dynamic dispatch.
type IDaemon_stmtContext ¶
type IDaemon_stmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures KWDAEMON() antlr.TerminalNode HNAME() antlr.TerminalNode KWPATH() antlr.TerminalNode PATH() antlr.TerminalNode KWUSE() antlr.TerminalNode Gen_type() IGen_typeContext Pass_block() IPass_blockContext // IsDaemon_stmtContext differentiates from other interfaces. IsDaemon_stmtContext() }
IDaemon_stmtContext is an interface to support dynamic dispatch.
type IGen_typeContext ¶
type IGen_typeContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures KWGOGRPC() antlr.TerminalNode KWGOTLS() antlr.TerminalNode KWPEM() antlr.TerminalNode // IsGen_typeContext differentiates from other interfaces. IsGen_typeContext() }
IGen_typeContext is an interface to support dynamic dispatch.
type IName_blockContext ¶
type IName_blockContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures HNAME() antlr.TerminalNode Name_list() IName_listContext KWANY() antlr.TerminalNode // IsName_blockContext differentiates from other interfaces. IsName_blockContext() }
IName_blockContext is an interface to support dynamic dispatch.
type IName_elt_listContext ¶
type IName_elt_listContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllHNAME() []antlr.TerminalNode HNAME(i int) antlr.TerminalNode AllCOMMA() []antlr.TerminalNode COMMA(i int) antlr.TerminalNode // IsName_elt_listContext differentiates from other interfaces. IsName_elt_listContext() }
IName_elt_listContext is an interface to support dynamic dispatch.
type IName_listContext ¶
type IName_listContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures LCURLY() antlr.TerminalNode Name_elt_list() IName_elt_listContext RCURLY() antlr.TerminalNode // IsName_listContext differentiates from other interfaces. IsName_listContext() }
IName_listContext is an interface to support dynamic dispatch.
type IPass_blockContext ¶
type IPass_blockContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures LCURLY() antlr.TerminalNode RCURLY() antlr.TerminalNode AllPass_stmt() []IPass_stmtContext Pass_stmt(i int) IPass_stmtContext // IsPass_blockContext differentiates from other interfaces. IsPass_blockContext() }
IPass_blockContext is an interface to support dynamic dispatch.
type IPass_stmtContext ¶
type IPass_stmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures KWPASS() antlr.TerminalNode AllName_block() []IName_blockContext Name_block(i int) IName_blockContext KWON() antlr.TerminalNode KWRPC() antlr.TerminalNode SEMI() antlr.TerminalNode KWDBG() antlr.TerminalNode // IsPass_stmtContext differentiates from other interfaces. IsPass_stmtContext() }
IPass_stmtContext is an interface to support dynamic dispatch.
type Name_blockContext ¶
type Name_blockContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyName_blockContext ¶
func NewEmptyName_blockContext() *Name_blockContext
func NewName_blockContext ¶
func NewName_blockContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Name_blockContext
func (*Name_blockContext) EnterRule ¶
func (s *Name_blockContext) EnterRule(listener antlr.ParseTreeListener)
func (*Name_blockContext) ExitRule ¶
func (s *Name_blockContext) ExitRule(listener antlr.ParseTreeListener)
func (*Name_blockContext) GetParser ¶
func (s *Name_blockContext) GetParser() antlr.Parser
func (*Name_blockContext) GetRuleContext ¶
func (s *Name_blockContext) GetRuleContext() antlr.RuleContext
func (*Name_blockContext) HNAME ¶
func (s *Name_blockContext) HNAME() antlr.TerminalNode
func (*Name_blockContext) IsName_blockContext ¶
func (*Name_blockContext) IsName_blockContext()
func (*Name_blockContext) KWANY ¶
func (s *Name_blockContext) KWANY() antlr.TerminalNode
func (*Name_blockContext) Name_list ¶
func (s *Name_blockContext) Name_list() IName_listContext
func (*Name_blockContext) ToStringTree ¶
func (s *Name_blockContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Name_elt_listContext ¶
type Name_elt_listContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyName_elt_listContext ¶
func NewEmptyName_elt_listContext() *Name_elt_listContext
func NewName_elt_listContext ¶
func NewName_elt_listContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Name_elt_listContext
func (*Name_elt_listContext) AllCOMMA ¶
func (s *Name_elt_listContext) AllCOMMA() []antlr.TerminalNode
func (*Name_elt_listContext) AllHNAME ¶
func (s *Name_elt_listContext) AllHNAME() []antlr.TerminalNode
func (*Name_elt_listContext) COMMA ¶
func (s *Name_elt_listContext) COMMA(i int) antlr.TerminalNode
func (*Name_elt_listContext) EnterRule ¶
func (s *Name_elt_listContext) EnterRule(listener antlr.ParseTreeListener)
func (*Name_elt_listContext) ExitRule ¶
func (s *Name_elt_listContext) ExitRule(listener antlr.ParseTreeListener)
func (*Name_elt_listContext) GetParser ¶
func (s *Name_elt_listContext) GetParser() antlr.Parser
func (*Name_elt_listContext) GetRuleContext ¶
func (s *Name_elt_listContext) GetRuleContext() antlr.RuleContext
func (*Name_elt_listContext) HNAME ¶
func (s *Name_elt_listContext) HNAME(i int) antlr.TerminalNode
func (*Name_elt_listContext) IsName_elt_listContext ¶
func (*Name_elt_listContext) IsName_elt_listContext()
func (*Name_elt_listContext) ToStringTree ¶
func (s *Name_elt_listContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Name_listContext ¶
type Name_listContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyName_listContext ¶
func NewEmptyName_listContext() *Name_listContext
func NewName_listContext ¶
func NewName_listContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Name_listContext
func (*Name_listContext) EnterRule ¶
func (s *Name_listContext) EnterRule(listener antlr.ParseTreeListener)
func (*Name_listContext) ExitRule ¶
func (s *Name_listContext) ExitRule(listener antlr.ParseTreeListener)
func (*Name_listContext) GetParser ¶
func (s *Name_listContext) GetParser() antlr.Parser
func (*Name_listContext) GetRuleContext ¶
func (s *Name_listContext) GetRuleContext() antlr.RuleContext
func (*Name_listContext) IsName_listContext ¶
func (*Name_listContext) IsName_listContext()
func (*Name_listContext) LCURLY ¶
func (s *Name_listContext) LCURLY() antlr.TerminalNode
func (*Name_listContext) Name_elt_list ¶
func (s *Name_listContext) Name_elt_list() IName_elt_listContext
func (*Name_listContext) RCURLY ¶
func (s *Name_listContext) RCURLY() antlr.TerminalNode
func (*Name_listContext) ToStringTree ¶
func (s *Name_listContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Options ¶
type Options struct { Flavor int // flags defining the type of sauce: gRPC-go, regular tls, pem, private Path string // the directory where to write our sauce Policy *policy.Policy Debug bool }
type Daemons map[string]Options
type Parser ¶ added in v0.2.0
type Parser struct { *BasepkscListener // contains filtered or unexported fields }
func (*Parser) EnterDaemon_stmt ¶ added in v0.2.0
func (pr *Parser) EnterDaemon_stmt(d *Daemon_stmtContext)
func (*Parser) VisitErrorNode ¶ added in v0.2.0
func (pr *Parser) VisitErrorNode(node antlr.ErrorNode)
type Pass_blockContext ¶
type Pass_blockContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyPass_blockContext ¶
func NewEmptyPass_blockContext() *Pass_blockContext
func NewPass_blockContext ¶
func NewPass_blockContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Pass_blockContext
func (*Pass_blockContext) AllPass_stmt ¶
func (s *Pass_blockContext) AllPass_stmt() []IPass_stmtContext
func (*Pass_blockContext) EnterRule ¶
func (s *Pass_blockContext) EnterRule(listener antlr.ParseTreeListener)
func (*Pass_blockContext) ExitRule ¶
func (s *Pass_blockContext) ExitRule(listener antlr.ParseTreeListener)
func (*Pass_blockContext) GetParser ¶
func (s *Pass_blockContext) GetParser() antlr.Parser
func (*Pass_blockContext) GetRuleContext ¶
func (s *Pass_blockContext) GetRuleContext() antlr.RuleContext
func (*Pass_blockContext) IsPass_blockContext ¶
func (*Pass_blockContext) IsPass_blockContext()
func (*Pass_blockContext) LCURLY ¶
func (s *Pass_blockContext) LCURLY() antlr.TerminalNode
func (*Pass_blockContext) Pass_stmt ¶
func (s *Pass_blockContext) Pass_stmt(i int) IPass_stmtContext
func (*Pass_blockContext) RCURLY ¶
func (s *Pass_blockContext) RCURLY() antlr.TerminalNode
func (*Pass_blockContext) ToStringTree ¶
func (s *Pass_blockContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Pass_stmtContext ¶
type Pass_stmtContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyPass_stmtContext ¶
func NewEmptyPass_stmtContext() *Pass_stmtContext
func NewPass_stmtContext ¶
func NewPass_stmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Pass_stmtContext
func (*Pass_stmtContext) AllName_block ¶
func (s *Pass_stmtContext) AllName_block() []IName_blockContext
func (*Pass_stmtContext) EnterRule ¶
func (s *Pass_stmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*Pass_stmtContext) ExitRule ¶
func (s *Pass_stmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*Pass_stmtContext) GetParser ¶
func (s *Pass_stmtContext) GetParser() antlr.Parser
func (*Pass_stmtContext) GetRuleContext ¶
func (s *Pass_stmtContext) GetRuleContext() antlr.RuleContext
func (*Pass_stmtContext) IsPass_stmtContext ¶
func (*Pass_stmtContext) IsPass_stmtContext()
func (*Pass_stmtContext) KWDBG ¶
func (s *Pass_stmtContext) KWDBG() antlr.TerminalNode
func (*Pass_stmtContext) KWON ¶
func (s *Pass_stmtContext) KWON() antlr.TerminalNode
func (*Pass_stmtContext) KWPASS ¶
func (s *Pass_stmtContext) KWPASS() antlr.TerminalNode
func (*Pass_stmtContext) KWRPC ¶
func (s *Pass_stmtContext) KWRPC() antlr.TerminalNode
func (*Pass_stmtContext) Name_block ¶
func (s *Pass_stmtContext) Name_block(i int) IName_blockContext
func (*Pass_stmtContext) SEMI ¶
func (s *Pass_stmtContext) SEMI() antlr.TerminalNode
func (*Pass_stmtContext) ToStringTree ¶
func (s *Pass_stmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string