parameters: ( name, servers = [], items = [] )
return_statement: return {
      'name': name,
      'servers': [ BuildServerData( server ) for server in servers ],
      'items': [ BuildItemData( item ) for item in items ]
    }
docstring: Build a response containing debugging information on a semantic completer:
    - name: the completer name;
    - servers: a list of DebugInfoServer objects representing the servers used by
      the completer;
    - items: a list of DebugInfoItem objects for additional information
      on the completer.
docstring_summary: Build a response containing debugging information on a semantic completer:
    - name: the completer name;
    - servers: a list of DebugInfoServer objects representing the servers used by
      the completer;
    - items: a list of DebugInfoItem objects for additional information
      on the completer.
docstring_tokens: Build a response containing debugging information on a semantic completer : - name : the completer name ; - servers : a list of DebugInfoServer objects representing the servers used by the completer ; - items : a list of DebugInfoItem objects for additional information on the completer .
function: def BuildDebugInfoResponse( name, servers = [], items = [] ):
    """Build a response containing debugging information on a semantic completer:
    - name: the completer name;
    - servers: a list of DebugInfoServer objects representing the servers used by
      the completer;
    - items: a list of DebugInfoItem objects for additional information
      on the completer."""
  
    def BuildItemData( item ):
      return {
        'key': item.key,
        'value': item.value
      }
  
  
    def BuildServerData( server ):
      return {
        'name': server.name,
        'is_running': server.is_running,
        'executable': server.executable,
        'address': server.address,
        'port': server.port,
        'pid': server.pid,
        'logfiles': server.logfiles,
        'extras': [ BuildItemData( item ) for item in server.extras ]
      }
  
  
    return {
      'name': name,
      'servers': [ BuildServerData( server ) for server in servers ],
      'items': [ BuildItemData( item ) for item in items ]
    }
function_tokens: def BuildDebugInfoResponse ( name , servers = [ ] , items = [ ] ) : def BuildItemData ( item ) : return { 'key' : item . key , 'value' : item . value } def BuildServerData ( server ) : return { 'name' : server . name , 'is_running' : server . is_running , 'executable' : server . executable , 'address' : server . address , 'port' : server . port , 'pid' : server . pid , 'logfiles' : server . logfiles , 'extras' : [ BuildItemData ( item ) for item in server . extras ] } return { 'name' : name , 'servers' : [ BuildServerData ( server ) for server in servers ] , 'items' : [ BuildItemData ( item ) for item in items ] }