jsquery_extract.c
ExtractedNode *
extractJsQuery(JsQuery *jq, MakeEntryHandler makeHandler,
								CheckEntryHandler checkHandler, Pointer extra)
{
	ExtractedNode	*root;
	JsQueryItem		jsq;

	jsqInit(&jsq, jq);
	root = recursiveExtract(&jsq, false, false, NULL);
	if (root)
	{
		flatternTree(root);
		simplifyRecursive(root);
		setSelectivityClass(root, checkHandler, extra);
		root = makeEntries(root, makeHandler, extra);
	}
	return root;
}
/*
 * Turn jsquery into tree of entries using user-provided handler.
 */
Turn jsquery into tree of entries using user-provided handler.
Turn jsquery into tree of entries using user - provided handler .
ExtractedNode *
extractJsQuery(JsQuery *jq, MakeEntryHandler makeHandler,
								CheckEntryHandler checkHandler, Pointer extra)
{
	ExtractedNode	*root;
	JsQueryItem		jsq;
	jsqInit(&jsq, jq);
	root = recursiveExtract(&jsq, false, false, NULL);
	if (root)
	{
		flatternTree(root);
		simplifyRecursive(root);
		setSelectivityClass(root, checkHandler, extra);
		root = makeEntries(root, makeHandler, extra);
	}
	return root;
}
ExtractedNode * extractJsQuery ( JsQuery * jq , MakeEntryHandler makeHandler , CheckEntryHandler checkHandler , Pointer extra ) { ExtractedNode * root ; JsQueryItem jsq ; jsqInit ( & jsq , jq ) ; root = recursiveExtract ( & jsq , false , false , NULL ) ; if ( root ) { flatternTree ( root ) ; simplifyRecursive ( root ) ; setSelectivityClass ( root , checkHandler , extra ) ; root = makeEntries ( root , makeHandler , extra ) ; } return root ; }
Turn jsquery into tree of entries using user-provided handler.
Turn jsquery into tree of entries using user - provided handler .