WONKY



LOG | FILES | OVERVIEW


#ifndef WONKY_VALUE_HH
#define WONKY_VALUE_HH WONKY_VALUE_HH

#define AS_EXPRESSION_VALUE_CONSTANT(x) ((struct Expression_Value_Constant*)(x))

enum Expression_Value_Type
{
	VALUE_LVALUE,
	VALUE_TEMP,
	VALUE_FUNCTION_DESIGNATOR,
	VALUE_CONSTANT,
	VALUE_STRING,
	VALUE_VOID,
	EXPRESSION_VALUE_TYPE_END
};

struct Expression_Value;
struct Expression_Value_LValue;
struct Expression_Value_RValue;
struct Expression_Value_Constant;
struct Expression_Value_Function_Designator;

#endif