[PATCH v5 3/5] dts: add parsing utility module
Juraj Linkeš
juraj.linkes at pantheon.tech
Fri Jun 7 13:16:25 CEST 2024
On 6. 6. 2024 23:34, Luca Vizzarro wrote:
> Adds parsing text into a custom dataclass. It provides a new
> `TextParser` dataclass to be inherited. This implements the `parse`
> method, which combined with the parser functions, it can automatically
> parse the value for each field.
>
> This new utility will facilitate and simplify the parsing of complex
> command outputs, while ensuring that the codebase does not get bloated
> and stays flexible.
>
> Signed-off-by: Luca Vizzarro <luca.vizzarro at arm.com>
> Reviewed-by: Paul Szczepanek <paul.szczepanek at arm.com>
Reviewed-by: Juraj Linkeš <juraj.linkes at pantheon.tech>
More information about the dev
mailing list