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

java.lang.Object
  extended by org.codehaus.jparsec.examples.common.ValueObject
      extended by org.codehaus.jparsec.examples.bnf.ast.RuleDef

public final class RuleDef
extends ValueObject

Represents a rule definition.

Author:
benyu

Field Summary
 Rule definition
           
 String name
           
 
Constructor Summary
RuleDef(String name, Rule definition)
           
 
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

name

public final String name

definition

public final Rule definition
Constructor Detail

RuleDef

public RuleDef(String name,
               Rule definition)
Method Detail

toString

public String toString()
Overrides:
toString in class ValueObject


Copyright © 2014. All rights reserved.