|
CIRCT 24.0.0git
|
Helper class to CRTP-derive common functions. More...
#include <PrettyPrinter.h>


Static Public Member Functions | |
| static bool | classof (const Token *t) |
Protected Types | |
| using | InfoType |
Protected Member Functions | |
| TokenBase () | |
| InfoType & | getInfoMut () |
| const InfoType & | getInfo () const |
| template<typename... Args> | |
| void | initialize (Args &&...args) |
| Protected Member Functions inherited from circt::pretty::Token | |
| Token (Kind k) | |
Additional Inherited Members | |
| Public Types inherited from circt::pretty::Token | |
| enum class | Kind { String , Break , Begin , End , Callback } |
| Public Member Functions inherited from circt::pretty::Token | |
| Kind | getKind () const |
| Static Protected Member Functions inherited from circt::pretty::Token | |
| template<Kind k, typename T> | |
| static auto & | getInfoImpl (T &t) |
Helper class to CRTP-derive common functions.
Definition at line 115 of file PrettyPrinter.h.
|
protected |
Definition at line 121 of file PrettyPrinter.h.
|
inlineprotected |
Definition at line 119 of file PrettyPrinter.h.
References circt::pretty::Token::Token().
|
inlinestatic |
Definition at line 116 of file PrettyPrinter.h.
References circt::pretty::Token::getKind(), and circt::pretty::Token::Token().
|
inlineprotected |
Definition at line 126 of file PrettyPrinter.h.
References circt::pretty::Token::getInfoImpl().
|
inlineprotected |
Definition at line 124 of file PrettyPrinter.h.
References circt::pretty::Token::getInfoImpl().
Referenced by initialize().
|
inlineprotected |
Definition at line 131 of file PrettyPrinter.h.
References getInfoMut().