lestes::lang::cplus::lex Namespace Reference


Classes

class  basic_token
 Token template. More...
class  loc
 Test location. More...
class  testing_token
 Testing token. More...
class  concat
 Token concatenator. More...
class  condition
 Conditional directive. More...
class  condition_stack
 Conditional directive stack. More...
class  cpp_token
 C++ token. More...
class  data_source
 Abstract data source. More...
class  encoder
 Abstract encoder. More...
class  encoder_ascii7
 7 bit ASCII encoder. More...
class  encoder_factory
 Factory for encoders. More...
class  encoder_test
 Test encoder. More...
class  encoder_host
 Host chacter set encoder. More...
class  encoder_utf8
 UTF-8 encoder. More...
class  evaluator
 Directives evaluator. More...
class  expander
 Macro expander. More...
class  file_system
 File system binding. More...
class  lex_literal
 Base class for literals. More...
class  lex_integral_literal
 Integral literal. More...
class  lex_floating_literal
 Floating literal. More...
class  lex_character_literal
 Character literal. More...
class  lex_string_literal
 String literal. More...
class  lex_boolean_literal
 Boolean literal. More...
class  lex_literal_visitor
class  line_control
 Line number control. More...
class  line_join
 Line joining filter. More...
class  line_numbers
 Token numbering filter. More...
class  macro
 Preprocessor macro. More...
class  macro_argument
 Macro argument. More...
class  macro_arguments
 Macro argument list. More...
class  macro_body
class  macro_head
 Macro parameter list. More...
class  macro_item
 Expansion list item. More...
class  macro_storage
 Storage of defined macros. More...
class  named_istream
 Named input stream. More...
class  pp_filter
 Token filter. More...
class  pp_lex
 Integration with flexer. More...
class  pp_token
 Preprocessor token. More...
class  pre_lex
 Character level processing. More...
class  preprocessor
 C++ preprocessor. More...
class  simple_location
 Simple token location. More...
class  space_remover
 Whitespace remover. More...
class  special_tokens
 Token type assignment filter. More...
class  stream_source
 Stream data source. More...
class  string_joiner
 String literal joining filter. More...
class  string_source
 String data source. More...
class  string_translator
 Encoder into execution character set. More...
class  stringifier
 Token stringifier. More...
class  taboo_macros
 Set of taboo macros. More...
class  token_input
 Abstract input of tokens. More...
class  token_sequence
class  token_stream
 Stream of tokens. More...
class  token_value
 Token value. More...
class  trigraphs
 Trigraphs filter. More...
class  ucn_filter
 Token filter. More...
class  ucn_token
 Single source character token. More...
class  ucn_token_buffer
 Token buffer. More...
class  unit_part
 Part of translation unit. More...

Namespaces

namespace  concat_guts
namespace  pp_lex_guts

Typedefs

typedef basic_token< ttype,
ptr< loc >, int > 
basic_testing_token
 Helper typedef for basic_token template test.
typedef basic_token< int,
ptr< source_location >, ptr<
token_value > > 
basic_cpp_token
 Helper typedef.
typedef cpp_token::type_type cpp_token_type
 Type of token in cpp_token.
typedef encoder_test< 1 > enc1
 Helper typedef for test encoder.
typedef encoder_test< 2 > enc2
 Helper typedef for test encoder.
typedef encoder_test< 3 > enc3
 Helper typedef for test encoder.
typedef basic_token< lc_host_uint_least16,
ptr< source_location >, ptr<
token_value > > 
basic_pp_token
 Defines basic preprocessor token.
typedef pp_token::type_type pp_token_type
 Type of token in pp_token.
typedef vector< srp< simple_location > > vec_loc
typedef basic_token< lc_host_uint_least9,
ptr< simple_location >, ucn > 
basic_ucn_token
 Helper typedef.
typedef ucn_token::type_type ucn_token_type
 Type of token in ucn_token.

Enumerations

enum  ttype { POSITIVE = 1, ZERO = 0, NEGATIVE = -1 }
 Token type. More...

Functions

void basic_token_test (void)
 Tests basic token.
ptr< ::lestes::msg::message_stencil0<
bool > > 
unable_to_concatenate (::lestes::msg::message_stencil0< bool >::create("the concatenation does not result in a valid preprocessing token",::lestes::msg::message::FLG_ERROR))
void concat_test (void)
 Tests concat class.
void condition_test (void)
 Tests condition class.
ptr< ::lestes::msg::message_stencil0<
bool > > 
elif_without_if (::lestes::msg::message_stencil0< bool >::create("#elif without #if",::lestes::msg::message::FLG_ERROR))
ptr< ::lestes::msg::message_stencil0<
bool > > 
endif_without_if (::lestes::msg::message_stencil0< bool >::create("#endif without #if",::lestes::msg::message::FLG_ERROR))
ptr< ::lestes::msg::message_stencil0<
bool > > 
else_without_if (::lestes::msg::message_stencil0< bool >::create("#else without #if",::lestes::msg::message::FLG_ERROR))
ptr< ::lestes::msg::message_stencil0<
bool > > 
elif_after_else (::lestes::msg::message_stencil0< bool >::create("#elif after #else",::lestes::msg::message::FLG_ERROR))
ptr< ::lestes::msg::message_stencil0<
bool > > 
else_after_else (::lestes::msg::message_stencil0< bool >::create("#else after #else",::lestes::msg::message::FLG_ERROR))
ptr< ::lestes::msg::message_stencil1<
lstring > > 
unterminated_conditional (::lestes::msg::message_stencil1< lstring >::create("unterminated %0",::lestes::msg::message::FLG_ERROR,::lestes::msg::formatter< lstring >::instance()))
ptr< ::lestes::msg::message_stencil0<
bool > > 
conditional_starts_here (::lestes::msg::message_stencil0< bool >::create("the conditional starts here",::lestes::msg::message::FLG_ERROR))
void condition_stack_test (void)
 Tests condition class.
ptr< ::lestes::msg::message_stencil0<
bool > > 
invalid_ascii_character (::lestes::msg::message_stencil0< bool >::create("the character is invalid for ASCII source encoding",::lestes::msg::message::FLG_ERROR))
void encoder_ascii7_test (void)
 Tests encoder_ascii7 class.
void encoder_factory_test (void)
 Tests encoder_factory class.
void encoder_host_test (void)
 Tests encoder_host class.
