MLLIF
a MLIR-based Language to Language Interoperability Flyover
Loading...
Searching...
No Matches
mllif::cs Namespace Reference

Classes

class  CsBridgeGen
 

Functions

std::optional< std::string > TypeToCs (const Type &type)
 Gets C#-compliant typename of type.
 
bool createFunctionStub (CsBridgeGen &gen, MLLIFContext &context, const FunctionDecl &node, std::ostream &out, const std::size_t indent)
 

Function Documentation

◆ createFunctionStub()

bool mllif::cs::createFunctionStub ( CsBridgeGen & gen,
MLLIFContext & context,
const FunctionDecl & node,
std::ostream & out,
const std::size_t indent )

Definition at line 56 of file CsBridgeGen.cxx.

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

◆ TypeToCs()

std::optional< std::string > mllif::cs::TypeToCs ( const Type & type)

Gets C#-compliant typename of type.

Parameters
typeType to convert
Returns
C++-compliant typename
Return values
`std::nullopt`if type represents unrecognized type

Definition at line 19 of file Type.cxx.

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