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

ParseIndentedBlockNode() private method

private ParseIndentedBlockNode ( bool &success ) : YamlUtility.Grammar.DataItem
success bool
return YamlUtility.Grammar.DataItem
        private DataItem ParseIndentedBlockNode(out bool success)
        {
            int errorCount = Errors.Count;
            IncreaseIndent();
            DataItem dataItem = ParseIndentedBlock(out success);
            DecreaseIndent();
            if (success) { ClearError(errorCount); }
            else { Error("Failed to parse IndentedBlock of IndentedBlockNode."); }
            return dataItem;
        }
YamlParser