generic vocabulary
Factor handbook > Vocabulary index


Documentation
Generic words and methods

Meta-data
Tags:reflection
Authors:Slava Pestov


Words

Tuple classes
ClassSuperclassSlots
check-method-error tupleclass generic
method-lookup-failed tupleclass generic
no-next-method tuplemethod


Predicate classes
ClassSuperclass
default-method word
generic word
method word


Generic words
WordStack effect
check-combination-effect( combination effect -- )
effective-method( generic -- method )
implementor-classes( obj -- class )
make-default-method( generic combination -- method )
next-method-quot*( class generic combination -- quot )
perform-combination( word combination -- )
update-generic( class generic -- )


Ordinary words
WordStack effect
(call-next-method)( method -- )
<default-method>( generic combination -- method )
<method>( class generic -- method )
?lookup-method( class generic -- method/f )
check-method( classoid generic -- class generic )
check-method-error( class generic -- * )
create-method( class generic -- method )
define-default-method( generic combination -- )
define-generic( word combination effect -- )
lookup-method( class generic -- method )
make-generic( word -- )
method-classes( generic -- classes )
method-for-class( class generic -- method/f )
method-lookup-failed( class generic -- * )
method-word-name( class generic -- string )
method-word-props( class generic -- assoc )
nearest-class( class generic -- class/f )
next-method( class generic -- method/f )
next-method-class( class generic -- class/f )
next-method-quot( method -- quot )
no-next-method( method -- * )
order( generic -- seq )
remake-generic( generic -- )
remake-generics( -- )
reveal-method( method classes generic -- )
with-implementors( class generic quot -- )
with-methods( class generic quot -- )


Class predicate words
WordStack effect
check-method-error?( object -- ? )
default-method?( object -- ? )
generic?( object -- ? )
method-lookup-failed?( object -- ? )
method?( object -- ? )
no-next-method?( object -- ? )


Files


Children from resource:core
VocabularySummary
generic.hookgeneric.hook vocabulary
generic.mathMath method combination used for arithmetic words
generic.parserUtilities for generic word and method defining parsing words
generic.singlegeneric.single vocabulary
generic.standardgeneric.standard vocabulary


Children
VocabularySummary
generic.privategeneric.private vocabulary