documents.elements vocabulary
Factor handbook ยป Vocabulary index


Documentation
Document elements

Metadata
Parents:documents
Authors:Slava Pestov


Words

Tuple classes
ClassSuperclassSlots
page-elt tuple#lines


Singleton classes
char-elt
doc-elt
one-char-elt
one-line-elt
one-word-elt
paragraph-elt
word-elt
word-start-elt


Generic words
WordStack effect
next-elt( loc document elt -- newloc )
prev-elt( loc document elt -- newloc )


Ordinary words
WordStack effect
<page-elt>( #lines -- page-elt )
elt-string( loc document elt -- string )
line-elt( -- value )
prev/next-elt( loc document elt -- start end )
set-elt-string( string loc document elt -- )


Class predicate words
WordStack effect
char-elt?( object -- ? )
doc-elt?( object -- ? )
one-char-elt?( object -- ? )
one-line-elt?( object -- ? )
one-word-elt?( object -- ? )
page-elt?( object -- ? )
paragraph-elt?( object -- ? )
word-elt?( object -- ? )
word-start-elt?( object -- ? )


Files


Metadata files