ptr< ::lestes::msg::message_stencil0<
bool > > 
invalid_utf_character (::lestes::msg::message_stencil0< bool >::create("the character is invalid for UTF-8 source encoding",::lestes::msg::message::FLG_ERROR))
void encoder_utf8_test (void)
ptr< ::lestes::msg::message_stencil0<
bool > > 
invalid_character_in_filename (::lestes::msg::message_stencil0< bool >::create("unsupported character in filename",::lestes::msg::message::FLG_ERROR))
ptr< ::lestes::msg::message_stencil1<
lstring > > 
trailing_tokens_in_directive (::lestes::msg::message_stencil1< lstring >::create("extra tokens at the end of %0 directive",::lestes::msg::message::FLG_ERROR,::lestes::msg::formatter< lstring >::instance()))
ptr< ::lestes::msg::message_stencil1<
lstring > > 
directive_expects_macro_name (::lestes::msg::message_stencil1< lstring >::create("expected macro name after %0",::lestes::msg::message::FLG_ERROR,::lestes::msg::formatter< lstring >::instance()))
ptr< ::lestes::msg::message_stencil1<
lstring > > 
unable_to_open_file (::lestes::msg::message_stencil1< lstring >::create("unable to open file `%0'",::lestes::msg::message::FLG_ERROR,::lestes::msg::formatter< lstring >::instance()))
ptr< ::lestes::msg::message_stencil0<
bool > > 
malformed_include (::lestes::msg::message_stencil0< bool >::create("malformed #include, expecting <filename> or \"filename\"",::lestes::msg::message::FLG_ERROR))
ptr< ::lestes::msg::message_stencil1<
ucn_string > > 
invalid_directve (::lestes::msg::message_stencil1< ucn_string >::create("invalid preprocessing directive `#%0'",::lestes::msg::message::FLG_ERROR,::lestes::msg::formatter< ucn_string >::instance()))
ptr< ::lestes::msg::message_stencil0<
bool > > 
line_expects_number (::lestes::msg::message_stencil0< bool >::create("first parameter of #line shall be decimal digit sequence between 1 and 32767",::lestes::msg::message::FLG_ERROR))
ptr< ::lestes::msg::message_stencil0<
bool > > 
line_expects_string (::lestes::msg::message_stencil0< bool >::create("second parameter of #line shall be a string",::lestes::msg::message::FLG_ERROR))
ptr< ::lestes::msg::message_stencil0<
bool > > 
user_error (::lestes::msg::message_stencil0< bool >::create("user defined error",::lestes::msg::message::FLG_ERROR))
ptr< ::lestes::msg::message_stencil1<
ulint > > 
nesting_too_deep (::lestes::msg::message_stencil1< ulint >::create("nesting of includes is too deep, only %0 levels supported",::lestes::msg::message::FLG_ERROR,::lestes::msg::formatter< ulint >::instance()))
 initialize_logger (lex_logger,"lex", cplus_logger)
 declare_logger (lex_logger)
 initialize_logger (pp_lex_logger,"pp_lex", lex_logger)
 initialize_logger (pp_lex_guts_logger,"pp_lex_guts", lex_logger)
 initialize_logger (preprocessor_logger,"preprocessor", lex_logger)
 initialize_logger (trigraphs_logger,"trigraphs", lex_logger)
 initialize_logger (pre_lex_logger,"pre_lex", lex_logger)
 declare_logger (pp_lex_logger)
 declare_logger (pp_lex_guts_logger)
 declare_logger (preprocessor_logger)
 declare_logger (trigraphs_logger)
 declare_logger (pre_lex_logger)
ptr< ::lestes::msg::message_stencil1<
ucn_string > > 
unterminated_argument_list (::lestes::msg::message_stencil1< ucn_string >::create("unterminated argument list invoking macro `%0'",::lestes::msg::message::FLG_ERROR,::lestes::msg::formatter< ucn_string >::instance()))
ptr< ::lestes::msg::message_stencil2<
ucn_string, ulint > > 
invalid_argument_count (::lestes::msg::message_stencil2< ucn_string, ulint >::create("invalid argument count %1 invoking macro `%0'",::lestes::msg::message::FLG_ERROR,::lestes::msg::formatter< ucn_string >::instance(),::lestes::msg::formatter< ulint >::instance()))
ptr< ::lestes::msg::message_stencil0<
bool > > 
definition_expects_macro_name (::lestes::msg::message_stencil0< bool >::create("expected name of a macro",::lestes::msg::message::FLG_ERROR))
ptr< ::lestes::msg::message_stencil1<
ucn_string > > 
macro_name_alt_operator (::lestes::msg::message_stencil1< ucn_string >::create("alternative spelling `%0' of a C++ operator cannot be used as a macro name",::lestes::msg::message::FLG_ERROR,::lestes::msg::formatter< ucn_string >::instance()))
ptr< ::lestes::msg::message_stencil0<
bool > > 
macro_name_identifier (::lestes::msg::message_stencil0< bool >::create("macro name must be an identifier",::lestes::msg::message::FLG_ERROR))
ptr< ::lestes::msg::message_stencil0<
bool > > 
defined_invalid_macro_name (::lestes::msg::message_stencil0< bool >::create("`defined' cannot be used as a macro name",::lestes::msg::message::FLG_ERROR))
void macro_argument_test (void)
ptr< ::lestes::msg::message_stencil0<
bool > > 
hash_without_parameter (::lestes::msg::message_stencil0< bool >::create("'#' is not followed by a macro parameter",::lestes::msg::message::FLG_ERROR))
ptr< ::lestes::msg::message_stencil0<
bool > > 
hash_hash_at_beginning (::lestes::msg::message_stencil0< bool >::create("'##' at the beginning of a macro expansion",::lestes::msg::message::FLG_ERROR))
ptr< ::lestes::msg::message_stencil0<
bool > > 
hash_hash_at_end (::lestes::msg::message_stencil0< bool >::create("'##' at the end of a macro expansion",::lestes::msg::message::FLG_ERROR))
void macro_body_test (void)
ptr< ::lestes::msg::message_stencil0<
bool > > 
expected_macro_parameter (::lestes::msg::message_stencil0< bool >::create("expected macro parameter name",::lestes::msg::message::FLG_ERROR))
ptr< ::lestes::msg::message_stencil0<
bool > > 
expected_right_par (::lestes::msg::message_stencil0< bool >::create("expected `)' at the end of macro parameter list",::lestes::msg::message::FLG_ERROR))
ptr< ::lestes::msg::message_stencil0<
bool > > 
expected_comma (::lestes::msg::message_stencil0< bool >::create("expected `,' separator between macro parameters",::lestes::msg::message::FLG_ERROR))
ptr< ::lestes::msg::message_stencil1<
ucn_string > > 
expected_comma_right_par (::lestes::msg::message_stencil1< ucn_string >::create("`%0' is invalid after macro parameter name, expected `,' or `)'",::lestes::msg::message::FLG_ERROR,::lestes::msg::formatter< ucn_string >::instance()))
ptr< ::lestes::msg::message_stencil1<
ucn_string > > 
duplicate_macro_parameter (::lestes::msg::message_stencil1< ucn_string >::create("duplicate macro parameter `%0'",::lestes::msg::message::FLG_ERROR,::lestes::msg::formatter< ucn_string >::instance()))
void macro_head_test (void)
 Tests macro_head class.
