CIRCT
20.0.0git
|
#include <PrettyPrinter.h>
Public Member Functions | |
StringToken (llvm::StringRef text) | |
StringRef | text () const |
Public Member Functions inherited from circt::pretty::Token | |
Kind | getKind () const |
Additional Inherited Members | |
Public Types inherited from circt::pretty::Token | |
enum class | Kind { String , Break , Begin , End , Callback } |
Static Public Member Functions inherited from circt::pretty::TokenBase< StringToken, Token::Kind::String > | |
static bool | classof (const Token *t) |
Protected Types inherited from circt::pretty::TokenBase< StringToken, Token::Kind::String > | |
using | InfoType = std::remove_reference_t< std::invoke_result_t< decltype(Token::getInfoImpl< DerivedKind, Token & >), Token & > > |
Protected Member Functions inherited from circt::pretty::TokenBase< StringToken, Token::Kind::String > | |
TokenBase () | |
InfoType & | getInfoMut () |
const InfoType & | getInfo () const |
void | initialize (Args &&...args) |
Protected Member Functions inherited from circt::pretty::Token | |
Token (Kind k) | |
Static Protected Member Functions inherited from circt::pretty::Token | |
template<Kind k, typename T > | |
static auto & | getInfoImpl (T &t) |
Token types.
Definition at line 138 of file PrettyPrinter.h.
|
inline |
Definition at line 139 of file PrettyPrinter.h.
References assert(), circt::pretty::TokenBase< StringToken, Token::Kind::String >::initialize(), and text().
|
inline |
Definition at line 143 of file PrettyPrinter.h.
References circt::pretty::TokenBase< StringToken, Token::Kind::String >::getInfo().
Referenced by circt::pretty::PrettyPrinter::add(), circt::pretty::PrettyPrinter::advanceLeft(), circt::pretty::PrettyPrinter::print(), and StringToken().