public class ProductionList extends Object
Modifier and Type | Field and Description |
---|---|
private List<Production> |
productions |
private boolean |
replacing
True to replace by the production, false to add it
|
Constructor and Description |
---|
ProductionList() |
Modifier and Type | Method and Description |
---|---|
(package private) void |
addMatchReferences(Set<String> matchReferences) |
void |
addProduction(Production term) |
int |
getTermCount() |
void |
produce(RuleEvaluation e) |
List<Production> |
productionList()
Returns an unmodifiable view of the productions in this
|
(package private) void |
setReplacing(boolean replacing)
True to replace, false to add, default true
|
String |
toString() |
private List<Production> productions
private boolean replacing
public void addProduction(Production term)
void setReplacing(boolean replacing)
public List<Production> productionList()
public int getTermCount()
public void produce(RuleEvaluation e)
Copyright © 2018. All rights reserved.