Sarcasm.Unparsing.FormatYielder.GetLeftsFromTopToBottom C# (CSharp) Méthode

GetLeftsFromTopToBottom() private static méthode

/// If topLeft is non-calculated. ///
private static GetLeftsFromTopToBottom ( UnparsableAst self, FormatYielder formatYielder = null ) : IEnumerable
self UnparsableAst
formatYielder FormatYielder
Résultat IEnumerable
        private static IEnumerable<UnparsableAst> GetLeftsFromTopToBottom(UnparsableAst self, FormatYielder formatYielder = null)
        {
            UnparsableAst topAncestorForLeft = GetTopAncestorForLeft(self, formatYielder);

            return topAncestorForLeft != null
                ? Util.RecurseStopBeforeNull(topAncestorForLeft.LeftSibling, current => current.RightMostChild)
                : Enumerable.Empty<UnparsableAst>();
        }