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

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

public final class LiteralRule
extends ValueObject
implements Rule

Represents a literal rule.

Author:
benyu

Field Summary
 String literal
           
 
Constructor Summary
LiteralRule(String literal)
           
 
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

literal

public final String literal
Constructor Detail

LiteralRule

public LiteralRule(String literal)
Method Detail

toString

public String toString()
Overrides:
toString in class ValueObject


Copyright © 2014. All rights reserved.