public class AlternativeAddition extends PartialProduction
| Modifier and Type | Field and Description |
|---|---|
boolean |
isBefore
The flag for whether the choice is to be added after or before
the sequence.
|
SequenceName |
sequence
The sequence relative to which the choice is to be added.
|
attributes, choice, dType, name, qName, type| Constructor and Description |
|---|
AlternativeAddition(java.lang.String dType,
NonTerminal name,
OrderedChoice choice,
SequenceName sequence,
boolean isBefore)
Create a new alternative addition.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
boolean |
isAddition()
Determine whether this production is an
alternative addition. |
isPartialhasAttribute, hashCode, isFull, isMemoized, isOverride, isRemovaladd, add, addAll, addAll, addAll, addAll, addAllTo, addNode, contains, get, getBoolean, getBooleanProperty, getGeneric, getList, getLocation, getName, getNode, getProperty, getString, getStringProperty, getTokenText, hasLocation, hasName, hasProperty, hasTraversal, hasVariable, indexOf, isAnnotation, isEmpty, isGeneric, isList, isToken, iterator, lastIndexOf, properties, remove, removeProperty, set, setLocation, setLocation, setProperty, size, strip, toAnnotation, toList, toString, toToken, writepublic SequenceName sequence
public boolean isBefore
public AlternativeAddition(java.lang.String dType,
NonTerminal name,
OrderedChoice choice,
SequenceName sequence,
boolean isBefore)
dType - The declared type.name - The name.choice - The choice.sequence - The sequence.isBefore - The before flag.public boolean isAddition()
Productionalternative addition.isAddition in class Productiontrue if this production is an alternative
addition.public boolean equals(java.lang.Object o)
equals in class java.lang.ObjectCopyright © 2014. All Rights Reserved.