mirror of
https://github.com/sojamo/controlp5
synced 2024-11-16 11:17:56 +01:00
64 lines
2.2 KiB
Java
64 lines
2.2 KiB
Java
// Generated from XML.g4 by ANTLR 4.13.0
|
|
package main.java.src2.main.java.controlP5.controlP5.layout.lang;
|
|
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); }
|
|
/**
|
|
* {@inheritDoc}
|
|
*
|
|
* <p>The default implementation returns the result of calling
|
|
* {@link #visitChildren} on {@code ctx}.</p>
|
|
*/
|
|
@Override public T visitValue(XMLParser.ValueContext ctx) { return visitChildren(ctx); }
|
|
} |