예제 #1
0
 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;
 }