Skip to content

Result Parser

parser

Created on Jan 19, 2010

@author: Roland Kaminski

Parser

A parser to parse XML result files.

__init__() -> None

Initializes the parser.

close() -> None

This method is called for every closing XML tag.

parse(infile: Any) -> Result

Parse a given result file and return its representation in form of an instance of class Result.

Attributes: infile (Any): The file to parse.

start(tag: str, attrib: dict[str, Any]) -> None

This method is called for every opening XML tag.

Attributes: tag (str): The name of the tag. attrib (dict[str, Any]): The attributes of the tag.