public virtual bool ParseAttributes(AttributeCollection c) { c.Clear(); bool res = true; while (CurrentToken != EndOfDocument && CurrentToken.Class == TokenClass.Identifier) { var a = c.New<Attribute>(); if (!ParseAttribute(a)) res = false; } return res; }