|
CIRCT 22.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 = std::remove_reference_t< std::invoke_result_t< decltype(Token::getInfoImpl< DerivedKind, Token & >), Token & > > |
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.
|
inlinestatic |
Definition at line 116 of file PrettyPrinter.h.
References circt::pretty::Token::getKind().
|
inlineprotected |
Definition at line 126 of file PrettyPrinter.h.
|
inlineprotected |
Definition at line 124 of file PrettyPrinter.h.
Referenced by circt::pretty::TokenBase< DerivedT, DerivedKind >::initialize().
|
inlineprotected |
Definition at line 131 of file PrettyPrinter.h.
References circt::pretty::TokenBase< DerivedT, DerivedKind >::getInfoMut().