Methods
|
|
__init__
chunk_to_atoms
expand_abbrevs
get_last_free_atom
parse_form
parse_text
|
|
__init__
|
__init__ (
self,
text="",
valency=0,
mol=None,
)
valency specifies the already occupied valency of the submited formula,
it is usually used when parsing groups
|
|
chunk_to_atoms
|
chunk_to_atoms (
self,
chunk,
mol,
)
|
|
expand_abbrevs
|
expand_abbrevs ( self, text )
|
|
get_last_free_atom
|
get_last_free_atom ( self, mol )
|
|
parse_form
|
parse_form (
self,
text,
valency=0,
mol=None,
reverse=False,
)
|
|
parse_text
|
parse_text (
self,
text,
valency=0,
mol=None,
)
|
|