Class UciBaseVisitor<T>

java.lang.Object
org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
net.chesstango.goyeneche.internal.antlr4.UciBaseVisitor<T>
Type Parameters:
T - The return type of the visit operation. Use Void for operations with no return type.
All Implemented Interfaces:
UciVisitor<T>, org.antlr.v4.runtime.tree.ParseTreeVisitor<T>

public class UciBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements UciVisitor<T>
This class provides an empty implementation of UciVisitor, which can be extended to create a visitor which only needs to handle a subset of the available methods.
  • Constructor Details

    • UciBaseVisitor

      public UciBaseVisitor()
  • Method Details

    • visitCommand

      public T visitCommand(UciParser.CommandContext ctx)
      Visit a parse tree produced by UciParser.command().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitCommand in interface UciVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitRequest

      public T visitRequest(UciParser.RequestContext ctx)
      Visit a parse tree produced by UciParser.request().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitRequest in interface UciVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitSetoption

      public T visitSetoption(UciParser.SetoptionContext ctx)
      Visit a parse tree produced by UciParser.setoption().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitSetoption in interface UciVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitPosition

      public T visitPosition(UciParser.PositionContext ctx)
      Visit a parse tree produced by UciParser.position().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitPosition in interface UciVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitFen

      public T visitFen(UciParser.FenContext ctx)
      Visit a parse tree produced by UciParser.fen().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitFen in interface UciVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitGo

      public T visitGo(UciParser.GoContext ctx)
      Visit a parse tree produced by UciParser.go().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitGo in interface UciVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitDepthparam

      public T visitDepthparam(UciParser.DepthparamContext ctx)
      Visit a parse tree produced by UciParser.depthparam().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitDepthparam in interface UciVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitMovetime

      public T visitMovetime(UciParser.MovetimeContext ctx)
      Visit a parse tree produced by UciParser.movetime().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitMovetime in interface UciVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitWtime

      public T visitWtime(UciParser.WtimeContext ctx)
      Visit a parse tree produced by UciParser.wtime().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitWtime in interface UciVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitBtime

      public T visitBtime(UciParser.BtimeContext ctx)
      Visit a parse tree produced by UciParser.btime().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitBtime in interface UciVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitWinc

      public T visitWinc(UciParser.WincContext ctx)
      Visit a parse tree produced by UciParser.winc().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitWinc in interface UciVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitBinc

      public T visitBinc(UciParser.BincContext ctx)
      Visit a parse tree produced by UciParser.binc().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitBinc in interface UciVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitResponse

      public T visitResponse(UciParser.ResponseContext ctx)
      Visit a parse tree produced by UciParser.response().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitResponse in interface UciVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitId

      public T visitId(UciParser.IdContext ctx)
      Visit a parse tree produced by UciParser.id().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitId in interface UciVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitName

      public T visitName(UciParser.NameContext ctx)
      Visit a parse tree produced by UciParser.name().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitName in interface UciVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitAuthor

      public T visitAuthor(UciParser.AuthorContext ctx)
      Visit a parse tree produced by UciParser.author().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitAuthor in interface UciVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitMove

      public T visitMove(UciParser.MoveContext ctx)
      Visit a parse tree produced by UciParser.move().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitMove in interface UciVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitOption

      public T visitOption(UciParser.OptionContext ctx)
      Visit a parse tree produced by UciParser.option().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitOption in interface UciVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitOptionname

      public T visitOptionname(UciParser.OptionnameContext ctx)
      Visit a parse tree produced by UciParser.optionname().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitOptionname in interface UciVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitOptiontype

      public T visitOptiontype(UciParser.OptiontypeContext ctx)
      Visit a parse tree produced by UciParser.optiontype().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitOptiontype in interface UciVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result