ptr< ::lestes::msg::message_stencil1<
ucn_string > > 
predefined_macro_redefined (::lestes::msg::message_stencil1< ucn_string >::create("attempt to redefine internal predefined macro `%0'",::lestes::msg::message::FLG_ERROR,::lestes::msg::formatter< ucn_string >::instance()))
ptr< ::lestes::msg::message_stencil1<
ucn_string > > 
predefined_macro_undefined (::lestes::msg::message_stencil1< ucn_string >::create("attempt to undefine internal predefined macro `%0'",::lestes::msg::message::FLG_ERROR,::lestes::msg::formatter< ucn_string >::instance()))
ptr< ::lestes::msg::message_stencil1<
ucn_string > > 
macro_redefinition_different (::lestes::msg::message_stencil1< ucn_string >::create("macro `%0' redefinition is different from the previous definition",::lestes::msg::message::FLG_ERROR,::lestes::msg::formatter< ucn_string >::instance()))
ptr< ::lestes::msg::message_stencil0<
bool > > 
expected_macro_name (::lestes::msg::message_stencil0< bool >::create("macro name must be identifier",::lestes::msg::message::FLG_ERROR))
ptr< ::lestes::msg::message_stencil0<
bool > > 
previous_definition (::lestes::msg::message_stencil0< bool >::create("this is the location of the previous definition",::lestes::msg::message::FLG_ERROR))
void run (void)
ptr< ::lestes::msg::message_stencil0<
bool > > 
unterminated_comment (::lestes::msg::message_stencil0< bool >::create("unterminated comment",::lestes::msg::message::FLG_ERROR))
ptr< ::lestes::msg::message_stencil0<
bool > > 
empty_character_constant (::lestes::msg::message_stencil0< bool >::create("empty character constant",::lestes::msg::message::FLG_ERROR))
ptr< ::lestes::msg::message_stencil0<
bool > > 
missing_terminating_quote (::lestes::msg::message_stencil0< bool >::create("missing terminating ' character",::lestes::msg::message::FLG_ERROR))
ptr< ::lestes::msg::message_stencil0<
bool > > 
missing_terminating_dquote (::lestes::msg::message_stencil0< bool >::create("missing terminating \" character",::lestes::msg::message::FLG_ERROR))
void pp_lex_test (void)
void pp_token_test (void)
 Tests pp_token class.
ptr< ::lestes::msg::message_stencil0<
bool > > 
missing_newline (::lestes::msg::message_stencil0< bool >::create("newline at the end of file missing",::lestes::msg::message::FLG_ERROR))
void pre_lex_test (void)
ptr< ::lestes::msg::message_stencil0<
bool > > 
invalid_character_in_number (::lestes::msg::message_stencil0< bool >::create("invalid character in number",::lestes::msg::message::FLG_ERROR))
ptr< ::lestes::msg::message_stencil0<
bool > > 
floating_exponent_empty (::lestes::msg::message_stencil0< bool >::create("floating literal exponent with no digits",::lestes::msg::message::FLG_ERROR))
ptr< ::lestes::msg::message_stencil0<
bool > > 
floating_suffix_invalid (::lestes::msg::message_stencil0< bool >::create("floating literal with invalid suffix",::lestes::msg::message::FLG_ERROR))
ptr< ::lestes::msg::message_stencil0<
bool > > 
integral_suffix_invalid (::lestes::msg::message_stencil0< bool >::create("integral literal with invalid suffix",::lestes::msg::message::FLG_ERROR))
ptr< ::lestes::msg::message_stencil0<
bool > > 
integral_empty (::lestes::msg::message_stencil0< bool >::create("integral literal with no digits",::lestes::msg::message::FLG_ERROR))
ptr< ::lestes::msg::message_stencil1<
ucn_string > > 
invalid_cpp_token (::lestes::msg::message_stencil1< ucn_string >::create("cannot convert `%0' to C++ token",::lestes::msg::message::FLG_ERROR,::lestes::msg::formatter< ucn_string >::instance()))
ptr< ::lestes::msg::message_stencil1<
ucn_string > > 
stray_character (::lestes::msg::message_stencil1< ucn_string >::create("stray character `%0'",::lestes::msg::message::FLG_ERROR,::lestes::msg::formatter< ucn_string >::instance()))
ptr< ::lestes::msg::message_stencil0<
bool > > 
mixed_strings (::lestes::msg::message_stencil0< bool >::create("adjacent narrow and wide string literals",::lestes::msg::message::FLG_ERROR))
void string_joiner_test (void)
 Tests string_joiner class.
::std::ostream & operator<< (::std::ostream &o, const ptr< token_sequence > &ts)
 prints debug dump of token sequence
void token_sequence_test (void)
::std::ostream & operator<< (::std::ostream &o, const ptr< token_stream > &ts)
 Prints debug dump of token stream.
void trigraphs_test (void)
void ucn_token_test (void)
ptr< ::lestes::msg::message_stencil0<
bool > > 
ucn_escape_value_invalid (::lestes::msg::message_stencil0< bool >::create("value of universal character escape sequence out of range",::lestes::msg::message::FLG_ERROR))
ptr< ::lestes::msg::message_stencil0<
bool > > 
ucn_escape_value_invalid_in_identifier (::lestes::msg::message_stencil0< bool >::create("value of universal character escape sequence out of range for identifiers",::lestes::msg::message::FLG_ERROR))
ptr< ::lestes::msg::message_stencil0<
bool > > 
ucn_escape_insufficient_digits (::lestes::msg::message_stencil0< bool >::create("insufficient digits in universal character escape sequence",::lestes::msg::message::FLG_ERROR))
ptr< ::lestes::msg::message_stencil0<
bool > > 
invalid_escape_sequence (::lestes::msg::message_stencil0< bool >::create("invalid escape sequence",::lestes::msg::message::FLG_ERROR))
ptr< ::lestes::msg::message_stencil0<
bool > > 
missing_hexadecimal_digits (::lestes::msg::message_stencil0< bool >::create("`\\x' with no hexadecimal digits",::lestes::msg::message::FLG_ERROR))
void ucn_token_buffer_test (void)
void unit_part_test (void)

Variables

ptr< ::lestes::msg::message_stencil0<
bool > > 
unable_to_concatenate
 Error message for token concatenation.
ptr< ::lestes::msg::message_stencil0<
bool > > 
elif_without_if
 Error message for conditional directives.
