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

if-else statement with condition may store a branch hint (>50% or <50% likely) More...

#include <semantic.h>

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

Public Member Functions

 IfElseBlock (const Condition &condition, const CodeBlock &if_block, const CodeBlock &else_block, BranchHint hint=BranchHint::kNone)
 
 IfElseBlock (Condition &&condition, CodeBlock &&if_block, CodeBlock &&else_block, BranchHint hint=BranchHint::kNone)
 
std::vector< std::string > Compile () const override
 

Detailed Description

if-else statement with condition may store a branch hint (>50% or <50% likely)

Definition at line 194 of file semantic.h.


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