CodeKicker.BBCode.BBCodeParser.MatchTextNode C# (CSharp) Метод

MatchTextNode() приватный Метод

private MatchTextNode ( string bbCode, int &pos, Stack stack ) : bool
bbCode string
pos int
stack Stack
Результат bool
        bool MatchTextNode(string bbCode, ref int pos, Stack<SyntaxTreeNode> stack)
        {
            int end = pos;

            var textNode = ParseText(bbCode, ref end);
            if (textNode != null)
            {
                AppendText(textNode, stack);
                pos = end;
                return true;
            }

            return false;
        }
        void AppendText(string textToAppend, Stack<SyntaxTreeNode> stack)