#ifndef WONKY_DEBUG_DENOTED_C
#define WONKY_DEBUG_DENOTED_C WONKY_DEBUG_DENOTED_C
#include <debug_denoted.h>
_Bool is_valid_denotation_enum(enum Denotation_Type denotation_type)
{
return denotation_type>=0 && denotation_type<DENOTATION_TYPE_END;
}
_Bool is_valid_function_specifier(enum Function_Specifier function_specifier)
{
return function_specifier>=0 && function_specifier<FUNCTION_SPECIFIER_END;
}
_Bool is_valid_denoted(struct Denoted *denoted)
{
return is_valid_denotation_enum(denoted->denotation);
}
_Bool is_valid_denoted_base(struct Denoted_Base *denoted)
{
return is_valid_denotation_enum(denoted->denotation);
}
_Bool is_valid_denoted_function(struct Denoted_Function *denoted)
{
return is_valid_denotation_enum(denoted->denotation);
}
_Bool is_valid_denoted_object(struct Denoted_Object *denoted)
{
return is_valid_denotation_enum(denoted->denotation);
}
_Bool is_valid_denoted_type(struct Denoted_Type *denoted)
{
return is_valid_denotation_enum(denoted->denotation);
}
_Bool is_valid_denoted_enum(struct Denoted_Enum *denoted)
{
return is_valid_denotation_enum(denoted->denotation);
}
_Bool is_valid_denoted_enum_const(struct Denoted_Enum_Const *denoted)
{
return is_valid_denotation_enum(denoted->denotation);
}
_Bool is_valid_denoted_struct_union(struct Denoted_Struct_Union *denoted)
{
return is_valid_denotation_enum(denoted->denotation);
}
_Bool is_valid_denoted_statement(struct Denoted_Statement *denoted)
{
return is_valid_denotation_enum(denoted->denotation);
}
_Bool is_valid_denoted_prototype(struct Denotation_Prototype *denoted)
{
return is_valid_denotation_enum(denoted->denotation);
}
#endif