Handbook
Glossary
dtd-acceptable? ( object -- ? )
Vocabulary
xml
.
dtd
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
dtd-acceptable
class.
Definition
USING:
classes.tuple.private
kernel
slots.private
xml.data
;
IN:
xml.dtd
:
dtd-acceptable?
( object -- ? )
dup
tuple?
[
layout-of
7
slot
dup
\
instruction
eq?
[
drop
t
]
[
dup
\
comment
eq?
[
drop
t
]
[
\
directive
eq?
]
if
]
if
]
[
drop
f
]
if
;