System.Xml.Schema.ParticleContentValidator.AddLeafNode C# (CSharp) Метод

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

private AddLeafNode ( SyntaxTreeNode node ) : void
node SyntaxTreeNode
Результат void
        private void AddLeafNode(SyntaxTreeNode node) {
            if (stack.Count > 0) {
                InteriorNode inNode = (InteriorNode)stack.Pop();
                if (inNode != null) {
                    inNode.RightChild = node;
                    node = inNode;
                }
            }
            stack.Push( node );
            isPartial = true;
        }