ptr< ::lestes::msg::message_stencil0<
bool > > 
endif_without_if
 Error message for conditional directives.
ptr< ::lestes::msg::message_stencil0<
bool > > 
else_without_if
 Error message for conditional directives.
ptr< ::lestes::msg::message_stencil0<
bool > > 
elif_after_else
 Error message for conditional directives.
ptr< ::lestes::msg::message_stencil0<
bool > > 
else_after_else
 Error message for conditional directives.
ptr< ::lestes::msg::message_stencil1<
lstring > > 
unterminated_conditional
 Error message for conditional directives.
ptr< ::lestes::msg::message_stencil0<
bool > > 
conditional_starts_here
 Error message for conditional directives.
ptr< ::lestes::msg::message_stencil0<
bool > > 
invalid_ascii_character
 Error message for encoder.
ptr< ::lestes::msg::message_stencil0<
bool > > 
invalid_utf_character
 Error message for encoder.
ptr< ::lestes::msg::message_stencil0<
bool > > 
invalid_character_in_filename
 Error message for preprocessing directives.
ptr< ::lestes::msg::message_stencil1<
lstring > > 
trailing_tokens_in_directive
 Error message for preprocessing directives.
ptr< ::lestes::msg::message_stencil1<
lstring > > 
directive_expects_macro_name
 Error message for preprocessing directives.
ptr< ::lestes::msg::message_stencil1<
lstring > > 
unable_to_open_file
 Error message for preprocessing directives.
ptr< ::lestes::msg::message_stencil0<
bool > > 
malformed_include
 Error message for preprocessing directives.
ptr< ::lestes::msg::message_stencil1<
ucn_string > > 
invalid_directve
 Error message for preprocessing directives.
ptr< ::lestes::msg::message_stencil0<
bool > > 
line_expects_number
 Error message for preprocessing directives.
ptr< ::lestes::msg::message_stencil0<
bool > > 
line_expects_string
 Error message for preprocessing directives.
ptr< ::lestes::msg::message_stencil0<
bool > > 
user_error
 Error message for preprocessing directives.
ptr< ::lestes::msg::message_stencil1<
ulint > > 
nesting_too_deep
 Error message for preprocessing directives.
ptr< ::lestes::msg::message_stencil1<
ucn_string > > 
unterminated_argument_list
 Error message for macro expansion.
ptr< ::lestes::msg::message_stencil2<
ucn_string, ulint > > 
invalid_argument_count
 Error message for macro expansion.
ptr< ::lestes::msg::message_stencil0<
bool > > 
definition_expects_macro_name
 Error message for macro parsing.
ptr< ::lestes::msg::message_stencil1<
ucn_string > > 
macro_name_alt_operator
 Error message for macro parsing.
ptr< ::lestes::msg::message_stencil0<
bool > > 
macro_name_identifier
 Error message for macro parsing.
ptr< ::lestes::msg::message_stencil0<
bool > > 
defined_invalid_macro_name
 Error message for macro parsing.
ptr< ::lestes::msg::message_stencil0<
bool > > 
hash_without_parameter
 Error message for macro expansion list.
ptr< ::lestes::msg::message_stencil0<
bool > > 
hash_hash_at_beginning
 Error message for macro expansion list.
ptr< ::lestes::msg::message_stencil0<
bool > > 
hash_hash_at_end
 Error message for macro expansion list.
ptr< ::lestes::msg::message_stencil0<
bool > > 
expected_macro_parameter
 Error message for macro parameter list.
ptr< ::lestes::msg::message_stencil0<
bool > > 
expected_right_par
 Error message for macro parameter list.
ptr< ::lestes::msg::message_stencil0<
bool > > 
expected_comma
 Error message for macro parameter list.
ptr< ::lestes::msg::message_stencil1<
ucn_string > > 
expected_comma_right_par
 Error message for macro parameter list.
ptr< ::lestes::msg::message_stencil1<
ucn_string > > 
duplicate_macro_parameter
 Error message for macro parameter list.
ptr< ::lestes::msg::message_stencil1<
ucn_string > > 
predefined_macro_redefined
 Error message for macro manipulation.
ptr< ::lestes::msg::message_stencil1<
ucn_string > > 
predefined_macro_undefined
 Error message for macro manipulation.
ptr< ::lestes::msg::message_stencil1<
ucn_string > > 
macro_redefinition_different
 Error message for macro manipulation.
ptr< ::lestes::msg::message_stencil0<
bool > > 
expected_macro_name
 Error message for macro manipulation.
ptr< ::lestes::msg::message_stencil0<
bool > > 
previous_definition
 Error message for macro manipulation.
ptr< ::lestes::msg::message_stencil0<
bool > > 
unterminated_comment
 Error message for flexer.
ptr< ::lestes::msg::message_stencil0<
bool > > 
empty_character_constant
 Error message for flexer.
ptr< ::lestes::msg::message_stencil0<
bool > > 
missing_terminating_quote
 Error message for flexer.
ptr< ::lestes::msg::message_stencil0<
bool > > 
missing_terminating_dquote
 Error message for flexer.
ptr< ::lestes::msg::message_stencil0<
bool > > 
missing_newline
 Error message for reading characters.
ptr< ::lestes::msg::message_stencil0<
bool > > 
invalid_character_in_number
 Error message for number parsing.
ptr< ::lestes::msg::message_stencil0<
bool > > 
floating_exponent_empty
 Error message for number parsing.
ptr< ::lestes::msg::message_stencil0<
bool > > 
floating_suffix_invalid
 Error message for number parsing.
ptr< ::lestes::msg::message_stencil0<
bool > > 
integral_suffix_invalid
 Error message for number parsing.
ptr< ::lestes::msg::message_stencil0<
bool > > 
integral_empty
 Error message for number parsing.
ptr< ::lestes::msg::message_stencil1<
ucn_string > > 
invalid_cpp_token
 Error message for token conversion.
ptr< ::lestes::msg::message_stencil1<
ucn_string > > 
stray_character
 Error message for token conversion.
ptr< ::lestes::msg::message_stencil0<
bool > > 
mixed_strings
 Error message for string joining.
ptr< ::lestes::msg::message_stencil0<
bool > > 
ucn_escape_value_invalid
 Error message for ucn translation.
ptr< ::lestes::msg::message_stencil0<
bool > > 
ucn_escape_value_invalid_in_identifier
 Error message for ucn translation.
ptr< ::lestes::msg::message_stencil0<
bool > > 
ucn_escape_insufficient_digits
 Error message for ucn translation.
ptr< ::lestes::msg::message_stencil0<
bool > > 
invalid_escape_sequence
 Error message for ucn translation.
ptr< ::lestes::msg::message_stencil0<
bool > > 
missing_hexadecimal_digits
 Error message for ucn translation.


