MLLIF
a MLIR-based Language to Language Interoperability Flyover
All Classes Namespaces Files Functions Variables Typedefs Properties Macros Pages
mllif::Decl Class Reference

#include <Decl.h>

Inheritance diagram for mllif::Decl:
Collaboration diagram for mllif::Decl:

Public Member Functions

 Decl (MLLIFContext &context, const rapidxml::xml_node<> *node, std::shared_ptr< Decl > parent)
 
virtual ~Decl ()=default
 
const std::string & name () const
 
const std::vector< std::shared_ptr< Decl > > & children () const
 
const std::shared_ptr< Decl > & parent () const
 

Static Public Member Functions

static std::shared_ptr< DeclCreate (MLLIFContext &context, rapidxml::xml_node<> *node, std::shared_ptr< Decl > parent)
 

Detailed Description

Definition at line 40 of file Decl.h.

Constructor & Destructor Documentation

◆ Decl()

mllif::Decl::Decl ( MLLIFContext & context,
const rapidxml::xml_node<> * node,
std::shared_ptr< Decl > parent )

Definition at line 45 of file Decl.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~Decl()

virtual mllif::Decl::~Decl ( )
virtualdefault

Member Function Documentation

◆ children()

const std::vector< std::shared_ptr< Decl > > & mllif::Decl::children ( ) const
inline

Definition at line 50 of file Decl.h.

Here is the caller graph for this function:

◆ Create()

std::shared_ptr< mllif::Decl > mllif::Decl::Create ( MLLIFContext & context,
rapidxml::xml_node<> * node,
std::shared_ptr< Decl > parent )
static

Definition at line 60 of file Decl.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ name()

const std::string & mllif::Decl::name ( ) const
inline

Definition at line 49 of file Decl.h.

Here is the caller graph for this function:

◆ parent()

const std::shared_ptr< Decl > & mllif::Decl::parent ( ) const
inline

Definition at line 51 of file Decl.h.

Here is the caller graph for this function:

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