Class DlgpeParser
java.lang.Object
fr.inria.rules.integraal.io.dlgpe.DlgpeParser
- All Implemented Interfaces:
Parser<Object>, CloseableIterator<Object>, Closeable, AutoCloseable
-
Constructor Details
-
DlgpeParser
Constructor for parsing from the given file.- Parameters:
file- java file object to read from
-
-
Method Details
-
close
public void close()Description copied from interface:CloseableIteratorCloses the iterator and releases its resources.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceCloseableIterator<Object>
-
hasNext
Description copied from interface:CloseableIteratorIndicates whether another element can be read from the iterator.- Specified by:
hasNextin interfaceCloseableIterator<Object>- Specified by:
hasNextin interfaceParser<Object>- Returns:
- true iff there is a next element
- Throws:
ParseException
-
next
Description copied from interface:CloseableIteratorReturns the next element from the iterator.- Specified by:
nextin interfaceCloseableIterator<Object>- Specified by:
nextin interfaceParser<Object>- Returns:
- the next element
- Throws:
ParseException
-