Typedef Documentation

typedef basic_token<int,ptr<source_location>,ptr<token_value> > lestes::lang::cplus::lex::basic_cpp_token

Helper typedef.

typedef basic_token<lc_host_uint_least16,ptr<source_location>, ptr<token_value> > lestes::lang::cplus::lex::basic_pp_token

Defines basic preprocessor token.

typedef basic_token<ttype,ptr<loc>,int> lestes::lang::cplus::lex::basic_testing_token

Helper typedef for basic_token template test.

typedef basic_token<lc_host_uint_least9,ptr<simple_location>,ucn> lestes::lang::cplus::lex::basic_ucn_token

Helper typedef.

typedef cpp_token::type_type lestes::lang::cplus::lex::cpp_token_type

Type of token in cpp_token.

typedef encoder_test<1> lestes::lang::cplus::lex::enc1

Helper typedef for test encoder.

typedef encoder_test<2> lestes::lang::cplus::lex::enc2

Helper typedef for test encoder.

typedef encoder_test<3> lestes::lang::cplus::lex::enc3

Helper typedef for test encoder.

typedef pp_token::type_type lestes::lang::cplus::lex::pp_token_type

Type of token in pp_token.

typedef ucn_token::type_type lestes::lang::cplus::lex::ucn_token_type

Type of token in ucn_token.

typedef vector< srp<simple_location> > lestes::lang::cplus::lex::vec_loc


Enumeration Type Documentation

enum lestes::lang::cplus::lex::ttype

Token type.

Enumerator:
POSITIVE 
ZERO 
NEGATIVE 


Function Documentation

void lestes::lang::cplus::lex::basic_token_test ( void   ) 

Tests basic token.

Performs testing of basic token.

void lestes::lang::cplus::lex::concat_test ( void   ) 

Tests concat class.

Performs testing of concat class.

void lestes::lang::cplus::lex::condition_stack_test ( void   ) 

Tests condition class.

Performs testing of condition_stack class.

void lestes::lang::cplus::lex::condition_test ( void   ) 

Tests condition class.

Performs testing of condition class.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::conditional_starts_here ( ::lestes::msg::message_stencil0< bool >::  create("the conditional starts here",::lestes::msg::message::FLG_ERROR)  ) 

Issued to show the actual start of the conditional.

lestes::lang::cplus::lex::declare_logger ( pre_lex_logger   ) 

lestes::lang::cplus::lex::declare_logger ( trigraphs_logger   ) 

lestes::lang::cplus::lex::declare_logger ( preprocessor_logger   ) 

lestes::lang::cplus::lex::declare_logger ( pp_lex_guts_logger   ) 

lestes::lang::cplus::lex::declare_logger ( pp_lex_logger   ) 

lestes::lang::cplus::lex::declare_logger ( lex_logger   ) 

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::defined_invalid_macro_name ( ::lestes::msg::message_stencil0< bool >::  create("`defined' cannot be used as a macro name",::lestes::msg::message::FLG_ERROR)  ) 

Issued when `defined' is used as a name of the macro.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::definition_expects_macro_name ( ::lestes::msg::message_stencil0< bool >::  create("expected name of a macro",::lestes::msg::message::FLG_ERROR)  ) 

Issued when a macro definition does not contain the name of the macro being defined.

ptr< ::lestes::msg::message_stencil1< lstring > > lestes::lang::cplus::lex::directive_expects_macro_name ( ::lestes::msg::message_stencil1< lstring >::  create("expected macro name after %0",::lestes::msg::message::FLG_ERROR,::lestes::msg::formatter< lstring >::instance())  ) 

Issued when no macro name is given in a directive where expected. The zeroth parameter is the string representation of the directive name.

ptr< ::lestes::msg::message_stencil1< ucn_string > > lestes::lang::cplus::lex::duplicate_macro_parameter ( ::lestes::msg::message_stencil1< ucn_string >::  create("duplicate macro parameter `%0'",::lestes::msg::message::FLG_ERROR,::lestes::msg::formatter< ucn_string >::instance())  ) 

Issued when the same identifier is used for two macro parameters. The parameter name is passed as an argument for the message.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::elif_after_else ( ::lestes::msg::message_stencil0< bool >::  create("#elif after #else",::lestes::msg::message::FLG_ERROR)  ) 

Issued when elif is encountered after else.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::elif_without_if ( ::lestes::msg::message_stencil0< bool >::  create("#elif without #if",::lestes::msg::message::FLG_ERROR)  ) 

Issued when elif is encountered prior to if.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::else_after_else ( ::lestes::msg::message_stencil0< bool >::  create("#else after #else",::lestes::msg::message::FLG_ERROR)  ) 

Issued when else is encountered after else.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::else_without_if ( ::lestes::msg::message_stencil0< bool >::  create("#else without #if",::lestes::msg::message::FLG_ERROR)  ) 

Issued when else is encountered prior to if.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::empty_character_constant ( ::lestes::msg::message_stencil0< bool >::  create("empty character constant",::lestes::msg::message::FLG_ERROR)  ) 

Issued when a (wide) character literal does not contain any characters.

void lestes::lang::cplus::lex::encoder_ascii7_test ( void   ) 

Tests encoder_ascii7 class.

Performs testing of encoder_ascii7 class.

void lestes::lang::cplus::lex::encoder_factory_test ( void   ) 

Tests encoder_factory class.

Performs testing of encoder_factory class.

void lestes::lang::cplus::lex::encoder_host_test ( void   ) 

Tests encoder_host class.

Performs testing of encoder_host class.

void lestes::lang::cplus::lex::encoder_utf8_test ( void   ) 

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::endif_without_if ( ::lestes::msg::message_stencil0< bool >::  create("#endif without #if",::lestes::msg::message::FLG_ERROR)  ) 

Issued when endif is encountered prior to if.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::expected_comma ( ::lestes::msg::message_stencil0< bool >::  create("expected `,' separator between macro parameters",::lestes::msg::message::FLG_ERROR)  ) 

Issued when two macro parameters are not comma separated.

