pytrnsys_process.deck.parser.parse_dck#
- pytrnsys_process.deck.parser.parse_dck(ddck_content: str) Tree[source]#
Parse the provided dck content string and generate a tree structure using the Lark parser.
The function utilizes an internal parser to interpret the given dck_content and produce a parsed tree object. It requires the content to be in a format understood by the parser.
- Parameters:
ddck_content (str) – The string content of the dck file to be parsed.
- Returns:
The parsed tree representation of the provided dck content.
- Return type:
_lark.Tree
- Raises:
Any exceptions raised by the underlying parser. –