ONE - On-device Neural Engine
|
The base class of the whole artifact entities hierarchy. More...
#include <ArtifactModel.h>
Public Member Functions | |
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. | |
Protected Member Functions | |
ArtifactEntity ()=default | |
The base class of the whole artifact entities hierarchy.
Definition at line 53 of file ArtifactModel.h.
|
virtualdefault |
|
protecteddefault |
|
pure virtual |
This is the core function of each artifact entity and is implemented by all concrete classes in the hierarchy.
Implemented in nnc::ArtifactLiteral, nnc::ArtifactId, nnc::ArtifactRef, nnc::ArtifactDeref, nnc::ArtifactFunctionCall, nnc::ArtifactUnaryExpr, nnc::ArtifactBinaryExpr, nnc::ArtifactIndex, nnc::ArtifactRet, nnc::ArtifactBreak, nnc::ArtifactCont, nnc::ArtifactVariable, nnc::ArtifactBlock, nnc::ArtifactForLoop, nnc::ArtifactIf, nnc::ArtifactFunction, nnc::ArtifactClassVariable, nnc::ArtifactClassFunction, and nnc::ArtifactClass.
|
inlinevirtual |
If this entity represents something containing a block of instructions.
Reimplemented in nnc::ArtifactBlock, nnc::ArtifactForLoop, and nnc::ArtifactIf.
Definition at line 61 of file ArtifactModel.h.