TemplateBaseVisitor.java 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. // Generated from C:\Users\EUGENIO CARVALHO\Desktop\projects\Ivannosys\src\template\Template.g4 by ANTLR 4.2.2
  2. package templates;
  3. import org.antlr.v4.runtime.misc.NotNull;
  4. import org.antlr.v4.runtime.tree.AbstractParseTreeVisitor;
  5. /**
  6. * This class provides an empty implementation of {@link TemplateVisitor},
  7. * which can be extended to create a visitor which only needs to handle a subset
  8. * of the available methods.
  9. *
  10. * @param <T> The return type of the visit operation. Use {@link Void} for
  11. * operations with no return type.
  12. */
  13. public class TemplateBaseVisitor<T> extends AbstractParseTreeVisitor<T> implements TemplateVisitor<T> {
  14. /**
  15. * {@inheritDoc}
  16. *
  17. * <p>The default implementation returns the result of calling
  18. * {@link #visitChildren} on {@code ctx}.</p>
  19. */
  20. @Override public T visitExpression(@NotNull TemplateParser.ExpressionContext ctx) { return visitChildren(ctx); }
  21. /**
  22. * {@inheritDoc}
  23. *
  24. * <p>The default implementation returns the result of calling
  25. * {@link #visitChildren} on {@code ctx}.</p>
  26. */
  27. @Override public T visitArg(@NotNull TemplateParser.ArgContext ctx) { return visitChildren(ctx); }
  28. /**
  29. * {@inheritDoc}
  30. *
  31. * <p>The default implementation returns the result of calling
  32. * {@link #visitChildren} on {@code ctx}.</p>
  33. */
  34. @Override public T visitCall(@NotNull TemplateParser.CallContext ctx) { return visitChildren(ctx); }
  35. /**
  36. * {@inheritDoc}
  37. *
  38. * <p>The default implementation returns the result of calling
  39. * {@link #visitChildren} on {@code ctx}.</p>
  40. */
  41. @Override public T visitArgs(@NotNull TemplateParser.ArgsContext ctx) { return visitChildren(ctx); }
  42. /**
  43. * {@inheritDoc}
  44. *
  45. * <p>The default implementation returns the result of calling
  46. * {@link #visitChildren} on {@code ctx}.</p>
  47. */
  48. @Override public T visitAny(@NotNull TemplateParser.AnyContext ctx) { return visitChildren(ctx); }
  49. /**
  50. * {@inheritDoc}
  51. *
  52. * <p>The default implementation returns the result of calling
  53. * {@link #visitChildren} on {@code ctx}.</p>
  54. */
  55. @Override public T visitStmt(@NotNull TemplateParser.StmtContext ctx) { return visitChildren(ctx); }
  56. /**
  57. * {@inheritDoc}
  58. *
  59. * <p>The default implementation returns the result of calling
  60. * {@link #visitChildren} on {@code ctx}.</p>
  61. */
  62. @Override public T visitInit(@NotNull TemplateParser.InitContext ctx) { return visitChildren(ctx); }
  63. /**
  64. * {@inheritDoc}
  65. *
  66. * <p>The default implementation returns the result of calling
  67. * {@link #visitChildren} on {@code ctx}.</p>
  68. */
  69. @Override public T visitNumber(@NotNull TemplateParser.NumberContext ctx) { return visitChildren(ctx); }
  70. /**
  71. * {@inheritDoc}
  72. *
  73. * <p>The default implementation returns the result of calling
  74. * {@link #visitChildren} on {@code ctx}.</p>
  75. */
  76. @Override public T visitPart(@NotNull TemplateParser.PartContext ctx) { return visitChildren(ctx); }
  77. /**
  78. * {@inheritDoc}
  79. *
  80. * <p>The default implementation returns the result of calling
  81. * {@link #visitChildren} on {@code ctx}.</p>
  82. */
  83. @Override public T visitSeletor(@NotNull TemplateParser.SeletorContext ctx) { return visitChildren(ctx); }
  84. /**
  85. * {@inheritDoc}
  86. *
  87. * <p>The default implementation returns the result of calling
  88. * {@link #visitChildren} on {@code ctx}.</p>
  89. */
  90. @Override public T visitLiteral(@NotNull TemplateParser.LiteralContext ctx) { return visitChildren(ctx); }
  91. }