Handbook
Glossary
(script-data-double-escape-start-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-start-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-double-escaped-state
]
[
script-data-escaped-state
]
if
]
}
{
[
dup
ascii-upper-alpha?
]
[
[
32
+
reach
push-tag-name
]
[
reach
push-temporary-buffer
]
bi
script-data-double-escape-start-state
]
}
{
[
dup
ascii-lower-alpha?
]
[
[
reach
push-tag-name
]
[
reach
push-temporary-buffer
]
bi
script-data-double-escape-start-state
]
}
[
(script-data-escaped-state)
]
}
cond
;