MCPcopy Create free account
hub / github.com/awolverp/markupever / process

Method process

python/markupever/parser.py:62–71  ·  view source on GitHub ↗

Processes an input. `content` must be `str` or `bytes`. Raises `RuntimeError` if `.finish()` method is called.

(self, content: typing.Union[str, bytes])

Source from the content-addressed store, hash-verified

60 return len(content)
61
62 def process(self, content: typing.Union[str, bytes]) -> "Parser":
63 """
64 Processes an input.
65
66 `content` must be `str` or `bytes`.
67
68 Raises `RuntimeError` if `.finish()` method is called.
69 """
70 self.__raw.process(content)
71 return self
72
73 def finish(self) -> "Parser":
74 """

Callers 7

parseFunction · 0.95
parse_fileFunction · 0.95
test_parser_generatorsFunction · 0.95
test_selectFunction · 0.95
test_serializeFunction · 0.95
test_parserFunction · 0.95
writeMethod · 0.45

Calls

no outgoing calls

Tested by 4

test_parser_generatorsFunction · 0.76
test_selectFunction · 0.76
test_serializeFunction · 0.76
test_parserFunction · 0.76