class_docstr: Parse HOCON files: https://github.com/typesafehub/config/blob/master/HOCON.md
class_docstr_tok: ["Parse","HOCON","files",":","https",":","\/\/github.com\/typesafehub\/config\/blob\/master\/HOCON.md"]
code: def unresolve_substitutions_to_value(
      cls, config, unresolved_value=STR_SUBSTITUTION
  ):
      for substitution in cls._find_substitutions(config):
          if unresolved_value is STR_SUBSTITUTION:
              value = substitution.raw_str()
          elif unresolved_value is None:
              value = NoneValue()
          else:
              value = unresolved_value
          cls._do_substitute(substitution, value, False)
      cls._final_fixup(config)
  
imports: import itertools
  import re
  import os
  import socket
  import contextlib
  import codecs
  from datetime import timedelta
  from pyparsing import Forward, Keyword, QuotedString, Word, Literal, Suppress, Regex, Optional, SkipTo, ZeroOrMore, Group, lineno, col, TokenConverter, replaceWith, alphanums, alphas8bit, ParseSyntaxException, StringEnd
  from pyparsing import ParserElement
  from .config_tree import ConfigTree, ConfigSubstitution, ConfigList, ConfigValues, ConfigUnquotedString, ConfigInclude, NoneValue, ConfigQuotedString
  from .exceptions import ConfigSubstitutionException, ConfigMissingException, ConfigException
  import logging
  import copy
label_desc: Use image node_id 8 for calling the ConfigParser obj's underlying member method code with example usage: obj.unresolve_substitutions_to_value(cls, config, unresolved_value) without return types