WONKY



LOG | FILES | OVERVIEW


#ifndef WONKY_STREAM_HH
#define WONKY_STREAM_HH WONKY_STREAM_HH

struct wonky_stream;
struct wonky__scanformat;

enum wonky_stream_type
{
	WONKY_STREAM_TYPE_OOM,
	WONKY_STREAM_TYPE_STRING,
	WONKY_STREAM_TYPE_FILE,
	WONKY_STREAM_TYPE_END
};
enum wonky__scanformat_conversion 
{
	WONKY__CONVERSION_INT_DECIMAL,
	WONKY__CONVERSION_INT_UNSIGNED_DECIMAL,
	WONKY__CONVERSION_INT_OCTAL,
	WONKY__CONVERSION_INT_HEXADECIMAL,
	WONKY__CONVERSION_DOUBLE_EXPONENT,
	WONKY__CONVERSION_DOUBLE_DECIMAL,
	WONKY__CONVERSION_DOUBLE_HEXADECIMAL,
	WONKY__CONVERSION_CHAR,
	WONKY__CONVERSION_CSTRING,
	WONKY__CONVERSION_POINTER,
	WONKY__CONVERSION_PERCENT,
	WONKY__CONVERSION_BITS, 
	WONKY__CONVERSION_WONKY_ERROR,
	WONKY__CONVERSION_WONKY_TOKEN,

	WONKY__CONVERSION_WONKY_INDENTATION,
	WONKY__CONVERSION_WONKY_AST,
	WONKY__CONVERSION_WONKY_AST_ENUM,
	WONKY__CONVERSION_WONKY_ID,
	WONKY__CONVERSION_WONKY_DENOTED,
	WONKY__CONVERSION_WONKY_TYPE,
	WONKY__CONVERSION_WONKY_OBJECT,
	WONKY__CONVERSION_WONKY_CONSTANT,
	WONKY__CONVERSION_WONKY_SOURCE_NAME,
	WONKY__CONVERSION_WONKY_INCLUSION_CHAIN,
	WONKY__CONVERSION_WONKY_TOKEN_POINTER_CALL_STACK,
	WONKY__CONVERSION_WONKY_MACRO_ARGUMENT,
	WONKY__CONVERSION_WONKY_TOKEN_POINTER_CONTEXT,
	WONKY__CONVERSION_WONKY_FUNCTIONLIKE_MACRO,
	WONKY__CONVERSION_WONKY_TOKEN_LINE,
	WONKY__CONVERSION_WONKY_SOURCE_LOCATION,
	WONKY__CONVERSION_WONKY_TOKEN_RAW_TEXT,
	WONKY__CONVERSION_END
};
enum wonky__scanformat_modifier
{
	WONKY__MOD_NONE,
	WONKY__MOD_SHORT,
	WONKY__MOD_SHORT_SHORT,
	WONKY__MOD_LONG,
	WONKY__MOD_LONG_LONG,
	WONKY__MOD_LONG_DOUBLE,
	WONKY__MOD_INTMAX,
	WONKY__MOD_SIZE_T,
	WONKY__MOD_PTRDIFF,
	WONKY__MOD_END
};


#endif