Documentation ¶
Overview ¶
Example ¶
package main import ( "bramp.net/antlr4/emailaddress" "fmt" "github.com/antlr/antlr4/runtime/Go/antlr" ) type exampleListener struct { *emailaddress.BaseemailaddressListener } func (l *exampleListener) EnterEveryRule(ctx antlr.ParserRuleContext) { fmt.Println(ctx.GetText()) } func main() { // Setup the input is := antlr.NewInputStream("...some text to parse...") // Create the Lexer lexer := emailaddress.NewemailaddressLexer(is) stream := antlr.NewCommonTokenStream(lexer, antlr.TokenDefaultChannel) // Create the Parser p := emailaddress.NewemailaddressParser(stream) p.BuildParseTrees = true p.AddErrorListener(antlr.NewDiagnosticErrorListener(true)) // Finally walk the tree tree := p.Emailaddress() antlr.ParseTreeWalkerDefault.Walk(&exampleListener{}, tree) }
Output:
Index ¶
- func NewemailaddressLexer(input antlr.CharStream) *emailaddressLexer
- func NewemailaddressParser(input antlr.TokenStream) *emailaddressParser
- type AddrspecContext
- func (s *AddrspecContext) Domain() IDomainContext
- func (s *AddrspecContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *AddrspecContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *AddrspecContext) GetParser() antlr.Parser
- func (s *AddrspecContext) GetRuleContext() antlr.RuleContext
- func (*AddrspecContext) IsAddrspecContext()
- func (s *AddrspecContext) Localpart() ILocalpartContext
- func (s *AddrspecContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type AtomContext
- func (s *AtomContext) AllCHAR() []antlr.TerminalNode
- func (s *AtomContext) CHAR(i int) antlr.TerminalNode
- func (s *AtomContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *AtomContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *AtomContext) GetParser() antlr.Parser
- func (s *AtomContext) GetRuleContext() antlr.RuleContext
- func (*AtomContext) IsAtomContext()
- func (s *AtomContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type BaseemailaddressListener
- func (s *BaseemailaddressListener) EnterAddrspec(ctx *AddrspecContext)
- func (s *BaseemailaddressListener) EnterAtom(ctx *AtomContext)
- func (s *BaseemailaddressListener) EnterComment(ctx *CommentContext)
- func (s *BaseemailaddressListener) EnterDelimeters(ctx *DelimetersContext)
- func (s *BaseemailaddressListener) EnterDomain(ctx *DomainContext)
- func (s *BaseemailaddressListener) EnterDomainliteral(ctx *DomainliteralContext)
- func (s *BaseemailaddressListener) EnterDomainref(ctx *DomainrefContext)
- func (s *BaseemailaddressListener) EnterEmailaddress(ctx *EmailaddressContext)
- func (s *BaseemailaddressListener) EnterEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseemailaddressListener) EnterGroup(ctx *GroupContext)
- func (s *BaseemailaddressListener) EnterLocalpart(ctx *LocalpartContext)
- func (s *BaseemailaddressListener) EnterLwsp(ctx *LwspContext)
- func (s *BaseemailaddressListener) EnterLwspchar(ctx *LwspcharContext)
- func (s *BaseemailaddressListener) EnterMailbox(ctx *MailboxContext)
- func (s *BaseemailaddressListener) EnterPhrase(ctx *PhraseContext)
- func (s *BaseemailaddressListener) EnterQuotedpair(ctx *QuotedpairContext)
- func (s *BaseemailaddressListener) EnterQuotedstring(ctx *QuotedstringContext)
- func (s *BaseemailaddressListener) EnterRoute(ctx *RouteContext)
- func (s *BaseemailaddressListener) EnterRouteaddr(ctx *RouteaddrContext)
- func (s *BaseemailaddressListener) EnterSubdomain(ctx *SubdomainContext)
- func (s *BaseemailaddressListener) EnterWord(ctx *WordContext)
- func (s *BaseemailaddressListener) ExitAddrspec(ctx *AddrspecContext)
- func (s *BaseemailaddressListener) ExitAtom(ctx *AtomContext)
- func (s *BaseemailaddressListener) ExitComment(ctx *CommentContext)
- func (s *BaseemailaddressListener) ExitDelimeters(ctx *DelimetersContext)
- func (s *BaseemailaddressListener) ExitDomain(ctx *DomainContext)
- func (s *BaseemailaddressListener) ExitDomainliteral(ctx *DomainliteralContext)
- func (s *BaseemailaddressListener) ExitDomainref(ctx *DomainrefContext)
- func (s *BaseemailaddressListener) ExitEmailaddress(ctx *EmailaddressContext)
- func (s *BaseemailaddressListener) ExitEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseemailaddressListener) ExitGroup(ctx *GroupContext)
- func (s *BaseemailaddressListener) ExitLocalpart(ctx *LocalpartContext)
- func (s *BaseemailaddressListener) ExitLwsp(ctx *LwspContext)
- func (s *BaseemailaddressListener) ExitLwspchar(ctx *LwspcharContext)
- func (s *BaseemailaddressListener) ExitMailbox(ctx *MailboxContext)
- func (s *BaseemailaddressListener) ExitPhrase(ctx *PhraseContext)
- func (s *BaseemailaddressListener) ExitQuotedpair(ctx *QuotedpairContext)
- func (s *BaseemailaddressListener) ExitQuotedstring(ctx *QuotedstringContext)
- func (s *BaseemailaddressListener) ExitRoute(ctx *RouteContext)
- func (s *BaseemailaddressListener) ExitRouteaddr(ctx *RouteaddrContext)
- func (s *BaseemailaddressListener) ExitSubdomain(ctx *SubdomainContext)
- func (s *BaseemailaddressListener) ExitWord(ctx *WordContext)
- func (s *BaseemailaddressListener) VisitErrorNode(node antlr.ErrorNode)
- func (s *BaseemailaddressListener) VisitTerminal(node antlr.TerminalNode)
- type CommentContext
- func (s *CommentContext) AllCTEXT() []antlr.TerminalNode
- func (s *CommentContext) AllComment() []ICommentContext
- func (s *CommentContext) AllQuotedpair() []IQuotedpairContext
- func (s *CommentContext) CTEXT(i int) antlr.TerminalNode
- func (s *CommentContext) Comment(i int) ICommentContext
- func (s *CommentContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *CommentContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *CommentContext) GetParser() antlr.Parser
- func (s *CommentContext) GetRuleContext() antlr.RuleContext
- func (*CommentContext) IsCommentContext()
- func (s *CommentContext) Quotedpair(i int) IQuotedpairContext
- func (s *CommentContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type DelimetersContext
- func (s *DelimetersContext) Comment() ICommentContext
- func (s *DelimetersContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *DelimetersContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *DelimetersContext) GetParser() antlr.Parser
- func (s *DelimetersContext) GetRuleContext() antlr.RuleContext
- func (*DelimetersContext) IsDelimetersContext()
- func (s *DelimetersContext) Lwsp() ILwspContext
- func (s *DelimetersContext) SPECIALS() antlr.TerminalNode
- func (s *DelimetersContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type DomainContext
- func (s *DomainContext) AllSubdomain() []ISubdomainContext
- func (s *DomainContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *DomainContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *DomainContext) GetParser() antlr.Parser
- func (s *DomainContext) GetRuleContext() antlr.RuleContext
- func (*DomainContext) IsDomainContext()
- func (s *DomainContext) Subdomain(i int) ISubdomainContext
- func (s *DomainContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type DomainliteralContext
- func (s *DomainliteralContext) AllDTEXT() []antlr.TerminalNode
- func (s *DomainliteralContext) AllQuotedpair() []IQuotedpairContext
- func (s *DomainliteralContext) DTEXT(i int) antlr.TerminalNode
- func (s *DomainliteralContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *DomainliteralContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *DomainliteralContext) GetParser() antlr.Parser
- func (s *DomainliteralContext) GetRuleContext() antlr.RuleContext
- func (*DomainliteralContext) IsDomainliteralContext()
- func (s *DomainliteralContext) Quotedpair(i int) IQuotedpairContext
- func (s *DomainliteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type DomainrefContext
- func (s *DomainrefContext) Atom() IAtomContext
- func (s *DomainrefContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *DomainrefContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *DomainrefContext) GetParser() antlr.Parser
- func (s *DomainrefContext) GetRuleContext() antlr.RuleContext
- func (*DomainrefContext) IsDomainrefContext()
- func (s *DomainrefContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type EmailaddressContext
- func (s *EmailaddressContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *EmailaddressContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *EmailaddressContext) GetParser() antlr.Parser
- func (s *EmailaddressContext) GetRuleContext() antlr.RuleContext
- func (s *EmailaddressContext) Group() IGroupContext
- func (*EmailaddressContext) IsEmailaddressContext()
- func (s *EmailaddressContext) Mailbox() IMailboxContext
- func (s *EmailaddressContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type GroupContext
- func (s *GroupContext) AllMailbox() []IMailboxContext
- func (s *GroupContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *GroupContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *GroupContext) GetParser() antlr.Parser
- func (s *GroupContext) GetRuleContext() antlr.RuleContext
- func (*GroupContext) IsGroupContext()
- func (s *GroupContext) Mailbox(i int) IMailboxContext
- func (s *GroupContext) Phrase() IPhraseContext
- func (s *GroupContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type IAddrspecContext
- type IAtomContext
- type ICommentContext
- type IDelimetersContext
- type IDomainContext
- type IDomainliteralContext
- type IDomainrefContext
- type IEmailaddressContext
- type IGroupContext
- type ILocalpartContext
- type ILwspContext
- type ILwspcharContext
- type IMailboxContext
- type IPhraseContext
- type IQuotedpairContext
- type IQuotedstringContext
- type IRouteContext
- type IRouteaddrContext
- type ISubdomainContext
- type IWordContext
- type LocalpartContext
- func (s *LocalpartContext) AllWord() []IWordContext
- func (s *LocalpartContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *LocalpartContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *LocalpartContext) GetParser() antlr.Parser
- func (s *LocalpartContext) GetRuleContext() antlr.RuleContext
- func (*LocalpartContext) IsLocalpartContext()
- func (s *LocalpartContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *LocalpartContext) Word(i int) IWordContext
- type LwspContext
- func (s *LwspContext) AllCRLF() []antlr.TerminalNode
- func (s *LwspContext) AllLwspchar() []ILwspcharContext
- func (s *LwspContext) CRLF(i int) antlr.TerminalNode
- func (s *LwspContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *LwspContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *LwspContext) GetParser() antlr.Parser
- func (s *LwspContext) GetRuleContext() antlr.RuleContext
- func (*LwspContext) IsLwspContext()
- func (s *LwspContext) Lwspchar(i int) ILwspcharContext
- func (s *LwspContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type LwspcharContext
- func (s *LwspcharContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *LwspcharContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *LwspcharContext) GetParser() antlr.Parser
- func (s *LwspcharContext) GetRuleContext() antlr.RuleContext
- func (s *LwspcharContext) HTAB() antlr.TerminalNode
- func (*LwspcharContext) IsLwspcharContext()
- func (s *LwspcharContext) SPACE() antlr.TerminalNode
- func (s *LwspcharContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type MailboxContext
- func (s *MailboxContext) Addrspec() IAddrspecContext
- func (s *MailboxContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *MailboxContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *MailboxContext) GetParser() antlr.Parser
- func (s *MailboxContext) GetRuleContext() antlr.RuleContext
- func (*MailboxContext) IsMailboxContext()
- func (s *MailboxContext) Phrase() IPhraseContext
- func (s *MailboxContext) Routeaddr() IRouteaddrContext
- func (s *MailboxContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type PhraseContext
- func (s *PhraseContext) AllWord() []IWordContext
- func (s *PhraseContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *PhraseContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *PhraseContext) GetParser() antlr.Parser
- func (s *PhraseContext) GetRuleContext() antlr.RuleContext
- func (*PhraseContext) IsPhraseContext()
- func (s *PhraseContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *PhraseContext) Word(i int) IWordContext
- type QuotedpairContext
- func (s *QuotedpairContext) CHAR() antlr.TerminalNode
- func (s *QuotedpairContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *QuotedpairContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *QuotedpairContext) GetParser() antlr.Parser
- func (s *QuotedpairContext) GetRuleContext() antlr.RuleContext
- func (*QuotedpairContext) IsQuotedpairContext()
- func (s *QuotedpairContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type QuotedstringContext
- func (s *QuotedstringContext) AllQTEXT() []antlr.TerminalNode
- func (s *QuotedstringContext) AllQuotedpair() []IQuotedpairContext
- func (s *QuotedstringContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *QuotedstringContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *QuotedstringContext) GetParser() antlr.Parser
- func (s *QuotedstringContext) GetRuleContext() antlr.RuleContext
- func (*QuotedstringContext) IsQuotedstringContext()
- func (s *QuotedstringContext) QTEXT(i int) antlr.TerminalNode
- func (s *QuotedstringContext) Quotedpair(i int) IQuotedpairContext
- func (s *QuotedstringContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type RouteContext
- func (s *RouteContext) Domain() IDomainContext
- func (s *RouteContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *RouteContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *RouteContext) GetParser() antlr.Parser
- func (s *RouteContext) GetRuleContext() antlr.RuleContext
- func (*RouteContext) IsRouteContext()
- func (s *RouteContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type RouteaddrContext
- func (s *RouteaddrContext) Addrspec() IAddrspecContext
- func (s *RouteaddrContext) AllRoute() []IRouteContext
- func (s *RouteaddrContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *RouteaddrContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *RouteaddrContext) GetParser() antlr.Parser
- func (s *RouteaddrContext) GetRuleContext() antlr.RuleContext
- func (*RouteaddrContext) IsRouteaddrContext()
- func (s *RouteaddrContext) Route(i int) IRouteContext
- func (s *RouteaddrContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type SubdomainContext
- func (s *SubdomainContext) Domainliteral() IDomainliteralContext
- func (s *SubdomainContext) Domainref() IDomainrefContext
- func (s *SubdomainContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *SubdomainContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *SubdomainContext) GetParser() antlr.Parser
- func (s *SubdomainContext) GetRuleContext() antlr.RuleContext
- func (*SubdomainContext) IsSubdomainContext()
- func (s *SubdomainContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type WordContext
- func (s *WordContext) Atom() IAtomContext
- func (s *WordContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *WordContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *WordContext) GetParser() antlr.Parser
- func (s *WordContext) GetRuleContext() antlr.RuleContext
- func (*WordContext) IsWordContext()
- func (s *WordContext) Quotedstring() IQuotedstringContext
- func (s *WordContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewemailaddressLexer ¶
func NewemailaddressLexer(input antlr.CharStream) *emailaddressLexer
func NewemailaddressParser ¶
func NewemailaddressParser(input antlr.TokenStream) *emailaddressParser
Types ¶
type AddrspecContext ¶
type AddrspecContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewAddrspecContext ¶
func NewAddrspecContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AddrspecContext
func NewEmptyAddrspecContext ¶
func NewEmptyAddrspecContext() *AddrspecContext
func (*AddrspecContext) Domain ¶
func (s *AddrspecContext) Domain() IDomainContext
func (*AddrspecContext) EnterRule ¶
func (s *AddrspecContext) EnterRule(listener antlr.ParseTreeListener)
func (*AddrspecContext) ExitRule ¶
func (s *AddrspecContext) ExitRule(listener antlr.ParseTreeListener)
func (*AddrspecContext) GetParser ¶
func (s *AddrspecContext) GetParser() antlr.Parser
func (*AddrspecContext) GetRuleContext ¶
func (s *AddrspecContext) GetRuleContext() antlr.RuleContext
func (*AddrspecContext) IsAddrspecContext ¶
func (*AddrspecContext) IsAddrspecContext()
func (*AddrspecContext) Localpart ¶
func (s *AddrspecContext) Localpart() ILocalpartContext
func (*AddrspecContext) ToStringTree ¶
func (s *AddrspecContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type AtomContext ¶
type AtomContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewAtomContext ¶
func NewAtomContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AtomContext
func NewEmptyAtomContext ¶
func NewEmptyAtomContext() *AtomContext
func (*AtomContext) AllCHAR ¶
func (s *AtomContext) AllCHAR() []antlr.TerminalNode
func (*AtomContext) CHAR ¶
func (s *AtomContext) CHAR(i int) antlr.TerminalNode
func (*AtomContext) EnterRule ¶
func (s *AtomContext) EnterRule(listener antlr.ParseTreeListener)
func (*AtomContext) ExitRule ¶
func (s *AtomContext) ExitRule(listener antlr.ParseTreeListener)
func (*AtomContext) GetParser ¶
func (s *AtomContext) GetParser() antlr.Parser
func (*AtomContext) GetRuleContext ¶
func (s *AtomContext) GetRuleContext() antlr.RuleContext
func (*AtomContext) IsAtomContext ¶
func (*AtomContext) IsAtomContext()
func (*AtomContext) ToStringTree ¶
func (s *AtomContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type BaseemailaddressListener ¶
type BaseemailaddressListener struct{}
BaseemailaddressListener is a complete listener for a parse tree produced by emailaddressParser.
func (*BaseemailaddressListener) EnterAddrspec ¶
func (s *BaseemailaddressListener) EnterAddrspec(ctx *AddrspecContext)
EnterAddrspec is called when production addrspec is entered.
func (*BaseemailaddressListener) EnterAtom ¶
func (s *BaseemailaddressListener) EnterAtom(ctx *AtomContext)
EnterAtom is called when production atom is entered.
func (*BaseemailaddressListener) EnterComment ¶
func (s *BaseemailaddressListener) EnterComment(ctx *CommentContext)
EnterComment is called when production comment is entered.
func (*BaseemailaddressListener) EnterDelimeters ¶
func (s *BaseemailaddressListener) EnterDelimeters(ctx *DelimetersContext)
EnterDelimeters is called when production delimeters is entered.
func (*BaseemailaddressListener) EnterDomain ¶
func (s *BaseemailaddressListener) EnterDomain(ctx *DomainContext)
EnterDomain is called when production domain is entered.
func (*BaseemailaddressListener) EnterDomainliteral ¶
func (s *BaseemailaddressListener) EnterDomainliteral(ctx *DomainliteralContext)
EnterDomainliteral is called when production domainliteral is entered.
func (*BaseemailaddressListener) EnterDomainref ¶
func (s *BaseemailaddressListener) EnterDomainref(ctx *DomainrefContext)
EnterDomainref is called when production domainref is entered.
func (*BaseemailaddressListener) EnterEmailaddress ¶
func (s *BaseemailaddressListener) EnterEmailaddress(ctx *EmailaddressContext)
EnterEmailaddress is called when production emailaddress is entered.
func (*BaseemailaddressListener) EnterEveryRule ¶
func (s *BaseemailaddressListener) EnterEveryRule(ctx antlr.ParserRuleContext)
EnterEveryRule is called when any rule is entered.
func (*BaseemailaddressListener) EnterGroup ¶
func (s *BaseemailaddressListener) EnterGroup(ctx *GroupContext)
EnterGroup is called when production group is entered.
func (*BaseemailaddressListener) EnterLocalpart ¶
func (s *BaseemailaddressListener) EnterLocalpart(ctx *LocalpartContext)
EnterLocalpart is called when production localpart is entered.
func (*BaseemailaddressListener) EnterLwsp ¶
func (s *BaseemailaddressListener) EnterLwsp(ctx *LwspContext)
EnterLwsp is called when production lwsp is entered.
func (*BaseemailaddressListener) EnterLwspchar ¶
func (s *BaseemailaddressListener) EnterLwspchar(ctx *LwspcharContext)
EnterLwspchar is called when production lwspchar is entered.
func (*BaseemailaddressListener) EnterMailbox ¶
func (s *BaseemailaddressListener) EnterMailbox(ctx *MailboxContext)
EnterMailbox is called when production mailbox is entered.
func (*BaseemailaddressListener) EnterPhrase ¶
func (s *BaseemailaddressListener) EnterPhrase(ctx *PhraseContext)
EnterPhrase is called when production phrase is entered.
func (*BaseemailaddressListener) EnterQuotedpair ¶
func (s *BaseemailaddressListener) EnterQuotedpair(ctx *QuotedpairContext)
EnterQuotedpair is called when production quotedpair is entered.
func (*BaseemailaddressListener) EnterQuotedstring ¶
func (s *BaseemailaddressListener) EnterQuotedstring(ctx *QuotedstringContext)
EnterQuotedstring is called when production quotedstring is entered.
func (*BaseemailaddressListener) EnterRoute ¶
func (s *BaseemailaddressListener) EnterRoute(ctx *RouteContext)
EnterRoute is called when production route is entered.
func (*BaseemailaddressListener) EnterRouteaddr ¶
func (s *BaseemailaddressListener) EnterRouteaddr(ctx *RouteaddrContext)
EnterRouteaddr is called when production routeaddr is entered.
func (*BaseemailaddressListener) EnterSubdomain ¶
func (s *BaseemailaddressListener) EnterSubdomain(ctx *SubdomainContext)
EnterSubdomain is called when production subdomain is entered.
func (*BaseemailaddressListener) EnterWord ¶
func (s *BaseemailaddressListener) EnterWord(ctx *WordContext)
EnterWord is called when production word is entered.
func (*BaseemailaddressListener) ExitAddrspec ¶
func (s *BaseemailaddressListener) ExitAddrspec(ctx *AddrspecContext)
ExitAddrspec is called when production addrspec is exited.
func (*BaseemailaddressListener) ExitAtom ¶
func (s *BaseemailaddressListener) ExitAtom(ctx *AtomContext)
ExitAtom is called when production atom is exited.
func (*BaseemailaddressListener) ExitComment ¶
func (s *BaseemailaddressListener) ExitComment(ctx *CommentContext)
ExitComment is called when production comment is exited.
func (*BaseemailaddressListener) ExitDelimeters ¶
func (s *BaseemailaddressListener) ExitDelimeters(ctx *DelimetersContext)
ExitDelimeters is called when production delimeters is exited.
func (*BaseemailaddressListener) ExitDomain ¶
func (s *BaseemailaddressListener) ExitDomain(ctx *DomainContext)
ExitDomain is called when production domain is exited.
func (*BaseemailaddressListener) ExitDomainliteral ¶
func (s *BaseemailaddressListener) ExitDomainliteral(ctx *DomainliteralContext)
ExitDomainliteral is called when production domainliteral is exited.
func (*BaseemailaddressListener) ExitDomainref ¶
func (s *BaseemailaddressListener) ExitDomainref(ctx *DomainrefContext)
ExitDomainref is called when production domainref is exited.
func (*BaseemailaddressListener) ExitEmailaddress ¶
func (s *BaseemailaddressListener) ExitEmailaddress(ctx *EmailaddressContext)
ExitEmailaddress is called when production emailaddress is exited.
func (*BaseemailaddressListener) ExitEveryRule ¶
func (s *BaseemailaddressListener) ExitEveryRule(ctx antlr.ParserRuleContext)
ExitEveryRule is called when any rule is exited.
func (*BaseemailaddressListener) ExitGroup ¶
func (s *BaseemailaddressListener) ExitGroup(ctx *GroupContext)
ExitGroup is called when production group is exited.
func (*BaseemailaddressListener) ExitLocalpart ¶
func (s *BaseemailaddressListener) ExitLocalpart(ctx *LocalpartContext)
ExitLocalpart is called when production localpart is exited.
func (*BaseemailaddressListener) ExitLwsp ¶
func (s *BaseemailaddressListener) ExitLwsp(ctx *LwspContext)
ExitLwsp is called when production lwsp is exited.
func (*BaseemailaddressListener) ExitLwspchar ¶
func (s *BaseemailaddressListener) ExitLwspchar(ctx *LwspcharContext)
ExitLwspchar is called when production lwspchar is exited.
func (*BaseemailaddressListener) ExitMailbox ¶
func (s *BaseemailaddressListener) ExitMailbox(ctx *MailboxContext)
ExitMailbox is called when production mailbox is exited.
func (*BaseemailaddressListener) ExitPhrase ¶
func (s *BaseemailaddressListener) ExitPhrase(ctx *PhraseContext)
ExitPhrase is called when production phrase is exited.
func (*BaseemailaddressListener) ExitQuotedpair ¶
func (s *BaseemailaddressListener) ExitQuotedpair(ctx *QuotedpairContext)
ExitQuotedpair is called when production quotedpair is exited.
func (*BaseemailaddressListener) ExitQuotedstring ¶
func (s *BaseemailaddressListener) ExitQuotedstring(ctx *QuotedstringContext)
ExitQuotedstring is called when production quotedstring is exited.
func (*BaseemailaddressListener) ExitRoute ¶
func (s *BaseemailaddressListener) ExitRoute(ctx *RouteContext)
ExitRoute is called when production route is exited.
func (*BaseemailaddressListener) ExitRouteaddr ¶
func (s *BaseemailaddressListener) ExitRouteaddr(ctx *RouteaddrContext)
ExitRouteaddr is called when production routeaddr is exited.
func (*BaseemailaddressListener) ExitSubdomain ¶
func (s *BaseemailaddressListener) ExitSubdomain(ctx *SubdomainContext)
ExitSubdomain is called when production subdomain is exited.
func (*BaseemailaddressListener) ExitWord ¶
func (s *BaseemailaddressListener) ExitWord(ctx *WordContext)
ExitWord is called when production word is exited.
func (*BaseemailaddressListener) VisitErrorNode ¶
func (s *BaseemailaddressListener) VisitErrorNode(node antlr.ErrorNode)
VisitErrorNode is called when an error node is visited.
func (*BaseemailaddressListener) VisitTerminal ¶
func (s *BaseemailaddressListener) VisitTerminal(node antlr.TerminalNode)
VisitTerminal is called when a terminal node is visited.
type CommentContext ¶
type CommentContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewCommentContext ¶
func NewCommentContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CommentContext
func NewEmptyCommentContext ¶
func NewEmptyCommentContext() *CommentContext
func (*CommentContext) AllCTEXT ¶
func (s *CommentContext) AllCTEXT() []antlr.TerminalNode
func (*CommentContext) AllComment ¶
func (s *CommentContext) AllComment() []ICommentContext
func (*CommentContext) AllQuotedpair ¶
func (s *CommentContext) AllQuotedpair() []IQuotedpairContext
func (*CommentContext) CTEXT ¶
func (s *CommentContext) CTEXT(i int) antlr.TerminalNode
func (*CommentContext) Comment ¶
func (s *CommentContext) Comment(i int) ICommentContext
func (*CommentContext) EnterRule ¶
func (s *CommentContext) EnterRule(listener antlr.ParseTreeListener)
func (*CommentContext) ExitRule ¶
func (s *CommentContext) ExitRule(listener antlr.ParseTreeListener)
func (*CommentContext) GetParser ¶
func (s *CommentContext) GetParser() antlr.Parser
func (*CommentContext) GetRuleContext ¶
func (s *CommentContext) GetRuleContext() antlr.RuleContext
func (*CommentContext) IsCommentContext ¶
func (*CommentContext) IsCommentContext()
func (*CommentContext) Quotedpair ¶
func (s *CommentContext) Quotedpair(i int) IQuotedpairContext
func (*CommentContext) ToStringTree ¶
func (s *CommentContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type DelimetersContext ¶
type DelimetersContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewDelimetersContext ¶
func NewDelimetersContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DelimetersContext
func NewEmptyDelimetersContext ¶
func NewEmptyDelimetersContext() *DelimetersContext
func (*DelimetersContext) Comment ¶
func (s *DelimetersContext) Comment() ICommentContext
func (*DelimetersContext) EnterRule ¶
func (s *DelimetersContext) EnterRule(listener antlr.ParseTreeListener)
func (*DelimetersContext) ExitRule ¶
func (s *DelimetersContext) ExitRule(listener antlr.ParseTreeListener)
func (*DelimetersContext) GetParser ¶
func (s *DelimetersContext) GetParser() antlr.Parser
func (*DelimetersContext) GetRuleContext ¶
func (s *DelimetersContext) GetRuleContext() antlr.RuleContext
func (*DelimetersContext) IsDelimetersContext ¶
func (*DelimetersContext) IsDelimetersContext()
func (*DelimetersContext) Lwsp ¶
func (s *DelimetersContext) Lwsp() ILwspContext
func (*DelimetersContext) SPECIALS ¶
func (s *DelimetersContext) SPECIALS() antlr.TerminalNode
func (*DelimetersContext) ToStringTree ¶
func (s *DelimetersContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type DomainContext ¶
type DomainContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewDomainContext ¶
func NewDomainContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DomainContext
func NewEmptyDomainContext ¶
func NewEmptyDomainContext() *DomainContext
func (*DomainContext) AllSubdomain ¶
func (s *DomainContext) AllSubdomain() []ISubdomainContext
func (*DomainContext) EnterRule ¶
func (s *DomainContext) EnterRule(listener antlr.ParseTreeListener)
func (*DomainContext) ExitRule ¶
func (s *DomainContext) ExitRule(listener antlr.ParseTreeListener)
func (*DomainContext) GetParser ¶
func (s *DomainContext) GetParser() antlr.Parser
func (*DomainContext) GetRuleContext ¶
func (s *DomainContext) GetRuleContext() antlr.RuleContext
func (*DomainContext) IsDomainContext ¶
func (*DomainContext) IsDomainContext()
func (*DomainContext) Subdomain ¶
func (s *DomainContext) Subdomain(i int) ISubdomainContext
func (*DomainContext) ToStringTree ¶
func (s *DomainContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type DomainliteralContext ¶
type DomainliteralContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewDomainliteralContext ¶
func NewDomainliteralContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DomainliteralContext
func NewEmptyDomainliteralContext ¶
func NewEmptyDomainliteralContext() *DomainliteralContext
func (*DomainliteralContext) AllDTEXT ¶
func (s *DomainliteralContext) AllDTEXT() []antlr.TerminalNode
func (*DomainliteralContext) AllQuotedpair ¶
func (s *DomainliteralContext) AllQuotedpair() []IQuotedpairContext
func (*DomainliteralContext) DTEXT ¶
func (s *DomainliteralContext) DTEXT(i int) antlr.TerminalNode
func (*DomainliteralContext) EnterRule ¶
func (s *DomainliteralContext) EnterRule(listener antlr.ParseTreeListener)
func (*DomainliteralContext) ExitRule ¶
func (s *DomainliteralContext) ExitRule(listener antlr.ParseTreeListener)
func (*DomainliteralContext) GetParser ¶
func (s *DomainliteralContext) GetParser() antlr.Parser
func (*DomainliteralContext) GetRuleContext ¶
func (s *DomainliteralContext) GetRuleContext() antlr.RuleContext
func (*DomainliteralContext) IsDomainliteralContext ¶
func (*DomainliteralContext) IsDomainliteralContext()
func (*DomainliteralContext) Quotedpair ¶
func (s *DomainliteralContext) Quotedpair(i int) IQuotedpairContext
func (*DomainliteralContext) ToStringTree ¶
func (s *DomainliteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type DomainrefContext ¶
type DomainrefContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewDomainrefContext ¶
func NewDomainrefContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DomainrefContext
func NewEmptyDomainrefContext ¶
func NewEmptyDomainrefContext() *DomainrefContext
func (*DomainrefContext) Atom ¶
func (s *DomainrefContext) Atom() IAtomContext
func (*DomainrefContext) EnterRule ¶
func (s *DomainrefContext) EnterRule(listener antlr.ParseTreeListener)
func (*DomainrefContext) ExitRule ¶
func (s *DomainrefContext) ExitRule(listener antlr.ParseTreeListener)
func (*DomainrefContext) GetParser ¶
func (s *DomainrefContext) GetParser() antlr.Parser
func (*DomainrefContext) GetRuleContext ¶
func (s *DomainrefContext) GetRuleContext() antlr.RuleContext
func (*DomainrefContext) IsDomainrefContext ¶
func (*DomainrefContext) IsDomainrefContext()
func (*DomainrefContext) ToStringTree ¶
func (s *DomainrefContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type EmailaddressContext ¶
type EmailaddressContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmailaddressContext ¶
func NewEmailaddressContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *EmailaddressContext
func NewEmptyEmailaddressContext ¶
func NewEmptyEmailaddressContext() *EmailaddressContext
func (*EmailaddressContext) EnterRule ¶
func (s *EmailaddressContext) EnterRule(listener antlr.ParseTreeListener)
func (*EmailaddressContext) ExitRule ¶
func (s *EmailaddressContext) ExitRule(listener antlr.ParseTreeListener)
func (*EmailaddressContext) GetParser ¶
func (s *EmailaddressContext) GetParser() antlr.Parser
func (*EmailaddressContext) GetRuleContext ¶
func (s *EmailaddressContext) GetRuleContext() antlr.RuleContext
func (*EmailaddressContext) Group ¶
func (s *EmailaddressContext) Group() IGroupContext
func (*EmailaddressContext) IsEmailaddressContext ¶
func (*EmailaddressContext) IsEmailaddressContext()
func (*EmailaddressContext) Mailbox ¶
func (s *EmailaddressContext) Mailbox() IMailboxContext
func (*EmailaddressContext) ToStringTree ¶
func (s *EmailaddressContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type GroupContext ¶
type GroupContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyGroupContext ¶
func NewEmptyGroupContext() *GroupContext
func NewGroupContext ¶
func NewGroupContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *GroupContext
func (*GroupContext) AllMailbox ¶
func (s *GroupContext) AllMailbox() []IMailboxContext
func (*GroupContext) EnterRule ¶
func (s *GroupContext) EnterRule(listener antlr.ParseTreeListener)
func (*GroupContext) ExitRule ¶
func (s *GroupContext) ExitRule(listener antlr.ParseTreeListener)
func (*GroupContext) GetParser ¶
func (s *GroupContext) GetParser() antlr.Parser
func (*GroupContext) GetRuleContext ¶
func (s *GroupContext) GetRuleContext() antlr.RuleContext
func (*GroupContext) IsGroupContext ¶
func (*GroupContext) IsGroupContext()
func (*GroupContext) Mailbox ¶
func (s *GroupContext) Mailbox(i int) IMailboxContext
func (*GroupContext) Phrase ¶
func (s *GroupContext) Phrase() IPhraseContext
func (*GroupContext) ToStringTree ¶
func (s *GroupContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type IAddrspecContext ¶
type IAddrspecContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsAddrspecContext differentiates from other interfaces. IsAddrspecContext() }
IAddrspecContext is an interface to support dynamic dispatch.
type IAtomContext ¶
type IAtomContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsAtomContext differentiates from other interfaces. IsAtomContext() }
IAtomContext is an interface to support dynamic dispatch.
type ICommentContext ¶
type ICommentContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsCommentContext differentiates from other interfaces. IsCommentContext() }
ICommentContext is an interface to support dynamic dispatch.
type IDelimetersContext ¶
type IDelimetersContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsDelimetersContext differentiates from other interfaces. IsDelimetersContext() }
IDelimetersContext is an interface to support dynamic dispatch.
type IDomainContext ¶
type IDomainContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsDomainContext differentiates from other interfaces. IsDomainContext() }
IDomainContext is an interface to support dynamic dispatch.
type IDomainliteralContext ¶
type IDomainliteralContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsDomainliteralContext differentiates from other interfaces. IsDomainliteralContext() }
IDomainliteralContext is an interface to support dynamic dispatch.
type IDomainrefContext ¶
type IDomainrefContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsDomainrefContext differentiates from other interfaces. IsDomainrefContext() }
IDomainrefContext is an interface to support dynamic dispatch.
type IEmailaddressContext ¶
type IEmailaddressContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsEmailaddressContext differentiates from other interfaces. IsEmailaddressContext() }
IEmailaddressContext is an interface to support dynamic dispatch.
type IGroupContext ¶
type IGroupContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsGroupContext differentiates from other interfaces. IsGroupContext() }
IGroupContext is an interface to support dynamic dispatch.
type ILocalpartContext ¶
type ILocalpartContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsLocalpartContext differentiates from other interfaces. IsLocalpartContext() }
ILocalpartContext is an interface to support dynamic dispatch.
type ILwspContext ¶
type ILwspContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsLwspContext differentiates from other interfaces. IsLwspContext() }
ILwspContext is an interface to support dynamic dispatch.
type ILwspcharContext ¶
type ILwspcharContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsLwspcharContext differentiates from other interfaces. IsLwspcharContext() }
ILwspcharContext is an interface to support dynamic dispatch.
type IMailboxContext ¶
type IMailboxContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsMailboxContext differentiates from other interfaces. IsMailboxContext() }
IMailboxContext is an interface to support dynamic dispatch.
type IPhraseContext ¶
type IPhraseContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsPhraseContext differentiates from other interfaces. IsPhraseContext() }
IPhraseContext is an interface to support dynamic dispatch.
type IQuotedpairContext ¶
type IQuotedpairContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsQuotedpairContext differentiates from other interfaces. IsQuotedpairContext() }
IQuotedpairContext is an interface to support dynamic dispatch.
type IQuotedstringContext ¶
type IQuotedstringContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsQuotedstringContext differentiates from other interfaces. IsQuotedstringContext() }
IQuotedstringContext is an interface to support dynamic dispatch.
type IRouteContext ¶
type IRouteContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsRouteContext differentiates from other interfaces. IsRouteContext() }
IRouteContext is an interface to support dynamic dispatch.
type IRouteaddrContext ¶
type IRouteaddrContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsRouteaddrContext differentiates from other interfaces. IsRouteaddrContext() }
IRouteaddrContext is an interface to support dynamic dispatch.
type ISubdomainContext ¶
type ISubdomainContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsSubdomainContext differentiates from other interfaces. IsSubdomainContext() }
ISubdomainContext is an interface to support dynamic dispatch.
type IWordContext ¶
type IWordContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsWordContext differentiates from other interfaces. IsWordContext() }
IWordContext is an interface to support dynamic dispatch.
type LocalpartContext ¶
type LocalpartContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyLocalpartContext ¶
func NewEmptyLocalpartContext() *LocalpartContext
func NewLocalpartContext ¶
func NewLocalpartContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LocalpartContext
func (*LocalpartContext) AllWord ¶
func (s *LocalpartContext) AllWord() []IWordContext
func (*LocalpartContext) EnterRule ¶
func (s *LocalpartContext) EnterRule(listener antlr.ParseTreeListener)
func (*LocalpartContext) ExitRule ¶
func (s *LocalpartContext) ExitRule(listener antlr.ParseTreeListener)
func (*LocalpartContext) GetParser ¶
func (s *LocalpartContext) GetParser() antlr.Parser
func (*LocalpartContext) GetRuleContext ¶
func (s *LocalpartContext) GetRuleContext() antlr.RuleContext
func (*LocalpartContext) IsLocalpartContext ¶
func (*LocalpartContext) IsLocalpartContext()
func (*LocalpartContext) ToStringTree ¶
func (s *LocalpartContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*LocalpartContext) Word ¶
func (s *LocalpartContext) Word(i int) IWordContext
type LwspContext ¶
type LwspContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyLwspContext ¶
func NewEmptyLwspContext() *LwspContext
func NewLwspContext ¶
func NewLwspContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LwspContext
func (*LwspContext) AllCRLF ¶
func (s *LwspContext) AllCRLF() []antlr.TerminalNode
func (*LwspContext) AllLwspchar ¶
func (s *LwspContext) AllLwspchar() []ILwspcharContext
func (*LwspContext) CRLF ¶
func (s *LwspContext) CRLF(i int) antlr.TerminalNode
func (*LwspContext) EnterRule ¶
func (s *LwspContext) EnterRule(listener antlr.ParseTreeListener)
func (*LwspContext) ExitRule ¶
func (s *LwspContext) ExitRule(listener antlr.ParseTreeListener)
func (*LwspContext) GetParser ¶
func (s *LwspContext) GetParser() antlr.Parser
func (*LwspContext) GetRuleContext ¶
func (s *LwspContext) GetRuleContext() antlr.RuleContext
func (*LwspContext) IsLwspContext ¶
func (*LwspContext) IsLwspContext()
func (*LwspContext) Lwspchar ¶
func (s *LwspContext) Lwspchar(i int) ILwspcharContext
func (*LwspContext) ToStringTree ¶
func (s *LwspContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type LwspcharContext ¶
type LwspcharContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyLwspcharContext ¶
func NewEmptyLwspcharContext() *LwspcharContext
func NewLwspcharContext ¶
func NewLwspcharContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LwspcharContext
func (*LwspcharContext) EnterRule ¶
func (s *LwspcharContext) EnterRule(listener antlr.ParseTreeListener)
func (*LwspcharContext) ExitRule ¶
func (s *LwspcharContext) ExitRule(listener antlr.ParseTreeListener)
func (*LwspcharContext) GetParser ¶
func (s *LwspcharContext) GetParser() antlr.Parser
func (*LwspcharContext) GetRuleContext ¶
func (s *LwspcharContext) GetRuleContext() antlr.RuleContext
func (*LwspcharContext) HTAB ¶
func (s *LwspcharContext) HTAB() antlr.TerminalNode
func (*LwspcharContext) IsLwspcharContext ¶
func (*LwspcharContext) IsLwspcharContext()
func (*LwspcharContext) SPACE ¶
func (s *LwspcharContext) SPACE() antlr.TerminalNode
func (*LwspcharContext) ToStringTree ¶
func (s *LwspcharContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type MailboxContext ¶
type MailboxContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyMailboxContext ¶
func NewEmptyMailboxContext() *MailboxContext
func NewMailboxContext ¶
func NewMailboxContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MailboxContext
func (*MailboxContext) Addrspec ¶
func (s *MailboxContext) Addrspec() IAddrspecContext
func (*MailboxContext) EnterRule ¶
func (s *MailboxContext) EnterRule(listener antlr.ParseTreeListener)
func (*MailboxContext) ExitRule ¶
func (s *MailboxContext) ExitRule(listener antlr.ParseTreeListener)
func (*MailboxContext) GetParser ¶
func (s *MailboxContext) GetParser() antlr.Parser
func (*MailboxContext) GetRuleContext ¶
func (s *MailboxContext) GetRuleContext() antlr.RuleContext
func (*MailboxContext) IsMailboxContext ¶
func (*MailboxContext) IsMailboxContext()
func (*MailboxContext) Phrase ¶
func (s *MailboxContext) Phrase() IPhraseContext
func (*MailboxContext) Routeaddr ¶
func (s *MailboxContext) Routeaddr() IRouteaddrContext
func (*MailboxContext) ToStringTree ¶
func (s *MailboxContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type PhraseContext ¶
type PhraseContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyPhraseContext ¶
func NewEmptyPhraseContext() *PhraseContext
func NewPhraseContext ¶
func NewPhraseContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PhraseContext
func (*PhraseContext) AllWord ¶
func (s *PhraseContext) AllWord() []IWordContext
func (*PhraseContext) EnterRule ¶
func (s *PhraseContext) EnterRule(listener antlr.ParseTreeListener)
func (*PhraseContext) ExitRule ¶
func (s *PhraseContext) ExitRule(listener antlr.ParseTreeListener)
func (*PhraseContext) GetParser ¶
func (s *PhraseContext) GetParser() antlr.Parser
func (*PhraseContext) GetRuleContext ¶
func (s *PhraseContext) GetRuleContext() antlr.RuleContext
func (*PhraseContext) IsPhraseContext ¶
func (*PhraseContext) IsPhraseContext()
func (*PhraseContext) ToStringTree ¶
func (s *PhraseContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*PhraseContext) Word ¶
func (s *PhraseContext) Word(i int) IWordContext
type QuotedpairContext ¶
type QuotedpairContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyQuotedpairContext ¶
func NewEmptyQuotedpairContext() *QuotedpairContext
func NewQuotedpairContext ¶
func NewQuotedpairContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *QuotedpairContext
func (*QuotedpairContext) CHAR ¶
func (s *QuotedpairContext) CHAR() antlr.TerminalNode
func (*QuotedpairContext) EnterRule ¶
func (s *QuotedpairContext) EnterRule(listener antlr.ParseTreeListener)
func (*QuotedpairContext) ExitRule ¶
func (s *QuotedpairContext) ExitRule(listener antlr.ParseTreeListener)
func (*QuotedpairContext) GetParser ¶
func (s *QuotedpairContext) GetParser() antlr.Parser
func (*QuotedpairContext) GetRuleContext ¶
func (s *QuotedpairContext) GetRuleContext() antlr.RuleContext
func (*QuotedpairContext) IsQuotedpairContext ¶
func (*QuotedpairContext) IsQuotedpairContext()
func (*QuotedpairContext) ToStringTree ¶
func (s *QuotedpairContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type QuotedstringContext ¶
type QuotedstringContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyQuotedstringContext ¶
func NewEmptyQuotedstringContext() *QuotedstringContext
func NewQuotedstringContext ¶
func NewQuotedstringContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *QuotedstringContext
func (*QuotedstringContext) AllQTEXT ¶
func (s *QuotedstringContext) AllQTEXT() []antlr.TerminalNode
func (*QuotedstringContext) AllQuotedpair ¶
func (s *QuotedstringContext) AllQuotedpair() []IQuotedpairContext
func (*QuotedstringContext) EnterRule ¶
func (s *QuotedstringContext) EnterRule(listener antlr.ParseTreeListener)
func (*QuotedstringContext) ExitRule ¶
func (s *QuotedstringContext) ExitRule(listener antlr.ParseTreeListener)
func (*QuotedstringContext) GetParser ¶
func (s *QuotedstringContext) GetParser() antlr.Parser
func (*QuotedstringContext) GetRuleContext ¶
func (s *QuotedstringContext) GetRuleContext() antlr.RuleContext
func (*QuotedstringContext) IsQuotedstringContext ¶
func (*QuotedstringContext) IsQuotedstringContext()
func (*QuotedstringContext) QTEXT ¶
func (s *QuotedstringContext) QTEXT(i int) antlr.TerminalNode
func (*QuotedstringContext) Quotedpair ¶
func (s *QuotedstringContext) Quotedpair(i int) IQuotedpairContext
func (*QuotedstringContext) ToStringTree ¶
func (s *QuotedstringContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type RouteContext ¶
type RouteContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyRouteContext ¶
func NewEmptyRouteContext() *RouteContext
func NewRouteContext ¶
func NewRouteContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RouteContext
func (*RouteContext) Domain ¶
func (s *RouteContext) Domain() IDomainContext
func (*RouteContext) EnterRule ¶
func (s *RouteContext) EnterRule(listener antlr.ParseTreeListener)
func (*RouteContext) ExitRule ¶
func (s *RouteContext) ExitRule(listener antlr.ParseTreeListener)
func (*RouteContext) GetParser ¶
func (s *RouteContext) GetParser() antlr.Parser
func (*RouteContext) GetRuleContext ¶
func (s *RouteContext) GetRuleContext() antlr.RuleContext
func (*RouteContext) IsRouteContext ¶
func (*RouteContext) IsRouteContext()
func (*RouteContext) ToStringTree ¶
func (s *RouteContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type RouteaddrContext ¶
type RouteaddrContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyRouteaddrContext ¶
func NewEmptyRouteaddrContext() *RouteaddrContext
func NewRouteaddrContext ¶
func NewRouteaddrContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RouteaddrContext
func (*RouteaddrContext) Addrspec ¶
func (s *RouteaddrContext) Addrspec() IAddrspecContext
func (*RouteaddrContext) AllRoute ¶
func (s *RouteaddrContext) AllRoute() []IRouteContext
func (*RouteaddrContext) EnterRule ¶
func (s *RouteaddrContext) EnterRule(listener antlr.ParseTreeListener)
func (*RouteaddrContext) ExitRule ¶
func (s *RouteaddrContext) ExitRule(listener antlr.ParseTreeListener)
func (*RouteaddrContext) GetParser ¶
func (s *RouteaddrContext) GetParser() antlr.Parser
func (*RouteaddrContext) GetRuleContext ¶
func (s *RouteaddrContext) GetRuleContext() antlr.RuleContext
func (*RouteaddrContext) IsRouteaddrContext ¶
func (*RouteaddrContext) IsRouteaddrContext()
func (*RouteaddrContext) Route ¶
func (s *RouteaddrContext) Route(i int) IRouteContext
func (*RouteaddrContext) ToStringTree ¶
func (s *RouteaddrContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type SubdomainContext ¶
type SubdomainContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySubdomainContext ¶
func NewEmptySubdomainContext() *SubdomainContext
func NewSubdomainContext ¶
func NewSubdomainContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SubdomainContext
func (*SubdomainContext) Domainliteral ¶
func (s *SubdomainContext) Domainliteral() IDomainliteralContext
func (*SubdomainContext) Domainref ¶
func (s *SubdomainContext) Domainref() IDomainrefContext
func (*SubdomainContext) EnterRule ¶
func (s *SubdomainContext) EnterRule(listener antlr.ParseTreeListener)
func (*SubdomainContext) ExitRule ¶
func (s *SubdomainContext) ExitRule(listener antlr.ParseTreeListener)
func (*SubdomainContext) GetParser ¶
func (s *SubdomainContext) GetParser() antlr.Parser
func (*SubdomainContext) GetRuleContext ¶
func (s *SubdomainContext) GetRuleContext() antlr.RuleContext
func (*SubdomainContext) IsSubdomainContext ¶
func (*SubdomainContext) IsSubdomainContext()
func (*SubdomainContext) ToStringTree ¶
func (s *SubdomainContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type WordContext ¶
type WordContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyWordContext ¶
func NewEmptyWordContext() *WordContext
func NewWordContext ¶
func NewWordContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *WordContext
func (*WordContext) Atom ¶
func (s *WordContext) Atom() IAtomContext
func (*WordContext) EnterRule ¶
func (s *WordContext) EnterRule(listener antlr.ParseTreeListener)
func (*WordContext) ExitRule ¶
func (s *WordContext) ExitRule(listener antlr.ParseTreeListener)
func (*WordContext) GetParser ¶
func (s *WordContext) GetParser() antlr.Parser
func (*WordContext) GetRuleContext ¶
func (s *WordContext) GetRuleContext() antlr.RuleContext
func (*WordContext) IsWordContext ¶
func (*WordContext) IsWordContext()
func (*WordContext) Quotedstring ¶
func (s *WordContext) Quotedstring() IQuotedstringContext
func (*WordContext) ToStringTree ¶
func (s *WordContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string