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