No Clock  1.0.2
if_then_else Struct Reference

if then else branchs. More...

#include <instruction.h>

Data Fields

expression * condition
 
instruction_list * false_body
 
bool has_else
 
instruction_list * true_body
 

Detailed Description

if then else branchs.

Since
version 1.0.0

Field Documentation

expression* if_then_else::condition

Branching condition.

instruction_list* if_then_else::false_body

Body when the condition is false.

bool if_then_else::has_else

Whether the branch has an else body.

instruction_list* if_then_else::true_body

Body when the condition is true.