Class SumFormulaVisitorImpl
- java.lang.Object
-
- org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
-
- de.isas.lipidomics.palinom.SumFormulaBaseVisitor<ElementTable>
-
- de.isas.lipidomics.palinom.sumformula.SumFormulaVisitorImpl
-
- All Implemented Interfaces:
SumFormulaVisitor<ElementTable>
,org.antlr.v4.runtime.tree.ParseTreeVisitor<ElementTable>
public class SumFormulaVisitorImpl extends SumFormulaBaseVisitor<ElementTable>
Base visitor implementation for the SumFormula grammar. Overriding implementation ofSumFormulaBaseVisitor
. CreatesElementTable
instances from the provided context.- Author:
- nils.hoffmann
- See Also:
SumFormulaVisitorParser
-
-
Constructor Summary
Constructors Constructor Description SumFormulaVisitorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ElementTable
visitMolecule(SumFormulaParser.MoleculeContext ctx)
Visit a parse tree produced bySumFormulaParser.molecule()
.-
Methods inherited from class de.isas.lipidomics.palinom.SumFormulaBaseVisitor
visitCount, visitDigit, visitElement, visitElement_group, visitMolecule_group, visitMolecule_rule, visitSingle_element
-
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
-
-
-
-
Constructor Detail
-
SumFormulaVisitorImpl
public SumFormulaVisitorImpl()
-
-
Method Detail
-
visitMolecule
public ElementTable visitMolecule(SumFormulaParser.MoleculeContext ctx)
Description copied from class:SumFormulaBaseVisitor
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<ElementTable>
- Overrides:
visitMolecule
in classSumFormulaBaseVisitor<ElementTable>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
-