apiparser_visitor.go 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. // Code generated from tools/goctl/api/parser/g4/ApiParser.g4 by ANTLR 4.9. DO NOT EDIT.
  2. package api // ApiParser
  3. import "github.com/zeromicro/antlr"
  4. // A complete Visitor for a parse tree produced by ApiParserParser.
  5. type ApiParserVisitor interface {
  6. antlr.ParseTreeVisitor
  7. // Visit a parse tree produced by ApiParserParser#api.
  8. VisitApi(ctx *ApiContext) interface{}
  9. // Visit a parse tree produced by ApiParserParser#spec.
  10. VisitSpec(ctx *SpecContext) interface{}
  11. // Visit a parse tree produced by ApiParserParser#syntaxLit.
  12. VisitSyntaxLit(ctx *SyntaxLitContext) interface{}
  13. // Visit a parse tree produced by ApiParserParser#importSpec.
  14. VisitImportSpec(ctx *ImportSpecContext) interface{}
  15. // Visit a parse tree produced by ApiParserParser#importLit.
  16. VisitImportLit(ctx *ImportLitContext) interface{}
  17. // Visit a parse tree produced by ApiParserParser#importBlock.
  18. VisitImportBlock(ctx *ImportBlockContext) interface{}
  19. // Visit a parse tree produced by ApiParserParser#importBlockValue.
  20. VisitImportBlockValue(ctx *ImportBlockValueContext) interface{}
  21. // Visit a parse tree produced by ApiParserParser#importValue.
  22. VisitImportValue(ctx *ImportValueContext) interface{}
  23. // Visit a parse tree produced by ApiParserParser#infoSpec.
  24. VisitInfoSpec(ctx *InfoSpecContext) interface{}
  25. // Visit a parse tree produced by ApiParserParser#typeSpec.
  26. VisitTypeSpec(ctx *TypeSpecContext) interface{}
  27. // Visit a parse tree produced by ApiParserParser#typeLit.
  28. VisitTypeLit(ctx *TypeLitContext) interface{}
  29. // Visit a parse tree produced by ApiParserParser#typeBlock.
  30. VisitTypeBlock(ctx *TypeBlockContext) interface{}
  31. // Visit a parse tree produced by ApiParserParser#typeLitBody.
  32. VisitTypeLitBody(ctx *TypeLitBodyContext) interface{}
  33. // Visit a parse tree produced by ApiParserParser#typeBlockBody.
  34. VisitTypeBlockBody(ctx *TypeBlockBodyContext) interface{}
  35. // Visit a parse tree produced by ApiParserParser#typeStruct.
  36. VisitTypeStruct(ctx *TypeStructContext) interface{}
  37. // Visit a parse tree produced by ApiParserParser#typeAlias.
  38. VisitTypeAlias(ctx *TypeAliasContext) interface{}
  39. // Visit a parse tree produced by ApiParserParser#typeBlockStruct.
  40. VisitTypeBlockStruct(ctx *TypeBlockStructContext) interface{}
  41. // Visit a parse tree produced by ApiParserParser#typeBlockAlias.
  42. VisitTypeBlockAlias(ctx *TypeBlockAliasContext) interface{}
  43. // Visit a parse tree produced by ApiParserParser#field.
  44. VisitField(ctx *FieldContext) interface{}
  45. // Visit a parse tree produced by ApiParserParser#normalField.
  46. VisitNormalField(ctx *NormalFieldContext) interface{}
  47. // Visit a parse tree produced by ApiParserParser#anonymousFiled.
  48. VisitAnonymousFiled(ctx *AnonymousFiledContext) interface{}
  49. // Visit a parse tree produced by ApiParserParser#dataType.
  50. VisitDataType(ctx *DataTypeContext) interface{}
  51. // Visit a parse tree produced by ApiParserParser#pointerType.
  52. VisitPointerType(ctx *PointerTypeContext) interface{}
  53. // Visit a parse tree produced by ApiParserParser#mapType.
  54. VisitMapType(ctx *MapTypeContext) interface{}
  55. // Visit a parse tree produced by ApiParserParser#arrayType.
  56. VisitArrayType(ctx *ArrayTypeContext) interface{}
  57. // Visit a parse tree produced by ApiParserParser#serviceSpec.
  58. VisitServiceSpec(ctx *ServiceSpecContext) interface{}
  59. // Visit a parse tree produced by ApiParserParser#atServer.
  60. VisitAtServer(ctx *AtServerContext) interface{}
  61. // Visit a parse tree produced by ApiParserParser#serviceApi.
  62. VisitServiceApi(ctx *ServiceApiContext) interface{}
  63. // Visit a parse tree produced by ApiParserParser#serviceRoute.
  64. VisitServiceRoute(ctx *ServiceRouteContext) interface{}
  65. // Visit a parse tree produced by ApiParserParser#atDoc.
  66. VisitAtDoc(ctx *AtDocContext) interface{}
  67. // Visit a parse tree produced by ApiParserParser#atHandler.
  68. VisitAtHandler(ctx *AtHandlerContext) interface{}
  69. // Visit a parse tree produced by ApiParserParser#route.
  70. VisitRoute(ctx *RouteContext) interface{}
  71. // Visit a parse tree produced by ApiParserParser#body.
  72. VisitBody(ctx *BodyContext) interface{}
  73. // Visit a parse tree produced by ApiParserParser#replybody.
  74. VisitReplybody(ctx *ReplybodyContext) interface{}
  75. // Visit a parse tree produced by ApiParserParser#kvLit.
  76. VisitKvLit(ctx *KvLitContext) interface{}
  77. // Visit a parse tree produced by ApiParserParser#serviceName.
  78. VisitServiceName(ctx *ServiceNameContext) interface{}
  79. // Visit a parse tree produced by ApiParserParser#path.
  80. VisitPath(ctx *PathContext) interface{}
  81. }