26#include <netlist_lexer.h>
44 const char*
getTokenName( NL_T::T aTok ) {
return NETLIST_LEXER::TokenName( aTok ); }
The parser for reading the KiCad s-expression netlist format.
void parseComponent()
Parse a component description: (comp (ref P1) (value DB25FEMELLE) (footprint DB25FC) (libsource (lib ...
void Parse()
Function Parse parse the full netlist.
void parseNet()
Parse a net section (net (code 20) (name /PC-A0) (node (ref BUS1) (pin 62)) (node (ref U3) (pin 3)) (...
NETLIST * m_netlist
The netlist to parse into. Not owned.
void parseLibPartList()
Read the section "libparts" in the netlist: (libparts (libpart (lib device) (part C) (description "Co...
LINE_READER * m_lineReader
The line reader used to parse the netlist. Not owned.
const char * getTokenName(NL_T::T aTok)
void skipCurrent()
Skip the current token level, i.e search for the RIGHT parenthesis which closes the current descripti...
An abstract class from which implementation specific LINE_READERs may be derived to read single lines...
Store information read from a netlist along with the flags used to update the NETLIST in the BOARD.