xtc.parser
Class FullProduction
java.lang.Object
xtc.tree.Node
xtc.parser.Production
xtc.parser.FullProduction
- All Implemented Interfaces:
- java.lang.Iterable<java.lang.Object>, Locatable
public class FullProduction
- extends Production
A complete production.
- Version:
- $Revision: 1.8 $
- 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 |
FullProduction
public FullProduction(java.util.List<Attribute> attributes,
java.lang.String dType,
NonTerminal name,
OrderedChoice choice)
- Create a new full production. Note that the
qualified name needs to be initialized separately.
- Parameters:
attributes - The list of attributes.dType - The declared type.name - The name.choice - The choice.
FullProduction
public FullProduction(java.util.List<Attribute> attributes,
Type type,
NonTerminal name,
NonTerminal qName,
OrderedChoice choice)
- Create a new full production. Note that the
qualified name needs to be initialized separately.
- Parameters:
attributes - The list of attributes.type - The actual type.name - The name.qName - The fully qualified name.choice - The choice.
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals in class java.lang.Object
isFull
public boolean isFull()
- Description copied from class:
Production
- Determine whether this production is a
full
production.
- Overrides:
isFull in class Production
- Returns:
true if this production is full.
Copyright © 2012. All Rights Reserved.