System.Xml.Xsl.XsltOld.TextAction.CompileContent C# (CSharp) Метод

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

private CompileContent ( Compiler compiler ) : void
compiler Compiler
Результат void
        private void CompileContent(Compiler compiler) {
            if (compiler.Recurse()) {
                NavigatorInput input = compiler.Input;

                this.text = string.Empty;

                do {
                    switch (input.NodeType) {
                    case XPathNodeType.Text:
                    case XPathNodeType.Whitespace:
                    case XPathNodeType.SignificantWhitespace:
                        this.text += input.Value;
                        break;
                    case XPathNodeType.Comment:
                    case XPathNodeType.ProcessingInstruction:
                        break;
                    default:
                        throw compiler.UnexpectedKeyword();
                    }
                } while(compiler.Advance());
                compiler.ToParent();
            }
        }