jsquery_extract.c
static void
fillChildren(ExtractedNode *node, ExtractedNodeType type, bool first,
												ExtractedNode **items, int *i)
{
	if ((node->indirect || node->type != type) && !first)
	{
		items[*i] = node;
		(*i)++;
	}
	else
	{
		int j;
		for (j = 0; j < node->args.count; j++)
			fillChildren(node->args.items[j], type, false, items, i);
	}
}
/*
 * Fill array of children connected with nodes of same type.
 */
Fill array of children connected with nodes of same type.
Fill array of children connected with nodes of same type .
static void
fillChildren(ExtractedNode *node, ExtractedNodeType type, bool first,
												ExtractedNode **items, int *i)
{
	if ((node->indirect || node->type != type) && !first)
	{
		items[*i] = node;
		(*i)++;
	}
	else
	{
		int j;
		for (j = 0; j < node->args.count; j++)
			fillChildren(node->args.items[j], type, false, items, i);
	}
}
static void fillChildren ( ExtractedNode * node , ExtractedNodeType type , bool first , ExtractedNode * * items , int * i ) { if ( ( node -> indirect || node -> type != type ) && ! first ) { items [ * i ] = node ; ( * i ) ++ ; } else { int j ; for ( j = 0 ; j < node -> args . count ; j ++ ) fillChildren ( node -> args . items [ j ] , type , false , items , i ) ; } }
Fill array of children connected with nodes of same type.
Fill array of children connected with nodes of same type .