Package com.yahoo.prelude.semantics.rule
Class ProductionList
- java.lang.Object
-
- com.yahoo.prelude.semantics.rule.ProductionList
-
public class ProductionList extends Object
A list of the productions of a rule- Author:
- bratseth
-
-
Constructor Summary
Constructors Constructor Description ProductionList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addProduction(Production term)
int
getTermCount()
void
produce(RuleEvaluation e)
List<Production>
productionList()
Returns an unmodifiable view of the productions in thisString
toString()
-
-
-
Method Detail
-
addProduction
public void addProduction(Production term)
-
productionList
public List<Production> productionList()
Returns an unmodifiable view of the productions in this
-
getTermCount
public int getTermCount()
-
produce
public void produce(RuleEvaluation e)
-
-