read input stream specif sequenc charact ben read method assum match io except skip tag io except search char tag arrai child mark read till left bracket open tag real read child mark compar follow charact match tag want tag length real read search char termin real read want match right bracket tag termin termin termin ve match tag correct instanc match attribut attribut map attribut hash map termin attribut read attribut search attribut expect don match turn flag search match tag iter attribut entri set iter map entri pair map entri pair valu equal attribut pair kei instanc count instanc count child read child tag reset read posit child tag mark real read tag ch real read termin ch tag ch ch real read end tag tag defin log lp log granular type statement lp log local nest statement log info start tag tag log info end tag end tag endif reset 