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