KiCad PCB EDA Suite
Loading...
Searching...
No Matches
SPICE_GRAMMAR Namespace Reference

Classes

struct  backslashContinuation
 
struct  bracedExpr
 
struct  commentBackslashContinuation
 
struct  commentLine
 
struct  continuation
 
struct  dotControl
 
struct  dotInclude
 
struct  dotIncludePath
 
struct  dotIncludePathWithoutApostrophes
 
struct  dotIncludePathWithoutQuotes
 
struct  dotLine
 
struct  dotModel
 
struct  dotModelAko
 
struct  dotModelType
 
struct  dotSubckt
 
struct  dotSubcktEnd
 
struct  dotSubcktParams
 
struct  dotSubcktParamValuePair
 
struct  dotSubcktParamValuePairs
 
struct  dotSubcktPinName
 
struct  dotSubcktPinSequence
 
struct  dotTitle
 
struct  dotTitleTitle
 
struct  eolfComment
 
struct  eolfCommentStart
 
struct  error
 
struct  garbage
 
struct  garbageOrEolf
 
struct  kLine
 
struct  leaders
 
struct  modelName
 
struct  modelUnit
 
struct  newline
 
struct  param
 
struct  paramValue
 
struct  paramValuePair
 
struct  paramValuePairs
 
struct  plusContinuation
 
struct  sep
 
struct  spiceSource
 
struct  spiceSourceGrammar
 
struct  spiceUnit
 
struct  spiceUnitGrammar
 
struct  token
 
struct  tokenStart
 
struct  trailers
 
struct  unknownLine
 
struct  vectorExpr
 

Typedefs

template<typename Rule >
using control = must_if< error >::control< Rule >
 

Variables

template<typename >
constexpr const char * errorMessage = nullptr
 
template<>
constexpr auto errorMessage< newline >
 
template<>
constexpr auto errorMessage< sep >
 
template<>
constexpr auto errorMessage< opt< sep > >
 
template<>
constexpr auto errorMessage< modelName >
 
template<>
constexpr auto errorMessage< dotModelType >
 
template<>
constexpr auto errorMessage< opt< sep, dotModelType > >
 
template<>
constexpr auto errorMessage< opt< sep, paramValuePairs > >
 
template<>
constexpr auto errorMessage< opt< sep, dotSubcktPinSequence > >
 
template<>
constexpr auto errorMessage< opt< sep, dotSubcktParams > >
 
template<>
constexpr auto errorMessage< until< dotSubcktEnd, spiceUnit > >
 
template<>
constexpr auto errorMessage< spiceUnit >
 
template<>
constexpr auto errorMessage< spiceSource >
 

Typedef Documentation

◆ control

template<typename Rule >
using SPICE_GRAMMAR::control = typedef must_if<error>::control<Rule>

Definition at line 305 of file spice_grammar.h.

Variable Documentation

◆ errorMessage

template<typename >
constexpr const char* SPICE_GRAMMAR::errorMessage = nullptr
inlineconstexpr

Definition at line 272 of file spice_grammar.h.

◆ errorMessage< dotModelType >

template<>
constexpr auto SPICE_GRAMMAR::errorMessage< dotModelType >
inlineconstexpr
Initial value:
=
"expected model type"

Definition at line 281 of file spice_grammar.h.

◆ errorMessage< modelName >

template<>
constexpr auto SPICE_GRAMMAR::errorMessage< modelName >
inlineconstexpr
Initial value:
=
"expected model name"

Definition at line 279 of file spice_grammar.h.

◆ errorMessage< newline >

template<>
constexpr auto SPICE_GRAMMAR::errorMessage< newline >
inlineconstexpr
Initial value:
=
"expected newline"

Definition at line 273 of file spice_grammar.h.

◆ errorMessage< opt< sep > >

template<>
constexpr auto SPICE_GRAMMAR::errorMessage< opt< sep > >
inlineconstexpr
Initial value:
=
""

Definition at line 277 of file spice_grammar.h.

◆ errorMessage< opt< sep, dotModelType > >

template<>
constexpr auto SPICE_GRAMMAR::errorMessage< opt< sep, dotModelType > >
inlineconstexpr
Initial value:
=
""

Definition at line 283 of file spice_grammar.h.

◆ errorMessage< opt< sep, dotSubcktParams > >

template<>
constexpr auto SPICE_GRAMMAR::errorMessage< opt< sep, dotSubcktParams > >
inlineconstexpr
Initial value:
=
""

Definition at line 289 of file spice_grammar.h.

◆ errorMessage< opt< sep, dotSubcktPinSequence > >

template<>
constexpr auto SPICE_GRAMMAR::errorMessage< opt< sep, dotSubcktPinSequence > >
inlineconstexpr
Initial value:
=
""

Definition at line 287 of file spice_grammar.h.

◆ errorMessage< opt< sep, paramValuePairs > >

template<>
constexpr auto SPICE_GRAMMAR::errorMessage< opt< sep, paramValuePairs > >
inlineconstexpr
Initial value:
=
""

Definition at line 285 of file spice_grammar.h.

◆ errorMessage< sep >

template<>
constexpr auto SPICE_GRAMMAR::errorMessage< sep >
inlineconstexpr
Initial value:
=
"expected token separator (one or more whitespace, parenthesis, '=', ',', or line continuation)"

Definition at line 275 of file spice_grammar.h.

◆ errorMessage< spiceSource >

template<>
constexpr auto SPICE_GRAMMAR::errorMessage< spiceSource >
inlineconstexpr
Initial value:
=
"expected zero or more Spice directives, items, subcircuit definitions, or empty or commented-out lines"

Definition at line 295 of file spice_grammar.h.

◆ errorMessage< spiceUnit >

template<>
constexpr auto SPICE_GRAMMAR::errorMessage< spiceUnit >
inlineconstexpr
Initial value:
=
"expected Spice directive, item, subcircuit definitions, or empty or commented-out line"

Definition at line 293 of file spice_grammar.h.

◆ errorMessage< until< dotSubcktEnd, spiceUnit > >

template<>
constexpr auto SPICE_GRAMMAR::errorMessage< until< dotSubcktEnd, spiceUnit > >
inlineconstexpr
Initial value:
=
"expected (possibly empty) sequence of Spice lines followed by an .ends line"

Definition at line 291 of file spice_grammar.h.