Extracted from Pike v7.4 release 97 at 2004-08-02.
pike.ida.liu.se
[Top]
predef::
Parser
Parser.HTML

Method Parser.HTML()->feed()


Method feed

Parser.HTML feed()
Parser.HTML feed(string s)
Parser.HTML feed(string s, int do_parse)

Description

Feed new data to the Parser.HTML object. This will start a scan and may result in callbacks. Note that it's possible that all data feeded isn't processed - to do that, call finish ().

If the function is called without arguments, no data is feeded, but the parser is run.

If the string argument is followed by a 0, ->feed(s,0);, the string is feeded, but the parser isn't run.

Returns

the called object

See also

finish , read , feed_insert