1[/==============================================================================
2    Copyright (C) 2001-2011 Joel de Guzman
3    Copyright (C) 2001-2011 Hartmut Kaiser
4
5    Distributed under the Boost Software License, Version 1.0. (See accompanying
6    file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7===============================================================================/]
8
9[section:lex_basics Basics]
10
11[heading Examples]
12
13All sections in the reference present some real world examples. The
14examples use a common test harness to keep the example code as minimal
15and direct to the point as possible. The test harness is presented
16below.
17
18Some includes:
19
20[reference_lex_includes]
21
22Our test functions:
23
24This one tests token definitions.
25
26[reference_lex_test]
27
28[heading Models]
29
30Predefined models include:
31
32* any literal string, e.g. "Hello, World",
33* a pointer/reference to a null-terminated array of characters
34* a `std::basic_string<Char>`
35
36The namespace `boost::spirit::traits` is open for users to provide their
37own specializations.
38
39[endsect]
40
41