mondbranch.command-line-parser.1.2.0.source-code.CmdArgsBaseVisitor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of command-line-parser Show documentation
Show all versions of command-line-parser Show documentation
Allows a direct call to a main(String[] args) method using an unparsed string containing the arguments.
The newest version!
// Generated from /home/ubuntu/code/command-line-parser/src/main/antlr4/CmdArgs.g4 by ANTLR 4.2.2
package com.github.almondbranch.command_line_parser;
import org.antlr.v4.runtime.misc.NotNull;
import org.antlr.v4.runtime.tree.AbstractParseTreeVisitor;
/**
* This class provides an empty implementation of {@link CmdArgsVisitor},
* which can be extended to create a visitor which only needs to handle a subset
* of the available methods.
*
* @param The return type of the visit operation. Use {@link Void} for
* operations with no return type.
*/
public class CmdArgsBaseVisitor extends AbstractParseTreeVisitor implements CmdArgsVisitor {
/**
* {@inheritDoc}
*
* The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.
*/
@Override public T visitInput(@NotNull CmdArgsParser.InputContext ctx) { return visitChildren(ctx); }
/**
* {@inheritDoc}
*
* The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.
*/
@Override public T visitEntry(@NotNull CmdArgsParser.EntryContext ctx) { return visitChildren(ctx); }
/**
* {@inheritDoc}
*
* The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.
*/
@Override public T visitDelimiter(@NotNull CmdArgsParser.DelimiterContext ctx) { return visitChildren(ctx); }
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy