Package com.yahoo.prelude.semantics.rule
Class ProductionList
- java.lang.Object
-
- com.yahoo.prelude.semantics.rule.ProductionList
-
public class ProductionList extends java.lang.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)
java.util.List<Production>
productionList()
Returns an unmodifiable view of the productions in thisjava.lang.String
toString()
-
-
-
Method Detail
-
addProduction
public void addProduction(Production term)
-
productionList
public java.util.List<Production> productionList()
Returns an unmodifiable view of the productions in this
-
getTermCount
public int getTermCount()
-
produce
public void produce(RuleEvaluation e)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-