11 using namespace bil::xdlparser_detail;
29 m_nets = &(design.
nets());
38 (design.
name()).assign(m_quoteBuffer);
42 (design.
deviceName()).assign(m_tok->wordToken());
46 (design.
ncdVersion()).assign(m_tok->wordToken());
50 if (
',' != m_tok->separatorToken())
throw Exception();
62 if (
';' != m_tok->separatorToken())
throw Exception();
65 m_headerParsed =
true;
69 void XDLParserImp::parseBody(
const Device& device)
73 m_headerParsed =
false;
80 m_tiles = &(device.
tiles());
89 const char* keyword = 0;
93 tokenType = m_tok->nextToken();
95 keyword = m_tok->wordToken();
116 tokenType = m_tok->nextToken();
118 keyword = m_tok->wordToken();