jfun.parsec
Interface ParserEval<R>

All Superinterfaces:
java.io.Serializable

public interface ParserEval<R>
extends java.io.Serializable

This is to provide laziness of a Parser. When mutual recursive dependency exists, it is mandatory to declare the depended parser to be lazy. use Parsers.lazy(new ParserEval(){ public Parser eval(){return myparser();} });

Author:
Ben Yu 2004-11-14

Method Summary
 Parser<R> eval()
          do the evaluation.
 

Method Detail

eval

Parser<R> eval()
do the evaluation.

Returns:
the evaluated Parser object.