CIRCT  20.0.0git
Public Member Functions | List of all members
circt::pretty::BeginToken Struct Reference

#include <PrettyPrinter.h>

Inheritance diagram for circt::pretty::BeginToken:
Inheritance graph
[legend]
Collaboration diagram for circt::pretty::BeginToken:
Collaboration graph
[legend]

Public Member Functions

 BeginToken (int32_t offset=2, Breaks breaks=Breaks::Inconsistent, IndentStyle style=IndentStyle::Visual)
 
int32_t offset () const
 
Breaks breaks () const
 
IndentStyle style () 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< BeginToken, Token::Kind::Begin >
static bool classof (const Token *t)
 
- Protected Types inherited from circt::pretty::TokenBase< BeginToken, Token::Kind::Begin >
using InfoType = std::remove_reference_t< std::invoke_result_t< decltype(Token::getInfoImpl< DerivedKind, Token & >), Token & > >
 
- Protected Member Functions inherited from circt::pretty::TokenBase< BeginToken, Token::Kind::Begin >
 TokenBase ()
 
InfoTypegetInfoMut ()
 
const InfoTypegetInfo () 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)
 

Detailed Description

Definition at line 155 of file PrettyPrinter.h.

Constructor & Destructor Documentation

◆ BeginToken()

circt::pretty::BeginToken::BeginToken ( int32_t  offset = 2,
Breaks  breaks = Breaks::Inconsistent,
IndentStyle  style = IndentStyle::Visual 
)
inline

Member Function Documentation

◆ breaks()

Breaks circt::pretty::BeginToken::breaks ( ) const
inline

◆ offset()

int32_t circt::pretty::BeginToken::offset ( ) const
inline

◆ style()

IndentStyle circt::pretty::BeginToken::style ( ) const
inline

The documentation for this struct was generated from the following file: