Handbook
Glossary
ensure-not-parser? ( object -- ? )
Vocabulary
peg
.
private
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
ensure-not-parser
class.
Definition
USING:
classes.tuple.private
kernel
slots.private
;
IN:
peg.private
:
ensure-not-parser?
( object -- ? )
dup
tuple?
[
layout-of
7
slot
\
ensure-not-parser
eq?
]
[
drop
f
]
if
;