treelite
Public Member Functions | List of all members
FunctionBlock Class Reference

function block with a prototype and code body. Its prototype can optionally be registered with a function registry. More...

#include <semantic.h>

Inheritance diagram for FunctionBlock:
Inheritance graph
[legend]
Collaboration diagram for FunctionBlock:
Collaboration graph
[legend]

Public Member Functions

 FunctionBlock (const std::string &prototype, const CodeBlock &body, std::vector< FunctionEntry > *p_function_registry, bool dll_export=false)
 
 FunctionBlock (std::string &&prototype, CodeBlock &&body, std::vector< FunctionEntry > *p_function_registry, bool dll_export=false)
 
std::vector< std::string > Compile () const override
 

Detailed Description

function block with a prototype and code body. Its prototype can optionally be registered with a function registry.

Definition at line 138 of file semantic.h.


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