public class ParallelEDIFParserWorker extends AbstractEDIFParserWorker implements AutoCloseable
Modifier and Type | Class and Description |
---|---|
static class |
ParallelEDIFParserWorker.CellReferenceData |
ARRAY, 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,
EDIFReadLegalNameCache cache) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
doParse(boolean rerun) |
void |
finish() |
com.xilinx.rapidwright.edif.EDIFToken |
getFirstCellToken() |
boolean |
isFirstParser() |
void |
linkSmallPorts(Map<EDIFCell,Collection<com.xilinx.rapidwright.edif.ParallelEDIFParserWorker.LinkPortInstData>> largeCellMap) |
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, EDIFReadLegalNameCache cache)
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 AutoCloseable
IOException
public String toString()
toString
in class Object
public void setStopCellToken(com.xilinx.rapidwright.edif.EDIFToken stopCellToken)
public Stream<ParallelEDIFParserWorker.CellReferenceData> streamCellReferences()
public void finish()
public void linkSmallPorts(Map<EDIFCell,Collection<com.xilinx.rapidwright.edif.ParallelEDIFParserWorker.LinkPortInstData>> largeCellMap)