Handbook
Glossary
(script-data-double-escape-end-state) ( document n/f string ch/f -- document n'/f string )
Vocabulary
html5
Inputs
document
an
object
n/f
an
object
string
an
object
ch/f
an
object
Outputs
document
an
object
n'/f
an
object
string
an
object
Definition
USING:
accessors
combinators
kernel
math
sequences
;
IN:
html5
:
(script-data-double-escape-end-state)
( document n/f string ch/f -- document n'/f string )
{
{
[
dup
"\t\n\f />"
member?
]
[
reach
emit-char
pick
temporary-buffer>>
"script"
sequence=
[
script-data-escaped-state
]
[
script-data-double-escaped-state
]
if
]
}
{
[
dup
ascii-upper-alpha?
]
[
[
32
+
reach
push-tag-name
]
[
reach
push-temporary-buffer
]
bi
script-data-double-escape-end-state
]
}
{
[
dup
ascii-lower-alpha?
]
[
[
reach
push-tag-name
]
[
reach
push-temporary-buffer
]
bi
script-data-double-escape-end-state
]
}
[
(script-data-double-escaped-state)
]
}
cond
;