Skip to content

bib.bibtexparser.middlewares.parsestack

Classes

Functions

default_parse_stack

default_parse_stack(allow_inplace_modification=True)

Give the default parse stack to be applied after splitting, if not specified otherwise.

Source code in pybibtexer/bib/bibtexparser/middlewares/parsestack.py
4
5
6
def default_parse_stack(allow_inplace_modification: bool = True) -> list[Middleware]:
    """Give the default parse stack to be applied after splitting, if not specified otherwise."""
    return []

default_unparse_stack

default_unparse_stack(allow_inplace_modification=False)

Give the default unparse stack to be applied before writing, if not specified otherwise.

Source code in pybibtexer/bib/bibtexparser/middlewares/parsestack.py
def default_unparse_stack(allow_inplace_modification: bool = False) -> list[Middleware]:
    """Give the default unparse stack to be applied before writing, if not specified otherwise."""
    return []