Class SumFormulaBaseVisitor<T>
- java.lang.Object
-
- org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
-
- de.isas.lipidomics.palinom.SumFormulaBaseVisitor<T>
-
- Type Parameters:
T
- The return type of the visit operation. UseVoid
for operations with no return type.
- All Implemented Interfaces:
SumFormulaVisitor<T>
,org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
- Direct Known Subclasses:
SumFormulaVisitorImpl
public class SumFormulaBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements SumFormulaVisitor<T>
This class provides an empty implementation ofSumFormulaVisitor
, which can be extended to create a visitor which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description SumFormulaBaseVisitor()
-
Method Summary
-
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
-
-
-
-
Constructor Detail
-
SumFormulaBaseVisitor
public SumFormulaBaseVisitor()
-
-
Method Detail
-
visitMolecule
public T visitMolecule(SumFormulaParser.MoleculeContext ctx)
Visit a parse tree produced bySumFormulaParser.molecule()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitMolecule
in interfaceSumFormulaVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMolecule_rule
public T visitMolecule_rule(SumFormulaParser.Molecule_ruleContext ctx)
Visit a parse tree produced bySumFormulaParser.molecule_rule()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitMolecule_rule
in interfaceSumFormulaVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMolecule_group
public T visitMolecule_group(SumFormulaParser.Molecule_groupContext ctx)
Visit a parse tree produced bySumFormulaParser.molecule_group()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitMolecule_group
in interfaceSumFormulaVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitElement_group
public T visitElement_group(SumFormulaParser.Element_groupContext ctx)
Visit a parse tree produced bySumFormulaParser.element_group()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitElement_group
in interfaceSumFormulaVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSingle_element
public T visitSingle_element(SumFormulaParser.Single_elementContext ctx)
Visit a parse tree produced bySumFormulaParser.single_element()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSingle_element
in interfaceSumFormulaVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitElement
public T visitElement(SumFormulaParser.ElementContext ctx)
Visit a parse tree produced bySumFormulaParser.element()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitElement
in interfaceSumFormulaVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCount
public T visitCount(SumFormulaParser.CountContext ctx)
Visit a parse tree produced bySumFormulaParser.count()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitCount
in interfaceSumFormulaVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDigit
public T visitDigit(SumFormulaParser.DigitContext ctx)
Visit a parse tree produced bySumFormulaParser.digit()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDigit
in interfaceSumFormulaVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
-