protected static String stringOf ( Value val ) { StringBuilder s = new StringBuilder ( ) ; val = val . deref ( ) ; if ( val instanceof SeqValue ) { SeqValue sv = ( SeqValue ) val ; for ( Value v : sv . values ) { v = v . deref ( ) ; if ( v instanceof CharacterValue ) { CharacterValue cv = ( CharacterValue ) v ; s . append ( cv . unicode ) ; } else { s . append ( "?" ) ; } } return s . toString ( ) ; } else { return val . toString ( ) ; } }
characters back to their quoted form .