Decaf Compiler
Public Attributes | List of all members
ConditionalNode Struct Reference

AST conditional structure. More...

#include <ast.h>

Public Attributes

struct ASTNodecondition
 Guard condition (expression)
 
struct ASTNodeif_block
 Block to be executed if the condition is true.
 
struct ASTNodeelse_block
 Block to be executed if the condition is false (can be NULL if there is no else-block)
 

Detailed Description

AST conditional structure.

else_block can be NULL for if statements with no else clause.


The documentation for this struct was generated from the following file: