| xtc.parser.Production xtc.parser.PartialProduction xtc.parser.ProductionOverride
ProductionOverride | public class ProductionOverride extends PartialProduction (Code) | | A production override. This class represents a modification that
replaces a production's alternatives. It can also specify new
attributes for a production. Either the attributes or the choice
may be null , in which case the original production's
attributes or choice, respectively, remain unmodified. If the
choice is not null , the
ProductionOverride.isComplete flag
specifies whether the choice replaces the original production's
choice or only specific alternatives.
author: Robert Grimm version: $Revision: 1.7 $ |
Field Summary | |
public boolean | isComplete The flag for whether the choice overrides the entire production
or only specific alternatives. |
isComplete | public boolean isComplete(Code) | | The flag for whether the choice overrides the entire production
or only specific alternatives.
|
ProductionOverride | public ProductionOverride(List<Attribute> attributes, String dType, NonTerminal name)(Code) | | Create a new production override.
Parameters: attributes - The attributes. Parameters: dType - The declared type. Parameters: name - The name. |
ProductionOverride | public ProductionOverride(String dType, NonTerminal name, OrderedChoice choice, boolean isComplete)(Code) | | Create a new production override.
Parameters: dType - The declared type. Parameters: name - The name. Parameters: choice - The choice. Parameters: isComplete - The completeness flag. |
isOverride | public boolean isOverride()(Code) | | |
Methods inherited from xtc.parser.PartialProduction | public boolean isPartial()(Code)(Java Doc)
|
|
|