internal SubExprEliminator()
 {
     Opcode ops = new XPathMessageFunctionCallOpcode(XPathMessageContext.HeaderFun, 0);
     SubExprHeader item = new SubExprHeader(ops, 0);
     this.exprList.Add(item);
     this.nextVar = 1;
 }
Example #2
0
        internal SubExprEliminator()
        {
            Opcode        ops  = new XPathMessageFunctionCallOpcode(XPathMessageContext.HeaderFun, 0);
            SubExprHeader item = new SubExprHeader(ops, 0);

            this.exprList.Add(item);
            this.nextVar = 1;
        }
Example #3
0
        internal SubExprEliminator()
        {
            this.removalMapping = new Dictionary <object, List <SubExpr> >();
            this.exprList       = new List <SubExpr>();

            Opcode        op     = new XPathMessageFunctionCallOpcode(XPathMessageContext.HeaderFun, 0);
            SubExprHeader header = new SubExprHeader(op, 0);

            this.exprList.Add(header);
            this.nextVar = 1;
        }
Example #4
0
 internal override bool Equals(Opcode op)
 {
     if (base.Equals(op))
     {
         XPathMessageFunctionCallOpcode opcode = op as XPathMessageFunctionCallOpcode;
         if (opcode != null)
         {
             return(this.function == opcode.function);
         }
     }
     return(false);
 }
Example #5
0
 internal static bool IsExprStarter(Opcode op)
 {
     if (op.ID == OpcodeID.SelectRoot)
     {
         return(true);
     }
     if (op.ID == OpcodeID.XsltInternalFunction)
     {
         XPathMessageFunctionCallOpcode opcode = (XPathMessageFunctionCallOpcode)op;
         if ((opcode.ReturnType == XPathResultType.NodeSet) && (opcode.ArgCount == 0))
         {
             return(true);
         }
     }
     return(false);
 }
        internal SubExprEliminator()
        {
            this.removalMapping = new Dictionary<object, List<SubExpr>>();
            this.exprList = new List<SubExpr>();

            Opcode op = new XPathMessageFunctionCallOpcode(XPathMessageContext.HeaderFun, 0);
            SubExprHeader header = new SubExprHeader(op, 0);
            this.exprList.Add(header);
            this.nextVar = 1;
        }