public boolean parse(String input) throws ParseException
    {
	((Dap2Lex)yylexer).reset(parsestate);
	((Dap2Lex)yylexer).setText(input);
	return parse();
    }
public boolean parse(String input) throws ParseException
    {
	((Dap2Lex)yylexer).reset(parsestate);
	((Dap2Lex)yylexer).setText(input);
	return parse();
    }
public boolean parse ( String input ) throws ParseException { ( ( Dap2Lex ) yylexer ) . reset ( parsestate ) ; ( ( Dap2Lex ) yylexer ) . setText ( input ) ; return parse ( ) ; }
/* the parse function allows the specification of a
new stream in case one is reusing the parser
/ * the parse function allows the specification of a new stream in case one is reusing the parser