modern.html vocabulary
Factor handbook ยป Vocabulary index


Summary

Metadata
Parents:modern
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 -- )
write-string( obj -- )
xml-find-by( obj quot: ( obj -- ? ) -- tag/f )


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-child-tag-named( seq name -- tag )
find-child-tag-named-any( seq names -- tag )
find-child-tags( seq names -- tags )
find-last-open-tag( stack name -- seq )
find-links( seq -- links )
find-tag-named( seq name -- tag )
find-tag-named-any( seq names -- tag )
find-tags( seq spec -- tags )
find-xml-body( seq -- tag )
find-xml-prolog( seq -- prolog )
get-children( obj -- seq/f )
get-children-no-whitespace( obj -- seq/f )
get-prop-named( obj name -- prop/f )
has-prop-named?( obj name -- ? )
html>display( sequence -- string )
html>string( sequence -- string )
lex-html( stack n string -- stack n' string )
local-name( name -- name )
prefix-name( name -- name )
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 )
remove-whitespace( seq -- newseq )
string>html( string -- sequence )
take-tag-name( n string -- n' string tag )
trim-blanks( string -- string' )
unclosed-open-tag?( obj -- ? )
unmatched-closing-tag-error( stack tag -- * )
unmatched-open-tags-error( stack seq -- * )
write-props( seq -- )
xml-path( seq path -- tags )


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