Decaf Compiler
|
AST literal expression structure. More...
#include <ast.h>
Public Attributes | ||
DecafType | type | |
Literal type (discriminator/tag for the anonymous union) | ||
union { | ||
int integer | ||
Integer value (if type is INT ) | ||
bool boolean | ||
Boolean value (if type is BOOL ) | ||
char string [256] | ||
String value (if type is STR ) | ||
}; | ||
AST literal expression structure.