modern.html vocabulary
Factor handbook ยป Vocabulary index


Summary

Metadata
Authors:Doug Coleman


Words

Tuple classes
ClassSuperclassSlots
cdata tupleopen close value
close-tag tuplename
comment tupleopen payload close
doctype tupleopen close values
dquote tuplepayload
embedded-language tupleopen payload close
open-tag tagclose-tag
processing-instruction tupleopen target props close
self-close-tag tag
squote tuplepayload
tag tupleopen name props close children
text tupletext
unmatched-closing-tag-error tuplestack tag
unmatched-open-tags-error tuplestack seq


Generic words
WordStack effect
walk-html( seq/tag quot -- )
write-html( tag -- )


Ordinary words
WordStack effect
<cdata>( open value close -- doctype )
<close-tag>( name -- tag )
<comment>( open payload close -- comment )
<doctype>( open values close -- doctype )
<dquote>( payload -- dquote )
<embedded-language>( open payload close -- embedded-language )
<open-tag>( open name props close -- tag )
<processing-instruction>( open target props close -- processing-instruction )
<self-close-tag>( open name props close -- tag )
<squote>( payload -- squote )
<text>( text -- text )
>value( obj -- string )
advance-dquote-payload-noescape( n string -- n' string )
advance-squote-payload-noescape( n string -- n' string )
check-tag-stack( stack -- stack )
find-last-open-tag( stack name -- seq )
find-links( seq -- links )
html>string( sequence -- string )
lex-html( stack n string -- stack n' string )
read-close-tag( n string opening -- n' string tag )
read-doctype-or-cdata( n string opening -- n string doctype/comment )
read-embedded-language( n string opening -- n string embedded-language )
read-open-tag( n string opening -- n' string tag )
read-processing-instruction( n string opening -- n string processing-instruction )
read-prop( n string -- n' string prop/f closing/f )
read-props( n string -- n' string props closing )
read-props*( n string props -- n' string props closing )
read-string( $n $string $char -- n' string payload )
read-value( n string -- n' string value )
string>html( string -- sequence )
take-tag-name( n string -- n' string tag )
unclosed-open-tag?( obj -- ? )
unmatched-closing-tag-error( stack tag -- * )
unmatched-open-tags-error( stack seq -- * )
write-props( seq -- )


Class predicate words
WordStack effect
cdata?( object -- ? )
close-tag?( object -- ? )
comment?( object -- ? )
doctype?( object -- ? )
dquote?( object -- ? )
embedded-language?( object -- ? )
open-tag?( object -- ? )
processing-instruction?( object -- ? )
self-close-tag?( object -- ? )
squote?( object -- ? )
tag?( object -- ? )
text?( object -- ? )
unmatched-closing-tag-error?( object -- ? )
unmatched-open-tags-error?( object -- ? )


Files


Metadata files