Class cookieBaseListener
This class provides an empty implementation of IcookieListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Cookie
Assembly: Cookie.dll
Syntax
public class cookieBaseListener : object, IcookieListener, Antlr4.Runtime.Tree.IParseTreeListener
Methods
| Improve this Doc View SourceEnterAttr(cookieParser.AttrContext)
Enter a parse tree produced by attr().
The default implementation does nothing.
Declaration
public virtual void EnterAttr(cookieParser.AttrContext context)
Parameters
Type | Name | Description |
---|---|---|
cookieParser.AttrContext | context | The parse tree. |
EnterAv_pair(cookieParser.Av_pairContext)
Enter a parse tree produced by av_pair().
The default implementation does nothing.
Declaration
public virtual void EnterAv_pair(cookieParser.Av_pairContext context)
Parameters
Type | Name | Description |
---|---|---|
cookieParser.Av_pairContext | context | The parse tree. |
EnterAv_pairs(cookieParser.Av_pairsContext)
Enter a parse tree produced by av_pairs().
The default implementation does nothing.
Declaration
public virtual void EnterAv_pairs(cookieParser.Av_pairsContext context)
Parameters
Type | Name | Description |
---|---|---|
cookieParser.Av_pairsContext | context | The parse tree. |
EnterCookie(cookieParser.CookieContext)
Enter a parse tree produced by cookie().
The default implementation does nothing.
Declaration
public virtual void EnterCookie(cookieParser.CookieContext context)
Parameters
Type | Name | Description |
---|---|---|
cookieParser.CookieContext | 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.
EnterName(cookieParser.NameContext)
Enter a parse tree produced by name().
The default implementation does nothing.
Declaration
public virtual void EnterName(cookieParser.NameContext context)
Parameters
Type | Name | Description |
---|---|---|
cookieParser.NameContext | context | The parse tree. |
EnterQuoted_string(cookieParser.Quoted_stringContext)
Enter a parse tree produced by quoted_string().
The default implementation does nothing.
Declaration
public virtual void EnterQuoted_string(cookieParser.Quoted_stringContext context)
Parameters
Type | Name | Description |
---|---|---|
cookieParser.Quoted_stringContext | context | The parse tree. |
EnterToken(cookieParser.TokenContext)
Enter a parse tree produced by token().
The default implementation does nothing.
Declaration
public virtual void EnterToken(cookieParser.TokenContext context)
Parameters
Type | Name | Description |
---|---|---|
cookieParser.TokenContext | context | The parse tree. |
EnterValue(cookieParser.ValueContext)
Enter a parse tree produced by value().
The default implementation does nothing.
Declaration
public virtual void EnterValue(cookieParser.ValueContext context)
Parameters
Type | Name | Description |
---|---|---|
cookieParser.ValueContext | context | The parse tree. |
EnterWord(cookieParser.WordContext)
Enter a parse tree produced by word().
The default implementation does nothing.
Declaration
public virtual void EnterWord(cookieParser.WordContext context)
Parameters
Type | Name | Description |
---|---|---|
cookieParser.WordContext | context | The parse tree. |
ExitAttr(cookieParser.AttrContext)
Exit a parse tree produced by attr().
The default implementation does nothing.
Declaration
public virtual void ExitAttr(cookieParser.AttrContext context)
Parameters
Type | Name | Description |
---|---|---|
cookieParser.AttrContext | context | The parse tree. |
ExitAv_pair(cookieParser.Av_pairContext)
Exit a parse tree produced by av_pair().
The default implementation does nothing.
Declaration
public virtual void ExitAv_pair(cookieParser.Av_pairContext context)
Parameters
Type | Name | Description |
---|---|---|
cookieParser.Av_pairContext | context | The parse tree. |
ExitAv_pairs(cookieParser.Av_pairsContext)
Exit a parse tree produced by av_pairs().
The default implementation does nothing.
Declaration
public virtual void ExitAv_pairs(cookieParser.Av_pairsContext context)
Parameters
Type | Name | Description |
---|---|---|
cookieParser.Av_pairsContext | context | The parse tree. |
ExitCookie(cookieParser.CookieContext)
Exit a parse tree produced by cookie().
The default implementation does nothing.
Declaration
public virtual void ExitCookie(cookieParser.CookieContext context)
Parameters
Type | Name | Description |
---|---|---|
cookieParser.CookieContext | 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.
ExitName(cookieParser.NameContext)
Exit a parse tree produced by name().
The default implementation does nothing.
Declaration
public virtual void ExitName(cookieParser.NameContext context)
Parameters
Type | Name | Description |
---|---|---|
cookieParser.NameContext | context | The parse tree. |
ExitQuoted_string(cookieParser.Quoted_stringContext)
Exit a parse tree produced by quoted_string().
The default implementation does nothing.
Declaration
public virtual void ExitQuoted_string(cookieParser.Quoted_stringContext context)
Parameters
Type | Name | Description |
---|---|---|
cookieParser.Quoted_stringContext | context | The parse tree. |
ExitToken(cookieParser.TokenContext)
Exit a parse tree produced by token().
The default implementation does nothing.
Declaration
public virtual void ExitToken(cookieParser.TokenContext context)
Parameters
Type | Name | Description |
---|---|---|
cookieParser.TokenContext | context | The parse tree. |
ExitValue(cookieParser.ValueContext)
Exit a parse tree produced by value().
The default implementation does nothing.
Declaration
public virtual void ExitValue(cookieParser.ValueContext context)
Parameters
Type | Name | Description |
---|---|---|
cookieParser.ValueContext | context | The parse tree. |
ExitWord(cookieParser.WordContext)
Exit a parse tree produced by word().
The default implementation does nothing.
Declaration
public virtual void ExitWord(cookieParser.WordContext context)
Parameters
Type | Name | Description |
---|---|---|
cookieParser.WordContext | 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.