BlockParser#

class pyedb.workflows.utilities.hfss_log_parser.BlockParser(lines: list[str])#

Base class for a single block parser.

Parameters:
lineslist of str

Lines of text to parse from the log file.

Examples

>>> lines = ["Line 1", "Line 2"]
>>> parser = BlockParser(lines)
>>> parser.lines
['Line 1', 'Line 2']

Overview#

parse

Parse the stored lines.

Import detail#

from pyedb.workflows.utilities.hfss_log_parser import BlockParser

Attribute detail#

BlockParser.lines#

Method detail#

abstract BlockParser.parse() Any#

Parse the stored lines.

Returns:
Any

Parsed data structure.