Handbook
Glossary
SLOT:
Factor handbook
»
The language
»
Objects
»
Tuples
»
Protocol slots
Vocabulary
syntax
Syntax
SLOT: name
Inputs
None
Outputs
None
Word description
Defines a protocol slot; that is, defines the accessor words for a slot named
slot
without associating it with any specific tuple.
Definition
USING:
lexer
slots
;
IN:
syntax
SYNTAX:
SLOT:
scan-token
define-protocol-slot
;