|
carputils
Doxygen code documentation for the python framework controlling openCARP
|
Class defining a basic parser interface. More...
Public Member Functions | |
| def | __init__ (self) |
| def | parsef (self, fp) |
| Parse a file. More... | |
| def | parses (self, string) |
| Parse a string. More... | |
| def | parsel (self, lines) |
| Parse lines. More... | |
Class defining a basic parser interface.
| def carputils.cml.cmlparser.CMLParser.__init__ | ( | self | ) |
| def carputils.cml.cmlparser.CMLParser.parsef | ( | self, | |
| fp | |||
| ) |
Parse a file.
NotImplementedError will be raised when the method is called.| fp | File pointer to the file to be parsed |
Reimplemented in carputils.cml.cmlparser.CMLParserYAML.
| def carputils.cml.cmlparser.CMLParser.parsel | ( | self, | |
| lines | |||
| ) |
Parse lines.
NotImplementedError will be raised when the method is called.| lines | lines to be parsed |
Reimplemented in carputils.cml.cmlparser.CMLParserYAML.
| def carputils.cml.cmlparser.CMLParser.parses | ( | self, | |
| string | |||
| ) |
Parse a string.
NotImplementedError will be raised when the method is called.| srtring | string to be parsed |
Reimplemented in carputils.cml.cmlparser.CMLParserYAML.