Package org.lifstools.jgoslin.parser
Klasse SumFormulaParser
Parser implementation for chemical sum formulas.
- Autor:
- Dominik Kopczynski, Nils Hoffmann
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen org.lifstools.jgoslin.parser.Parser
Parser.DPNode, Parser.ParsingErrors -
Feldübersicht
Von Klasse geerbte Felder org.lifstools.jgoslin.parser.Parser
avgPair, DEFAULT_QUOTE, EOF_RULE, EOF_RULE_NAME, EOF_SIGN, grammarName, MASK, nextFreeRuleIndex, NTtoNT, NTtoRule, originalTtoNT, quote, rightPair, RULE_ASSIGNMENT, RULE_SEPARATOR, RULE_TERMINAL, ruleToNT, SHIFT, START_RULE, substitution, TtoNT, usedEof -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungCreate a new instance of aSumFormulaParserwith default grammarDEFAULT_GRAMMARand default quoteStringFunctions.DEFAULT_QUOTE.SumFormulaParser(String grammarContent, char quote) Create a new instance of aSumFormulaParser. -
Methodenübersicht
Von Klasse geerbte Methoden org.lifstools.jgoslin.parser.Parser
add_terminal, collect_backwards, collect_backwards, collect_one_backwards, compute_rule_key, de_escape, extract_text_based_rules, fill_tree, get_next_free_rule_index, is_terminal, parse, parse, parse_regular, raise_events, readGrammar, top_nodes
-
Konstruktordetails
-
SumFormulaParser
Create a new instance of aSumFormulaParser.- Parameter:
grammarContent- the grammar text contentquote- the quotation character used in the grammar
-
SumFormulaParser
public SumFormulaParser()Create a new instance of aSumFormulaParserwith default grammarDEFAULT_GRAMMARand default quoteStringFunctions.DEFAULT_QUOTE.
-
-
Methodendetails
-
newEventHandler
- Angegeben von:
newEventHandlerin KlasseParser<ElementTable>
-