package sxr
object object sxr.EscapeEscape
{
def (String)Stringapply(Strings: StringString) =
{
val StringBuilderout = ()StringBuildernew StringBuilderStringBuilder
for(((Int) => Unit)Uniti <- implicit scala.Predef.intWrapper : (Int)scala.runtime.RichInt0 (Int)Rangeuntil Strings.()Intlength)
{
Strings.(Int)CharcharAt(Inti) Unitmatch
{
Unitcase Char('>')'>' => StringBuilderout.(String)StringBuilderappend(java.lang.String(">")">")
Unitcase Char('&')'&' => StringBuilderout.(String)StringBuilderappend(java.lang.String("&")"&")
Unitcase Char('<')'<' => StringBuilderout.(String)StringBuilderappend(java.lang.String("<")"<")
Unitcase Char('"')'"' => StringBuilderout.(String)StringBuilderappend(java.lang.String(""")""")
Unitcase Charc => StringBuilderout.(Char)StringBuilderappend(Charc)
}
}
StringBuilderout.()StringtoString
}
}