Interface IuseragentVisitor<Result>
This interface defines a complete generic visitor for a parse tree produced by useragentParser.
Namespace: GCore.Antlr.Grammers.Useragent
Assembly: Useragent.dll
Syntax
public interface IuseragentVisitor<Result> : IParseTreeVisitor<Result>
Type Parameters
Name | Description |
---|---|
Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitComment(useragentParser.CommentContext)
Visit a parse tree produced by comment().
Declaration
Result VisitComment(useragentParser.CommentContext context)
Parameters
Type | Name | Description |
---|---|---|
useragentParser.CommentContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitName(useragentParser.NameContext)
Visit a parse tree produced by name().
Declaration
Result VisitName(useragentParser.NameContext context)
Parameters
Type | Name | Description |
---|---|---|
useragentParser.NameContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitProduct(useragentParser.ProductContext)
Visit a parse tree produced by product().
Declaration
Result VisitProduct(useragentParser.ProductContext context)
Parameters
Type | Name | Description |
---|---|---|
useragentParser.ProductContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitProg(useragentParser.ProgContext)
Visit a parse tree produced by prog().
Declaration
Result VisitProg(useragentParser.ProgContext context)
Parameters
Type | Name | Description |
---|---|---|
useragentParser.ProgContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitVersion(useragentParser.VersionContext)
Visit a parse tree produced by version().
Declaration
Result VisitVersion(useragentParser.VersionContext context)
Parameters
Type | Name | Description |
---|---|---|
useragentParser.VersionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |