121122123124125126127128129
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 ); } }
309310311312313314315316317318319320
} 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 );