gin/config_parser.py
def parse_value(self):
    """Parse a single literal value.

    Returns:
      The parsed value.
    """
    parsers = [
        self._maybe_parse_container, self._maybe_parse_basic_type,
        self._maybe_parse_configurable_reference, self._maybe_parse_macro
    ]
    for parser in parsers:
      success, value = parser()
      if success:
        return value
    self._raise_syntax_error('Unable to parse value.')
def parse_value(self):
    parsers = [
        self._maybe_parse_container, self._maybe_parse_basic_type,
        self._maybe_parse_configurable_reference, self._maybe_parse_macro
    ]
    for parser in parsers:
      success, value = parser()
      if success:
        return value
    self._raise_syntax_error('Unable to parse value.')
def parse_value ( self ) : parsers = [ self . _maybe_parse_container , self . _maybe_parse_basic_type , self . _maybe_parse_configurable_reference , self . _maybe_parse_macro ] for parser in parsers : success , value = parser ( ) if success : return value self . _raise_syntax_error ( 'Unable to parse value.' )
Parse a single literal value.

    Returns:
      The parsed value.
Parse a single literal value .