public class ParallelEDIFParserWorker extends AbstractEDIFParserWorker implements AutoCloseable
| Modifier and Type | Class and Description |
|---|---|
static class |
ParallelEDIFParserWorker.CellReferenceData |
ARRAY, AUTHOR, CELL, CELLREF, CELLTYPE, COMMENT, CONTENTS, DESIGN, DIRECTION, EDIF, EDIFLEVEL, EDIFVERSION, EXTERNAL, INSTANCE, INSTANCEREF, INTERFACE, JOINED, KEYWORDLEVEL, KEYWORDMAP, LEFT_PAREN, LIBRARY, LIBRARYREF, MEMBER, METAX, NET, NUMBERDEFINITION, OWNER, PORT, PORTREF, PROGRAM, PROPERTY, RENAME, RIGHT_PAREN, STATUS, TECHNOLOGY, TIMESTAMP, VERSION, VIEW, VIEWREF, VIEWTYPE, WRITTEN| Constructor and Description |
|---|
ParallelEDIFParserWorker(Path fileName,
InputStream in,
long offset,
StringPool uniquifier,
int maxTokenLength) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the worker's input stream and release its tokenizer's buffer, as it cannot parse any more.
|
void |
doParse(boolean rerun) |
com.xilinx.rapidwright.edif.EDIFToken |
getFirstCellToken() |
boolean |
isFirstParser() |
boolean |
parseFirstToken()
Skip to our offset, then advance to the next cell
|
void |
setStopCellToken(com.xilinx.rapidwright.edif.EDIFToken stopCellToken) |
Stream<ParallelEDIFParserWorker.CellReferenceData> |
streamCellReferences() |
String |
toString() |
public ParallelEDIFParserWorker(Path fileName,
InputStream in,
long offset,
StringPool uniquifier,
int maxTokenLength)
public boolean isFirstParser()
public boolean parseFirstToken()
public com.xilinx.rapidwright.edif.EDIFToken getFirstCellToken()
public void doParse(boolean rerun)
public void close()
throws IOException
close in interface AutoCloseableIOExceptionpublic String toString()
toString in class Objectpublic void setStopCellToken(com.xilinx.rapidwright.edif.EDIFToken stopCellToken)
public Stream<ParallelEDIFParserWorker.CellReferenceData> streamCellReferences()