|
| def | _fetch (self, key) |
| | Helper function to fetch values from owning section. More...
|
| |
| def | _parse_match (self, match) |
| | Implementation-dependent helper function. More...
|
| |
Definition at line 293 of file configobj.py.
◆ __init__()
| def robotide.preferences.configobj.InterpolationEngine.__init__ |
( |
|
self, |
|
|
|
section |
|
) |
| |
◆ _fetch()
| def robotide.preferences.configobj.InterpolationEngine._fetch |
( |
|
self, |
|
|
|
key |
|
) |
| |
|
private |
Helper function to fetch values from owning section.
Returns a 2-tuple: the value, and the section where it was found.
Definition at line 369 of file configobj.py.
◆ _parse_match()
| def robotide.preferences.configobj.InterpolationEngine._parse_match |
( |
|
self, |
|
|
|
match |
|
) |
| |
|
private |
Implementation-dependent helper function.
Will be passed a match object corresponding to the interpolation
key we just found (e.g., "%(foo)s" or "$foo"). Should look up that
key in the appropriate config file section (using the ``_fetch()``
helper function) and return a 3-tuple: (key, value, section)
``key`` is the name of the key we're looking for
``value`` is the value found for that key
``section`` is a reference to the section where it was found
``key`` and ``section`` should be None if no further
interpolation should be performed on the resulting value
(e.g., if we interpolated "$$" and returned "$").
Reimplemented in robotide.preferences.configobj.TemplateInterpolation, and robotide.preferences.configobj.ConfigParserInterpolation.
Definition at line 416 of file configobj.py.
◆ interpolate()
| def robotide.preferences.configobj.InterpolationEngine.interpolate |
( |
|
self, |
|
|
|
key, |
|
|
|
value |
|
) |
| |
◆ _cookie
| robotide.preferences.configobj.InterpolationEngine._cookie |
|
staticprivate |
◆ _KEYCRE
| robotide.preferences.configobj.InterpolationEngine._KEYCRE |
|
staticprivate |
◆ section
| robotide.preferences.configobj.InterpolationEngine.section |
The documentation for this class was generated from the following file: