ONE - On-device Neural Engine
Loading...
Searching...
No Matches
nest::expr::VarNode Class Referencefinal

#include <VarNode.h>

Collaboration diagram for nest::expr::VarNode:

Public Member Functions

 VarNode (const VarID &id)
 
const VarNodeasVar (void) const override
 
const VarIDid (void) const
 
- Public Member Functions inherited from nest::expr::Node
virtual ~Node ()=default
 
template<typename T >
accept (Visitor< T > *v)
 
template<typename T >
accept (Visitor< T > &v)
 

Detailed Description

Definition at line 31 of file VarNode.h.

Constructor & Destructor Documentation

◆ VarNode()

nest::expr::VarNode::VarNode ( const VarID id)
inline

Definition at line 34 of file VarNode.h.

34 : _id{id}
35 {
36 // DO NOTHING
37 }

Member Function Documentation

◆ asVar()

const VarNode * nest::expr::VarNode::asVar ( void  ) const
inlineoverride

Definition at line 40 of file VarNode.h.

40{ return this; }

◆ id()

const VarID & nest::expr::VarNode::id ( void  ) const
inline

Definition at line 43 of file VarNode.h.

43{ return _id; }

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