Class AugmentedGrammarRule

java.lang.Object
  extended byGrammarRule
      extended byAugmentedGrammarRule
Direct Known Subclasses:
HeadFeaturedGrammarRule

public class AugmentedGrammarRule
extends GrammarRule

An AugmentedGrammarRule is one whose constituents are AugmentedConstituents (ie., which have features associated with them).


Field Summary
 
Fields inherited from class GrammarRule
id, lhs, rhs
 
Constructor Summary
AugmentedGrammarRule(Symbol id, AugmentedConstituent lhs, java.util.List rhs)
          Creates a new AugmentedGrammarRule.
 
Method Summary
 AugmentedGrammarRule copyWithBindings(BindingSet bindings)
          Returns a copy of this AugmentedGrammarRule with the given bindings applied.
 
Methods inherited from class GrammarRule
getId, getLhs, getRhs, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AugmentedGrammarRule

public AugmentedGrammarRule(Symbol id,
                            AugmentedConstituent lhs,
                            java.util.List rhs)
Creates a new AugmentedGrammarRule. Note that we don't check that the rhs actually consists only of AugmentedConstituents (but one could do that).

Method Detail

copyWithBindings

public AugmentedGrammarRule copyWithBindings(BindingSet bindings)
Returns a copy of this AugmentedGrammarRule with the given bindings applied.