Example #1
0
 public void AnalyName()
 {
     ZPropertyCompiling = new ZCPropertyInfo();
     PropertyName       = Raw.NameToken.Text;
     if (ClassContext.ContainsPropertyName(PropertyName))// (ParentProperties.dict.ContainsKey(PropertyName))
     {
         this.ParentProperties.ASTClass.FileContext.Errorf(Raw.NameToken.Position, "'{0}'重复", PropertyName);
         IsExists = true;
     }
     else
     {
         //ParentProperties.dict.Add(PropertyName, Raw.NameToken);
         ZPropertyCompiling.ZPropertyZName = PropertyName;
         ClassContext.AddMember(ZPropertyCompiling);
         //AnalyType();
         //PropertyItems.Add(name);
     }
 }