parameters: (node_name, api)
return_statement: return None
docstring: Attempt to classify |node_name| in an API, determining whether |node_name|
    refers to a type, function, event, or property in |api|.
docstring_summary: Attempt to classify |node_name| in an API, determining whether |node_name|
    refers to a type, function, event, or property in |api|.
docstring_tokens: Attempt to classify |node_name| in an API determining whether |node_name| refers to a type function event or property in |api| .
function: def _ClassifySchemaNode(node_name, api):
    """Attempt to classify |node_name| in an API, determining whether |node_name|
    refers to a type, function, event, or property in |api|.
    """
    if '.' in node_name:
      node_name, rest = node_name.split('.', 1)
    else:
      rest = None
    for key, group in [('types', 'type'),
                       ('functions', 'method'),
                       ('events', 'event'),
                       ('properties', 'property')]:
      for item in api.get(key, []):
        if item['name'] == node_name:
          if rest is not None:
            ret = _ClassifySchemaNode(rest, item)
            if ret is not None:
              return ret
          else:
            return group, node_name
    return None
function_tokens: def _ClassifySchemaNode ( node_name , api ) : if '.' in node_name : node_name , rest = node_name . split ( '.' , 1 ) else : rest = None for key , group in [ ( 'types' , 'type' ) , ( 'functions' , 'method' ) , ( 'events' , 'event' ) , ( 'properties' , 'property' ) ] : for item in api . get ( key , [ ] ) : if item [ 'name' ] == node_name : if rest is not None : ret = _ClassifySchemaNode ( rest , item ) if ret is not None : return ret else : return group , node_name return None