build/doc-builder/theme/fixtures/documents/probe.js
function processPrefixOperator( operation, operand ) {
	var component = {
		operation : operation,
		path      : null,
		operands  : []
	};

	if ( sys.isArray( operand ) ) {
		//if it is an array we need to loop through the array and parse each operand
		//if it is an array we need to loop through the array and parse each operand
		sys.each( operand, function ( obj ) {
			sys.each( obj, function ( val, key ) {
				component.operands.push( processExpressionObject( val, key ) );
			} );
		} );
	} else {
		//otherwise it is an object and we can parse it directly
		sys.each( operand, function ( val, key ) {
			component.operands.push( processExpressionObject( val, key ) );
		} );
	}
	return component;

}
function processPrefixOperator( operation, operand ) {
	var component = {
		operation : operation,
		path      : null,
		operands  : []
	};

	if ( sys.isArray( operand ) ) {
		//if it is an array we need to loop through the array and parse each operand
		//if it is an array we need to loop through the array and parse each operand
		sys.each( operand, function ( obj ) {
			sys.each( obj, function ( val, key ) {
				component.operands.push( processExpressionObject( val, key ) );
			} );
		} );
	} else {
		//otherwise it is an object and we can parse it directly
		sys.each( operand, function ( val, key ) {
			component.operands.push( processExpressionObject( val, key ) );
		} );
	}
	return component;

}
function processPrefixOperator ( operation , operand ) { var component = { operation : operation , path : null , operands : [ ] } ; if ( sys . isArray ( operand ) ) { //if it is an array we need to loop through the array and parse each operand //if it is an array we need to loop through the array and parse each operand sys . each ( operand , function ( obj ) { sys . each ( obj , function ( val , key ) { component . operands . push ( processExpressionObject ( val , key ) ) ; } ) ; } ) ; } else { //otherwise it is an object and we can parse it directly sys . each ( operand , function ( val , key ) { component . operands . push ( processExpressionObject ( val , key ) ) ; } ) ; } return component ; }
Processes a prefixed operator and then passes control to the nested operator method to pick out the contained values
@private
@param {string} operation The operation prefix
@param {object} operand The operands to use for the query
@return {object} A formatted operation definition
Processes a prefixed operator and then passes control to the nested operator method to pick out the contained values