Class defining a basic parser interface.
More...
Class defining a basic parser interface.
◆ __init__()
| def carputils.cml.cmlparser.CMLParser.__init__ |
( |
|
self | ) |
|
◆ parsef()
| def carputils.cml.cmlparser.CMLParser.parsef |
( |
|
self, |
|
|
|
fp |
|
) |
| |
Parse a file.
- Note
- This is just a method interface, a
NotImplementedError will be raised when the method is called.
- Parameters
-
| fp | File pointer to the file to be parsed |
- Raise
- NotImplementedError
◆ parsel()
| def carputils.cml.cmlparser.CMLParser.parsel |
( |
|
self, |
|
|
|
lines |
|
) |
| |
Parse lines.
- Note
- This is just a method interface, a
NotImplementedError will be raised when the method is called.
- Parameters
-
- Raise
- NotImplementedError
◆ parses()
| def carputils.cml.cmlparser.CMLParser.parses |
( |
|
self, |
|
|
|
string |
|
) |
| |
Parse a string.
- Note
- This is just a method interface, a
NotImplementedError will be raised when the method is called.
- Parameters
-
| srtring | string to be parsed |
- Raise
- NotImplementedError
The documentation for this class was generated from the following file: