Handbook
Glossary
abstract-span-rule? ( object -- ? )
Vocabulary
xmode
.
marker
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
abstract-span-rule
class.
Definition
USING:
classes.tuple.private
kernel
math.private
slots.private
xmode.rules
;
IN:
xmode.marker
:
abstract-span-rule?
( object -- ? )
dup
tuple?
[
layout-of
dup
1
slot
9
fixnum>=
[
9
slot
dup
\
eol-span-rule
eq?
[
drop
t
]
[
\
span-rule
eq?
]
if
]
[
drop
f
]
if
]
[
drop
f
]
if
;