MLLIF
a MLIR-based Language to Language Interoperability Flyover
Loading...
Searching...
No Matches
mllif::cxx::CxxBridgeGen Class Reference

#include <CxxBridgeGen.h>

Inheritance diagram for mllif::cxx::CxxBridgeGen:
Collaboration diagram for mllif::cxx::CxxBridgeGen:

Public Member Functions

bool handleAssemblyBegin (MLLIFContext &context, const AssemblyDecl &node, std::ostream &out, std::size_t indent) override
 
bool handleAssemblyEnd (MLLIFContext &context, const AssemblyDecl &node, std::ostream &out, std::size_t indent) override
 
bool handleNamespaceBegin (MLLIFContext &context, const NamespaceDecl &node, std::ostream &out, std::size_t indent) override
 
bool handleNamespaceEnd (MLLIFContext &context, const NamespaceDecl &node, std::ostream &out, std::size_t indent) override
 
bool handleObjectBegin (MLLIFContext &context, const ObjectDecl &node, std::ostream &out, std::size_t indent) override
 
bool handleObjectEnd (MLLIFContext &context, const ObjectDecl &node, std::ostream &out, std::size_t indent) override
 
bool handleFunctionBegin (MLLIFContext &context, const FunctionDecl &node, std::ostream &out, std::size_t indent) override
 
bool handleFunctionEnd (MLLIFContext &context, const FunctionDecl &node, std::ostream &out, std::size_t indent) override
 
bool handleMethodBegin (MLLIFContext &context, const MethodDecl &node, std::ostream &out, std::size_t indent) override
 
bool handleParam (MLLIFContext &context, const ParamDecl &node, std::ostream &out, std::size_t indent) override
 
void writeParamDelimiter (std::ostream &os) override
 
- Public Member Functions inherited from mllif::BridgeGen
virtual ~BridgeGen ()=default
 
 MLLIF_GEN_HANDLER (Assembly, Begin)=0
 
 MLLIF_GEN_HANDLER (Assembly, End)=0
 
 MLLIF_GEN_HANDLER (Namespace, Begin)=0
 
 MLLIF_GEN_HANDLER (Namespace, End)=0
 
 MLLIF_GEN_HANDLER (Object, Begin)=0
 
 MLLIF_GEN_HANDLER (Object, End)=0
 
 MLLIF_GEN_HANDLER (Function, Begin)=0
 
 MLLIF_GEN_HANDLER (Function, End)=0
 
 MLLIF_GEN_HANDLER (Method, Begin)=0
 
 MLLIF_GEN_HANDLER (Method, End)
 
 MLLIF_GEN_HANDLER (Param)=0
 
bool handleDecl (MLLIFContext &context, const std::shared_ptr< Decl > &node, std::ostream &out, std::size_t indent)
 

Detailed Description

Definition at line 23 of file CxxBridgeGen.h.

Member Function Documentation

◆ handleAssemblyBegin()

bool mllif::cxx::CxxBridgeGen::handleAssemblyBegin ( MLLIFContext & context,
const AssemblyDecl & node,
std::ostream & out,
std::size_t indent )
override

Definition at line 30 of file CxxBridgeGen.cxx.

◆ handleAssemblyEnd()

bool mllif::cxx::CxxBridgeGen::handleAssemblyEnd ( MLLIFContext & context,
const AssemblyDecl & node,
std::ostream & out,
std::size_t indent )
override

Definition at line 34 of file CxxBridgeGen.cxx.

◆ handleFunctionBegin()

bool mllif::cxx::CxxBridgeGen::handleFunctionBegin ( MLLIFContext & context,
const FunctionDecl & node,
std::ostream & out,
std::size_t indent )
override

Definition at line 60 of file CxxBridgeGen.cxx.

Here is the call graph for this function:

◆ handleFunctionEnd()

bool mllif::cxx::CxxBridgeGen::handleFunctionEnd ( MLLIFContext & context,
const FunctionDecl & node,
std::ostream & out,
std::size_t indent )
override

Definition at line 76 of file CxxBridgeGen.cxx.

Here is the call graph for this function:

◆ handleMethodBegin()

bool mllif::cxx::CxxBridgeGen::handleMethodBegin ( MLLIFContext & context,
const MethodDecl & node,
std::ostream & out,
std::size_t indent )
override

Definition at line 81 of file CxxBridgeGen.cxx.

Here is the call graph for this function:

◆ handleNamespaceBegin()

bool mllif::cxx::CxxBridgeGen::handleNamespaceBegin ( MLLIFContext & context,
const NamespaceDecl & node,
std::ostream & out,
std::size_t indent )
override

Definition at line 38 of file CxxBridgeGen.cxx.

Here is the call graph for this function:

◆ handleNamespaceEnd()

bool mllif::cxx::CxxBridgeGen::handleNamespaceEnd ( MLLIFContext & context,
const NamespaceDecl & node,
std::ostream & out,
std::size_t indent )
override

Definition at line 43 of file CxxBridgeGen.cxx.

Here is the call graph for this function:

◆ handleObjectBegin()

bool mllif::cxx::CxxBridgeGen::handleObjectBegin ( MLLIFContext & context,
const ObjectDecl & node,
std::ostream & out,
std::size_t indent )
override

Definition at line 48 of file CxxBridgeGen.cxx.

Here is the call graph for this function:

◆ handleObjectEnd()

bool mllif::cxx::CxxBridgeGen::handleObjectEnd ( MLLIFContext & context,
const ObjectDecl & node,
std::ostream & out,
std::size_t indent )
override

Definition at line 55 of file CxxBridgeGen.cxx.

Here is the call graph for this function:

◆ handleParam()

bool mllif::cxx::CxxBridgeGen::handleParam ( MLLIFContext & context,
const ParamDecl & node,
std::ostream & out,
std::size_t indent )
override

Definition at line 92 of file CxxBridgeGen.cxx.

Here is the call graph for this function:

◆ writeParamDelimiter()

void mllif::cxx::CxxBridgeGen::writeParamDelimiter ( std::ostream & os)
overridevirtual

Implements mllif::BridgeGen.

Definition at line 103 of file CxxBridgeGen.cxx.


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