xtc.parser
Class AlternativeRemoval
java.lang.Object
xtc.tree.Node
xtc.parser.Production
xtc.parser.PartialProduction
xtc.parser.AlternativeRemoval
- All Implemented Interfaces:
- java.lang.Iterable<java.lang.Object>, Locatable
public class AlternativeRemoval
- extends PartialProduction
An alternative removal. An alternative removal's attributes,
qualified name, and choice fields are ignored.
- Version:
- $Revision: 1.6 $
- Author:
- Robert Grimm
| Methods inherited from class xtc.tree.Node |
add, 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, write |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
sequences
public java.util.List<SequenceName> sequences
- The list of
sequences to be removed.
AlternativeRemoval
public AlternativeRemoval(java.lang.String dType,
NonTerminal name,
java.util.List<SequenceName> sequences)
- Create a new alternative removal.
- Parameters:
dType - The declared type.name - The name.sequences - The sequence names.
isRemoval
public boolean isRemoval()
- Description copied from class:
Production
- Determine whether this production is an
alternative removal.
- Overrides:
isRemoval in class Production
- Returns:
true if this production is an alternative
removal.
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals in class java.lang.Object
Copyright © 2012. All Rights Reserved.