tools/json_schema_compiler/model.py
def _GetFunctions(parent, json, namespace):
  """Creates Function objects extracted from |json|.
  """
  functions = OrderedDict()
  for function_json in json.get('functions', []):
    function = Function(parent,
                        function_json['name'],
                        function_json,
                        namespace,
                        Origin(from_json=True))
    functions[function.name] = function
  return functions
Creates Function objects extracted from |json|.
  
Creates Function objects extracted from |json|.
Creates Function objects extracted from |json| .
def _GetFunctions(parent, json, namespace):
  functions = OrderedDict()
  for function_json in json.get('functions', []):
    function = Function(parent,
                        function_json['name'],
                        function_json,
                        namespace,
                        Origin(from_json=True))
    functions[function.name] = function
  return functions
def _GetFunctions ( parent , json , namespace ) : functions = OrderedDict ( ) for function_json in json . get ( 'functions' , [ ] ) : function = Function ( parent , function_json [ 'name' ] , function_json , namespace , Origin ( from_json = True ) ) functions [ function . name ] = function return functions
Creates Function objects extracted from |json|.
Creates Function objects extracted from |json| .
"""Creates Function objects extracted from |json|.
  """
parent
json
namespace