slots ボキャブラリ
Factor ハンドブック > ボキャブラリ索引


ドキュメント
Low-level slot operations

メタデータ
作者:Slava Pestov


ワード

タプルクラス
クラススーパークラススロット
bad-initial-value tuplename
bad-slot-attribute tuplekey
bad-slot-value tuplevalue class
no-initial-value tupleclass
slot-spec tuplename offset class initial read-only


述語クラス
クラススーパークラス
reader word
reader-method method-body
writer word
writer-method method-body


総称ワード
ワードスタック効果
initial-value*( class -- object )
make-slot( desc -- slot-spec )
reader-quot( class slot-spec -- quot )
writer-quot( class slot-spec -- quot )


通常ワード
ワードスタック効果
<slot-spec>( -- slot-spec )
bad-initial-value( name -- * )
bad-slot-attribute( key -- * )
bad-slot-value( value class -- * )
changer-word( name -- word )
check-initial-value( slot-spec -- slot-spec )
define-accessors( class specs -- )
define-changer( name -- )
define-protocol-slot( name -- )
define-reader( class slot-spec -- )
define-reader-generic( name -- )
define-setter( name -- )
define-slot-methods( class slot-spec -- )
define-typecheck( class generic quot props -- )
define-writer( class slot-spec -- )
define-writer-generic( name -- )
finalize-slots( specs base -- specs )
initial-value( class -- object )
make-slots( slots -- specs )
no-initial-value( class -- * )
peel-off-attributes( slot-spec array -- slot-spec array )
peel-off-class( slot-spec array -- slot-spec array )
peel-off-name( slot-spec array -- slot-spec array )
reader-props( slot-spec -- assoc )
reader-word( name -- word )
setter-word( name -- word )
slot-named( name specs -- spec/f )
slot-named*( name specs -- offset spec/f )
writer-props( slot-spec -- assoc )
writer-quot/check( slot-spec -- )
writer-quot/coerce( slot-spec -- )
writer-quot/fixnum( slot-spec -- )
writer-quot/object( slot-spec -- )
writer-word( name -- word )


クラス述語ワード
ワードスタック効果
bad-initial-value?( object -- ? )
bad-slot-attribute?( object -- ? )
bad-slot-value?( object -- ? )
no-initial-value?( object -- ? )
reader-method?( object -- ? )
reader?( object -- ? )
slot-spec?( object -- ? )
writer-method?( object -- ? )
writer?( object -- ? )


ファイル
resource:core/slots/slots.factor
resource:core/slots/slots-docs.factor
resource:core/slots/slots-tests.factor



ボキャブラリ概要
slots.privateslots.private ボキャブラリ