public override Expression VisitOcfile([NotNull] OcfileContext context) { base.VisitOcfile(context); //Compile each state States.ForEach( state => Oc5Model.Oc5States.Add(Expression.Lambda <Func <Oc5ModelState, int> >(state, Oc5StateParameterExpression).Compile()) ); //Setup mappings for input assignments Oc5ModelState.SetupInputOutputMappings(Oc5Model.Signals); return(null); }
//TODO? Debug output of states expression syntax public CompileVisitor([NotNull] OcfileContext context) { VisitOcfile(context); }