YamlUtility.Grammar.YamlParser.ParseComments C# (CSharp) Method

ParseComments() private method

private ParseComments ( bool &success ) : void
success bool
return void
        private void ParseComments(out bool success)
        {
            int errorCount = Errors.Count;
            int counter = 0;
            while (true)
            {
                ParseComment(out success);
                if (!success) { break; }
                counter++;
            }
            if (counter > 0) { success = true; }
            if (success) { ClearError(errorCount); }
            else { Error("Failed to parse (Comment)+ of Comments."); }
        }
YamlParser