本文整理汇总了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);
}