Package com.yahoo.prelude.semantics.rule
Class ReplacingProductionRule
java.lang.Object
com.yahoo.prelude.semantics.rule.ProductionRule
com.yahoo.prelude.semantics.rule.ReplacingProductionRule
A production rule which replaces matched terms by the production
- Author:
- bratseth
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringReturns the symbol of this production rule.voidCarries out the production of this ruleMethods inherited from class com.yahoo.prelude.semantics.rule.ProductionRule
getCondition, getProduction, isLoop, makeReferences, matches, matchReferences, setCondition, setProduction, toString
-
Constructor Details
-
ReplacingProductionRule
public ReplacingProductionRule()
-
-
Method Details
-
produce
Carries out the production of this rule- Overrides:
producein classProductionRule
-
getSymbol
Description copied from class:ProductionRuleReturns the symbol of this production rule. All rules are on the formcondition symbol production.- Specified by:
getSymbolin classProductionRule
-