383940414243444546474849
} public void testAddItemRhs() { final RuleModel model = new RuleModel(); final IAction a0 = new ActionSetField(); final IAction a1 = new ActionSetField(); model.addRhsItem(a0); assertEquals(1, model.rhs.length); model.addRhsItem(a1);
144145146147148149150151152
boolean isDSLEnhanced) { IAction[] rhs = model.rhs; RHSActionVisitor visitor = new RHSActionVisitor( isDSLEnhanced, buf ); for ( int i = 0; i < rhs.length; i++ ) { final IAction action = rhs[i]; visitor.visit( action ); } }