chapi.parser.cmake.CMakeBaseVisitor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of chapi-parser-cmake Show documentation
Show all versions of chapi-parser-cmake Show documentation
Chapi is A common language meta information convertor, convert different languages to same meta-data model
// Generated from CMake.g4 by ANTLR 4.13.1
package chapi.parser.cmake;
import org.antlr.v4.runtime.tree.AbstractParseTreeVisitor;
/**
* This class provides an empty implementation of {@link CMakeVisitor},
* 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.
*/
@SuppressWarnings("CheckReturnValue")
public class CMakeBaseVisitor extends AbstractParseTreeVisitor implements CMakeVisitor {
/**
* {@inheritDoc}
*
* The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.
*/
@Override public T visitFile_(CMakeParser.File_Context ctx) { return visitChildren(ctx); }
/**
* {@inheritDoc}
*
* The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.
*/
@Override public T visitCommand_invocation(CMakeParser.Command_invocationContext ctx) { return visitChildren(ctx); }
/**
* {@inheritDoc}
*
* The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.
*/
@Override public T visitSingle_argument(CMakeParser.Single_argumentContext ctx) { return visitChildren(ctx); }
/**
* {@inheritDoc}
*
* The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.
*/
@Override public T visitCompound_argument(CMakeParser.Compound_argumentContext ctx) { return visitChildren(ctx); }
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy