Handbook
Glossary
def<< ( value object -- )
Vocabulary
accessors
Inputs
value
an
object
object
an
object
Outputs
None
Definition
IN:
accessors
GENERIC:
def<<
( value object -- )
Methods
USING:
accessors
kernel
slots
slots.private
strings
xml.data
;
M:
entity-decl
def<<
[
dup
string?
[
\
string
bad-slot-value
]
unless
]
dip
3
set-slot
;
inline
USING:
accessors
compiler.units
slots.private
;
M:
redefine-error
def<<
2
set-slot
;
inline
USING:
accessors
kernel
quotations
slots
slots.private
words
;
M:
word
def<<
[
dup
quotation?
[
\
quotation
bad-slot-value
]
unless
]
dip
4
set-slot
;
inline
USING:
accessors
classes.struct
classes.struct.private
math
tools.image.analyzer.vm
vm
;
M:
word
def<<
T{
struct-slot-spec
{
name
"def"
}
{
offset 32
}
{
class
integer
}
{
initial 0
}
{
type
cell_t
}
}
write-struct-slot
;
inline