|
CIRCT 24.0.0git
|
This is intended to be the base class for all emission patterns matching on attributes. More...
#include <EmissionPattern.h>


Public Member Functions | |
| AttrEmissionPatternBase (TypeID typeId) | |
| virtual | ~AttrEmissionPatternBase ()=default |
| virtual bool | match (Attribute attr)=0 |
| Checks if this pattern is applicable to the given attribute. | |
| virtual void | emitAttr (Attribute attr, EmissionPrinter &p)=0 |
| Emit the given attribute to the emission printer. | |
| Public Member Functions inherited from circt::ExportSystemC::PatternBase | |
| PatternBase (const void *rootValue) | |
| const void * | getRootValue () const |
| Get a unique identifier for the C++ type the pattern is matching on. | |
Additional Inherited Members | |
| Static Public Member Functions inherited from circt::ExportSystemC::PatternBase | |
| template<typename E, typename... Args> | |
| static std::unique_ptr< E > | create (Args &&...args) |
This is intended to be the base class for all emission patterns matching on attributes.
Definition at line 153 of file EmissionPattern.h.
|
inlineexplicit |
Definition at line 154 of file EmissionPattern.h.
References circt::ExportSystemC::PatternBase::PatternBase().
Referenced by circt::ExportSystemC::AttrEmissionPattern< A >::AttrEmissionPattern().
|
virtualdefault |
|
pure virtual |
Emit the given attribute to the emission printer.
Implemented in circt::ExportSystemC::AttrEmissionPattern< A >.
|
pure virtual |
Checks if this pattern is applicable to the given attribute.
Implemented in circt::ExportSystemC::AttrEmissionPattern< A >.