Class cookieBaseVisitor<Result>
This class provides an empty implementation of IcookieVisitor<Result>, which can be extended to create a visitor which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Cookie
Assembly: Cookie.dll
Syntax
public class cookieBaseVisitor<Result> : AbstractParseTreeVisitor<Result>, IcookieVisitor<Result>, IParseTreeVisitor<Result>Type Parameters
| Name | Description | 
|---|---|
| Result | The return type of the visit operation. | 
Methods
| Improve this Doc View SourceVisitAttr(cookieParser.AttrContext)
Visit a parse tree produced by attr().
The default implementation returns the result of calling context.
Declaration
public virtual Result VisitAttr(cookieParser.AttrContext context)Parameters
| Type | Name | Description | 
|---|---|---|
| cookieParser.AttrContext | context | The parse tree. | 
Returns
| Type | Description | 
|---|---|
| Result | 
VisitAv_pair(cookieParser.Av_pairContext)
Visit a parse tree produced by av_pair().
The default implementation returns the result of calling context.
Declaration
public virtual Result VisitAv_pair(cookieParser.Av_pairContext context)Parameters
| Type | Name | Description | 
|---|---|---|
| cookieParser.Av_pairContext | context | The parse tree. | 
Returns
| Type | Description | 
|---|---|
| Result | 
VisitAv_pairs(cookieParser.Av_pairsContext)
Visit a parse tree produced by av_pairs().
The default implementation returns the result of calling context.
Declaration
public virtual Result VisitAv_pairs(cookieParser.Av_pairsContext context)Parameters
| Type | Name | Description | 
|---|---|---|
| cookieParser.Av_pairsContext | context | The parse tree. | 
Returns
| Type | Description | 
|---|---|
| Result | 
VisitCookie(cookieParser.CookieContext)
Visit a parse tree produced by cookie().
The default implementation returns the result of calling context.
Declaration
public virtual Result VisitCookie(cookieParser.CookieContext context)Parameters
| Type | Name | Description | 
|---|---|---|
| cookieParser.CookieContext | context | The parse tree. | 
Returns
| Type | Description | 
|---|---|
| Result | 
VisitName(cookieParser.NameContext)
Visit a parse tree produced by name().
The default implementation returns the result of calling context.
Declaration
public virtual Result VisitName(cookieParser.NameContext context)Parameters
| Type | Name | Description | 
|---|---|---|
| cookieParser.NameContext | context | The parse tree. | 
Returns
| Type | Description | 
|---|---|
| Result | 
VisitQuoted_string(cookieParser.Quoted_stringContext)
Visit a parse tree produced by quoted_string().
The default implementation returns the result of calling context.
Declaration
public virtual Result VisitQuoted_string(cookieParser.Quoted_stringContext context)Parameters
| Type | Name | Description | 
|---|---|---|
| cookieParser.Quoted_stringContext | context | The parse tree. | 
Returns
| Type | Description | 
|---|---|
| Result | 
VisitToken(cookieParser.TokenContext)
Visit a parse tree produced by token().
The default implementation returns the result of calling context.
Declaration
public virtual Result VisitToken(cookieParser.TokenContext context)Parameters
| Type | Name | Description | 
|---|---|---|
| cookieParser.TokenContext | context | The parse tree. | 
Returns
| Type | Description | 
|---|---|
| Result | 
VisitValue(cookieParser.ValueContext)
Visit a parse tree produced by value().
The default implementation returns the result of calling context.
Declaration
public virtual Result VisitValue(cookieParser.ValueContext context)Parameters
| Type | Name | Description | 
|---|---|---|
| cookieParser.ValueContext | context | The parse tree. | 
Returns
| Type | Description | 
|---|---|
| Result | 
VisitWord(cookieParser.WordContext)
Visit a parse tree produced by word().
The default implementation returns the result of calling context.
Declaration
public virtual Result VisitWord(cookieParser.WordContext context)Parameters
| Type | Name | Description | 
|---|---|---|
| cookieParser.WordContext | context | The parse tree. | 
Returns
| Type | Description | 
|---|---|
| Result |