org.codehaus.jparsec.examples.bnf.ast
Class AltRule

java.lang.Object
  extended by org.codehaus.jparsec.examples.common.ValueObject
      extended by org.codehaus.jparsec.examples.bnf.ast.AltRule
All Implemented Interfaces:
Rule

public final class AltRule
extends ValueObject
implements Rule

Represents a rule with a bunch of alternatives.

Author:
benyu

Field Summary
 List<Rule> alternatives
           
 
Constructor Summary
AltRule(List<Rule> alternatives)
           
 
Method Summary
 String toString()
           
 
Methods inherited from class org.codehaus.jparsec.examples.common.ValueObject
equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

alternatives

public final List<Rule> alternatives
Constructor Detail

AltRule

public AltRule(List<Rule> alternatives)
Method Detail

toString

public String toString()
Overrides:
toString in class ValueObject


Copyright © 2014. All rights reserved.