one element card ( R/C/L/V/I/D ), lexed but not interpreted: all payloads stay strings; numeric conversion and semantic validation are the netlist factory's job More...
#include <cl_NetlistParser.hpp>
Public Attributes | |
| char | mType = '?' |
| element letter, case-folded: 'r' 'c' 'l' 'v' 'i' 'd' | |
| string | mName |
| Cell< string > | mNodes |
| Cell< string > | mValues |
| Map< string, string > | mKwargs |
| key=value tokens ( "r" -> "5k", "ic" -> "0" ), case-folded | |
| index_t | mLine = 0 |
| 1-based physical line of the card's first line | |
| string | mCard |
| the joined logical card as written, for error reporting | |
one element card ( R/C/L/V/I/D ), lexed but not interpreted: all payloads stay strings; numeric conversion and semantic validation are the netlist factory's job
| string belfem::electronics::NetlistElement::mCard |
the joined logical card as written, for error reporting
key=value tokens ( "r" -> "5k", "ic" -> "0" ), case-folded
| index_t belfem::electronics::NetlistElement::mLine = 0 |
1-based physical line of the card's first line
| string belfem::electronics::NetlistElement::mName |
full instance name, case-folded ( "is", "l1" ) – becomes the component label
the two node names, case-folded, as written ( "0", "gnd", "in" ); the ground remap happens in the factory
| char belfem::electronics::NetlistElement::mType = '?' |
element letter, case-folded: 'r' 'c' 'l' 'v' 'i' 'd'
positional tokens after the nodes, case-folded, parentheses and commas normalized to spaces ( "sin", "0", "500", "10" )