001// Generated from de/isas/lipidomics/palinom/SumFormula.g4 by ANTLR 4.7.2
002package de.isas.lipidomics.palinom;
003import org.antlr.v4.runtime.tree.AbstractParseTreeVisitor;
004
005/**
006 * This class provides an empty implementation of {@link SumFormulaVisitor},
007 * which can be extended to create a visitor which only needs to handle a subset
008 * of the available methods.
009 *
010 * @param <T> The return type of the visit operation. Use {@link Void} for
011 * operations with no return type.
012 */
013public class SumFormulaBaseVisitor<T> extends AbstractParseTreeVisitor<T> implements SumFormulaVisitor<T> {
014        /**
015         * {@inheritDoc}
016         *
017         * <p>The default implementation returns the result of calling
018         * {@link #visitChildren} on {@code ctx}.</p>
019         */
020        @Override public T visitMolecule(SumFormulaParser.MoleculeContext ctx) { return visitChildren(ctx); }
021        /**
022         * {@inheritDoc}
023         *
024         * <p>The default implementation returns the result of calling
025         * {@link #visitChildren} on {@code ctx}.</p>
026         */
027        @Override public T visitMolecule_rule(SumFormulaParser.Molecule_ruleContext ctx) { return visitChildren(ctx); }
028        /**
029         * {@inheritDoc}
030         *
031         * <p>The default implementation returns the result of calling
032         * {@link #visitChildren} on {@code ctx}.</p>
033         */
034        @Override public T visitMolecule_group(SumFormulaParser.Molecule_groupContext ctx) { return visitChildren(ctx); }
035        /**
036         * {@inheritDoc}
037         *
038         * <p>The default implementation returns the result of calling
039         * {@link #visitChildren} on {@code ctx}.</p>
040         */
041        @Override public T visitElement_group(SumFormulaParser.Element_groupContext ctx) { return visitChildren(ctx); }
042        /**
043         * {@inheritDoc}
044         *
045         * <p>The default implementation returns the result of calling
046         * {@link #visitChildren} on {@code ctx}.</p>
047         */
048        @Override public T visitSingle_element(SumFormulaParser.Single_elementContext ctx) { return visitChildren(ctx); }
049        /**
050         * {@inheritDoc}
051         *
052         * <p>The default implementation returns the result of calling
053         * {@link #visitChildren} on {@code ctx}.</p>
054         */
055        @Override public T visitElement(SumFormulaParser.ElementContext ctx) { return visitChildren(ctx); }
056        /**
057         * {@inheritDoc}
058         *
059         * <p>The default implementation returns the result of calling
060         * {@link #visitChildren} on {@code ctx}.</p>
061         */
062        @Override public T visitCount(SumFormulaParser.CountContext ctx) { return visitChildren(ctx); }
063        /**
064         * {@inheritDoc}
065         *
066         * <p>The default implementation returns the result of calling
067         * {@link #visitChildren} on {@code ctx}.</p>
068         */
069        @Override public T visitDigit(SumFormulaParser.DigitContext ctx) { return visitChildren(ctx); }
070}