示例#1
0
文件: Yaml.cs 项目: IngisKahn/Nyaml
 internal static IEnumerable<Tokens.Base> Scan(ILoader loader, bool dispose)
 {
     while (loader.CheckToken())
         yield return loader.GetToken();
     if (dispose)
         loader.Dispose();
 }