Decaf Compiler
|
AST conditional structure. More...
#include <ast.h>
Public Attributes | |
struct ASTNode * | condition |
Guard condition (expression) | |
struct ASTNode * | if_block |
Block to be executed if the condition is true. | |
struct ASTNode * | else_block |
Block to be executed if the condition is false (can be NULL if there is no else-block) | |
AST conditional structure.
else_block
can be NULL
for if
statements with no else
clause.