String function ( String arg0 ) { assert ILLEGAL_CHARACTERS . length == REPLACEMENTS . length ; for ( int loc0 = 0 ; loc0 < ILLEGAL_CHARACTERS . length ; loc0 ++ ) { Matcher loc1 = ILLEGAL_CHARACTERS [ loc0 ] . matcher ( arg0 ) ; arg0 = loc1 . replaceAll ( REPLACEMENTS [ loc0 ] ) ; } return arg0 ; }
escape all '' and \ characters to provide a proper java-like string does not escape unicode characters . concode_field_sep int _indent concode_elem_sep Pattern[] ILLEGAL_CHARACTERS concode_elem_sep String[] REPLACEMENTS concode_elem_sep StringBuilder _sb concode_field_sep SB ii concode_elem_sep SB ps concode_elem_sep int getIndent concode_elem_sep SB di concode_elem_sep SB ci concode_elem_sep SB ip concode_elem_sep String getContent concode_elem_sep SB toJSArray concode_elem_sep SB toJSArray concode_elem_sep SB i concode_elem_sep SB i concode_elem_sep SB toJavaStringInit concode_elem_sep SB toJavaStringInit concode_elem_sep SB toJavaStringInit concode_elem_sep SB toJavaStringInit concode_elem_sep SB toJavaStringInit concode_elem_sep SB p concode_elem_sep SB p concode_elem_sep SB p concode_elem_sep SB p concode_elem_sep SB p concode_elem_sep SB p concode_elem_sep SB p concode_elem_sep SB p concode_elem_sep SB p concode_elem_sep SB pobj concode_elem_sep SB s concode_elem_sep SB pj concode_elem_sep SB pj concode_elem_sep SB pj concode_elem_sep SB pj concode_elem_sep String toString concode_elem_sep SB nl