示例#1
0
        public override bool Visit <T, TFact>(AddFactConsequence <T, TFact> consequence,
                                              Func <SemanticModelVisitor, bool> next)
        {
            _conditionCompiler.MatchJoinNode <T>(joinNode =>
            {
                AddFactProductionNode <T, TFact> node = _configurator.AddFact(consequence.FactFactory);
                joinNode.AddActivation(node);
            });

            return(base.Visit(consequence, next));
        }