xtc.parser
Class PartialProduction

java.lang.Object
  extended by xtc.tree.Node
      extended by xtc.parser.Production
          extended by xtc.parser.PartialProduction
All Implemented Interfaces:
java.lang.Iterable<java.lang.Object>, Locatable
Direct Known Subclasses:
AlternativeAddition, AlternativeRemoval, ProductionOverride

public abstract class PartialProduction
extends Production

A partial production.

Version:
$Revision: 1.10 $
Author:
Robert Grimm

Field Summary
 
Fields inherited from class xtc.parser.Production
attributes, choice, dType, name, qName, type
 
Constructor Summary
PartialProduction(java.util.List<Attribute> attributes, java.lang.String dType, NonTerminal name, OrderedChoice choice)
          Create a new partial production.
 
Method Summary
 boolean isPartial()
          Determine whether this production is a partial production.
 
Methods inherited from class xtc.parser.Production
hasAttribute, hashCode, isAddition, isFull, isMemoized, isOverride, isRemoval
 
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, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PartialProduction

public PartialProduction(java.util.List<Attribute> attributes,
                         java.lang.String dType,
                         NonTerminal name,
                         OrderedChoice choice)
Create a new partial production.

Parameters:
attributes - The list of attributes.
dType - The declared type.
name - The name.
choice - The choice.
Method Detail

isPartial

public boolean isPartial()
Description copied from class: Production
Determine whether this production is a partial production.

Overrides:
isPartial in class Production
Returns:
true if this production is partial.


Copyright © 2012. All Rights Reserved.