public class SLNParser extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SLNParser.ParserState |
Modifier and Type | Field and Description |
---|---|
int |
maxCompNumber |
int |
numFragments |
Constructor and Description |
---|
SLNParser() |
SLNParser(SLNDictionary globalDictionary) |
public SLNParser()
public SLNParser(SLNDictionary globalDictionary)
public int setPredefinedGlobalDictionary()
public boolean getFlagTolerateSpaces()
public void setFlagTolerateSpaces(boolean tolerateSpaces)
public void setFlagAllowBondExpressionInRingClosure(boolean flagAllowBondExpressionInRingClosure)
public boolean getFlagAllowBondExpressionInRingClosure()
public boolean isFlagUseSimpleMacroAtomsInDictionary()
public void setFlagUseSimpleMacroAtomsInDictionary(boolean flagUseSimpleMacroAtomsInDictionary)
public boolean isFlagUseTypeAsStandardAtomAttribute()
public void setFlagUseTypeAsStandardAtomAttribute(boolean flagUseTypeAsStandardAtomAttribute)
public SLNDictionary getGlobalDictionary()
public void setGlobalDictionary(SLNDictionary globalDictionary)
public SLNContainer parse(String sln)
public SLNSubstance parseSLNSubstance(String sln)
public void handleLocalDictionary()
public void analyzeAtomExpression(String atomExpr)
public String getErrorMessages()
public ArrayList<SLNParserError> getErrors()
public void analyzeBondExpression(String bondExpr)
public ISLNDictionaryObject parseDictionaryObject(String dictObjectString)
public ISLNDictionaryObject parseMacroAtomDictionaryObject(String dictObjectString, boolean parseName)
public ISLNDictionaryObject parseMarkushDictionaryObject(String dictObjectString)
Copyright © 2004–2021 Ideaconsult Ltd.. All rights reserved.