classes vocabulary
Factor handbook ยป Vocabulary index


Documentation
Classes

Metadata
Tags:reflection
Authors:Slava Pestov


Words

Tuple classes
ClassSuperclassSlots
bad-inheritance tupleclass superclass
not-an-instance tupleobj class


Predicate classes
ClassSuperclass
class word
defining-class word
predicate word


Mixin classes
classoid


Generic words
WordStack effect
class-of( object -- class )
contained-classes( obj -- members )
implementors( class/classes -- seq )
instance?( object class -- ? )
predicate-def( obj -- quot )


Ordinary words
WordStack effect
all-contained-classes( members -- members' )
bad-inheritance( class superclass -- * )
check-instance( obj class -- obj )
class-members( class -- seq )
class-participants( class -- seq )
class-usage( class -- seq )
class-usages( class -- seq )
class-uses( class -- seq )
classes( -- seq )
create-predicate-word( word -- predicate )
define-predicate( class quot -- )
forget-class( class -- )
not-an-instance( obj class -- * )
predicate-word( word -- predicate )
subclass-of?( class superclass -- ? )
superclass-of( class -- super )
superclass-of?( class superclass -- ? )
superclasses-of( class -- supers )


Class predicate words
WordStack effect
bad-inheritance?( object -- ? )
class?( object -- ? )
classoid?( object -- ? )
defining-class?( object -- ? )
not-an-instance?( object -- ? )
predicate?( object -- ? )


Files


Metadata files


Children from resource:core
VocabularySummary
classes.algebraSet-theoretic operations on classes
classes.builtinBuilt-in classes
classes.errorError classes
classes.intersectionIntersection classes
classes.maybeMaybe classes
classes.mixinMixin classes (extensible unions)
classes.parserUtilities for class-defining parsing words
classes.predicatePredicate classes
classes.singletonSingleton classes
classes.tupleTuple classes
classes.unionUnion classes


Children from resource:basis
VocabularySummary
classes.structTuple-like access to structured raw memory


Children from resource:extra
VocabularySummary
classes.hierarchyPrint a class hierarchy
classes.structTuple-like access to structured raw memory
classes.tupleTuple classes


Children
VocabularySummary
classes.private