lib/kfgStringify.js
function stringifyString( v , runtime , isTemplateSentence ) {
	var maybeDollar = '' ;

	if ( isTemplateSentence ) {
		if ( v.key ) {
			v = v.key ;
			maybeDollar = '$' ;
		}
		else {
			runtime.str += runtime.depth ? ' <Sentence>' : '<Sentence>' ;
			return ;
		}
	}

	if ( runtime.preferQuotes ) {
		return stringifyStringMaybeQuotes( v , runtime , maybeDollar ) ;
	}

	return stringifyStringMaybeStringLine( v , runtime , maybeDollar ) ;

}
function stringifyString( v , runtime , isTemplateSentence ) {
	var maybeDollar = '' ;

	if ( isTemplateSentence ) {
		if ( v.key ) {
			v = v.key ;
			maybeDollar = '$' ;
		}
		else {
			runtime.str += runtime.depth ? ' <Sentence>' : '<Sentence>' ;
			return ;
		}
	}

	if ( runtime.preferQuotes ) {
		return stringifyStringMaybeQuotes( v , runtime , maybeDollar ) ;
	}

	return stringifyStringMaybeStringLine( v , runtime , maybeDollar ) ;

}
function stringifyString ( v , runtime , isTemplateSentence ) { var maybeDollar = '' ; if ( isTemplateSentence ) { if ( v . key ) { v = v . key ; maybeDollar = '$' ; } else { runtime . str += runtime . depth ? ' <Sentence>' : '<Sentence>' ; return ; } } if ( runtime . preferQuotes ) { return stringifyStringMaybeQuotes ( v , runtime , maybeDollar ) ; } return stringifyStringMaybeStringLine ( v , runtime , maybeDollar ) ; }
no control chars except newline and tab
no control chars except newline and tab