System.Xml.Xsl.Qil.QilTypeChecker.CheckPICtor C# (CSharp) Method

CheckPICtor() public method

public CheckPICtor ( QilBinary node ) : XmlQueryType
node QilBinary
return XmlQueryType
        public XmlQueryType CheckPICtor(QilBinary node) {
            CheckXmlType(node.Left, XmlQueryTypeFactory.StringX);
            CheckXmlType(node.Right, XmlQueryTypeFactory.NodeNotRtfS);
            return XmlQueryTypeFactory.PI;
        }
        

Usage Example

コード例 #1
0
        public QilBinary PICtor(QilNode left, QilNode right)
        {
            QilBinary n = new QilBinary(QilNodeType.PICtor, left, right);

            n.XmlType = _typeCheck.CheckPICtor(n);
            TraceNode(n);
            return(n);
        }
QilTypeChecker