processEscapes

Returns a string whose value is this string, with escape sequences translated as if in a string literal, and this method is used for translate the escape chars in the string of scripts.

Escape sequences are translated as follows:

EscapeNameTranslation
\bbackspaceU+0008
\thorizontal tabU+0009
\nline feedU+000A
\fform feedU+000C
\rcarriage returnU+000D
\sspaceU+0020
\"double quoteU+0022
\'single quoteU+0027
\\backslashU+005C
\0 - \377octal escapecode point equivalents
\continuationdiscard

This method does not translate Unicode escapes such as "\u2022".

Unicode escapes are translated by the Java compiler when reading input characters and are not part of the string literal specification.

Return

String with escape sequences translated.

Throws

when an escape sequence is malformed.