Class urlBaseListener
This class provides an empty implementation of IurlListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Url
Assembly: Url.dll
Syntax
public class urlBaseListener : object, IurlListener, Antlr4.Runtime.Tree.IParseTreeListener
Methods
| Improve this Doc View SourceEnterDomainNameOrIPv4Host(urlParser.DomainNameOrIPv4HostContext)
Enter a parse tree produced by the DomainNameOrIPv4Host
labeled alternative in hostname().
The default implementation does nothing.
Declaration
public virtual void EnterDomainNameOrIPv4Host(urlParser.DomainNameOrIPv4HostContext context)
Parameters
Type | Name | Description |
---|---|---|
urlParser.DomainNameOrIPv4HostContext | context | The parse tree. |
EnterEveryRule(Antlr4.Runtime.ParserRuleContext)
Declaration
public virtual void EnterEveryRule(Antlr4.Runtime.ParserRuleContext context)
Parameters
Type | Name | Description |
---|---|---|
Antlr4.Runtime.ParserRuleContext | context |
Remarks
The default implementation does nothing.
EnterFrag(urlParser.FragContext)
Enter a parse tree produced by frag().
The default implementation does nothing.
Declaration
public virtual void EnterFrag(urlParser.FragContext context)
Parameters
Type | Name | Description |
---|---|---|
urlParser.FragContext | context | The parse tree. |
EnterHost(urlParser.HostContext)
Enter a parse tree produced by host().
The default implementation does nothing.
Declaration
public virtual void EnterHost(urlParser.HostContext context)
Parameters
Type | Name | Description |
---|---|---|
urlParser.HostContext | context | The parse tree. |
EnterIPv6Host(urlParser.IPv6HostContext)
Enter a parse tree produced by the IPv6Host
labeled alternative in hostname().
The default implementation does nothing.
Declaration
public virtual void EnterIPv6Host(urlParser.IPv6HostContext context)
Parameters
Type | Name | Description |
---|---|---|
urlParser.IPv6HostContext | context | The parse tree. |
EnterLogin(urlParser.LoginContext)
Enter a parse tree produced by login().
The default implementation does nothing.
Declaration
public virtual void EnterLogin(urlParser.LoginContext context)
Parameters
Type | Name | Description |
---|---|---|
urlParser.LoginContext | context | The parse tree. |
EnterPassword(urlParser.PasswordContext)
Enter a parse tree produced by password().
The default implementation does nothing.
Declaration
public virtual void EnterPassword(urlParser.PasswordContext context)
Parameters
Type | Name | Description |
---|---|---|
urlParser.PasswordContext | context | The parse tree. |
EnterPath(urlParser.PathContext)
Enter a parse tree produced by path().
The default implementation does nothing.
Declaration
public virtual void EnterPath(urlParser.PathContext context)
Parameters
Type | Name | Description |
---|---|---|
urlParser.PathContext | context | The parse tree. |
EnterPort(urlParser.PortContext)
Enter a parse tree produced by port().
The default implementation does nothing.
Declaration
public virtual void EnterPort(urlParser.PortContext context)
Parameters
Type | Name | Description |
---|---|---|
urlParser.PortContext | context | The parse tree. |
EnterQuery(urlParser.QueryContext)
Enter a parse tree produced by query().
The default implementation does nothing.
Declaration
public virtual void EnterQuery(urlParser.QueryContext context)
Parameters
Type | Name | Description |
---|---|---|
urlParser.QueryContext | context | The parse tree. |
EnterScheme(urlParser.SchemeContext)
Enter a parse tree produced by scheme().
The default implementation does nothing.
Declaration
public virtual void EnterScheme(urlParser.SchemeContext context)
Parameters
Type | Name | Description |
---|---|---|
urlParser.SchemeContext | context | The parse tree. |
EnterSearch(urlParser.SearchContext)
Enter a parse tree produced by search().
The default implementation does nothing.
Declaration
public virtual void EnterSearch(urlParser.SearchContext context)
Parameters
Type | Name | Description |
---|---|---|
urlParser.SearchContext | context | The parse tree. |
EnterSearchparameter(urlParser.SearchparameterContext)
Enter a parse tree produced by searchparameter().
The default implementation does nothing.
Declaration
public virtual void EnterSearchparameter(urlParser.SearchparameterContext context)
Parameters
Type | Name | Description |
---|---|---|
urlParser.SearchparameterContext | context | The parse tree. |
EnterString(urlParser.StringContext)
Enter a parse tree produced by
The default implementation does nothing.
Declaration
public virtual void EnterString(urlParser.StringContext context)
Parameters
Type | Name | Description |
---|---|---|
urlParser.StringContext | context | The parse tree. |
EnterUri(urlParser.UriContext)
Enter a parse tree produced by uri().
The default implementation does nothing.
Declaration
public virtual void EnterUri(urlParser.UriContext context)
Parameters
Type | Name | Description |
---|---|---|
urlParser.UriContext | context | The parse tree. |
EnterUrl(urlParser.UrlContext)
Enter a parse tree produced by url().
The default implementation does nothing.
Declaration
public virtual void EnterUrl(urlParser.UrlContext context)
Parameters
Type | Name | Description |
---|---|---|
urlParser.UrlContext | context | The parse tree. |
EnterUser(urlParser.UserContext)
Enter a parse tree produced by user().
The default implementation does nothing.
Declaration
public virtual void EnterUser(urlParser.UserContext context)
Parameters
Type | Name | Description |
---|---|---|
urlParser.UserContext | context | The parse tree. |
EnterV6host(urlParser.V6hostContext)
Enter a parse tree produced by v6host().
The default implementation does nothing.
Declaration
public virtual void EnterV6host(urlParser.V6hostContext context)
Parameters
Type | Name | Description |
---|---|---|
urlParser.V6hostContext | context | The parse tree. |
ExitDomainNameOrIPv4Host(urlParser.DomainNameOrIPv4HostContext)
Exit a parse tree produced by the DomainNameOrIPv4Host
labeled alternative in hostname().
The default implementation does nothing.
Declaration
public virtual void ExitDomainNameOrIPv4Host(urlParser.DomainNameOrIPv4HostContext context)
Parameters
Type | Name | Description |
---|---|---|
urlParser.DomainNameOrIPv4HostContext | context | The parse tree. |
ExitEveryRule(Antlr4.Runtime.ParserRuleContext)
Declaration
public virtual void ExitEveryRule(Antlr4.Runtime.ParserRuleContext context)
Parameters
Type | Name | Description |
---|---|---|
Antlr4.Runtime.ParserRuleContext | context |
Remarks
The default implementation does nothing.
ExitFrag(urlParser.FragContext)
Exit a parse tree produced by frag().
The default implementation does nothing.
Declaration
public virtual void ExitFrag(urlParser.FragContext context)
Parameters
Type | Name | Description |
---|---|---|
urlParser.FragContext | context | The parse tree. |
ExitHost(urlParser.HostContext)
Exit a parse tree produced by host().
The default implementation does nothing.
Declaration
public virtual void ExitHost(urlParser.HostContext context)
Parameters
Type | Name | Description |
---|---|---|
urlParser.HostContext | context | The parse tree. |
ExitIPv6Host(urlParser.IPv6HostContext)
Exit a parse tree produced by the IPv6Host
labeled alternative in hostname().
The default implementation does nothing.
Declaration
public virtual void ExitIPv6Host(urlParser.IPv6HostContext context)
Parameters
Type | Name | Description |
---|---|---|
urlParser.IPv6HostContext | context | The parse tree. |
ExitLogin(urlParser.LoginContext)
Exit a parse tree produced by login().
The default implementation does nothing.
Declaration
public virtual void ExitLogin(urlParser.LoginContext context)
Parameters
Type | Name | Description |
---|---|---|
urlParser.LoginContext | context | The parse tree. |
ExitPassword(urlParser.PasswordContext)
Exit a parse tree produced by password().
The default implementation does nothing.
Declaration
public virtual void ExitPassword(urlParser.PasswordContext context)
Parameters
Type | Name | Description |
---|---|---|
urlParser.PasswordContext | context | The parse tree. |
ExitPath(urlParser.PathContext)
Exit a parse tree produced by path().
The default implementation does nothing.
Declaration
public virtual void ExitPath(urlParser.PathContext context)
Parameters
Type | Name | Description |
---|---|---|
urlParser.PathContext | context | The parse tree. |
ExitPort(urlParser.PortContext)
Exit a parse tree produced by port().
The default implementation does nothing.
Declaration
public virtual void ExitPort(urlParser.PortContext context)
Parameters
Type | Name | Description |
---|---|---|
urlParser.PortContext | context | The parse tree. |
ExitQuery(urlParser.QueryContext)
Exit a parse tree produced by query().
The default implementation does nothing.
Declaration
public virtual void ExitQuery(urlParser.QueryContext context)
Parameters
Type | Name | Description |
---|---|---|
urlParser.QueryContext | context | The parse tree. |
ExitScheme(urlParser.SchemeContext)
Exit a parse tree produced by scheme().
The default implementation does nothing.
Declaration
public virtual void ExitScheme(urlParser.SchemeContext context)
Parameters
Type | Name | Description |
---|---|---|
urlParser.SchemeContext | context | The parse tree. |
ExitSearch(urlParser.SearchContext)
Exit a parse tree produced by search().
The default implementation does nothing.
Declaration
public virtual void ExitSearch(urlParser.SearchContext context)
Parameters
Type | Name | Description |
---|---|---|
urlParser.SearchContext | context | The parse tree. |
ExitSearchparameter(urlParser.SearchparameterContext)
Exit a parse tree produced by searchparameter().
The default implementation does nothing.
Declaration
public virtual void ExitSearchparameter(urlParser.SearchparameterContext context)
Parameters
Type | Name | Description |
---|---|---|
urlParser.SearchparameterContext | context | The parse tree. |
ExitString(urlParser.StringContext)
Exit a parse tree produced by
The default implementation does nothing.
Declaration
public virtual void ExitString(urlParser.StringContext context)
Parameters
Type | Name | Description |
---|---|---|
urlParser.StringContext | context | The parse tree. |
ExitUri(urlParser.UriContext)
Exit a parse tree produced by uri().
The default implementation does nothing.
Declaration
public virtual void ExitUri(urlParser.UriContext context)
Parameters
Type | Name | Description |
---|---|---|
urlParser.UriContext | context | The parse tree. |
ExitUrl(urlParser.UrlContext)
Exit a parse tree produced by url().
The default implementation does nothing.
Declaration
public virtual void ExitUrl(urlParser.UrlContext context)
Parameters
Type | Name | Description |
---|---|---|
urlParser.UrlContext | context | The parse tree. |
ExitUser(urlParser.UserContext)
Exit a parse tree produced by user().
The default implementation does nothing.
Declaration
public virtual void ExitUser(urlParser.UserContext context)
Parameters
Type | Name | Description |
---|---|---|
urlParser.UserContext | context | The parse tree. |
ExitV6host(urlParser.V6hostContext)
Exit a parse tree produced by v6host().
The default implementation does nothing.
Declaration
public virtual void ExitV6host(urlParser.V6hostContext context)
Parameters
Type | Name | Description |
---|---|---|
urlParser.V6hostContext | context | The parse tree. |
VisitErrorNode(Antlr4.Runtime.Tree.IErrorNode)
Declaration
public virtual void VisitErrorNode(Antlr4.Runtime.Tree.IErrorNode node)
Parameters
Type | Name | Description |
---|---|---|
Antlr4.Runtime.Tree.IErrorNode | node |
Remarks
The default implementation does nothing.
VisitTerminal(Antlr4.Runtime.Tree.ITerminalNode)
Declaration
public virtual void VisitTerminal(Antlr4.Runtime.Tree.ITerminalNode node)
Parameters
Type | Name | Description |
---|---|---|
Antlr4.Runtime.Tree.ITerminalNode | node |
Remarks
The default implementation does nothing.