Handbook
Glossary
(processing-instruction-data-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:
combinators
kernel
;
IN:
html5
:
(processing-instruction-data-state)
( document n/f string ch/f -- document n'/f string )
{
{
[
dup
63
=
]
[
drop
processing-instruction-questionable-state
]
}
{
[
dup
62
=
]
[
drop
pick
emit-processing-instruction
data-state
]
}
{
[
dup
f
=
]
[
drop
"eof-in-processing-instruction"
report-parse-error
pick
emit-eof
]
}
[
reach
push-processing-instruction-data
processing-instruction-data-state
]
}
cond
;