Namespaces | |
context_policies | |
cpplexer | |
grammars | |
impl | |
iteration_context_policies | |
util | |
Classes | |
struct | base_iteration_context |
class | context |
class | cpp_exception |
struct | iteration_context |
class | macro_handling_exception |
class | pp_iterator |
class | preprocess_exception |
struct | this_type |
Typedefs | |
typedef long | int_literal_type |
typedef unsigned long | uint_literal_type |
Enumerations | |
enum | language_support { support_normal = 0x01, support_cpp = support_normal, support_option_long_long = 0x02, support_option_mask = 0xFFC0, support_option_emit_contnewlines = 0x0040, support_option_insert_whitespace = 0x0080, support_option_preserve_comments = 0x0100, support_option_no_character_validation = 0x0200, support_option_convert_trigraphs = 0x0400, support_option_single_line = 0x0800, support_option_prefer_pp_numbers = 0x1000, support_option_emit_line_directives = 0x2000, support_option_include_guard_detection = 0x4000, support_option_emit_pragma_directives = 0x8000 } |
enum | token_category { IdentifierTokenType = 0x10080000, ParameterTokenType = 0x11080000, ExtParameterTokenType = 0x11180000, KeywordTokenType = 0x20080000, OperatorTokenType = 0x30080000, LiteralTokenType = 0x40080000, IntegerLiteralTokenType = 0x41080000, FloatingLiteralTokenType = 0x42080000, StringLiteralTokenType = 0x43080000, CharacterLiteralTokenType = 0x44080000, BoolLiteralTokenType = 0x45080000, PPTokenType = 0x50080000, PPConditionalTokenType = 0x50880000, UnknownTokenType = 0xA0000000, EOLTokenType = 0xB0000000, EOFTokenType = 0xC0000000, WhiteSpaceTokenType = 0xD0000000, InternalTokenType = 0xE0080000, TokenTypeMask = 0xFF000000, AltTokenType = 0x00100000, TriGraphTokenType = 0x00200000, AltExtTokenType = 0x00500000, PPTokenFlag = 0x00080000, ExtTokenTypeMask = 0xFFF00000, ExtTokenOnlyMask = 0x00F00000, TokenValueMask = 0x000FFFFF, MainTokenMask = 0xFF0FFFFF } |
enum | token_id { T_UNKNOWN = 0, T_FIRST_TOKEN = 256, T_AND = (( T_FIRST_TOKEN ) | ( OperatorTokenType )), T_AND_ALT = (( T_FIRST_TOKEN ) | ( OperatorTokenType|AltExtTokenType )), T_ANDAND = (( 257 ) | ( OperatorTokenType )), T_ANDAND_ALT = (( 257 ) | ( OperatorTokenType|AltExtTokenType )), T_ASSIGN = (( 258 ) | ( OperatorTokenType )), T_ANDASSIGN = (( 259 ) | ( OperatorTokenType )), T_ANDASSIGN_ALT = (( 259 ) | ( OperatorTokenType|AltExtTokenType )), T_OR = (( 260 ) | ( OperatorTokenType )), T_OR_ALT = (( 260 ) | ( OperatorTokenType|AltExtTokenType )), T_OR_TRIGRAPH = (( 260 ) | ( OperatorTokenType|TriGraphTokenType )), T_ORASSIGN = (( 261 ) | ( OperatorTokenType )), T_ORASSIGN_ALT = (( 261 ) | ( OperatorTokenType|AltExtTokenType )), T_ORASSIGN_TRIGRAPH = (( 261 ) | ( OperatorTokenType|TriGraphTokenType )), T_XOR = (( 262 ) | ( OperatorTokenType )), T_XOR_ALT = (( 262 ) | ( OperatorTokenType|AltExtTokenType )), T_XOR_TRIGRAPH = (( 262 ) | ( OperatorTokenType|TriGraphTokenType )), T_XORASSIGN = (( 263 ) | ( OperatorTokenType )), T_XORASSIGN_ALT = (( 263 ) | ( OperatorTokenType|AltExtTokenType )), T_XORASSIGN_TRIGRAPH = (( 263 ) | ( OperatorTokenType|TriGraphTokenType )), T_COMMA = (( 264 ) | ( OperatorTokenType )), T_COLON = (( 265 ) | ( OperatorTokenType )), T_DIVIDE = (( 266 ) | ( OperatorTokenType )), T_DIVIDEASSIGN = (( 267 ) | ( OperatorTokenType )), T_DOT = (( 268 ) | ( OperatorTokenType )), T_DOTSTAR = (( 269 ) | ( OperatorTokenType )), T_ELLIPSIS = (( 270 ) | ( OperatorTokenType )), T_EQUAL = (( 271 ) | ( OperatorTokenType )), T_GREATER = (( 272 ) | ( OperatorTokenType )), T_GREATEREQUAL = (( 273 ) | ( OperatorTokenType )), T_LEFTBRACE = (( 274 ) | ( OperatorTokenType )), T_LEFTBRACE_ALT = (( 274 ) | ( OperatorTokenType|AltTokenType )), T_LEFTBRACE_TRIGRAPH = (( 274 ) | ( OperatorTokenType|TriGraphTokenType )), T_LESS = (( 275 ) | ( OperatorTokenType )), T_LESSEQUAL = (( 276 ) | ( OperatorTokenType )), T_LEFTPAREN = (( 277 ) | ( OperatorTokenType )), T_LEFTBRACKET = (( 278 ) | ( OperatorTokenType )), T_LEFTBRACKET_ALT = (( 278 ) | ( OperatorTokenType|AltTokenType )), T_LEFTBRACKET_TRIGRAPH = (( 278 ) | ( OperatorTokenType|TriGraphTokenType )), T_MINUS = (( 279 ) | ( OperatorTokenType )), T_MINUSASSIGN = (( 280 ) | ( OperatorTokenType )), T_MINUSMINUS = (( 281 ) | ( OperatorTokenType )), T_PERCENT = (( 282 ) | ( OperatorTokenType )), T_PERCENTASSIGN = (( 283 ) | ( OperatorTokenType )), T_NOT = (( 284 ) | ( OperatorTokenType )), T_NOT_ALT = (( 284 ) | ( OperatorTokenType|AltExtTokenType )), T_NOTEQUAL = (( 285 ) | ( OperatorTokenType )), T_NOTEQUAL_ALT = (( 285 ) | ( OperatorTokenType|AltExtTokenType )), T_OROR = (( 286 ) | ( OperatorTokenType )), T_OROR_ALT = (( 286 ) | ( OperatorTokenType|AltExtTokenType )), T_OROR_TRIGRAPH = (( 286 ) | ( OperatorTokenType|TriGraphTokenType )), T_PLUS = (( 287 ) | ( OperatorTokenType )), T_PLUSASSIGN = (( 288 ) | ( OperatorTokenType )), T_PLUSPLUS = (( 289 ) | ( OperatorTokenType )), T_ARROW = (( 290 ) | ( OperatorTokenType )), T_ARROWSTAR = (( 291 ) | ( OperatorTokenType )), T_QUESTION_MARK = (( 292 ) | ( OperatorTokenType )), T_RIGHTBRACE = (( 293 ) | ( OperatorTokenType )), T_RIGHTBRACE_ALT = (( 293 ) | ( OperatorTokenType|AltTokenType )), T_RIGHTBRACE_TRIGRAPH = (( 293 ) | ( OperatorTokenType|TriGraphTokenType )), T_RIGHTPAREN = (( 294 ) | ( OperatorTokenType )), T_RIGHTBRACKET = (( 295 ) | ( OperatorTokenType )), T_RIGHTBRACKET_ALT = (( 295 ) | ( OperatorTokenType|AltTokenType )), T_RIGHTBRACKET_TRIGRAPH = (( 295 ) | ( OperatorTokenType|TriGraphTokenType )), T_COLON_COLON = (( 296 ) | ( OperatorTokenType )), T_SEMICOLON = (( 297 ) | ( OperatorTokenType )), T_SHIFTLEFT = (( 298 ) | ( OperatorTokenType )), T_SHIFTLEFTASSIGN = (( 299 ) | ( OperatorTokenType )), T_SHIFTRIGHT = (( 300 ) | ( OperatorTokenType )), T_SHIFTRIGHTASSIGN = (( 301 ) | ( OperatorTokenType )), T_STAR = (( 302 ) | ( OperatorTokenType )), T_COMPL = (( 303 ) | ( OperatorTokenType )), T_COMPL_ALT = (( 303 ) | ( OperatorTokenType|AltExtTokenType )), T_COMPL_TRIGRAPH = (( 303 ) | ( OperatorTokenType|TriGraphTokenType )), T_STARASSIGN = (( 304 ) | ( OperatorTokenType )), T_ASM = (( 305 ) | ( KeywordTokenType )), T_AUTO = (( 306 ) | ( KeywordTokenType )), T_BOOL = (( 307 ) | ( KeywordTokenType )), T_FALSE = (( 308 ) | ( BoolLiteralTokenType )), T_TRUE = (( 309 ) | ( BoolLiteralTokenType )), T_BREAK = (( 310 ) | ( KeywordTokenType )), T_CASE = (( 311 ) | ( KeywordTokenType )), T_CATCH = (( 312 ) | ( KeywordTokenType )), T_CHAR = (( 313 ) | ( KeywordTokenType )), T_CLASS = (( 314 ) | ( KeywordTokenType )), T_CONST = (( 315 ) | ( KeywordTokenType )), T_CONSTCAST = (( 316 ) | ( KeywordTokenType )), T_CONTINUE = (( 317 ) | ( KeywordTokenType )), T_DEFAULT = (( 318 ) | ( KeywordTokenType )), T_DELETE = (( 319 ) | ( KeywordTokenType )), T_DO = (( 320 ) | ( KeywordTokenType )), T_DOUBLE = (( 321 ) | ( KeywordTokenType )), T_DYNAMICCAST = (( 322 ) | ( KeywordTokenType )), T_ELSE = (( 323 ) | ( KeywordTokenType )), T_ENUM = (( 324 ) | ( KeywordTokenType )), T_EXPLICIT = (( 325 ) | ( KeywordTokenType )), T_EXPORT = (( 326 ) | ( KeywordTokenType )), T_EXTERN = (( 327 ) | ( KeywordTokenType )), T_FLOAT = (( 328 ) | ( KeywordTokenType )), T_FOR = (( 329 ) | ( KeywordTokenType )), T_FRIEND = (( 330 ) | ( KeywordTokenType )), T_GOTO = (( 331 ) | ( KeywordTokenType )), T_IF = (( 332 ) | ( KeywordTokenType )), T_INLINE = (( 333 ) | ( KeywordTokenType )), T_INT = (( 334 ) | ( KeywordTokenType )), T_LONG = (( 335 ) | ( KeywordTokenType )), T_MUTABLE = (( 336 ) | ( KeywordTokenType )), T_NAMESPACE = (( 337 ) | ( KeywordTokenType )), T_NEW = (( 338 ) | ( KeywordTokenType )), T_OPERATOR = (( 339 ) | ( KeywordTokenType )), T_PRIVATE = (( 340 ) | ( KeywordTokenType )), T_PROTECTED = (( 341 ) | ( KeywordTokenType )), T_PUBLIC = (( 342 ) | ( KeywordTokenType )), T_REGISTER = (( 343 ) | ( KeywordTokenType )), T_REINTERPRETCAST = (( 344 ) | ( KeywordTokenType )), T_RETURN = (( 345 ) | ( KeywordTokenType )), T_SHORT = (( 346 ) | ( KeywordTokenType )), T_SIGNED = (( 347 ) | ( KeywordTokenType )), T_SIZEOF = (( 348 ) | ( KeywordTokenType )), T_STATIC = (( 349 ) | ( KeywordTokenType )), T_STATICCAST = (( 350 ) | ( KeywordTokenType )), T_STRUCT = (( 351 ) | ( KeywordTokenType )), T_SWITCH = (( 352 ) | ( KeywordTokenType )), T_TEMPLATE = (( 353 ) | ( KeywordTokenType )), T_THIS = (( 354 ) | ( KeywordTokenType )), T_THROW = (( 355 ) | ( KeywordTokenType )), T_TRY = (( 356 ) | ( KeywordTokenType )), T_TYPEDEF = (( 357 ) | ( KeywordTokenType )), T_TYPEID = (( 358 ) | ( KeywordTokenType )), T_TYPENAME = (( 359 ) | ( KeywordTokenType )), T_UNION = (( 360 ) | ( KeywordTokenType )), T_UNSIGNED = (( 361 ) | ( KeywordTokenType )), T_USING = (( 362 ) | ( KeywordTokenType )), T_VIRTUAL = (( 363 ) | ( KeywordTokenType )), T_VOID = (( 364 ) | ( KeywordTokenType )), T_VOLATILE = (( 365 ) | ( KeywordTokenType )), T_WCHART = (( 366 ) | ( KeywordTokenType )), T_WHILE = (( 367 ) | ( KeywordTokenType )), T_PP_DEFINE = (( 368 ) | ( PPTokenType )), T_PP_IF = (( 369 ) | ( PPConditionalTokenType )), T_PP_IFDEF = (( 370 ) | ( PPConditionalTokenType )), T_PP_IFNDEF = (( 371 ) | ( PPConditionalTokenType )), T_PP_ELSE = (( 372 ) | ( PPConditionalTokenType )), T_PP_ELIF = (( 373 ) | ( PPConditionalTokenType )), T_PP_ENDIF = (( 374 ) | ( PPConditionalTokenType )), T_PP_ERROR = (( 375 ) | ( PPTokenType )), T_PP_LINE = (( 376 ) | ( PPTokenType )), T_PP_PRAGMA = (( 377 ) | ( PPTokenType )), T_PP_UNDEF = (( 378 ) | ( PPTokenType )), T_PP_WARNING = (( 379 ) | ( PPTokenType )), T_IDENTIFIER = (( 380 ) | ( IdentifierTokenType )), T_OCTALINT = (( 381 ) | ( IntegerLiteralTokenType )), T_DECIMALINT = (( 382 ) | ( IntegerLiteralTokenType )), T_HEXAINT = (( 383 ) | ( IntegerLiteralTokenType )), T_INTLIT = (( 384 ) | ( IntegerLiteralTokenType )), T_LONGINTLIT = (( 385 ) | ( IntegerLiteralTokenType )), T_FLOATLIT = (( 386 ) | ( FloatingLiteralTokenType )), T_FIXEDPOINTLIT = (( 386 ) | ( FloatingLiteralTokenType|AltTokenType )), T_CCOMMENT = (( 387 ) | ( WhiteSpaceTokenType|AltTokenType )), T_CPPCOMMENT = (( 388 ) | ( WhiteSpaceTokenType|AltTokenType )), T_CHARLIT = (( 389 ) | ( CharacterLiteralTokenType )), T_STRINGLIT = (( 390 ) | ( StringLiteralTokenType )), T_CONTLINE = (( 391 ) | ( EOLTokenType )), T_SPACE = (( 392 ) | ( WhiteSpaceTokenType )), T_SPACE2 = (( 393 ) | ( WhiteSpaceTokenType )), T_NEWLINE = (( 394 ) | ( EOLTokenType )), T_GENERATEDNEWLINE = (( 394 ) | ( EOLTokenType|AltTokenType )), T_POUND_POUND = (( 395 ) | ( OperatorTokenType )), T_POUND_POUND_ALT = (( 395 ) | ( OperatorTokenType|AltTokenType )), T_POUND_POUND_TRIGRAPH = (( 395 ) | ( OperatorTokenType|TriGraphTokenType )), T_POUND = (( 396 ) | ( OperatorTokenType )), T_POUND_ALT = (( 396 ) | ( OperatorTokenType|AltTokenType )), T_POUND_TRIGRAPH = (( 396 ) | ( OperatorTokenType|TriGraphTokenType )), T_ANY = (( 397 ) | ( UnknownTokenType )), T_ANY_TRIGRAPH = (( 397 ) | ( UnknownTokenType|TriGraphTokenType )), T_PP_INCLUDE = (( 398 ) | ( PPTokenType )), T_PP_QHEADER = (( 399 ) | ( PPTokenType )), T_PP_HHEADER = (( 400 ) | ( PPTokenType )), T_PP_INCLUDE_NEXT = (( 398 ) | ( PPTokenType|AltTokenType )), T_PP_QHEADER_NEXT = (( 399 ) | ( PPTokenType|AltTokenType )), T_PP_HHEADER_NEXT = (( 400 ) | ( PPTokenType|AltTokenType )), T_EOF = (( 401 ) | ( EOFTokenType )), T_EOI = (( 402 ) | ( EOFTokenType )), T_PP_NUMBER = (( 403 ) | ( InternalTokenType )), T_MSEXT_INT8 = (( 404 ) | ( KeywordTokenType )), T_MSEXT_INT16 = (( 405 ) | ( KeywordTokenType )), T_MSEXT_INT32 = (( 406 ) | ( KeywordTokenType )), T_MSEXT_INT64 = (( 407 ) | ( KeywordTokenType )), T_MSEXT_BASED = (( 408 ) | ( KeywordTokenType )), T_MSEXT_DECLSPEC = (( 409 ) | ( KeywordTokenType )), T_MSEXT_CDECL = (( 410 ) | ( KeywordTokenType )), T_MSEXT_FASTCALL = (( 411 ) | ( KeywordTokenType )), T_MSEXT_STDCALL = (( 412 ) | ( KeywordTokenType )), T_MSEXT_TRY = (( 413 ) | ( KeywordTokenType )), T_MSEXT_EXCEPT = (( 414 ) | ( KeywordTokenType )), T_MSEXT_FINALLY = (( 415 ) | ( KeywordTokenType )), T_MSEXT_LEAVE = (( 416 ) | ( KeywordTokenType )), T_MSEXT_INLINE = (( 417 ) | ( KeywordTokenType )), T_MSEXT_ASM = (( 418 ) | ( KeywordTokenType )), T_MSEXT_PP_REGION = (( 419 ) | ( PPTokenType )), T_MSEXT_PP_ENDREGION = (( 420 ) | ( PPTokenType )), T_IMPORT = (( 421 ) | ( KeywordTokenType )), T_ALIGNAS = (( 422 ) | ( KeywordTokenType )), T_ALIGNOF = (( 423 ) | ( KeywordTokenType )), T_CHAR16_T = (( 424 ) | ( KeywordTokenType )), T_CHAR32_T = (( 425 ) | ( KeywordTokenType )), T_CONSTEXPR = (( 426 ) | ( KeywordTokenType )), T_DECLTYPE = (( 427 ) | ( KeywordTokenType )), T_NOEXCEPT = (( 428 ) | ( KeywordTokenType )), T_NULLPTR = (( 429 ) | ( KeywordTokenType )), T_STATICASSERT = (( 430 ) | ( KeywordTokenType )), T_THREADLOCAL = (( 431 ) | ( KeywordTokenType )), T_RAWSTRINGLIT = (( 432 ) | ( StringLiteralTokenType )), T_LAST_TOKEN_ID, T_LAST_TOKEN = (( T_LAST_TOKEN_ID & ~PPTokenFlag ) & ~TokenTypeMask), T_NONREPLACABLE_IDENTIFIER = (( T_LAST_TOKEN+1 ) | ( IdentifierTokenType )), T_PLACEHOLDER = (( T_LAST_TOKEN+2 ) | ( WhiteSpaceTokenType )), T_PLACEMARKER = (( T_LAST_TOKEN+3 ) | ( InternalTokenType )), T_PARAMETERBASE = (( T_LAST_TOKEN+4 ) | ( ParameterTokenType )), T_EXTPARAMETERBASE = (( T_LAST_TOKEN+4 ) | ( ExtParameterTokenType )) } |
typedef long boost::wave::int_literal_type |
typedef unsigned long boost::wave::uint_literal_type |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by boost::wave::util::macromap< ContextT >::is_valid_concat().
|
inline |
|
inline |
References support_option_mask.
BOOST_WAVE_DECL BOOST_WAVE_STRINGTYPE boost::wave::get_token_name | ( | token_id | tokid | ) |
BOOST_WAVE_DECL char const* boost::wave::get_token_value | ( | token_id | tokid | ) |
|
inline |
References PPTokenFlag.
Referenced by is_pp_token(), and boost::wave::util::macromap< ContextT >::is_valid_concat().
|
inline |
References is_pp_token().
|
inline |
References boost::wave::cpp_exception::is_recoverable().
|
inline |
|
inline |
|
inline |
References support_cpp, and support_option_mask.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by boost::wave::impl::pp_iterator_functor< ContextT >::ensure_is_last_on_line(), boost::wave::impl::pp_iterator_functor< ContextT >::get_next_token(), boost::wave::cpplexer::re2clex::lexer< IteratorT, PositionT, TokenT >::lexer(), boost::wave::impl::pp_iterator_functor< ContextT >::pp_directive(), and boost::wave::impl::pp_iterator_functor< ContextT >::skip_to_eol_with_check().
|
inline |
Referenced by boost::wave::util::macromap< ContextT >::add_macro(), boost::wave::util::macromap< ContextT >::collect_arguments(), boost::wave::util::macromap< ContextT >::concat_tokensequence(), boost::wave::util::macromap< ContextT >::expand_replacement_list(), boost::wave::util::macromap< ContextT >::expand_tokensequence_worker(), boost::wave::util::macromap< ContextT >::init_predefined_macros(), boost::wave::util::macromap< ContextT >::is_valid_concat(), boost::wave::impl::pp_iterator_functor< ContextT >::on_define(), and boost::wave::util::macromap< ContextT >::rescan_replacement_list().
|
inline |
References support_option_mask.
BOOST_WAVE_DECL bool boost::wave::test_configuration | ( | unsigned int | config, |
char const * | pragma_keyword, | ||
char const * | string_type | ||
) |