Example #1
0
 public HtmlToken()
 {
     m_type             = Type.Uninitialized;
     m_data             = new List <char>(256);
     m_data8BitCheck    = '\0';
     m_selfClosing      = false;
     m_attributes       = new List <Attribute>(10);
     m_currentAttribute = null;
     m_doctypeData      = null;
 }
Example #2
0
 public void beginDOCTYPE()
 {
     Debug.Assert(m_type == Type.Uninitialized);
     m_type        = Type.DOCTYPE;
     m_doctypeData = new DoctypeData();
 }