Package de.isas.lipidomics.palinom.hmdb
Class HmdbVisitorImpl
- java.lang.Object
-
- org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
-
- de.isas.lipidomics.palinom.HMDBBaseVisitor<LipidAdduct>
-
- de.isas.lipidomics.palinom.hmdb.HmdbVisitorImpl
-
- All Implemented Interfaces:
HMDBVisitor<LipidAdduct>
,org.antlr.v4.runtime.tree.ParseTreeVisitor<LipidAdduct>
public class HmdbVisitorImpl extends HMDBBaseVisitor<LipidAdduct>
Base visitor implementation for the GoslinFragments grammar. Overriding implementation ofHMDBBaseVisitor
. CreatesLipidAdduct
instances from the provided context.- Author:
- nils.hoffmann
- See Also:
HmdbVisitorParser
-
-
Constructor Summary
Constructors Constructor Description HmdbVisitorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LipidAdduct
visitLipid(HMDBParser.LipidContext ctx)
Produces a LipidAdduct given the LipidContext.-
Methods inherited from class de.isas.lipidomics.palinom.HMDBBaseVisitor
visitCarbon, visitCarbon_db_separator, visitCistrans, visitDb, visitDb_count, visitDb_position, visitDb_position_number, visitDb_position_separator, visitDb_positions, visitDb_single_position, visitDb_suffix, visitDb_suffix_number, visitDigit, visitEther, visitEther_link_pos, visitEther_type, visitFa, visitFa_core, visitFa_fa, visitFa_hg, visitFa_lcb_prefix, visitFa_lcb_prefix_separator, visitFa_lcb_prefix_type, visitFa_lcb_suffix, visitFa_lcb_suffix_core, visitFa_lcb_suffix_number, visitFa_lcb_suffix_separator, visitFa_lcb_suffix_type, visitFa_species, visitFa2, visitFa2_sorted, visitFa2_unsorted, visitFa3, visitFa3_sorted, visitFa3_unsorted, visitFa4, visitFa4_sorted, visitFa4_unsorted, visitFatty_acid, visitFuran_fa, visitFuran_fa_di, visitFuran_fa_mono, visitGanglioside, visitGanglioside_names, visitGl, visitGl_fa, visitGl_hg, visitGl_molecular, visitGl_molecular_fa, visitGl_molecular_hg, visitGl_mono, visitGl_mono_fa, visitGl_mono_hg, visitGl_regular, visitHeadgroup_separator, visitHydroxyl, visitInterlink_fa, visitLcb, visitLcb_core, visitLipid_class, visitLipid_pure, visitLipid_suffix, visitMed_position, visitMed_position_separator, visitMed_positions, visitMed_suffix, visitMediator, visitMediator_single, visitNumber, visitPl, visitPl_fa, visitPl_four, visitPl_four_fa, visitPl_four_hg, visitPl_hg, visitPl_regular, visitPl_three, visitPl_three_fa, visitPl_three_hg, visitSl, visitSl_hg, visitSl_hg_names, visitSl_hg_prefix, visitSl_hg_suffix, visitSl_lcb, visitSl_lcb_species, visitSl_lcb_subspecies, visitSorted_fa_separator, visitSt, visitSt_species, visitSt_species_fa, visitSt_species_hg, visitSt_sub1, visitSt_sub1_fa, visitSt_sub1_hg, visitSt_sub2, visitSt_sub2_fa, visitSt_sub2_hg, visitUnsorted_fa_separator
-
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
-
-
-
-
Constructor Detail
-
HmdbVisitorImpl
public HmdbVisitorImpl()
-
-
Method Detail
-
visitLipid
public LipidAdduct visitLipid(HMDBParser.LipidContext ctx)
Produces a LipidAdduct given the LipidContext.- Specified by:
visitLipid
in interfaceHMDBVisitor<LipidAdduct>
- Overrides:
visitLipid
in classHMDBBaseVisitor<LipidAdduct>
- Parameters:
ctx
-- Returns:
- a LipidAdduct.
- Throws:
ParseTreeVisitorException
- for structural or state-related issues while trying to process a parsing context.RuntimeException
-
-