1 USING: help.markup help.syntax strings lexer ;
5 { $error-description "Indicates the parser encountered an invalid escape code following a backslash (" { $snippet "\\" } ") in a string literal. See " { $link "escape" } " for a list of valid escape codes." } ;
8 { $values { "escape" "a single-character escape" } { "ch" "a character" } }
9 { $description "Converts from a single-character escape code and the corresponding character." }
10 { $examples { $example "USING: kernel prettyprint strings.parser ;" "CHAR: n escape CHAR: \\n = ." "t" } } ;
13 { $values { "str" "a new " { $link string } } }
14 { $description "Parses the line until a quote (\"), interpreting escape codes along the way." }
15 { $errors "Throws an error if the string contains an invalid escape sequence." }