144145146147148149150151152153154
{ if (_item == null) { ChoiceItem item = new ChoiceItem(); for (int i = 0; i < _patterns.size(); i++) { item.addItem(_patterns.get(i).createItem(grammar)); } if (_hasEmpty) item.addItem(EmptyItem.create());
148149150151152153154155156157158
for (int i = 0; i < _patterns.size(); i++) { item.addItem(_patterns.get(i).createItem(grammar)); } if (_hasEmpty) item.addItem(EmptyItem.create()); _item = item.getMin(); } return _item;