mirror of
https://github.com/sojamo/controlp5
synced 2024-11-16 03:07:56 +01:00
57 lines
2.0 KiB
Java
57 lines
2.0 KiB
Java
// Generated from /Users/gabrielsalvador/Code/controlp5/src/main/java/controlP5/layout/XML.g4 by ANTLR 4.12.0
|
|
package controlP5.layout;
|
|
import org.antlr.v4.runtime.tree.AbstractParseTreeVisitor;
|
|
|
|
/**
|
|
* This class provides an empty implementation of {@link XMLVisitor},
|
|
* which can be extended to create a visitor which only needs to handle a subset
|
|
* of the available methods.
|
|
*
|
|
* @param <T> The return type of the visit operation. Use {@link Void} for
|
|
* operations with no return type.
|
|
*/
|
|
@SuppressWarnings("CheckReturnValue")
|
|
public class XMLBaseVisitor<T> extends AbstractParseTreeVisitor<T> implements XMLVisitor<T> {
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation returns the result of calling
|
|
* {@link #visitChildren} on {@code ctx}.</p>
|
|
*/
|
|
@Override public T visitDocument(XMLParser.DocumentContext ctx) { return visitChildren(ctx); }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation returns the result of calling
|
|
* {@link #visitChildren} on {@code ctx}.</p>
|
|
*/
|
|
@Override public T visitElement(XMLParser.ElementContext ctx) { return visitChildren(ctx); }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation returns the result of calling
|
|
* {@link #visitChildren} on {@code ctx}.</p>
|
|
*/
|
|
@Override public T visitStartTag(XMLParser.StartTagContext ctx) { return visitChildren(ctx); }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation returns the result of calling
|
|
* {@link #visitChildren} on {@code ctx}.</p>
|
|
*/
|
|
@Override public T visitEndTag(XMLParser.EndTagContext ctx) { return visitChildren(ctx); }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation returns the result of calling
|
|
* {@link #visitChildren} on {@code ctx}.</p>
|
|
*/
|
|
@Override public T visitAttribute(XMLParser.AttributeContext ctx) { return visitChildren(ctx); }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation returns the result of calling
|
|
* {@link #visitChildren} on {@code ctx}.</p>
|
|
*/
|
|
@Override public T visitContent(XMLParser.ContentContext ctx) { return visitChildren(ctx); }
|
|
} |