Class clfBaseListener
This class provides an empty implementation of IclfListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Clf
Assembly: Clf.dll
Syntax
public class clfBaseListener : object, IclfListener, Antlr4.Runtime.Tree.IParseTreeListener
Methods
| Improve this Doc View SourceEnterBytes(clfParser.BytesContext)
Enter a parse tree produced by bytes().
The default implementation does nothing.
Declaration
public virtual void EnterBytes(clfParser.BytesContext context)
Parameters
Type | Name | Description |
---|---|---|
clfParser.BytesContext | context | The parse tree. |
EnterDatetimetz(clfParser.DatetimetzContext)
Enter a parse tree produced by datetimetz().
The default implementation does nothing.
Declaration
public virtual void EnterDatetimetz(clfParser.DatetimetzContext context)
Parameters
Type | Name | Description |
---|---|---|
clfParser.DatetimetzContext | 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.
EnterHost(clfParser.HostContext)
Enter a parse tree produced by host().
The default implementation does nothing.
Declaration
public virtual void EnterHost(clfParser.HostContext context)
Parameters
Type | Name | Description |
---|---|---|
clfParser.HostContext | context | The parse tree. |
EnterLine(clfParser.LineContext)
Enter a parse tree produced by line().
The default implementation does nothing.
Declaration
public virtual void EnterLine(clfParser.LineContext context)
Parameters
Type | Name | Description |
---|---|---|
clfParser.LineContext | context | The parse tree. |
EnterLog(clfParser.LogContext)
Enter a parse tree produced by log().
The default implementation does nothing.
Declaration
public virtual void EnterLog(clfParser.LogContext context)
Parameters
Type | Name | Description |
---|---|---|
clfParser.LogContext | context | The parse tree. |
EnterLogname(clfParser.LognameContext)
Enter a parse tree produced by logname().
The default implementation does nothing.
Declaration
public virtual void EnterLogname(clfParser.LognameContext context)
Parameters
Type | Name | Description |
---|---|---|
clfParser.LognameContext | context | The parse tree. |
EnterReferer(clfParser.RefererContext)
Enter a parse tree produced by referer().
The default implementation does nothing.
Declaration
public virtual void EnterReferer(clfParser.RefererContext context)
Parameters
Type | Name | Description |
---|---|---|
clfParser.RefererContext | context | The parse tree. |
EnterRequest(clfParser.RequestContext)
Enter a parse tree produced by request().
The default implementation does nothing.
Declaration
public virtual void EnterRequest(clfParser.RequestContext context)
Parameters
Type | Name | Description |
---|---|---|
clfParser.RequestContext | context | The parse tree. |
EnterStatuscode(clfParser.StatuscodeContext)
Enter a parse tree produced by statuscode().
The default implementation does nothing.
Declaration
public virtual void EnterStatuscode(clfParser.StatuscodeContext context)
Parameters
Type | Name | Description |
---|---|---|
clfParser.StatuscodeContext | context | The parse tree. |
EnterUseragent(clfParser.UseragentContext)
Enter a parse tree produced by useragent().
The default implementation does nothing.
Declaration
public virtual void EnterUseragent(clfParser.UseragentContext context)
Parameters
Type | Name | Description |
---|---|---|
clfParser.UseragentContext | context | The parse tree. |
EnterUsername(clfParser.UsernameContext)
Enter a parse tree produced by username().
The default implementation does nothing.
Declaration
public virtual void EnterUsername(clfParser.UsernameContext context)
Parameters
Type | Name | Description |
---|---|---|
clfParser.UsernameContext | context | The parse tree. |
ExitBytes(clfParser.BytesContext)
Exit a parse tree produced by bytes().
The default implementation does nothing.
Declaration
public virtual void ExitBytes(clfParser.BytesContext context)
Parameters
Type | Name | Description |
---|---|---|
clfParser.BytesContext | context | The parse tree. |
ExitDatetimetz(clfParser.DatetimetzContext)
Exit a parse tree produced by datetimetz().
The default implementation does nothing.
Declaration
public virtual void ExitDatetimetz(clfParser.DatetimetzContext context)
Parameters
Type | Name | Description |
---|---|---|
clfParser.DatetimetzContext | 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.
ExitHost(clfParser.HostContext)
Exit a parse tree produced by host().
The default implementation does nothing.
Declaration
public virtual void ExitHost(clfParser.HostContext context)
Parameters
Type | Name | Description |
---|---|---|
clfParser.HostContext | context | The parse tree. |
ExitLine(clfParser.LineContext)
Exit a parse tree produced by line().
The default implementation does nothing.
Declaration
public virtual void ExitLine(clfParser.LineContext context)
Parameters
Type | Name | Description |
---|---|---|
clfParser.LineContext | context | The parse tree. |
ExitLog(clfParser.LogContext)
Exit a parse tree produced by log().
The default implementation does nothing.
Declaration
public virtual void ExitLog(clfParser.LogContext context)
Parameters
Type | Name | Description |
---|---|---|
clfParser.LogContext | context | The parse tree. |
ExitLogname(clfParser.LognameContext)
Exit a parse tree produced by logname().
The default implementation does nothing.
Declaration
public virtual void ExitLogname(clfParser.LognameContext context)
Parameters
Type | Name | Description |
---|---|---|
clfParser.LognameContext | context | The parse tree. |
ExitReferer(clfParser.RefererContext)
Exit a parse tree produced by referer().
The default implementation does nothing.
Declaration
public virtual void ExitReferer(clfParser.RefererContext context)
Parameters
Type | Name | Description |
---|---|---|
clfParser.RefererContext | context | The parse tree. |
ExitRequest(clfParser.RequestContext)
Exit a parse tree produced by request().
The default implementation does nothing.
Declaration
public virtual void ExitRequest(clfParser.RequestContext context)
Parameters
Type | Name | Description |
---|---|---|
clfParser.RequestContext | context | The parse tree. |
ExitStatuscode(clfParser.StatuscodeContext)
Exit a parse tree produced by statuscode().
The default implementation does nothing.
Declaration
public virtual void ExitStatuscode(clfParser.StatuscodeContext context)
Parameters
Type | Name | Description |
---|---|---|
clfParser.StatuscodeContext | context | The parse tree. |
ExitUseragent(clfParser.UseragentContext)
Exit a parse tree produced by useragent().
The default implementation does nothing.
Declaration
public virtual void ExitUseragent(clfParser.UseragentContext context)
Parameters
Type | Name | Description |
---|---|---|
clfParser.UseragentContext | context | The parse tree. |
ExitUsername(clfParser.UsernameContext)
Exit a parse tree produced by username().
The default implementation does nothing.
Declaration
public virtual void ExitUsername(clfParser.UsernameContext context)
Parameters
Type | Name | Description |
---|---|---|
clfParser.UsernameContext | 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.