本文整理匯總了C#中System.Xml.Xsl.Qil.QilBinary類的典型用法代碼示例。如果您正苦於以下問題:C# QilBinary類的具體用法?C# QilBinary怎麽用?C# QilBinary使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
QilBinary類屬於System.Xml.Xsl.Qil命名空間,在下文中一共展示了QilBinary類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。
示例1: VisitNamespaceDecl
protected virtual QilNode VisitNamespaceDecl(QilBinary n) { return VisitChildren(n); }
示例2: CheckNamespaceDecl
public XmlQueryType CheckNamespaceDecl(QilBinary node) {
CheckXmlType(node.Left, XmlQueryTypeFactory.StringX);
CheckXmlType(node.Right, XmlQueryTypeFactory.StringX);
return XmlQueryTypeFactory.Namespace;
}
示例3: CheckXsltCopy
public XmlQueryType CheckXsltCopy(QilBinary node) {
CheckXmlType(node.Left, XmlQueryTypeFactory.NodeNotRtf);
CheckXmlType(node.Right, XmlQueryTypeFactory.NodeS);
return XmlQueryTypeFactory.Choice(node.Left.XmlType, node.Right.XmlType);
}
示例4: CheckDeref
public XmlQueryType CheckDeref(QilBinary node) {
CheckXmlType(node.Left, XmlQueryTypeFactory.NodeNotRtf);
CheckXmlType(node.Right, XmlQueryTypeFactory.StringX);
return XmlQueryTypeFactory.ElementS;
}
示例5: CheckAttributeCtor
public XmlQueryType CheckAttributeCtor(QilBinary node) {
CheckXmlType(node.Left, XmlQueryTypeFactory.QNameX);
CheckXmlType(node.Right, XmlQueryTypeFactory.NodeNotRtfS);
return XmlQueryTypeFactory.UntypedAttribute;
}
示例6: CheckAfter
public XmlQueryType CheckAfter(QilBinary node) {
return CheckIs(node);
}
示例7: CheckAttribute
public XmlQueryType CheckAttribute(QilBinary node) {
CheckXmlType(node.Left, XmlQueryTypeFactory.NodeNotRtf);
CheckXmlType(node.Right, XmlQueryTypeFactory.QNameX);
return XmlQueryTypeFactory.AttributeQ;
}
示例8: CheckIntersection
public XmlQueryType CheckIntersection(QilBinary node) {
return CheckUnion(node);
}
示例9: CheckDifference
public XmlQueryType CheckDifference(QilBinary node) {
CheckXmlType(node.Left, XmlQueryTypeFactory.NodeNotRtfS);
CheckXmlType(node.Right, XmlQueryTypeFactory.NodeNotRtfS);
return XmlQueryTypeFactory.AtMost(node.Left.XmlType, node.Left.XmlType.Cardinality);
}
示例10: CheckOr
public XmlQueryType CheckOr(QilBinary node) {
return CheckAnd(node);
}
示例11: CheckUnion
public XmlQueryType CheckUnion(QilBinary node) {
CheckXmlType(node.Left, XmlQueryTypeFactory.NodeNotRtfS);
CheckXmlType(node.Right, XmlQueryTypeFactory.NodeNotRtfS);
return DistinctType(XmlQueryTypeFactory.Sequence(node.Left.XmlType, node.Right.XmlType));
}
示例12: CheckAnd
//-----------------------------------------------
// boolean operators
//-----------------------------------------------
public XmlQueryType CheckAnd(QilBinary node) {
CheckXmlType(node.Left, XmlQueryTypeFactory.BooleanX);
CheckXmlType(node.Right, XmlQueryTypeFactory.BooleanX);
return XmlQueryTypeFactory.BooleanX;
}
示例13: VisitXsltCopy
protected virtual QilNode VisitXsltCopy(QilBinary n) { return VisitChildren(n); }
示例14: VisitRtfCtor
protected virtual QilNode VisitRtfCtor(QilBinary n) { return VisitChildren(n); }
示例15: CheckLe
public XmlQueryType CheckLe(QilBinary node) {
return CheckNe(node);
}