src/Generic/propositions/sem_tree/SemNode.cpp
// Returns true if a non-tangential child created a trace.

Returns true if a non-tangential child created a trace.
Returns true if a non - tangential child created a trace .
bool SemNode::createTraces(SemReference *awaiting_ref) {
	bool result = false;
	for (SemNode *child = _firstChild; child; child = child->_next) {
		if (child->_tangential) {
			child->createTraces(0);
		} else {
			result |= child->createTraces(awaiting_ref);
		}
	}
	return result;
}
bool SemNode :: createTraces ( SemReference * awaiting_ref ) { bool result = false ; for ( SemNode * child = _firstChild ; child ; child = child -> _next ) { if ( child -> _tangential ) { child -> createTraces ( 0 ) ; } else { result |= child -> createTraces ( awaiting_ref ) ; } } return result ; }
Returns true if a non-tangential child created a trace.
Returns true if a non - tangential child created a trace .