jfun.parsec

Interface ParserEval<R>

public interface ParserEval<R> extends 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

public Parser<R> eval()
do the evaluation.

Returns: the evaluated Parser object.