make html.parser words private
parent
9ecf8ec3db
commit
28dae46b7d
|
@ -11,6 +11,9 @@ TUPLE: tag name attributes text closing? ;
|
||||||
SINGLETON: text
|
SINGLETON: text
|
||||||
SINGLETON: dtd
|
SINGLETON: dtd
|
||||||
SINGLETON: comment
|
SINGLETON: comment
|
||||||
|
|
||||||
|
<PRIVATE
|
||||||
|
|
||||||
SYMBOL: tagstack
|
SYMBOL: tagstack
|
||||||
|
|
||||||
: push-tag ( tag -- )
|
: push-tag ( tag -- )
|
||||||
|
@ -118,5 +121,7 @@ SYMBOL: tagstack
|
||||||
: tag-parse ( quot -- vector )
|
: tag-parse ( quot -- vector )
|
||||||
V{ } clone tagstack [ state-parse ] with-variable ; inline
|
V{ } clone tagstack [ state-parse ] with-variable ; inline
|
||||||
|
|
||||||
|
PRIVATE>
|
||||||
|
|
||||||
: parse-html ( string -- vector )
|
: parse-html ( string -- vector )
|
||||||
[ (parse-html) tagstack get ] tag-parse ;
|
[ (parse-html) tagstack get ] tag-parse ;
|
||||||
|
|
Loading…
Reference in New Issue