Robot Framework Integrated Development Environment (RIDE)
robotide.preferences.configobj.ConfigParserInterpolation Class Reference

Behaves like ConfigParser. More...

Inheritance diagram for robotide.preferences.configobj.ConfigParserInterpolation:
robotide.preferences.configobj.InterpolationEngine

Private Member Functions

def _parse_match (self, match)
 Implementation-dependent helper function. More...
 

Static Private Attributes

string _cookie
 
 _KEYCRE
 

Additional Inherited Members

- Public Member Functions inherited from robotide.preferences.configobj.InterpolationEngine
def __init__ (self, section)
 
def interpolate (self, key, value)
 
- Public Attributes inherited from robotide.preferences.configobj.InterpolationEngine
 section
 

Detailed Description

Behaves like ConfigParser.

Definition at line 421 of file configobj.py.

Member Function Documentation

◆ _parse_match()

def robotide.preferences.configobj.ConfigParserInterpolation._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 from robotide.preferences.configobj.InterpolationEngine.

Definition at line 431 of file configobj.py.

Member Data Documentation

◆ _cookie

robotide.preferences.configobj.ConfigParserInterpolation._cookie
staticprivate

Definition at line 425 of file configobj.py.

◆ _KEYCRE

robotide.preferences.configobj.ConfigParserInterpolation._KEYCRE
staticprivate

Definition at line 429 of file configobj.py.


The documentation for this class was generated from the following file: