def children(self, depth=None, include_self=False, include_parents=True, include_children=True, required_offset=None, offset_limits=None, filters=None, exclude_filter=None):
    "Get childen nodes of this node.\n\n        Arguments:\n          depth: Number of levels of children to traverse. 0 returns only this node.\n          include_self: Includes this node in the results.\n          include_parents: Includes nodes that match in the results, when they also have\n                        child nodes that match.\n          include_children: If True, as soon as a match is found it's children will not\n                            be included in the search.\n          required_offset: Only match nodes with a source offset that contains this offset.\n          offset_limits: Only match nodes when their source offset is contained inside\n                           this source offset.\n          filters: Dictionary of {attribute: value} that children must match. Can also\n                   be given as a list of dicts, children that match one of the dicts\n                   will be returned.\n          exclude_filter: Dictionary of {attribute:value} that children cannot match.\n\n        Returns:\n            List of node objects."
    if (filters is None):
        filters = {}
    if (exclude_filter is None):
        exclude_filter = {}
    if isinstance(filters, dict):
        filters = [filters]
    filter_fn = functools.partial(_check_filters, required_offset, offset_limits, filters, exclude_filter)
    find_fn = functools.partial(_find_children, filter_fn, include_parents, include_children)
    result = find_fn(find_fn, depth, self)
    if (include_self or (not result) or (result[0] != self)):
        return result
    return result[1:]
Get childen nodes of this node.

Arguments:
  depth: Number of levels of children to traverse. 0 returns only this node.
  include_self: Includes this node in the results.
  include_parents: Includes nodes that match in the results, when they also have
                child nodes that match.
  include_children: If True, as soon as a match is found it's children will not
                    be included in the search.
  required_offset: Only match nodes with a source offset that contains this offset.
  offset_limits: Only match nodes when their source offset is contained inside
                   this source offset.
  filters: Dictionary of {attribute: value} that children must match. Can also
           be given as a list of dicts, children that match one of the dicts
           will be returned.
  exclude_filter: Dictionary of {attribute:value} that children cannot match.

Returns:
    List of node objects.
def children(self, depth=None, include_self=False, include_parents=True, include_children=True, required_offset=None, offset_limits=None, filters=None, exclude_filter=None):
    "Get childen nodes of this node.\n\n        Arguments:\n          depth: Number of levels of children to traverse. 0 returns only this node.\n          include_self: Includes this node in the results.\n          include_parents: Includes nodes that match in the results, when they also have\n                        child nodes that match.\n          include_children: If True, as soon as a match is found it's children will not\n                            be included in the search.\n          required_offset: Only match nodes with a source offset that contains this offset.\n          offset_limits: Only match nodes when their source offset is contained inside\n                           this source offset.\n          filters: Dictionary of {attribute: value} that children must match. Can also\n                   be given as a list of dicts, children that match one of the dicts\n                   will be returned.\n          exclude_filter: Dictionary of {attribute:value} that children cannot match.\n\n        Returns:\n            List of node objects."
    if (filters is None):
        filters = {}
    if (exclude_filter is None):
        exclude_filter = {}
    if isinstance(filters, dict):
        filters = [filters]
    filter_fn = functools.partial(_check_filters, required_offset, offset_limits, filters, exclude_filter)
    find_fn = functools.partial(_find_children, filter_fn, include_parents, include_children)
    result = find_fn(find_fn, depth, self)
    if (include_self or (not result) or (result[0] != self)):
        return result
    return result[1:]