lestes::lang::cplus::lex::testing_token Class Reference

Testing token. More...

Inheritance diagram for lestes::lang::cplus::lex::testing_token:

Inheritance graph
[legend]
List of all members.

Public Member Functions

ptr< testing_tokenclone (void) const
 Clones the token.

Static Public Member Functions

static ptr< testing_tokencreate (const location_type &a_location, const type_type &a_type, const value_type &a_value)
 Returns new token.

Protected Member Functions

 testing_token (const location_type &a_location, const type_type &a_type, const value_type &a_value)
 Creates new token.

Detailed Description

Testing token.

Template instance to test basic_token.


Constructor & Destructor Documentation

lestes::lang::cplus::lex::testing_token::testing_token ( const location_type a_location,
const type_type a_type,
const value_type a_value 
) [protected]

Creates new token.

Creates new token, initializes all fields.

Parameters:
a_location The initial location.
a_type The initial token type.
a_value The initial token value.


Member Function Documentation

ptr< testing_token > lestes::lang::cplus::lex::testing_token::clone ( void   )  const

Clones the token.

Clones the token.

Postcondition:
is_equal(this,returned)
Returns:
New token with equal values.

ptr< testing_token > lestes::lang::cplus::lex::testing_token::create ( const location_type a_location,
const type_type a_type,
const value_type a_value 
) [static]

Returns new token.

Creates new token, initializes all fields.

Parameters:
a_location The initial location.
a_type The initial token type.
a_value The initial token value.


The documentation for this class was generated from the following file:
Generated on Mon Feb 12 18:43:37 2007 for lestes by doxygen 1.5.1-20070107