/// <summary> /// 初始化类<see cref="Declaring"/>。 /// </summary> /// <param name="reader">代码读取器。</param> internal Declaring(CodeReader reader) {//注释!! if (reader.IsNext('!')) { reader.Skip(); Name = "comment"; } else { Name = reader.ReadName(); } var source = reader.ReadUntil("\r\n")?.Trim(' ', ';'); if (!string.IsNullOrWhiteSpace(source)) { ReadDeclaring(source); } }