public override EvalNode MakeEvalNode(PatternAgentInstanceContext agentInstanceContext, EvalNode parentNode)
 {
     if (_distinctExpressionsArray == null)
     {
         _distinctExpressionsArray = ExprNodeUtility.GetEvaluators(_distinctExpressions);
     }
     EvalNode child = EvalNodeUtil.MakeEvalNodeSingleChild(ChildNodes, agentInstanceContext, parentNode);
     return new EvalEveryDistinctNode(this, child, agentInstanceContext);
 }
        public override EvalNode MakeEvalNode(PatternAgentInstanceContext agentInstanceContext, EvalNode parentNode)
        {
            if (_opType == null)
            {
                InitOpType();
            }

            EvalNode[] children = EvalNodeUtil.MakeEvalNodeChildren(ChildNodes, agentInstanceContext, parentNode);
            return(new EvalFollowedByNode(agentInstanceContext, this, children));
        }
Example #3
0
        public override EvalNode MakeEvalNode(PatternAgentInstanceContext agentInstanceContext, EvalNode parentNode)
        {
            EvalNode child = EvalNodeUtil.MakeEvalNodeSingleChild(ChildNodes, agentInstanceContext, parentNode);

            return(new EvalEveryNode(agentInstanceContext, this, child));
        }
 public override EvalNode MakeEvalNode(PatternAgentInstanceContext agentInstanceContext, EvalNode parentNode)
 {
     EvalNode[] children = EvalNodeUtil.MakeEvalNodeChildren(ChildNodes, agentInstanceContext, parentNode);
     return(new EvalMatchUntilNode(agentInstanceContext, this, children[0], children.Length == 1 ? null : children[1]));
 }
Example #5
0
 public override EvalNode MakeEvalNode(PatternAgentInstanceContext agentInstanceContext, EvalNode parentNode)
 {
     EvalNode[] children = EvalNodeUtil.MakeEvalNodeChildren(ChildNodes, agentInstanceContext, parentNode);
     return(new EvalAndNode(agentInstanceContext, this, children));
 }