Extracted from Pike v8.0 release 28 as of 2015-09-20.
   

Method Parser.SGML()->finish()


Method finish

object feed(string s)
array(SGMLatom|string) finish()
array(SGMLatom|string) result(string s)

Description

Feed new data to the object, or finish the stream. No result can be used until finish() is called.

Both finish() and result() return the computed data.

feed() returns the called object.