ONE - On-device Neural Engine
|
Represents any named entity in the code. More...
#include <ArtifactModel.h>
Public Member Functions | |
ArtifactNamed (std::string name) | |
const std::string & | name () const |
Public Member Functions inherited from nnc::ArtifactEntity | |
virtual | ~ArtifactEntity ()=default |
virtual bool | isBlock () const |
If this entity represents something containing a block of instructions. | |
virtual void | accept (IArtifactGenerator *g) const =0 |
This is the core function of each artifact entity and is implemented by all concrete classes in the hierarchy. | |
Additional Inherited Members | |
Protected Member Functions inherited from nnc::ArtifactEntity | |
ArtifactEntity ()=default | |
Represents any named entity in the code.
Definition at line 75 of file ArtifactModel.h.
|
inlineexplicit |
Definition at line 78 of file ArtifactModel.h.
|
inline |
Returns the identifier name.
Definition at line 84 of file ArtifactModel.h.
Referenced by nnc::ArtifactGeneratorCppCode::visit(), nnc::ArtifactGeneratorCppDecl::visit(), nnc::ArtifactGeneratorCppCode::visit(), nnc::ArtifactGeneratorCppDecl::visit(), nnc::ArtifactGeneratorCppCode::visit(), nnc::ArtifactGeneratorCppDecl::visit(), nnc::ArtifactGeneratorCppDecl::visit(), nnc::ArtifactGeneratorCppCode::visit(), and nnc::ArtifactGeneratorCppDecl::visit().