| |
|
| xtc.parser.Element xtc.parser.OrderedChoice
OrderedChoice | public class OrderedChoice extends Element (Code) | | An ordered choice of grammar elements.
author: Robert Grimm version: $Revision: 1.14 $ |
OrderedChoice | public OrderedChoice()(Code) | | Create a new ordered choice with no choices.
|
OrderedChoice | public OrderedChoice(List<Sequence> alternatives)(Code) | | Create a new ordered choice.
Parameters: alternatives - The list of alternatives. |
OrderedChoice | public OrderedChoice(Element element)(Code) | | Create a new ordered choice with the specified element as its
only alternative. The constructor
Sequence.ensure(Element) ensures that the element is a sequence.
It also copies the element's location into the newly created
choice.
Parameters: element - The element. |
hashCode | public int hashCode()(Code) | | |
Methods inherited from xtc.parser.Element | abstract public Tag tag()(Code)(Java Doc)
|
|
|
|