cz.cuni.amis.pogamut.base.communication.parser.impl.yylex
Interface IYylex

Package class diagram package IYylex

public interface IYylex

"Wrapper interface" for Yylex, you should wrap your yylex implementation with this interface allowing the parser to set the reader into the yylex (that triggers creation of new instance of your Yylex usually) + providing a method for parsing messages.

Author:
Jimmy

Method Summary
 void close()
           
 void setObserver(IYylexObserver observer)
           
 void setReader(Reader reader)
           
 InfoMessage yylex()
           
 

Method Detail

yylex

InfoMessage yylex()
                  throws IOException
Throws:
IOException

close

void close()
           throws IOException
Throws:
IOException

setReader

void setReader(Reader reader)

setObserver

void setObserver(IYylexObserver observer)


Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.