Handbook
Glossary
main<< ( value object -- )
Vocabulary
accessors
Inputs
value
an
object
object
an
object
Outputs
None
Definition
IN:
accessors
GENERIC:
main<<
( value object -- )
Methods
USING:
accessors
kernel
slots
slots.private
strings
xml.data
;
M:
name
main<<
[
dup
string?
[
\
string
bad-slot-value
]
unless
]
dip
3
set-slot
;
inline
USING:
accessors
slots.private
source-files
;
M:
source-file
main<<
6
set-slot
;
inline
USING:
accessors
kernel
xml.data
;
M:
tag
main<<
[
name>>
]
call
\
main<<
execute
;
USING:
accessors
slots.private
vocabs
;
M:
vocab
main<<
4
set-slot
;
inline
USING:
accessors
kernel
xml.data
;
M:
xml
main<<
[
body>>
]
call
\
main<<
execute
;