ptr< ::lestes::msg::message_stencil1< ucn_string > > lestes::lang::cplus::lex::expected_comma_right_par ( ::lestes::msg::message_stencil1< ucn_string >::create("`%0' is invalid after macro parameter name, expected `,' or `)'"  ,
::lestes::msg::message::FLG_ERROR  ,
::lestes::msg::formatter< ucn_string >::  instance() 
)

Issued when an invalid token is encountered after macro parameter. The token is passed as an argument of the message.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::expected_macro_name ( ::lestes::msg::message_stencil0< bool >::  create("macro name must be identifier",::lestes::msg::message::FLG_ERROR)  ) 

Issued when undef, ifdef or ifndef directive is followed by a non identifier token, which can not be a name of a macro.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::expected_macro_parameter ( ::lestes::msg::message_stencil0< bool >::  create("expected macro parameter name",::lestes::msg::message::FLG_ERROR)  ) 

Issued when a non-identifier token is found in the place of a macro parameter name.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::expected_right_par ( ::lestes::msg::message_stencil0< bool >::create("expected `)' at the end of macro parameter list ,
::lestes::msg::message::FLG_ERROR   
)

Issued when the macro parameter list is not terminated by `)' token.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::floating_exponent_empty ( ::lestes::msg::message_stencil0< bool >::  create("floating literal exponent with no digits",::lestes::msg::message::FLG_ERROR)  ) 

Issued when `e' in floating number literal is not followed by digits.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::floating_suffix_invalid ( ::lestes::msg::message_stencil0< bool >::  create("floating literal with invalid suffix",::lestes::msg::message::FLG_ERROR)  ) 

Issued when floating number literal suffix is not one of `f', `F', `l', `L'.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::hash_hash_at_beginning ( ::lestes::msg::message_stencil0< bool >::  create("'##' at the beginning of a macro expansion",::lestes::msg::message::FLG_ERROR)  ) 

Issued when the '##' operator is found at the beginning of a macro expansion.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::hash_hash_at_end ( ::lestes::msg::message_stencil0< bool >::  create("'##' at the end of a macro expansion",::lestes::msg::message::FLG_ERROR)  ) 

Issued when the '##' operator is found at the end of a macro expansion.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::hash_without_parameter ( ::lestes::msg::message_stencil0< bool >::  create("'#' is not followed by a macro parameter",::lestes::msg::message::FLG_ERROR)  ) 

Issued when the '#' operator is used without macro parameter.

lestes::lang::cplus::lex::initialize_logger ( pre_lex_logger  ,
"pre_lex"  ,
lex_logger   
)

lestes::lang::cplus::lex::initialize_logger ( trigraphs_logger  ,
"trigraphs"  ,
lex_logger   
)

lestes::lang::cplus::lex::initialize_logger ( preprocessor_logger  ,
"preprocessor"  ,
lex_logger   
)

lestes::lang::cplus::lex::initialize_logger ( pp_lex_guts_logger  ,
"pp_lex_guts"  ,
lex_logger   
)

lestes::lang::cplus::lex::initialize_logger ( pp_lex_logger  ,
"pp_lex"  ,
lex_logger   
)

lestes::lang::cplus::lex::initialize_logger ( lex_logger  ,
"lex"  ,
cplus_logger   
)

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::integral_empty ( ::lestes::msg::message_stencil0< bool >::  create("integral literal with no digits",::lestes::msg::message::FLG_ERROR)  ) 

Issued when integral number (hexadecimal) literal has no digits.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::integral_suffix_invalid ( ::lestes::msg::message_stencil0< bool >::  create("integral literal with invalid suffix",::lestes::msg::message::FLG_ERROR)  ) 

Issued when integral number literal suffix is not a proper combination of `u', `U', `l', `L'.

ptr< ::lestes::msg::message_stencil2< ucn_string, ulint > > lestes::lang::cplus::lex::invalid_argument_count ( ::lestes::msg::message_stencil2< ucn_string, ulint >::  create("invalid argument count %1 invoking macro `%0'",::lestes::msg::message::FLG_ERROR,::lestes::msg::formatter< ucn_string >::instance(),::lestes::msg::formatter< ulint >::instance())  ) 

Issued when a macro is invoked with invalid number of arguments.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::invalid_ascii_character ( ::lestes::msg::message_stencil0< bool >::  create("the character is invalid for ASCII source encoding",::lestes::msg::message::FLG_ERROR)  ) 

Issued when a character invalid in UTF-8 encoding is encountered.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::invalid_character_in_filename ( ::lestes::msg::message_stencil0< bool >::  create("unsupported character in filename",::lestes::msg::message::FLG_ERROR)  ) 

Issued when there is an unsupported character in name of the include file.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::invalid_character_in_number ( ::lestes::msg::message_stencil0< bool >::  create("invalid character in number",::lestes::msg::message::FLG_ERROR)  ) 

Issued when a number literal contains invalid character (ucn or underscore).

ptr< ::lestes::msg::message_stencil1< ucn_string > > lestes::lang::cplus::lex::invalid_cpp_token ( ::lestes::msg::message_stencil1< ucn_string >::  create("cannot convert `%0' to C++ token",::lestes::msg::message::FLG_ERROR,::lestes::msg::formatter< ucn_string >::instance())  ) 

Issued when a token which has no meaning outside preprocessor would be emitted.

ptr< ::lestes::msg::message_stencil1< ucn_string > > lestes::lang::cplus::lex::invalid_directve ( ::lestes::msg::message_stencil1< ucn_string >::  create("invalid preprocessing directive `#%0'",::lestes::msg::message::FLG_ERROR,::lestes::msg::formatter< ucn_string >::instance())  ) 

Issued when the token after `#' does not resemble any directive name. The zeroth parameter is the spelling of the .

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::invalid_escape_sequence ( ::lestes::msg::message_stencil0< bool >::  create("invalid escape sequence",::lestes::msg::message::FLG_ERROR)  ) 

Issued when escape sequence was not recognized.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::invalid_utf_character ( ::lestes::msg::message_stencil0< bool >::  create("the character is invalid for UTF-8 source encoding",::lestes::msg::message::FLG_ERROR)  ) 

Issued when a character invalid in UTF-8 encoding is encountered.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::line_expects_number ( ::lestes::msg::message_stencil0< bool >::  create("first parameter of #line shall be decimal digit sequence between 1 and 32767",::lestes::msg::message::FLG_ERROR)  ) 

Issued when the first token after line is not a sequence of decimal digits between 1 and 32767.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::line_expects_string ( ::lestes::msg::message_stencil0< bool >::  create("second parameter of #line shall be a string",::lestes::msg::message::FLG_ERROR)  ) 

Issued when the second token after line is not a string.

void lestes::lang::cplus::lex::macro_argument_test ( void   ) 

void lestes::lang::cplus::lex::macro_body_test ( void   ) 

void lestes::lang::cplus::lex::macro_head_test ( void   ) 

Tests macro_head class.

Performs testing of macro_head class.

ptr< ::lestes::msg::message_stencil1< ucn_string > > lestes::lang::cplus::lex::macro_name_alt_operator ( ::lestes::msg::message_stencil1< ucn_string >::  create("alternative spelling `%0' of a C++ operator cannot be used as a macro name",::lestes::msg::message::FLG_ERROR,::lestes::msg::formatter< ucn_string >::instance())  ) 

Issued when a name of the macro being defined is alternative spelling of an operator.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::macro_name_identifier ( ::lestes::msg::message_stencil0< bool >::  create("macro name must be an identifier",::lestes::msg::message::FLG_ERROR)  ) 

Issued when a name of the macro being defined is not identifier.

ptr< ::lestes::msg::message_stencil1< ucn_string > > lestes::lang::cplus::lex::macro_redefinition_different ( ::lestes::msg::message_stencil1< ucn_string >::  create("macro `%0' redefinition is different from the previous definition",::lestes::msg::message::FLG_ERROR,::lestes::msg::formatter< ucn_string >::instance())  ) 

Issued when a macro redefinition is different from the original definition.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::malformed_include ( ::lestes::msg::message_stencil0< bool >::  create("malformed #include, expecting <filename> or \"filename\"",::lestes::msg::message::FLG_ERROR)  ) 

Issued when the include directive does not have the form include <filename.ext>> or include "filename.ext".

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::missing_hexadecimal_digits ( ::lestes::msg::message_stencil0< bool >::  create("`\\x' with no hexadecimal digits",::lestes::msg::message::FLG_ERROR)  ) 

Issued when hexadecimal escape sequence has no digits.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::missing_newline ( ::lestes::msg::message_stencil0< bool >::  create("newline at the end of file missing",::lestes::msg::message::FLG_ERROR)  ) 

Issued when there is no proper newline at the end of file.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::missing_terminating_dquote ( ::lestes::msg::message_stencil0< bool >::  create("missing terminating \" character",::lestes::msg::message::FLG_ERROR)  ) 

Issued when a (wide) string literal does not end with a double quote.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::missing_terminating_quote ( ::lestes::msg::message_stencil0< bool >::  create("missing terminating ' character",::lestes::msg::message::FLG_ERROR)  ) 

Issued when a (wide) character literal does not end with a quote.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::mixed_strings ( ::lestes::msg::message_stencil0< bool >::  create("adjacent narrow and wide string literals",::lestes::msg::message::FLG_ERROR)  ) 

Issued when both wide and narrow string literals are found in a sequence of string literals.

ptr< ::lestes::msg::message_stencil1< ulint > > lestes::lang::cplus::lex::nesting_too_deep ( ::lestes::msg::message_stencil1< ulint >::  create("nesting of includes is too deep, only %0 levels supported",::lestes::msg::message::FLG_ERROR,::lestes::msg::formatter< ulint >::instance())  ) 

Issued for include directive if the nesting is too deep.

std::ostream & lestes::lang::cplus::lex::operator<< ( ::std::ostream &  o,
const ptr< token_stream > &  ts 
)

Prints debug dump of token stream.

Prints debug dump of token sequence to stream.

Parameters:
o The stream to print to.
ts The token sequence to print.

std::ostream & lestes::lang::cplus::lex::operator<< ( ::std::ostream &  o,
const ptr< token_sequence > &  ts 
)

prints debug dump of token sequence

Prints debug dump of token sequence to stream.

Parameters:
o The stream to print to.
ts The token sequence to print.

void lestes::lang::cplus::lex::pp_lex_test ( void   ) 

void lestes::lang::cplus::lex::pp_token_test ( void   ) 

Tests pp_token class.

Performs testing of pp_token class.

void lestes::lang::cplus::lex::pre_lex_test ( void   ) 

ptr< ::lestes::msg::message_stencil1< ucn_string > > lestes::lang::cplus::lex::predefined_macro_redefined ( ::lestes::msg::message_stencil1< ucn_string >::  create("attempt to redefine internal predefined macro `%0'",::lestes::msg::message::FLG_ERROR,::lestes::msg::formatter< ucn_string >::instance())  ) 

Issued when an internal predefined macro would be redefined.

ptr< ::lestes::msg::message_stencil1< ucn_string > > lestes::lang::cplus::lex::predefined_macro_undefined ( ::lestes::msg::message_stencil1< ucn_string >::  create("attempt to undefine internal predefined macro `%0'",::lestes::msg::message::FLG_ERROR,::lestes::msg::formatter< ucn_string >::instance())  ) 

Issued when an internal predefined macro would be undefined.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::previous_definition ( ::lestes::msg::message_stencil0< bool >::  create("this is the location of the previous definition",::lestes::msg::message::FLG_ERROR)  ) 

Issued to show location of previous definition of a macro.

void lestes::lang::cplus::lex::run ( void   ) 

ptr< ::lestes::msg::message_stencil1< ucn_string > > lestes::lang::cplus::lex::stray_character ( ::lestes::msg::message_stencil1< ucn_string >::  create("stray character `%0'",::lestes::msg::message::FLG_ERROR,::lestes::msg::formatter< ucn_string >::instance())  ) 

Issued when encountering a token holding a character, which does not fall into any token category would be emitted.

void lestes::lang::cplus::lex::string_joiner_test ( void   ) 

Tests string_joiner class.

Performs testing of string_joiner class.

void lestes::lang::cplus::lex::token_sequence_test ( void   ) 

Tests token sequence class.

Todo:
pt Add actual tests.

ptr< ::lestes::msg::message_stencil1< lstring > > lestes::lang::cplus::lex::trailing_tokens_in_directive ( ::lestes::msg::message_stencil1< lstring >::  create("extra tokens at the end of %0 directive",::lestes::msg::message::FLG_ERROR,::lestes::msg::formatter< lstring >::instance())  ) 

Issued when there are extra tokens at the end of a preprocessor directive. The zeroth parameter is the string representation of the directive name.

void lestes::lang::cplus::lex::trigraphs_test ( void   ) 

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::ucn_escape_insufficient_digits ( ::lestes::msg::message_stencil0< bool >::  create("insufficient digits in universal character escape sequence",::lestes::msg::message::FLG_ERROR)  ) 

Issued when the ucn escape sequence does not contain proper number of digits.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::ucn_escape_value_invalid ( ::lestes::msg::message_stencil0< bool >::  create("value of universal character escape sequence out of range",::lestes::msg::message::FLG_ERROR)  ) 

Issued when the value of ucn escape sequence does not fall into the allowed ranges.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::ucn_escape_value_invalid_in_identifier ( ::lestes::msg::message_stencil0< bool >::  create("value of universal character escape sequence out of range for identifiers",::lestes::msg::message::FLG_ERROR)  ) 

Issued when the value of ucn escape sequence does not fall into the allowed ranges for identifiers.

void lestes::lang::cplus::lex::ucn_token_buffer_test ( void   ) 

void lestes::lang::cplus::lex::ucn_token_test ( void   ) 

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::unable_to_concatenate ( ::lestes::msg::message_stencil0< bool >::  create("the concatenation does not result in a valid preprocessing token",::lestes::msg::message::FLG_ERROR)  ) 

Issued when the concatenation does not produce a valid preprocessing token.

ptr< ::lestes::msg::message_stencil1< lstring > > lestes::lang::cplus::lex::unable_to_open_file ( ::lestes::msg::message_stencil1< lstring >::  create("unable to open file `%0'",::lestes::msg::message::FLG_ERROR,::lestes::msg::formatter< lstring >::instance())  ) 

Issued when the file given in include does not exist or is not accessible. The zeroth parameter is the name of the file.

void lestes::lang::cplus::lex::unit_part_test ( void   ) 

ptr< ::lestes::msg::message_stencil1< ucn_string > > lestes::lang::cplus::lex::unterminated_argument_list ( ::lestes::msg::message_stencil1< ucn_string >::  create("unterminated argument list invoking macro `%0'",::lestes::msg::message::FLG_ERROR,::lestes::msg::formatter< ucn_string >::instance())  ) 

Issued when the invocation of a function-like macro lacks the terminating `)'.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::unterminated_comment ( ::lestes::msg::message_stencil0< bool >::  create("unterminated comment",::lestes::msg::message::FLG_ERROR)  ) 

Issued when end of file is encountered within a multi-line comment.

ptr< ::lestes::msg::message_stencil1< lstring > > lestes::lang::cplus::lex::unterminated_conditional ( ::lestes::msg::message_stencil1< lstring >::  create("unterminated %0",::lestes::msg::message::FLG_ERROR,::lestes::msg::formatter< lstring >::instance())  ) 

Issued for unterminated conditional directives. The zeroth parameter is the string representation of the directive name.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::user_error ( ::lestes::msg::message_stencil0< bool >::  create("user defined error",::lestes::msg::message::FLG_ERROR)  ) 

Issued for error directive.


Variable Documentation

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::conditional_starts_here

Error message for conditional directives.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::defined_invalid_macro_name

Error message for macro parsing.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::definition_expects_macro_name

Error message for macro parsing.

ptr< ::lestes::msg::message_stencil1< lstring > > lestes::lang::cplus::lex::directive_expects_macro_name

Error message for preprocessing directives.

ptr< ::lestes::msg::message_stencil1< ucn_string > > lestes::lang::cplus::lex::duplicate_macro_parameter

Error message for macro parameter list.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::elif_after_else

Error message for conditional directives.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::elif_without_if

Error message for conditional directives.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::else_after_else

Error message for conditional directives.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::else_without_if

Error message for conditional directives.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::empty_character_constant

Error message for flexer.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::endif_without_if

Error message for conditional directives.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::expected_comma

Error message for macro parameter list.

ptr< ::lestes::msg::message_stencil1< ucn_string > > lestes::lang::cplus::lex::expected_comma_right_par

Error message for macro parameter list.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::expected_macro_name

Error message for macro manipulation.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::expected_macro_parameter

Error message for macro parameter list.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::expected_right_par

Error message for macro parameter list.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::floating_exponent_empty

Error message for number parsing.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::floating_suffix_invalid

Error message for number parsing.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::hash_hash_at_beginning

Error message for macro expansion list.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::hash_hash_at_end

Error message for macro expansion list.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::hash_without_parameter

Error message for macro expansion list.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::integral_empty

Error message for number parsing.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::integral_suffix_invalid

Error message for number parsing.

ptr< ::lestes::msg::message_stencil2< ucn_string, ulint > > lestes::lang::cplus::lex::invalid_argument_count

Error message for macro expansion.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::invalid_ascii_character

Error message for encoder.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::invalid_character_in_filename

Error message for preprocessing directives.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::invalid_character_in_number

Error message for number parsing.

ptr< ::lestes::msg::message_stencil1< ucn_string > > lestes::lang::cplus::lex::invalid_cpp_token

Error message for token conversion.

ptr< ::lestes::msg::message_stencil1< ucn_string > > lestes::lang::cplus::lex::invalid_directve

Error message for preprocessing directives.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::invalid_escape_sequence

Error message for ucn translation.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::invalid_utf_character

Error message for encoder.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::line_expects_number

Error message for preprocessing directives.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::line_expects_string

Error message for preprocessing directives.

ptr< ::lestes::msg::message_stencil1< ucn_string > > lestes::lang::cplus::lex::macro_name_alt_operator

Error message for macro parsing.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::macro_name_identifier

Error message for macro parsing.

ptr< ::lestes::msg::message_stencil1< ucn_string > > lestes::lang::cplus::lex::macro_redefinition_different

Error message for macro manipulation.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::malformed_include

Error message for preprocessing directives.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::missing_hexadecimal_digits

Error message for ucn translation.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::missing_newline

Error message for reading characters.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::missing_terminating_dquote

Error message for flexer.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::missing_terminating_quote

Error message for flexer.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::mixed_strings

Error message for string joining.

ptr< ::lestes::msg::message_stencil1< ulint > > lestes::lang::cplus::lex::nesting_too_deep

Error message for preprocessing directives.

ptr< ::lestes::msg::message_stencil1< ucn_string > > lestes::lang::cplus::lex::predefined_macro_redefined

Error message for macro manipulation.

ptr< ::lestes::msg::message_stencil1< ucn_string > > lestes::lang::cplus::lex::predefined_macro_undefined

Error message for macro manipulation.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::previous_definition

Error message for macro manipulation.

ptr< ::lestes::msg::message_stencil1< ucn_string > > lestes::lang::cplus::lex::stray_character

Error message for token conversion.

ptr< ::lestes::msg::message_stencil1< lstring > > lestes::lang::cplus::lex::trailing_tokens_in_directive

Error message for preprocessing directives.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::ucn_escape_insufficient_digits

Error message for ucn translation.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::ucn_escape_value_invalid

Error message for ucn translation.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::ucn_escape_value_invalid_in_identifier

Error message for ucn translation.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::unable_to_concatenate

Error message for token concatenation.

ptr< ::lestes::msg::message_stencil1< lstring > > lestes::lang::cplus::lex::unable_to_open_file

Error message for preprocessing directives.

ptr< ::lestes::msg::message_stencil1< ucn_string > > lestes::lang::cplus::lex::unterminated_argument_list

Error message for macro expansion.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::unterminated_comment

Error message for flexer.

ptr< ::lestes::msg::message_stencil1< lstring > > lestes::lang::cplus::lex::unterminated_conditional

Error message for conditional directives.

ptr< ::lestes::msg::message_stencil0< bool > > lestes::lang::cplus::lex::user_error

Error message for preprocessing directives.


Generated on Mon Feb 12 18:43:36 2007 for lestes by doxygen 1.5.1-20070107