|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r64365 - in trunk/libs/spirit/doc: . html html/spirit html/spirit/abstracts html/spirit/abstracts/attributes html/spirit/advanced html/spirit/advanced/customize html/spirit/advanced/customize/assign_to html/spirit/advanced/customize/auto html/spirit/advanced/customize/iterate html/spirit/advanced/customize/store_value html/spirit/advanced/indepth html/spirit/karma/performance_measurements/numeric_performance html/spirit/karma/quick_reference html/spirit/karma/quick_reference/primitive_generators html/spirit/karma/reference html/spirit/karma/reference/auxiliary html/spirit/karma/reference/binary html/spirit/karma/reference/char html/spirit/karma/reference/directive html/spirit/karma/reference/generate_api html/spirit/karma/reference/generator_concepts html/spirit/karma/reference/nonterminal html/spirit/karma/reference/numeric html/spirit/karma/reference/operator html/spirit/karma/reference/stream html/spirit/karma/reference/string html/spirit/karma/tutorials html/spirit/lex html/spirit/lex/abstracts html/spirit/lex/abstracts/lexer_primitives html/spirit/lex/quick_reference html/spirit/lex/reference html/spirit/lex/reference/lexer_concepts html/spirit/lex/reference/primitives html/spirit/lex/tutorials html/spirit/notes html/spirit/qi/quick_reference html/spirit/qi/reference html/spirit/qi/reference/auxiliary html/spirit/qi/reference/binary html/spirit/qi/reference/char html/spirit/qi/reference/directive html/spirit/qi/reference/nonterminal html/spirit/qi/reference/numeric html/spirit/qi/reference/operator html/spirit/qi/reference/parse_api html/spirit/qi/reference/parser_concepts html/spirit/qi/reference/stream html/spirit/qi/reference/string html/spirit/qi/tutorials html/spirit/structure html/spirit/support html/spirit/what_s_new
From: hartmut.kaiser_at_[hidden]
Date: 2010-07-26 10:24:17
Author: hkaiser
Date: 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
New Revision: 64365
URL: http://svn.boost.org/trac/boost/changeset/64365
Log:
Spirit: updating docs
Text files modified:
trunk/libs/spirit/doc/html/index.html | 4
trunk/libs/spirit/doc/html/spirit/abstracts/attributes/compound_attributes.html | 36 +-
trunk/libs/spirit/doc/html/spirit/abstracts/attributes/more_compound_attributes.html | 28 -
trunk/libs/spirit/doc/html/spirit/abstracts/parsing_expression_grammar.html | 79 ++----
trunk/libs/spirit/doc/html/spirit/abstracts/syntax_diagram.html | 175 ++++----------
trunk/libs/spirit/doc/html/spirit/acknowledgments.html | 2
trunk/libs/spirit/doc/html/spirit/advanced/customize.html | 16 -
trunk/libs/spirit/doc/html/spirit/advanced/customize/assign_to/assign_to_attribute_from_iterators.html | 20
trunk/libs/spirit/doc/html/spirit/advanced/customize/assign_to/assign_to_attribute_from_value.html | 20
trunk/libs/spirit/doc/html/spirit/advanced/customize/auto/create_generator.html | 20
trunk/libs/spirit/doc/html/spirit/advanced/customize/auto/create_parser.html | 20
trunk/libs/spirit/doc/html/spirit/advanced/customize/clear_value.html | 20
trunk/libs/spirit/doc/html/spirit/advanced/customize/extract_from.html | 20
trunk/libs/spirit/doc/html/spirit/advanced/customize/is_container.html | 37 ++
trunk/libs/spirit/doc/html/spirit/advanced/customize/iterate/begin_container.html | 34 +-
trunk/libs/spirit/doc/html/spirit/advanced/customize/iterate/compare_iterators.html | 22
trunk/libs/spirit/doc/html/spirit/advanced/customize/iterate/container_iterator.html | 58 +---
trunk/libs/spirit/doc/html/spirit/advanced/customize/iterate/deref_iterator.html | 52 +---
trunk/libs/spirit/doc/html/spirit/advanced/customize/iterate/end_container.html | 22
trunk/libs/spirit/doc/html/spirit/advanced/customize/iterate/next_iterator.html | 52 +---
trunk/libs/spirit/doc/html/spirit/advanced/customize/store_value/container_value.html | 34 +-
trunk/libs/spirit/doc/html/spirit/advanced/customize/store_value/push_back.html | 34 +-
trunk/libs/spirit/doc/html/spirit/advanced/customize/transform.html | 20
trunk/libs/spirit/doc/html/spirit/advanced/indepth/parsers_indepth.html | 174 +++++---------
trunk/libs/spirit/doc/html/spirit/faq.html | 26 +-
trunk/libs/spirit/doc/html/spirit/introduction.html | 83 +++---
trunk/libs/spirit/doc/html/spirit/karma/performance_measurements/numeric_performance/double_performance.html | 32 --
trunk/libs/spirit/doc/html/spirit/karma/performance_measurements/numeric_performance/format_performance.html | 32 --
trunk/libs/spirit/doc/html/spirit/karma/performance_measurements/numeric_performance/int_performance.html | 26 -
trunk/libs/spirit/doc/html/spirit/karma/quick_reference/compound_attribute_rules.html | 4
trunk/libs/spirit/doc/html/spirit/karma/quick_reference/primitive_generators/operators.html | 16
trunk/libs/spirit/doc/html/spirit/karma/reference/action.html | 44 +--
trunk/libs/spirit/doc/html/spirit/karma/reference/auto.html | 161 +++++---------
trunk/libs/spirit/doc/html/spirit/karma/reference/auxiliary.html | 2
trunk/libs/spirit/doc/html/spirit/karma/reference/auxiliary/attr_cast.html | 70 +----
trunk/libs/spirit/doc/html/spirit/karma/reference/auxiliary/eol.html | 58 +---
trunk/libs/spirit/doc/html/spirit/karma/reference/auxiliary/eps.html | 62 +---
trunk/libs/spirit/doc/html/spirit/karma/reference/auxiliary/lazy.html | 46 +--
trunk/libs/spirit/doc/html/spirit/karma/reference/binary.html | 2
trunk/libs/spirit/doc/html/spirit/karma/reference/binary/binary_big.html | 58 +---
trunk/libs/spirit/doc/html/spirit/karma/reference/binary/binary_little.html | 58 +---
trunk/libs/spirit/doc/html/spirit/karma/reference/binary/binary_native.html | 64 +----
trunk/libs/spirit/doc/html/spirit/karma/reference/char.html | 2
trunk/libs/spirit/doc/html/spirit/karma/reference/char/char_class.html | 74 +----
trunk/libs/spirit/doc/html/spirit/karma/reference/char/char_generator.html | 68 +----
trunk/libs/spirit/doc/html/spirit/karma/reference/directive.html | 2
trunk/libs/spirit/doc/html/spirit/karma/reference/directive/alignment.html | 68 +----
trunk/libs/spirit/doc/html/spirit/karma/reference/directive/buffer.html | 62 +---
trunk/libs/spirit/doc/html/spirit/karma/reference/directive/columns.html | 64 +---
trunk/libs/spirit/doc/html/spirit/karma/reference/directive/delimit.html | 64 +---
trunk/libs/spirit/doc/html/spirit/karma/reference/directive/duplicate.html | 58 +---
trunk/libs/spirit/doc/html/spirit/karma/reference/directive/maxwidth.html | 62 +---
trunk/libs/spirit/doc/html/spirit/karma/reference/directive/omit.html | 60 +---
trunk/libs/spirit/doc/html/spirit/karma/reference/directive/repeat.html | 74 ++----
trunk/libs/spirit/doc/html/spirit/karma/reference/directive/upperlower.html | 64 +---
trunk/libs/spirit/doc/html/spirit/karma/reference/generate_api/create_generator.html | 10
trunk/libs/spirit/doc/html/spirit/karma/reference/generate_api/iterator_api.html | 10
trunk/libs/spirit/doc/html/spirit/karma/reference/generate_api/stream_api.html | 10
trunk/libs/spirit/doc/html/spirit/karma/reference/generator_concepts/binarygenerator.html | 36 +-
trunk/libs/spirit/doc/html/spirit/karma/reference/generator_concepts/generator.html | 28 +-
trunk/libs/spirit/doc/html/spirit/karma/reference/generator_concepts/narygenerator.html | 39 +-
trunk/libs/spirit/doc/html/spirit/karma/reference/generator_concepts/nonterminal.html | 80 ++++--
trunk/libs/spirit/doc/html/spirit/karma/reference/generator_concepts/primitivegenerator.html | 40 +--
trunk/libs/spirit/doc/html/spirit/karma/reference/generator_concepts/unarygenerator.html | 88 +++----
trunk/libs/spirit/doc/html/spirit/karma/reference/karma_basics.html | 100 +++-----
trunk/libs/spirit/doc/html/spirit/karma/reference/nonterminal.html | 2
trunk/libs/spirit/doc/html/spirit/karma/reference/nonterminal/grammar.html | 94 ++-----
trunk/libs/spirit/doc/html/spirit/karma/reference/nonterminal/rule.html | 108 +++------
trunk/libs/spirit/doc/html/spirit/karma/reference/numeric.html | 2
trunk/libs/spirit/doc/html/spirit/karma/reference/numeric/boolean.html | 74 ++----
trunk/libs/spirit/doc/html/spirit/karma/reference/numeric/real_number.html | 106 +++-----
trunk/libs/spirit/doc/html/spirit/karma/reference/numeric/signed_int.html | 119 ++++------
trunk/libs/spirit/doc/html/spirit/karma/reference/numeric/unsigned_int.html | 114 +++------
trunk/libs/spirit/doc/html/spirit/karma/reference/operator.html | 2
trunk/libs/spirit/doc/html/spirit/karma/reference/operator/alternative.html | 67 +----
trunk/libs/spirit/doc/html/spirit/karma/reference/operator/and_predicate.html | 60 +---
trunk/libs/spirit/doc/html/spirit/karma/reference/operator/kleene.html | 63 +---
trunk/libs/spirit/doc/html/spirit/karma/reference/operator/list.html | 62 +---
trunk/libs/spirit/doc/html/spirit/karma/reference/operator/not_predicate.html | 60 +---
trunk/libs/spirit/doc/html/spirit/karma/reference/operator/optional.html | 66 +----
trunk/libs/spirit/doc/html/spirit/karma/reference/operator/plus.html | 68 +----
trunk/libs/spirit/doc/html/spirit/karma/reference/operator/sequence.html | 60 +---
trunk/libs/spirit/doc/html/spirit/karma/reference/stream.html | 2
trunk/libs/spirit/doc/html/spirit/karma/reference/stream/stream.html | 76 ++----
trunk/libs/spirit/doc/html/spirit/karma/reference/string.html | 2
trunk/libs/spirit/doc/html/spirit/karma/reference/string/string.html | 58 +---
trunk/libs/spirit/doc/html/spirit/karma/reference/string/symbols.html | 62 +---
trunk/libs/spirit/doc/html/spirit/karma/tutorials/karma_adapted_complex.html | 14
trunk/libs/spirit/doc/html/spirit/karma/tutorials/karma_complex.html | 6
trunk/libs/spirit/doc/html/spirit/karma/tutorials/karma_easier_complex.html | 14
trunk/libs/spirit/doc/html/spirit/karma/tutorials/num_list.html | 22 -
trunk/libs/spirit/doc/html/spirit/karma/tutorials/quick_start.html | 24 +-
trunk/libs/spirit/doc/html/spirit/karma/tutorials/semantic_actions.html | 64 +---
trunk/libs/spirit/doc/html/spirit/karma/tutorials/warming_up.html | 32 +-
trunk/libs/spirit/doc/html/spirit/lex/abstracts/lexer_primitives/lexer_token_values.html | 42 +--
trunk/libs/spirit/doc/html/spirit/lex/abstracts/lexer_semantic_actions.html | 10
trunk/libs/spirit/doc/html/spirit/lex/abstracts/lexer_static_model.html | 50 +---
trunk/libs/spirit/doc/html/spirit/lex/abstracts/lexer_tokenizing.html | 26 -
trunk/libs/spirit/doc/html/spirit/lex/lexer_introduction.html | 76 +++---
trunk/libs/spirit/doc/html/spirit/lex/quick_reference/lexer.html | 23 +
trunk/libs/spirit/doc/html/spirit/lex/reference/lex_basics.html | 24 -
trunk/libs/spirit/doc/html/spirit/lex/reference/lexer_api.html | 10
trunk/libs/spirit/doc/html/spirit/lex/reference/lexer_concepts/lexer.html | 30 +-
trunk/libs/spirit/doc/html/spirit/lex/reference/lexer_concepts/narylexer.html | 32 +-
trunk/libs/spirit/doc/html/spirit/lex/reference/lexer_concepts/primitivelexer.html | 34 +-
trunk/libs/spirit/doc/html/spirit/lex/reference/lexer_concepts/unarylexer.html | 32 +-
trunk/libs/spirit/doc/html/spirit/lex/reference/primitives.html | 2
trunk/libs/spirit/doc/html/spirit/lex/reference/primitives/char_tokendef.html | 26 -
trunk/libs/spirit/doc/html/spirit/lex/tutorials/lexer_quickstart1.html | 98 ++-----
trunk/libs/spirit/doc/html/spirit/lex/tutorials/lexer_quickstart2.html | 100 +++-----
trunk/libs/spirit/doc/html/spirit/lex/tutorials/lexer_quickstart3.html | 94 +++-----
trunk/libs/spirit/doc/html/spirit/lex/tutorials/lexer_tutorials.html | 28 +-
trunk/libs/spirit/doc/html/spirit/notes/porting_from_spirit_1_8_x.html | 108 +++------
trunk/libs/spirit/doc/html/spirit/notes/style_guide.html | 92 ++++---
trunk/libs/spirit/doc/html/spirit/preface.html | 92 +++----
trunk/libs/spirit/doc/html/spirit/qi/quick_reference/compound_attribute_rules.html | 4
trunk/libs/spirit/doc/html/spirit/qi/reference/action.html | 26 -
trunk/libs/spirit/doc/html/spirit/qi/reference/auto.html | 159 ++++---------
trunk/libs/spirit/doc/html/spirit/qi/reference/auxiliary.html | 2
trunk/libs/spirit/doc/html/spirit/qi/reference/auxiliary/attr.html | 58 +---
trunk/libs/spirit/doc/html/spirit/qi/reference/auxiliary/attr_cast.html | 64 +---
trunk/libs/spirit/doc/html/spirit/qi/reference/auxiliary/eoi.html | 52 +---
trunk/libs/spirit/doc/html/spirit/qi/reference/auxiliary/eol.html | 52 +---
trunk/libs/spirit/doc/html/spirit/qi/reference/auxiliary/eps.html | 102 ++------
trunk/libs/spirit/doc/html/spirit/qi/reference/auxiliary/lazy.html | 64 +---
trunk/libs/spirit/doc/html/spirit/qi/reference/basics.html | 80 ++----
trunk/libs/spirit/doc/html/spirit/qi/reference/binary.html | 2
trunk/libs/spirit/doc/html/spirit/qi/reference/binary/binary_big.html | 64 +---
trunk/libs/spirit/doc/html/spirit/qi/reference/binary/binary_little.html | 64 +---
trunk/libs/spirit/doc/html/spirit/qi/reference/binary/binary_native.html | 76 ++----
trunk/libs/spirit/doc/html/spirit/qi/reference/char.html | 2
trunk/libs/spirit/doc/html/spirit/qi/reference/char/char.html | 86 ++-----
trunk/libs/spirit/doc/html/spirit/qi/reference/char/char_class.html | 66 +----
trunk/libs/spirit/doc/html/spirit/qi/reference/directive.html | 2
trunk/libs/spirit/doc/html/spirit/qi/reference/directive/lexeme.html | 64 +---
trunk/libs/spirit/doc/html/spirit/qi/reference/directive/matches.html | 80 ++----
trunk/libs/spirit/doc/html/spirit/qi/reference/directive/no_case.html | 48 +--
trunk/libs/spirit/doc/html/spirit/qi/reference/directive/no_skip.html | 64 +---
trunk/libs/spirit/doc/html/spirit/qi/reference/directive/omit.html | 62 +---
trunk/libs/spirit/doc/html/spirit/qi/reference/directive/raw.html | 60 +---
trunk/libs/spirit/doc/html/spirit/qi/reference/directive/repeat.html | 142 ++++--------
trunk/libs/spirit/doc/html/spirit/qi/reference/directive/skip.html | 74 ++----
trunk/libs/spirit/doc/html/spirit/qi/reference/nonterminal.html | 2
trunk/libs/spirit/doc/html/spirit/qi/reference/nonterminal/grammar.html | 94 ++-----
trunk/libs/spirit/doc/html/spirit/qi/reference/nonterminal/rule.html | 118 +++------
trunk/libs/spirit/doc/html/spirit/qi/reference/numeric.html | 2
trunk/libs/spirit/doc/html/spirit/qi/reference/numeric/boolean.html | 90 ++-----
trunk/libs/spirit/doc/html/spirit/qi/reference/numeric/int.html | 72 ++----
trunk/libs/spirit/doc/html/spirit/qi/reference/numeric/real.html | 122 +++-------
trunk/libs/spirit/doc/html/spirit/qi/reference/numeric/uint.html | 84 ++-----
trunk/libs/spirit/doc/html/spirit/qi/reference/operator.html | 2
trunk/libs/spirit/doc/html/spirit/qi/reference/operator/alternative.html | 104 +++------
trunk/libs/spirit/doc/html/spirit/qi/reference/operator/and_predicate.html | 64 +---
trunk/libs/spirit/doc/html/spirit/qi/reference/operator/difference.html | 83 ++----
trunk/libs/spirit/doc/html/spirit/qi/reference/operator/expect.html | 86 ++-----
trunk/libs/spirit/doc/html/spirit/qi/reference/operator/kleene.html | 68 ++---
trunk/libs/spirit/doc/html/spirit/qi/reference/operator/list.html | 68 ++---
trunk/libs/spirit/doc/html/spirit/qi/reference/operator/not_predicate.html | 82 ++----
trunk/libs/spirit/doc/html/spirit/qi/reference/operator/optional.html | 70 ++----
trunk/libs/spirit/doc/html/spirit/qi/reference/operator/permutation.html | 62 +---
trunk/libs/spirit/doc/html/spirit/qi/reference/operator/plus.html | 70 ++----
trunk/libs/spirit/doc/html/spirit/qi/reference/operator/sequence.html | 96 ++-----
trunk/libs/spirit/doc/html/spirit/qi/reference/operator/sequential_or.html | 73 +----
trunk/libs/spirit/doc/html/spirit/qi/reference/parse_api/create_parser.html | 10
trunk/libs/spirit/doc/html/spirit/qi/reference/parse_api/iterator_api.html | 8
trunk/libs/spirit/doc/html/spirit/qi/reference/parse_api/stream_api.html | 10
trunk/libs/spirit/doc/html/spirit/qi/reference/parser_concepts/binaryparser.html | 40 +-
trunk/libs/spirit/doc/html/spirit/qi/reference/parser_concepts/naryparser.html | 50 ++--
trunk/libs/spirit/doc/html/spirit/qi/reference/parser_concepts/nonterminal.html | 80 ++++--
trunk/libs/spirit/doc/html/spirit/qi/reference/parser_concepts/parser.html | 48 ++--
trunk/libs/spirit/doc/html/spirit/qi/reference/parser_concepts/primitiveparser.html | 42 ++-
trunk/libs/spirit/doc/html/spirit/qi/reference/parser_concepts/unaryparser.html | 64 +++--
trunk/libs/spirit/doc/html/spirit/qi/reference/stream.html | 2
trunk/libs/spirit/doc/html/spirit/qi/reference/stream/stream.html | 95 ++-----
trunk/libs/spirit/doc/html/spirit/qi/reference/string.html | 2
trunk/libs/spirit/doc/html/spirit/qi/reference/string/string.html | 64 +----
trunk/libs/spirit/doc/html/spirit/qi/reference/string/symbols.html | 74 +----
trunk/libs/spirit/doc/html/spirit/qi/tutorials/complex___our_first_complex_parser.html | 28 +-
trunk/libs/spirit/doc/html/spirit/qi/tutorials/employee___parsing_into_structs.html | 70 ++---
trunk/libs/spirit/doc/html/spirit/qi/tutorials/mini_xml___asts_.html | 129 +++++------
trunk/libs/spirit/doc/html/spirit/qi/tutorials/mini_xml___error_handling.html | 12
trunk/libs/spirit/doc/html/spirit/qi/tutorials/number_list___stuffing_numbers_into_a_std__vector.html | 6
trunk/libs/spirit/doc/html/spirit/qi/tutorials/number_list_attribute___one_more__with_style.html | 26 -
trunk/libs/spirit/doc/html/spirit/qi/tutorials/number_list_redux___list_syntax.html | 6
trunk/libs/spirit/doc/html/spirit/qi/tutorials/quick_start.html | 2
trunk/libs/spirit/doc/html/spirit/qi/tutorials/roman_numerals.html | 152 +++++-------
trunk/libs/spirit/doc/html/spirit/qi/tutorials/semantic_actions.html | 64 +---
trunk/libs/spirit/doc/html/spirit/qi/tutorials/sum___adding_numbers.html | 18 -
trunk/libs/spirit/doc/html/spirit/qi/tutorials/warming_up.html | 44 +--
trunk/libs/spirit/doc/html/spirit/references.html | 2
trunk/libs/spirit/doc/html/spirit/structure/include.html | 104 ++++----
trunk/libs/spirit/doc/html/spirit/support/multi_pass.html | 54 ++--
trunk/libs/spirit/doc/html/spirit/what_s_new/spirit_2_1.html | 452 ++++++++++++++++++++-------------------
trunk/libs/spirit/doc/html/spirit/what_s_new/spirit_2_2.html | 180 +++++++--------
trunk/libs/spirit/doc/html/spirit/what_s_new/spirit_2_3.html | 183 ++++++++--------
trunk/libs/spirit/doc/html/spirit/what_s_new/spirit_2_4.html | 166 +++++++-------
trunk/libs/spirit/doc/spirit2.qbk | 2
197 files changed, 4110 insertions(+), 6848 deletions(-)
Modified: trunk/libs/spirit/doc/html/index.html
==============================================================================
--- trunk/libs/spirit/doc/html/index.html (original)
+++ trunk/libs/spirit/doc/html/index.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -33,7 +33,7 @@
</div></div>
<div><p class="copyright">Copyright © 2001-2010 Joel de Guzman, Hartmut Kaiser</p></div>
<div><div class="legalnotice">
-<a name="id835154"></a><p>
+<a name="id820344"></a><p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
</p>
@@ -272,7 +272,7 @@
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
-<td align="left"><p><small>Last revised: July 11, 2010 at 19:15:11 GMT</small></p></td>
+<td align="left"><p><small>Last revised: July 26, 2010 at 14:15:13 GMT</small></p></td>
<td align="right"><div class="copyright-footer"></div></td>
</tr></table>
<hr>
Modified: trunk/libs/spirit/doc/html/spirit/abstracts/attributes/compound_attributes.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/abstracts/attributes/compound_attributes.html (original)
+++ trunk/libs/spirit/doc/html/spirit/abstracts/attributes/compound_attributes.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -90,20 +90,14 @@
<p>
which reads as:
</p>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- Given <code class="computeroutput"><span class="identifier">a</span></code> and <code class="computeroutput"><span class="identifier">b</span></code> are parsers (generators), and
- <code class="computeroutput"><span class="identifier">A</span></code> is the attribute
- type of <code class="computeroutput"><span class="identifier">a</span></code>, and <code class="computeroutput"><span class="identifier">B</span></code> is the attribute type of <code class="computeroutput"><span class="identifier">b</span></code>, then the attribute type of <code class="computeroutput"><span class="identifier">a</span> <span class="special">>></span>
- <span class="identifier">b</span></code> (<code class="computeroutput"><span class="identifier">a</span>
- <span class="special"><<</span> <span class="identifier">b</span></code>)
- will be <code class="computeroutput"><span class="identifier">tuple</span><span class="special"><</span><span class="identifier">A</span><span class="special">,</span> <span class="identifier">B</span><span class="special">></span></code>.
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ Given <code class="computeroutput"><span class="identifier">a</span></code> and <code class="computeroutput"><span class="identifier">b</span></code> are parsers (generators), and <code class="computeroutput"><span class="identifier">A</span></code> is the attribute type of <code class="computeroutput"><span class="identifier">a</span></code>, and <code class="computeroutput"><span class="identifier">B</span></code>
+ is the attribute type of <code class="computeroutput"><span class="identifier">b</span></code>,
+ then the attribute type of <code class="computeroutput"><span class="identifier">a</span>
+ <span class="special">>></span> <span class="identifier">b</span></code>
+ (<code class="computeroutput"><span class="identifier">a</span> <span class="special"><<</span>
+ <span class="identifier">b</span></code>) will be <code class="computeroutput"><span class="identifier">tuple</span><span class="special"><</span><span class="identifier">A</span><span class="special">,</span> <span class="identifier">B</span><span class="special">></span></code>.
+ </p></blockquote></div>
<div class="note"><table border="0" summary="Note">
<tr>
<td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="../../../images/note.png"></td>
@@ -121,12 +115,12 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- either be convertible to the attribute type,
- </li>
+ either be convertible to the attribute type,
+ </li>
<li class="listitem">
- or it has to expose certain functionalities, i.e. it needs to conform
- to a concept compatible with the component.
- </li>
+ or it has to expose certain functionalities, i.e. it needs to conform
+ to a concept compatible with the component.
+ </li>
</ul></div>
<p>
Each compound component implements its own set of attribute propagation
@@ -136,7 +130,7 @@
Compound Attribute Rules</a>.
</p>
<a name="spirit.abstracts.attributes.compound_attributes.the_attribute_of_sequence_parsers_and_generators"></a><h6>
-<a name="id853944"></a>
+<a name="id837098"></a>
<a class="link" href="compound_attributes.html#spirit.abstracts.attributes.compound_attributes.the_attribute_of_sequence_parsers_and_generators">The
Attribute of Sequence Parsers and Generators</a>
</h6>
@@ -252,7 +246,7 @@
</td></tr>
</table></div>
<a name="spirit.abstracts.attributes.compound_attributes.the_attribute_of_alternative_parsers_and_generators"></a><h6>
-<a name="id854940"></a>
+<a name="id839086"></a>
<a class="link" href="compound_attributes.html#spirit.abstracts.attributes.compound_attributes.the_attribute_of_alternative_parsers_and_generators">The
Attribute of Alternative Parsers and Generators</a>
</h6>
Modified: trunk/libs/spirit/doc/html/spirit/abstracts/attributes/more_compound_attributes.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/abstracts/attributes/more_compound_attributes.html (original)
+++ trunk/libs/spirit/doc/html/spirit/abstracts/attributes/more_compound_attributes.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -216,24 +216,16 @@
<p>
which reads as:
</p>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- Given <code class="computeroutput"><span class="identifier">a</span></code> and <code class="computeroutput"><span class="identifier">b</span></code> are parsers (generators), and
- <code class="computeroutput"><span class="identifier">A</span></code> is the attribute
- type of <code class="computeroutput"><span class="identifier">a</span></code>, and <code class="computeroutput"><span class="identifier">unused_type</span></code> is the attribute type
- of <code class="computeroutput"><span class="identifier">b</span></code>, then the attribute
- type of <code class="computeroutput"><span class="identifier">a</span> <span class="special">>></span>
- <span class="identifier">b</span></code> (<code class="computeroutput"><span class="identifier">a</span>
- <span class="special"><<</span> <span class="identifier">b</span></code>)
- will be <code class="computeroutput"><span class="identifier">A</span></code> as well.
- This rule applies regardless of the position the element exposing the
- <code class="computeroutput"><span class="identifier">unused_type</span></code> is at.
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ Given <code class="computeroutput"><span class="identifier">a</span></code> and <code class="computeroutput"><span class="identifier">b</span></code> are parsers (generators), and <code class="computeroutput"><span class="identifier">A</span></code> is the attribute type of <code class="computeroutput"><span class="identifier">a</span></code>, and <code class="computeroutput"><span class="identifier">unused_type</span></code>
+ is the attribute type of <code class="computeroutput"><span class="identifier">b</span></code>,
+ then the attribute type of <code class="computeroutput"><span class="identifier">a</span>
+ <span class="special">>></span> <span class="identifier">b</span></code>
+ (<code class="computeroutput"><span class="identifier">a</span> <span class="special"><<</span>
+ <span class="identifier">b</span></code>) will be <code class="computeroutput"><span class="identifier">A</span></code>
+ as well. This rule applies regardless of the position the element exposing
+ the <code class="computeroutput"><span class="identifier">unused_type</span></code> is at.
+ </p></blockquote></div>
<p>
This rule is the key to the understanding of the attribute handling in
sequences as soon as literals are involved. It is as if elements with
Modified: trunk/libs/spirit/doc/html/spirit/abstracts/parsing_expression_grammar.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/abstracts/parsing_expression_grammar.html (original)
+++ trunk/libs/spirit/doc/html/spirit/abstracts/parsing_expression_grammar.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,12 +28,9 @@
Expression Grammar</a>
</h3></div></div></div>
<p>
- Parsing Expression Grammars (PEG)
- <sup>[<a name="id852406" href="#ftn.id852406" class="footnote">6</a>]</sup>
- are a derivative of Extended Backus-Naur Form (EBNF)
- <sup>[<a name="id852418" href="#ftn.id852418" class="footnote">7</a>]</sup>
- with a different interpretation, designed to represent a recursive descent
- parser. A PEG can be directly represented as a recursive-descent parser.
+ Parsing Expression Grammars (PEG) <sup>[<a name="id835571" href="#ftn.id835571" class="footnote">6</a>]</sup> are a derivative of Extended Backus-Naur Form (EBNF) <sup>[<a name="id835583" href="#ftn.id835583" class="footnote">7</a>]</sup> with a different interpretation, designed to represent a recursive
+ descent parser. A PEG can be directly represented as a recursive-descent
+ parser.
</p>
<p>
Like EBNF, PEG is a formal grammar for describing a formal language in terms
@@ -42,7 +39,7 @@
Abstract Syntax Tree) for each PEG grammar.
</p>
<a name="spirit.abstracts.parsing_expression_grammar.sequences"></a><h5>
-<a name="id852438"></a>
+<a name="id835603"></a>
<a class="link" href="parsing_expression_grammar.html#spirit.abstracts.parsing_expression_grammar.sequences">Sequences</a>
</h5>
<p>
@@ -54,15 +51,9 @@
The PEG expression above states that, in order for this to succeed, <code class="computeroutput"><span class="identifier">b</span></code> must follow <code class="computeroutput"><span class="identifier">a</span></code>.
Here's the syntax diagram:
</p>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <span class="inlinemediaobject"><img src="../.././images/sequence.png" alt="sequence"></span>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <span class="inlinemediaobject"><img src="../.././images/sequence.png" alt="sequence"></span>
+ </p></blockquote></div>
<p>
Here's a trivial example:
</p>
@@ -84,7 +75,7 @@
</p></td></tr>
</table></div>
<a name="spirit.abstracts.parsing_expression_grammar.alternatives"></a><h5>
-<a name="id852570"></a>
+<a name="id835731"></a>
<a class="link" href="parsing_expression_grammar.html#spirit.abstracts.parsing_expression_grammar.alternatives">Alternatives</a>
</h5>
<p>
@@ -111,15 +102,9 @@
simply match <code class="computeroutput"><span class="identifier">a</span></code> <span class="bold"><strong>or</strong></span> <code class="computeroutput"><span class="identifier">b</span></code>.
Here's the syntax diagram:
</p>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <span class="inlinemediaobject"><img src="../.././images/alternative.png" alt="alternative"></span>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <span class="inlinemediaobject"><img src="../.././images/alternative.png" alt="alternative"></span>
+ </p></blockquote></div>
<p>
PEGs allow for ambiguity in the alternatives. In the expression above, both
<code class="computeroutput"><span class="identifier">a</span></code> or <code class="computeroutput"><span class="identifier">b</span></code>
@@ -127,7 +112,7 @@
is valid. As noted, there can only be one valid parse tree.
</p>
<a name="spirit.abstracts.parsing_expression_grammar.loops"></a><h5>
-<a name="id852716"></a>
+<a name="id835874"></a>
<a class="link" href="parsing_expression_grammar.html#spirit.abstracts.parsing_expression_grammar.loops">Loops</a>
</h5>
<p>
@@ -150,24 +135,12 @@
<p>
Here are the syntax diagrams:
</p>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <span class="inlinemediaobject"><img src="../.././images/kleene.png" alt="kleene"></span>
- </p>
-<p>
- </p>
-</blockquote></div>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <span class="inlinemediaobject"><img src="../.././images/plus.png" alt="plus"></span>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <span class="inlinemediaobject"><img src="../.././images/kleene.png" alt="kleene"></span>
+ </p></blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <span class="inlinemediaobject"><img src="../.././images/plus.png" alt="plus"></span>
+ </p></blockquote></div>
<p>
The first, called the Kleene star, matches zero or more of its subject <code class="computeroutput"><span class="identifier">a</span></code>. The second, plus, matches one ore more
of its subject <code class="computeroutput"><span class="identifier">a</span></code>.
@@ -190,7 +163,7 @@
We will see more of these other mechanisms shortly.
</p>
<a name="spirit.abstracts.parsing_expression_grammar.difference"></a><h5>
-<a name="id852864"></a>
+<a name="id836015"></a>
<a class="link" href="parsing_expression_grammar.html#spirit.abstracts.parsing_expression_grammar.difference">Difference</a>
</h5>
<p>
@@ -216,13 +189,13 @@
</table></div>
<div class="footnotes">
<br><hr width="100" align="left">
-<div class="footnote"><p><sup>[<a name="ftn.id852406" href="#id852406" class="para">6</a>] </sup>
- Bryan Ford: Parsing Expression Grammars: A Recognition-Based Syntactic
- Foundation, http://pdos.csail.mit.edu/~baford/packrat/popl04/
- </p></div>
-<div class="footnote"><p><sup>[<a name="ftn.id852418" href="#id852418" class="para">7</a>] </sup>
- Richard E. Pattis: EBNF: A Notation to Describe Syntax, http://www.cs.cmu.edu/~pattis/misc/ebnf.pdf
- </p></div>
+<div class="footnote"><p><sup>[<a name="ftn.id835571" href="#id835571" class="para">6</a>] </sup>
+ Bryan Ford: Parsing Expression Grammars: A Recognition-Based Syntactic
+ Foundation, http://pdos.csail.mit.edu/~baford/packrat/popl04/
+ </p></div>
+<div class="footnote"><p><sup>[<a name="ftn.id835583" href="#id835583" class="para">7</a>] </sup>
+ Richard E. Pattis: EBNF: A Notation to Describe Syntax, http://www.cs.cmu.edu/~pattis/misc/ebnf.pdf
+ </p></div>
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/abstracts/syntax_diagram.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/abstracts/syntax_diagram.html (original)
+++ trunk/libs/spirit/doc/html/spirit/abstracts/syntax_diagram.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,17 +28,12 @@
</h3></div></div></div>
<p>
In the next section, we will deal with Parsing Expression Grammars (PEG)
- <sup>[<a name="id851963" href="#ftn.id851963" class="footnote">3</a>]</sup>
- , a variant of Extended Backus-Naur Form (EBNF)
- <sup>[<a name="id851975" href="#ftn.id851975" class="footnote">4</a>]</sup>
- with a different interpretation. It is easier to understand PEG using Syntax
- Diagrams. Syntax diagrams represent a grammar graphically. It was used extensibly
- by Niklaus Wirth
- <sup>[<a name="id851987" href="#ftn.id851987" class="footnote">5</a>]</sup>
- in the "Pascal User Manual". Syntax Diagrams are easily understandable
- by programmers due to their similarity to flow charts. The isomorphism of
- the diagrams and functions make them ideal for representing Recursive Descent
- parsers which are essentially mutually recursive functions.
+ <sup>[<a name="id835167" href="#ftn.id835167" class="footnote">3</a>]</sup>, a variant of Extended Backus-Naur Form (EBNF) <sup>[<a name="id835179" href="#ftn.id835179" class="footnote">4</a>]</sup> with a different interpretation. It is easier to understand PEG
+ using Syntax Diagrams. Syntax diagrams represent a grammar graphically. It
+ was used extensibly by Niklaus Wirth <sup>[<a name="id835191" href="#ftn.id835191" class="footnote">5</a>]</sup> in the "Pascal User Manual". Syntax Diagrams are easily
+ understandable by programmers due to their similarity to flow charts. The
+ isomorphism of the diagrams and functions make them ideal for representing
+ Recursive Descent parsers which are essentially mutually recursive functions.
</p>
<p>
Historically, Parsing Expression Grammars have been used for describing grammars
@@ -48,113 +43,65 @@
parsers and to <span class="emphasis"><em>Spirit.Karma</em></span> generators.
</p>
<a name="spirit.abstracts.syntax_diagram.elements"></a><h5>
-<a name="id852014"></a>
+<a name="id835219"></a>
<a class="link" href="syntax_diagram.html#spirit.abstracts.syntax_diagram.elements">Elements</a>
</h5>
<p>
All diagrams have one entry and one exit point. Arrows connect all possible
paths through the grammar from the entry point to the exit point.
</p>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <span class="inlinemediaobject"><img src="../.././images/start_stop.png" alt="start_stop"></span>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <span class="inlinemediaobject"><img src="../.././images/start_stop.png" alt="start_stop"></span>
+ </p></blockquote></div>
<p>
Terminals are represented by round boxes. Terminals are atomic and usually
represent plain characters, strings or tokens.
</p>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <span class="inlinemediaobject"><img src="../.././images/terminal.png" alt="terminal"></span>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <span class="inlinemediaobject"><img src="../.././images/terminal.png" alt="terminal"></span>
+ </p></blockquote></div>
<p>
Non-terminals are represented by boxes. Diagrams are modularized using named
non-terminals. A complex diagram can be broken down into a set of non-terminals.
Non-terminals also allow recursion (i.e. a non-terminal can call itself).
</p>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <span class="inlinemediaobject"><img src="../.././images/non-terminal.png" alt="non-terminal"></span>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <span class="inlinemediaobject"><img src="../.././images/non-terminal.png" alt="non-terminal"></span>
+ </p></blockquote></div>
<a name="spirit.abstracts.syntax_diagram.constructs"></a><h5>
-<a name="id852114"></a>
+<a name="id835308"></a>
<a class="link" href="syntax_diagram.html#spirit.abstracts.syntax_diagram.constructs">Constructs</a>
</h5>
<p>
The most basic composition is the Sequence. B follows A:
</p>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <span class="inlinemediaobject"><img src="../.././images/sequence.png" alt="sequence"></span>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <span class="inlinemediaobject"><img src="../.././images/sequence.png" alt="sequence"></span>
+ </p></blockquote></div>
<p>
The ordered choice henceforth we will call <span class="emphasis"><em>alternatives</em></span>.
In PEG, ordered choice and alternatives are not quite the same. PEG allows
ambiguity of choice where one or more branches can succeed. In PEG, in case
of ambiguity, the first one always wins.
</p>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <span class="inlinemediaobject"><img src="../.././images/alternative.png" alt="alternative"></span>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <span class="inlinemediaobject"><img src="../.././images/alternative.png" alt="alternative"></span>
+ </p></blockquote></div>
<p>
The optional (zero-or-one):
</p>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <span class="inlinemediaobject"><img src="../.././images/optional.png" alt="optional"></span>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <span class="inlinemediaobject"><img src="../.././images/optional.png" alt="optional"></span>
+ </p></blockquote></div>
<p>
Now, the loops. We have the zero-or-more and one-or-more:
</p>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <span class="inlinemediaobject"><img src="../.././images/kleene.png" alt="kleene"></span>
- </p>
-<p>
- </p>
-</blockquote></div>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <span class="inlinemediaobject"><img src="../.././images/plus.png" alt="plus"></span>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <span class="inlinemediaobject"><img src="../.././images/kleene.png" alt="kleene"></span>
+ </p></blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <span class="inlinemediaobject"><img src="../.././images/plus.png" alt="plus"></span>
+ </p></blockquote></div>
<p>
Take note that, as in PEG, these loops behave greedily. If there is another
'A' just before the end-point, it will always fail because the preceding
@@ -163,7 +110,7 @@
This behavior is quite obvious with syntax diagrams as they resemble flow-charts.
</p>
<a name="spirit.abstracts.syntax_diagram.predicates"></a><h5>
-<a name="id852275"></a>
+<a name="id835451"></a>
<a class="link" href="syntax_diagram.html#spirit.abstracts.syntax_diagram.predicates">Predicates</a>
</h5>
<p>
@@ -174,15 +121,9 @@
<p>
First, we introduce a new element, the Predicate:
</p>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <span class="inlinemediaobject"><img src="../.././images/predicate.png" alt="predicate"></span>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <span class="inlinemediaobject"><img src="../.././images/predicate.png" alt="predicate"></span>
+ </p></blockquote></div>
<p>
This is similar to the conditionals in flow charts where the 'No' branch
is absent and always signals a failed parse.
@@ -191,24 +132,12 @@
We have two versions of the predicate, the <span class="emphasis"><em>And-Predicate</em></span>
and the <span class="emphasis"><em>Not-Predicate</em></span>:
</p>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <span class="inlinemediaobject"><img src="../.././images/and_predicate.png" alt="and_predicate"></span>
- </p>
-<p>
- </p>
-</blockquote></div>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <span class="inlinemediaobject"><img src="../.././images/not_predicate.png" alt="not_predicate"></span>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <span class="inlinemediaobject"><img src="../.././images/and_predicate.png" alt="and_predicate"></span>
+ </p></blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <span class="inlinemediaobject"><img src="../.././images/not_predicate.png" alt="not_predicate"></span>
+ </p></blockquote></div>
<p>
The <span class="emphasis"><em>And-Predicate</em></span> tries the predicate, P, and succeeds
if P succeeds, or otherwise fail. The opposite is true with the <span class="emphasis"><em>Not-Predicate</em></span>.
@@ -218,16 +147,16 @@
</p>
<div class="footnotes">
<br><hr width="100" align="left">
-<div class="footnote"><p><sup>[<a name="ftn.id851963" href="#id851963" class="para">3</a>] </sup>
- Bryan Ford: Parsing Expression Grammars: A Recognition-Based Syntactic
- Foundation, http://pdos.csail.mit.edu/~baford/packrat/popl04/
- </p></div>
-<div class="footnote"><p><sup>[<a name="ftn.id851975" href="#id851975" class="para">4</a>] </sup>
- Richard E. Pattis: EBNF: A Notation to Describe Syntax, http://www.cs.cmu.edu/~pattis/misc/ebnf.pdf
- </p></div>
-<div class="footnote"><p><sup>[<a name="ftn.id851987" href="#id851987" class="para">5</a>] </sup>
- Niklaus Wirth: The Programming Language Pascal. (July 1973)
- </p></div>
+<div class="footnote"><p><sup>[<a name="ftn.id835167" href="#id835167" class="para">3</a>] </sup>
+ Bryan Ford: Parsing Expression Grammars: A Recognition-Based Syntactic
+ Foundation, http://pdos.csail.mit.edu/~baford/packrat/popl04/
+ </p></div>
+<div class="footnote"><p><sup>[<a name="ftn.id835179" href="#id835179" class="para">4</a>] </sup>
+ Richard E. Pattis: EBNF: A Notation to Describe Syntax, http://www.cs.cmu.edu/~pattis/misc/ebnf.pdf
+ </p></div>
+<div class="footnote"><p><sup>[<a name="ftn.id835191" href="#id835191" class="para">5</a>] </sup>
+ Niklaus Wirth: The Programming Language Pascal. (July 1973)
+ </p></div>
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/acknowledgments.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/acknowledgments.html (original)
+++ trunk/libs/spirit/doc/html/spirit/acknowledgments.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -122,7 +122,7 @@
if not, kick Joao :-)
</p>
<a name="spirit.acknowledgments.acknowledgements_from_the_spirit_v1__emphasis_classic__emphasis__documentation"></a><h4>
-<a name="id1281782"></a>
+<a name="id1264387"></a>
<a class="link" href="acknowledgments.html#spirit.acknowledgments.acknowledgements_from_the_spirit_v1__emphasis_classic__emphasis__documentation">Acknowledgements
from the Spirit V1 <span class="emphasis"><em>classic</em></span> Documentation</a>
</h4>
Modified: trunk/libs/spirit/doc/html/spirit/advanced/customize.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/advanced/customize.html (original)
+++ trunk/libs/spirit/doc/html/spirit/advanced/customize.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -46,7 +46,7 @@
from Attributes</a></span></dt>
</dl></div>
<a name="spirit.advanced.customize.why_do_we_need_attribute_customization_points"></a><h5>
-<a name="id1218506"></a>
+<a name="id1200758"></a>
<a class="link" href="customize.html#spirit.advanced.customize.why_do_we_need_attribute_customization_points">Why
do we need Attribute Customization Points</a>
</h5>
@@ -86,9 +86,7 @@
the attribute type to be stored in a supplied STL container:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Container</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Enable</span><span class="comment">/* = void*/</span><span class="special">></span>
<span class="keyword">struct</span> <span class="identifier">container_value</span>
@@ -96,8 +94,6 @@
<span class="special">{};</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
This template is instantiated by the library at the appropriate places while
@@ -109,9 +105,7 @@
The following example shows the predefined specialization for <code class="computeroutput"><span class="identifier">unused_type</span></code>:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><></span>
<span class="keyword">struct</span> <span class="identifier">container_value</span><span class="special"><</span><span class="identifier">unused_type</span><span class="special">></span>
@@ -120,8 +114,6 @@
<span class="special">};</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
which defines its embedded <code class="computeroutput"><span class="identifier">type</span></code>
@@ -139,7 +131,7 @@
a description which needs to be specialized for what purpose.
</p>
<a name="spirit.advanced.customize.the_usage_of_customization_points"></a><h5>
-<a name="id1218827"></a>
+<a name="id1201087"></a>
<a class="link" href="customize.html#spirit.advanced.customize.the_usage_of_customization_points">The
Usage of Customization Points</a>
</h5>
Modified: trunk/libs/spirit/doc/html/spirit/advanced/customize/assign_to/assign_to_attribute_from_iterators.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/advanced/customize/assign_to/assign_to_attribute_from_iterators.html (original)
+++ trunk/libs/spirit/doc/html/spirit/advanced/customize/assign_to/assign_to_attribute_from_iterators.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
Store an Attribute after a Parser Produced a Pair of Iterators (Qi)</a>
</h5></div></div></div>
<a name="spirit.advanced.customize.assign_to.assign_to_attribute_from_iterators.assign_to_attribute_from_iterators"></a><h6>
-<a name="id1227109"></a>
+<a name="id1208718"></a>
<a class="link" href="assign_to_attribute_from_iterators.html#spirit.advanced.customize.assign_to.assign_to_attribute_from_iterators.assign_to_attribute_from_iterators">assign_to_attribute_from_iterators</a>
</h6>
<p>
@@ -41,7 +41,7 @@
attribute as provided by the user.
</p>
<a name="spirit.advanced.customize.assign_to.assign_to_attribute_from_iterators.module_headers"></a><h6>
-<a name="id1227136"></a>
+<a name="id1208745"></a>
<a class="link" href="assign_to_attribute_from_iterators.html#spirit.advanced.customize.assign_to.assign_to_attribute_from_iterators.module_headers">Module
Headers</a>
</h6>
@@ -62,7 +62,7 @@
</p></td></tr>
</table></div>
<a name="spirit.advanced.customize.assign_to.assign_to_attribute_from_iterators.namespace"></a><h6>
-<a name="id1227229"></a>
+<a name="id1208838"></a>
<a class="link" href="assign_to_attribute_from_iterators.html#spirit.advanced.customize.assign_to.assign_to_attribute_from_iterators.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -79,7 +79,7 @@
</td></tr></tbody>
</table></div>
<a name="spirit.advanced.customize.assign_to.assign_to_attribute_from_iterators.synopsis"></a><h6>
-<a name="id1227302"></a>
+<a name="id1208911"></a>
<a class="link" href="assign_to_attribute_from_iterators.html#spirit.advanced.customize.assign_to.assign_to_attribute_from_iterators.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Attrib</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Iterator</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Enable</span><span class="special">></span>
@@ -89,7 +89,7 @@
<span class="special">};</span>
</pre>
<a name="spirit.advanced.customize.assign_to.assign_to_attribute_from_iterators.template_parameters"></a><h6>
-<a name="id1227463"></a>
+<a name="id1209072"></a>
<a class="link" href="assign_to_attribute_from_iterators.html#spirit.advanced.customize.assign_to.assign_to_attribute_from_iterators.template_parameters">Template
parameters</a>
</h6>
@@ -176,7 +176,7 @@
</tbody>
</table></div>
<a name="spirit.advanced.customize.assign_to.assign_to_attribute_from_iterators.notation"></a><h6>
-<a name="id1227673"></a>
+<a name="id1209282"></a>
<a class="link" href="assign_to_attribute_from_iterators.html#spirit.advanced.customize.assign_to.assign_to_attribute_from_iterators.notation">Notation</a>
</h6>
<div class="variablelist">
@@ -203,7 +203,7 @@
</dl>
</div>
<a name="spirit.advanced.customize.assign_to.assign_to_attribute_from_iterators.expression_semantics"></a><h6>
-<a name="id1227791"></a>
+<a name="id1209400"></a>
<a class="link" href="assign_to_attribute_from_iterators.html#spirit.advanced.customize.assign_to.assign_to_attribute_from_iterators.expression_semantics">Expression
Semantics</a>
</h6>
@@ -243,7 +243,7 @@
</tr></tbody>
</table></div>
<a name="spirit.advanced.customize.assign_to.assign_to_attribute_from_iterators.predefined_specializations"></a><h6>
-<a name="id1227937"></a>
+<a name="id1209546"></a>
<a class="link" href="assign_to_attribute_from_iterators.html#spirit.advanced.customize.assign_to.assign_to_attribute_from_iterators.predefined_specializations">Predefined
Specializations</a>
</h6>
@@ -294,7 +294,7 @@
</tbody>
</table></div>
<a name="spirit.advanced.customize.assign_to.assign_to_attribute_from_iterators.when_to_implement"></a><h6>
-<a name="id1230613"></a>
+<a name="id1209696"></a>
<a class="link" href="assign_to_attribute_from_iterators.html#spirit.advanced.customize.assign_to.assign_to_attribute_from_iterators.when_to_implement">When
to implement</a>
</h6>
@@ -306,7 +306,7 @@
from the pair of iterators.
</p>
<a name="spirit.advanced.customize.assign_to.assign_to_attribute_from_iterators.example"></a><h6>
-<a name="id1230644"></a>
+<a name="id1209727"></a>
<a class="link" href="assign_to_attribute_from_iterators.html#spirit.advanced.customize.assign_to.assign_to_attribute_from_iterators.example">Example</a>
</h6>
<p>
Modified: trunk/libs/spirit/doc/html/spirit/advanced/customize/assign_to/assign_to_attribute_from_value.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/advanced/customize/assign_to/assign_to_attribute_from_value.html (original)
+++ trunk/libs/spirit/doc/html/spirit/advanced/customize/assign_to/assign_to_attribute_from_value.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
Store an Attribute Value after a Parser Produced a Value (Qi)</a>
</h5></div></div></div>
<a name="spirit.advanced.customize.assign_to.assign_to_attribute_from_value.assign_to_attribute_from_value"></a><h6>
-<a name="id1230672"></a>
+<a name="id1209754"></a>
<a class="link" href="assign_to_attribute_from_value.html#spirit.advanced.customize.assign_to.assign_to_attribute_from_value.assign_to_attribute_from_value">assign_to_attribute_from_value</a>
</h6>
<p>
@@ -38,7 +38,7 @@
parsed attribute value into the attribute instance provided by the user.
</p>
<a name="spirit.advanced.customize.assign_to.assign_to_attribute_from_value.module_headers"></a><h6>
-<a name="id1230700"></a>
+<a name="id1209782"></a>
<a class="link" href="assign_to_attribute_from_value.html#spirit.advanced.customize.assign_to.assign_to_attribute_from_value.module_headers">Module
Headers</a>
</h6>
@@ -59,7 +59,7 @@
</p></td></tr>
</table></div>
<a name="spirit.advanced.customize.assign_to.assign_to_attribute_from_value.namespace"></a><h6>
-<a name="id1230792"></a>
+<a name="id1209874"></a>
<a class="link" href="assign_to_attribute_from_value.html#spirit.advanced.customize.assign_to.assign_to_attribute_from_value.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -76,7 +76,7 @@
</td></tr></tbody>
</table></div>
<a name="spirit.advanced.customize.assign_to.assign_to_attribute_from_value.synopsis"></a><h6>
-<a name="id1230865"></a>
+<a name="id1209948"></a>
<a class="link" href="assign_to_attribute_from_value.html#spirit.advanced.customize.assign_to.assign_to_attribute_from_value.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Attrib</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Enable</span><span class="special">></span>
@@ -86,7 +86,7 @@
<span class="special">};</span>
</pre>
<a name="spirit.advanced.customize.assign_to.assign_to_attribute_from_value.template_parameters"></a><h6>
-<a name="id1231004"></a>
+<a name="id1210087"></a>
<a class="link" href="assign_to_attribute_from_value.html#spirit.advanced.customize.assign_to.assign_to_attribute_from_value.template_parameters">Template
parameters</a>
</h6>
@@ -173,7 +173,7 @@
</tbody>
</table></div>
<a name="spirit.advanced.customize.assign_to.assign_to_attribute_from_value.notation"></a><h6>
-<a name="id1231214"></a>
+<a name="id1210297"></a>
<a class="link" href="assign_to_attribute_from_value.html#spirit.advanced.customize.assign_to.assign_to_attribute_from_value.notation">Notation</a>
</h6>
<div class="variablelist">
@@ -199,7 +199,7 @@
</dl>
</div>
<a name="spirit.advanced.customize.assign_to.assign_to_attribute_from_value.expression_semantics"></a><h6>
-<a name="id1231326"></a>
+<a name="id1210408"></a>
<a class="link" href="assign_to_attribute_from_value.html#spirit.advanced.customize.assign_to.assign_to_attribute_from_value.expression_semantics">Expression
Semantics</a>
</h6>
@@ -238,7 +238,7 @@
</tr></tbody>
</table></div>
<a name="spirit.advanced.customize.assign_to.assign_to_attribute_from_value.predefined_specializations"></a><h6>
-<a name="id1231456"></a>
+<a name="id1210538"></a>
<a class="link" href="assign_to_attribute_from_value.html#spirit.advanced.customize.assign_to.assign_to_attribute_from_value.predefined_specializations">Predefined
Specializations</a>
</h6>
@@ -289,7 +289,7 @@
</tbody>
</table></div>
<a name="spirit.advanced.customize.assign_to.assign_to_attribute_from_value.when_to_implement"></a><h6>
-<a name="id1231584"></a>
+<a name="id1210666"></a>
<a class="link" href="assign_to_attribute_from_value.html#spirit.advanced.customize.assign_to.assign_to_attribute_from_value.when_to_implement">When
to implement</a>
</h6>
@@ -301,7 +301,7 @@
constructible.
</p>
<a name="spirit.advanced.customize.assign_to.assign_to_attribute_from_value.example"></a><h6>
-<a name="id1231615"></a>
+<a name="id1214658"></a>
<a class="link" href="assign_to_attribute_from_value.html#spirit.advanced.customize.assign_to.assign_to_attribute_from_value.example">Example</a>
</h6>
<p>
Modified: trunk/libs/spirit/doc/html/spirit/advanced/customize/auto/create_generator.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/advanced/customize/auto/create_generator.html (original)
+++ trunk/libs/spirit/doc/html/spirit/advanced/customize/auto/create_generator.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
Define a Custom Attribute Mapping for a Generator</a>
</h5></div></div></div>
<a name="spirit.advanced.customize.auto.create_generator.create_generator"></a><h6>
-<a name="id1261254"></a>
+<a name="id1243584"></a>
<a class="link" href="create_generator.html#spirit.advanced.customize.auto.create_generator.create_generator">create_generator</a>
</h6>
<p>
@@ -40,7 +40,7 @@
given data type is encountered.
</p>
<a name="spirit.advanced.customize.auto.create_generator.module_headers"></a><h6>
-<a name="id1261303"></a>
+<a name="id1243633"></a>
<a class="link" href="create_generator.html#spirit.advanced.customize.auto.create_generator.module_headers">Module
Headers</a>
</h6>
@@ -51,7 +51,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.advanced.customize.auto.create_generator.namespace"></a><h6>
-<a name="id1261382"></a>
+<a name="id1243712"></a>
<a class="link" href="create_generator.html#spirit.advanced.customize.auto.create_generator.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -68,7 +68,7 @@
</td></tr></tbody>
</table></div>
<a name="spirit.advanced.customize.auto.create_generator.synopsis"></a><h6>
-<a name="id1261460"></a>
+<a name="id1243790"></a>
<a class="link" href="create_generator.html#spirit.advanced.customize.auto.create_generator.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Enable</span><span class="special">></span>
@@ -79,7 +79,7 @@
<span class="special">};</span>
</pre>
<a name="spirit.advanced.customize.auto.create_generator.template_parameters"></a><h6>
-<a name="id1261585"></a>
+<a name="id1243915"></a>
<a class="link" href="create_generator.html#spirit.advanced.customize.auto.create_generator.template_parameters">Template
parameters</a>
</h6>
@@ -148,7 +148,7 @@
</tbody>
</table></div>
<a name="spirit.advanced.customize.auto.create_generator.notation"></a><h6>
-<a name="id1261758"></a>
+<a name="id1244088"></a>
<a class="link" href="create_generator.html#spirit.advanced.customize.auto.create_generator.notation">Notation</a>
</h6>
<div class="variablelist">
@@ -161,7 +161,7 @@
</dl>
</div>
<a name="spirit.advanced.customize.auto.create_generator.expression_semantics"></a><h6>
-<a name="id1261798"></a>
+<a name="id1244128"></a>
<a class="link" href="create_generator.html#spirit.advanced.customize.auto.create_generator.expression_semantics">Expression
Semantics</a>
</h6>
@@ -212,7 +212,7 @@
</tbody>
</table></div>
<a name="spirit.advanced.customize.auto.create_generator.predefined_specializations"></a><h6>
-<a name="id1261944"></a>
+<a name="id1244274"></a>
<a class="link" href="create_generator.html#spirit.advanced.customize.auto.create_generator.predefined_specializations">Predefined
Specializations</a>
</h6>
@@ -234,7 +234,7 @@
</p></td></tr>
</table></div>
<a name="spirit.advanced.customize.auto.create_generator.when_to_implement"></a><h6>
-<a name="id1261986"></a>
+<a name="id1244316"></a>
<a class="link" href="create_generator.html#spirit.advanced.customize.auto.create_generator.when_to_implement">When
to implement</a>
</h6>
@@ -246,7 +246,7 @@
functions based on the automatic creation of the matching generator type).
</p>
<a name="spirit.advanced.customize.auto.create_generator.example"></a><h6>
-<a name="id1262034"></a>
+<a name="id1244364"></a>
<a class="link" href="create_generator.html#spirit.advanced.customize.auto.create_generator.example">Example</a>
</h6>
<p>
Modified: trunk/libs/spirit/doc/html/spirit/advanced/customize/auto/create_parser.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/advanced/customize/auto/create_parser.html (original)
+++ trunk/libs/spirit/doc/html/spirit/advanced/customize/auto/create_parser.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
a Custom Attribute Mapping for a Parser</a>
</h5></div></div></div>
<a name="spirit.advanced.customize.auto.create_parser.create_parser"></a><h6>
-<a name="id1258787"></a>
+<a name="id1242756"></a>
<a class="link" href="create_parser.html#spirit.advanced.customize.auto.create_parser.create_parser">create_parser</a>
</h6>
<p>
@@ -40,7 +40,7 @@
data type is encountered.
</p>
<a name="spirit.advanced.customize.auto.create_parser.module_headers"></a><h6>
-<a name="id1258838"></a>
+<a name="id1242807"></a>
<a class="link" href="create_parser.html#spirit.advanced.customize.auto.create_parser.module_headers">Module
Headers</a>
</h6>
@@ -51,7 +51,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.advanced.customize.auto.create_parser.namespace"></a><h6>
-<a name="id1258915"></a>
+<a name="id1242884"></a>
<a class="link" href="create_parser.html#spirit.advanced.customize.auto.create_parser.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -68,7 +68,7 @@
</td></tr></tbody>
</table></div>
<a name="spirit.advanced.customize.auto.create_parser.synopsis"></a><h6>
-<a name="id1258988"></a>
+<a name="id1242957"></a>
<a class="link" href="create_parser.html#spirit.advanced.customize.auto.create_parser.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Enable</span><span class="special">></span>
@@ -79,7 +79,7 @@
<span class="special">};</span>
</pre>
<a name="spirit.advanced.customize.auto.create_parser.template_parameters"></a><h6>
-<a name="id1259111"></a>
+<a name="id1243080"></a>
<a class="link" href="create_parser.html#spirit.advanced.customize.auto.create_parser.template_parameters">Template
parameters</a>
</h6>
@@ -148,7 +148,7 @@
</tbody>
</table></div>
<a name="spirit.advanced.customize.auto.create_parser.notation"></a><h6>
-<a name="id1259281"></a>
+<a name="id1243250"></a>
<a class="link" href="create_parser.html#spirit.advanced.customize.auto.create_parser.notation">Notation</a>
</h6>
<div class="variablelist">
@@ -161,7 +161,7 @@
</dl>
</div>
<a name="spirit.advanced.customize.auto.create_parser.expression_semantics"></a><h6>
-<a name="id1259319"></a>
+<a name="id1243288"></a>
<a class="link" href="create_parser.html#spirit.advanced.customize.auto.create_parser.expression_semantics">Expression
Semantics</a>
</h6>
@@ -211,7 +211,7 @@
</tbody>
</table></div>
<a name="spirit.advanced.customize.auto.create_parser.predefined_specializations"></a><h6>
-<a name="id1259465"></a>
+<a name="id1243434"></a>
<a class="link" href="create_parser.html#spirit.advanced.customize.auto.create_parser.predefined_specializations">Predefined
Specializations</a>
</h6>
@@ -233,7 +233,7 @@
</p></td></tr>
</table></div>
<a name="spirit.advanced.customize.auto.create_parser.when_to_implement"></a><h6>
-<a name="id1261148"></a>
+<a name="id1243478"></a>
<a class="link" href="create_parser.html#spirit.advanced.customize.auto.create_parser.when_to_implement">When
to implement</a>
</h6>
@@ -245,7 +245,7 @@
based on the automatic creation of the matching parser type).
</p>
<a name="spirit.advanced.customize.auto.create_parser.example"></a><h6>
-<a name="id1261198"></a>
+<a name="id1243528"></a>
<a class="link" href="create_parser.html#spirit.advanced.customize.auto.create_parser.example">Example</a>
</h6>
<p>
Modified: trunk/libs/spirit/doc/html/spirit/advanced/customize/clear_value.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/advanced/customize/clear_value.html (original)
+++ trunk/libs/spirit/doc/html/spirit/advanced/customize/clear_value.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
an Attribute Value before Parsing (Qi)</a>
</h4></div></div></div>
<a name="spirit.advanced.customize.clear_value.clear_value"></a><h6>
-<a name="id1236936"></a>
+<a name="id1218872"></a>
<a class="link" href="clear_value.html#spirit.advanced.customize.clear_value.clear_value">clear_value</a>
</h6>
<p>
@@ -43,7 +43,7 @@
parser.
</p>
<a name="spirit.advanced.customize.clear_value.module_headers"></a><h6>
-<a name="id1236983"></a>
+<a name="id1218918"></a>
<a class="link" href="clear_value.html#spirit.advanced.customize.clear_value.module_headers">Module
Headers</a>
</h6>
@@ -64,7 +64,7 @@
</p></td></tr>
</table></div>
<a name="spirit.advanced.customize.clear_value.namespace"></a><h6>
-<a name="id1237068"></a>
+<a name="id1219004"></a>
<a class="link" href="clear_value.html#spirit.advanced.customize.clear_value.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -81,7 +81,7 @@
</td></tr></tbody>
</table></div>
<a name="spirit.advanced.customize.clear_value.synopsis"></a><h6>
-<a name="id1237141"></a>
+<a name="id1219077"></a>
<a class="link" href="clear_value.html#spirit.advanced.customize.clear_value.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Attrib</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Enable</span><span class="special">></span>
@@ -91,7 +91,7 @@
<span class="special">};</span>
</pre>
<a name="spirit.advanced.customize.clear_value.template_parameters"></a><h6>
-<a name="id1237248"></a>
+<a name="id1219184"></a>
<a class="link" href="clear_value.html#spirit.advanced.customize.clear_value.template_parameters">Template
parameters</a>
</h6>
@@ -160,7 +160,7 @@
</tbody>
</table></div>
<a name="spirit.advanced.customize.clear_value.notation"></a><h6>
-<a name="id1237421"></a>
+<a name="id1219356"></a>
<a class="link" href="clear_value.html#spirit.advanced.customize.clear_value.notation">Notation</a>
</h6>
<div class="variablelist">
@@ -181,7 +181,7 @@
</dl>
</div>
<a name="spirit.advanced.customize.clear_value.expression_semantics"></a><h6>
-<a name="id1237517"></a>
+<a name="id1219452"></a>
<a class="link" href="clear_value.html#spirit.advanced.customize.clear_value.expression_semantics">Expression
Semantics</a>
</h6>
@@ -220,7 +220,7 @@
</tr></tbody>
</table></div>
<a name="spirit.advanced.customize.clear_value.predefined_specializations"></a><h6>
-<a name="id1237634"></a>
+<a name="id1219570"></a>
<a class="link" href="clear_value.html#spirit.advanced.customize.clear_value.predefined_specializations">Predefined
Specializations</a>
</h6>
@@ -331,7 +331,7 @@
</tbody>
</table></div>
<a name="spirit.advanced.customize.clear_value.when_to_implement"></a><h6>
-<a name="id1237992"></a>
+<a name="id1219945"></a>
<a class="link" href="clear_value.html#spirit.advanced.customize.clear_value.when_to_implement">When
to Implement</a>
</h6>
@@ -344,7 +344,7 @@
types not exposing a member function <code class="computeroutput"><span class="identifier">clear</span><span class="special">()</span></code>.
</p>
<a name="spirit.advanced.customize.clear_value.example"></a><h6>
-<a name="id1238027"></a>
+<a name="id1219980"></a>
<a class="link" href="clear_value.html#spirit.advanced.customize.clear_value.example">Example</a>
</h6>
<p>
Modified: trunk/libs/spirit/doc/html/spirit/advanced/customize/extract_from.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/advanced/customize/extract_from.html (original)
+++ trunk/libs/spirit/doc/html/spirit/advanced/customize/extract_from.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
Attribute Value to Generate Output (Karma)</a>
</h4></div></div></div>
<a name="spirit.advanced.customize.extract_from.extract_from"></a><h6>
-<a name="id1238056"></a>
+<a name="id1220009"></a>
<a class="link" href="extract_from.html#spirit.advanced.customize.extract_from.extract_from">extract_from</a>
</h6>
<p>
@@ -49,7 +49,7 @@
</p></td></tr>
</table></div>
<a name="spirit.advanced.customize.extract_from.module_headers"></a><h6>
-<a name="id1238098"></a>
+<a name="id1220051"></a>
<a class="link" href="extract_from.html#spirit.advanced.customize.extract_from.module_headers">Module
Headers</a>
</h6>
@@ -70,7 +70,7 @@
</p></td></tr>
</table></div>
<a name="spirit.advanced.customize.extract_from.namespace"></a><h6>
-<a name="id1238190"></a>
+<a name="id1220143"></a>
<a class="link" href="extract_from.html#spirit.advanced.customize.extract_from.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -87,7 +87,7 @@
</td></tr></tbody>
</table></div>
<a name="spirit.advanced.customize.extract_from.synopsis"></a><h6>
-<a name="id1238263"></a>
+<a name="id1220216"></a>
<a class="link" href="extract_from.html#spirit.advanced.customize.extract_from.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Exposed</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Attrib</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Enable</span><span class="special">></span>
@@ -100,7 +100,7 @@
<span class="special">};</span>
</pre>
<a name="spirit.advanced.customize.extract_from.template_parameters"></a><h6>
-<a name="id1238452"></a>
+<a name="id1220405"></a>
<a class="link" href="extract_from.html#spirit.advanced.customize.extract_from.template_parameters">Template
parameters</a>
</h6>
@@ -199,7 +199,7 @@
</tbody>
</table></div>
<a name="spirit.advanced.customize.extract_from.notation"></a><h6>
-<a name="id1238696"></a>
+<a name="id1220650"></a>
<a class="link" href="extract_from.html#spirit.advanced.customize.extract_from.notation">Notation</a>
</h6>
<div class="variablelist">
@@ -220,7 +220,7 @@
</dl>
</div>
<a name="spirit.advanced.customize.extract_from.expression_semantics"></a><h6>
-<a name="id1238784"></a>
+<a name="id1220737"></a>
<a class="link" href="extract_from.html#spirit.advanced.customize.extract_from.expression_semantics">Expression
Semantics</a>
</h6>
@@ -259,7 +259,7 @@
</tr></tbody>
</table></div>
<a name="spirit.advanced.customize.extract_from.predefined_specializations"></a><h6>
-<a name="id1238902"></a>
+<a name="id1220855"></a>
<a class="link" href="extract_from.html#spirit.advanced.customize.extract_from.predefined_specializations">Predefined
Specializations</a>
</h6>
@@ -353,7 +353,7 @@
</tbody>
</table></div>
<a name="spirit.advanced.customize.extract_from.when_to_implement"></a><h6>
-<a name="id1239271"></a>
+<a name="id1221206"></a>
<a class="link" href="extract_from.html#spirit.advanced.customize.extract_from.when_to_implement">When
to implement</a>
</h6>
@@ -365,7 +365,7 @@
and is not copy constructible.
</p>
<a name="spirit.advanced.customize.extract_from.example"></a><h6>
-<a name="id1239304"></a>
+<a name="id1221240"></a>
<a class="link" href="extract_from.html#spirit.advanced.customize.extract_from.example">Example</a>
</h6>
<p>
Modified: trunk/libs/spirit/doc/html/spirit/advanced/customize/is_container.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/advanced/customize/is_container.html (original)
+++ trunk/libs/spirit/doc/html/spirit/advanced/customize/is_container.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
if a Type Should be Treated as a Container (Qi and Karma)</a>
</h4></div></div></div>
<a name="spirit.advanced.customize.is_container.is_container"></a><h6>
-<a name="id1218863"></a>
+<a name="id1201123"></a>
<a class="link" href="is_container.html#spirit.advanced.customize.is_container.is_container">is_container</a>
</h6>
<p>
@@ -40,7 +40,7 @@
whether a supplied attribute can potentially be treated as a container.
</p>
<a name="spirit.advanced.customize.is_container.header"></a><h6>
-<a name="id1218918"></a>
+<a name="id1201179"></a>
<a class="link" href="is_container.html#spirit.advanced.customize.is_container.header">Header</a>
</h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">home</span><span class="special">/</span><span class="identifier">support</span><span class="special">/</span><span class="identifier">container</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
@@ -60,7 +60,7 @@
</p></td></tr>
</table></div>
<a name="spirit.advanced.customize.is_container.namespace"></a><h6>
-<a name="id1219003"></a>
+<a name="id1201264"></a>
<a class="link" href="is_container.html#spirit.advanced.customize.is_container.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -77,7 +77,7 @@
</td></tr></tbody>
</table></div>
<a name="spirit.advanced.customize.is_container.synopsis"></a><h6>
-<a name="id1219076"></a>
+<a name="id1201337"></a>
<a class="link" href="is_container.html#spirit.advanced.customize.is_container.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Container</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Enable</span><span class="special">></span>
@@ -87,7 +87,7 @@
<span class="special">};</span>
</pre>
<a name="spirit.advanced.customize.is_container.template_parameters"></a><h6>
-<a name="id1219175"></a>
+<a name="id1201435"></a>
<a class="link" href="is_container.html#spirit.advanced.customize.is_container.template_parameters">Template
parameters</a>
</h6>
@@ -156,7 +156,7 @@
</tbody>
</table></div>
<a name="spirit.advanced.customize.is_container.notation"></a><h6>
-<a name="id1219348"></a>
+<a name="id1201608"></a>
<a class="link" href="is_container.html#spirit.advanced.customize.is_container.notation">Notation</a>
</h6>
<div class="variablelist">
@@ -173,7 +173,7 @@
</dl>
</div>
<a name="spirit.advanced.customize.is_container.expression_semantics"></a><h6>
-<a name="id1219416"></a>
+<a name="id1201677"></a>
<a class="link" href="is_container.html#spirit.advanced.customize.is_container.expression_semantics">Expression
Semantics</a>
</h6>
@@ -212,7 +212,7 @@
</tr></tbody>
</table></div>
<a name="spirit.advanced.customize.is_container.predefined_specializations"></a><h6>
-<a name="id1219548"></a>
+<a name="id1201809"></a>
<a class="link" href="is_container.html#spirit.advanced.customize.is_container.predefined_specializations">Predefined
Specializations</a>
</h6>
@@ -301,7 +301,7 @@
</tbody>
</table></div>
<a name="spirit.advanced.customize.is_container.when_to_implement"></a><h6>
-<a name="id1219983"></a>
+<a name="id1202227"></a>
<a class="link" href="is_container.html#spirit.advanced.customize.is_container.when_to_implement">When
to implement</a>
</h6>
@@ -323,7 +323,7 @@
for any meaningful operation on the component <code class="computeroutput"><span class="identifier">a</span></code>.
</p>
<a name="spirit.advanced.customize.is_container.related_attribute_customization_points"></a><h6>
-<a name="id1220141"></a>
+<a name="id1202386"></a>
<a class="link" href="is_container.html#spirit.advanced.customize.is_container.related_attribute_customization_points">Related
Attribute Customization Points</a>
</h6>
@@ -461,10 +461,25 @@
</p>
</td>
</tr>
+<tr>
+<td>
+ <p>
+ <a class="link" href="clear_value.html" title="Re-Initialize an Attribute Value before Parsing (Qi)"><code class="computeroutput"><span class="identifier">clear_value</span></code></a>
+ </p>
+ </td>
+<td>
+ <p>
+ Qi: <a class="link" href="../../qi/reference/operator/list.html" title="List (a % b)">List</a>,
+ <a class="link" href="../../qi/reference/operator/kleene.html" title="Kleene (*a)">Kleene</a>,
+ <a class="link" href="../../qi/reference/operator/plus.html" title="Plus (+a)">Plus</a>,
+ <a class="link" href="../../qi/reference/directive/repeat.html" title="Repetition (repeat[])">Repeat</a>.
+ </p>
+ </td>
+</tr>
</tbody>
</table></div>
<a name="spirit.advanced.customize.is_container.example"></a><h6>
-<a name="id1220686"></a>
+<a name="id1202977"></a>
<a class="link" href="is_container.html#spirit.advanced.customize.is_container.example">Example</a>
</h6>
<p>
Modified: trunk/libs/spirit/doc/html/spirit/advanced/customize/iterate/begin_container.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/advanced/customize/iterate/begin_container.html (original)
+++ trunk/libs/spirit/doc/html/spirit/advanced/customize/iterate/begin_container.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
Get the Iterator pointing to the Begin of a Container Attribute</a>
</h5></div></div></div>
<a name="spirit.advanced.customize.iterate.begin_container.begin_container"></a><h6>
-<a name="id1242633"></a>
+<a name="id1225663"></a>
<a class="link" href="begin_container.html#spirit.advanced.customize.iterate.begin_container.begin_container">begin_container</a>
</h6>
<p>
@@ -41,7 +41,7 @@
holding the attributes to generate output from.
</p>
<a name="spirit.advanced.customize.iterate.begin_container.module_headers"></a><h6>
-<a name="id1242701"></a>
+<a name="id1226347"></a>
<a class="link" href="begin_container.html#spirit.advanced.customize.iterate.begin_container.module_headers">Module
Headers</a>
</h6>
@@ -62,7 +62,7 @@
</p></td></tr>
</table></div>
<a name="spirit.advanced.customize.iterate.begin_container.namespace"></a><h6>
-<a name="id1242789"></a>
+<a name="id1226434"></a>
<a class="link" href="begin_container.html#spirit.advanced.customize.iterate.begin_container.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -79,7 +79,7 @@
</td></tr></tbody>
</table></div>
<a name="spirit.advanced.customize.iterate.begin_container.synopsis"></a><h6>
-<a name="id1242867"></a>
+<a name="id1226512"></a>
<a class="link" href="begin_container.html#spirit.advanced.customize.iterate.begin_container.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Container</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Enable</span><span class="special">></span>
@@ -90,7 +90,7 @@
<span class="special">};</span>
</pre>
<a name="spirit.advanced.customize.iterate.begin_container.template_parameters"></a><h6>
-<a name="id1242993"></a>
+<a name="id1226638"></a>
<a class="link" href="begin_container.html#spirit.advanced.customize.iterate.begin_container.template_parameters">Template
parameters</a>
</h6>
@@ -160,7 +160,7 @@
</tbody>
</table></div>
<a name="spirit.advanced.customize.iterate.begin_container.notation"></a><h6>
-<a name="id1243166"></a>
+<a name="id1226811"></a>
<a class="link" href="begin_container.html#spirit.advanced.customize.iterate.begin_container.notation">Notation</a>
</h6>
<div class="variablelist">
@@ -177,7 +177,7 @@
</dl>
</div>
<a name="spirit.advanced.customize.iterate.begin_container.expression_semantics"></a><h6>
-<a name="id1243233"></a>
+<a name="id1226878"></a>
<a class="link" href="begin_container.html#spirit.advanced.customize.iterate.begin_container.expression_semantics">Expression
Semantics</a>
</h6>
@@ -226,17 +226,17 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- it needs to be comparable for equality (see <a class="link" href="compare_iterators.html" title="Compare two Iterator pointing into a Container Attribute for Equality"><code class="computeroutput"><span class="identifier">compare_iterators</span></code></a>),
- </li>
+ it needs to be comparable for equality (see <a class="link" href="compare_iterators.html" title="Compare two Iterator pointing into a Container Attribute for Equality"><code class="computeroutput"><span class="identifier">compare_iterators</span></code></a>),
+ </li>
<li class="listitem">
- it needs to be incrementable (see <a class="link" href="next_iterator.html" title="Increment the Iterator pointing into a Container Attribute"><code class="computeroutput"><span class="identifier">next_iterator</span></code></a>),
- </li>
+ it needs to be incrementable (see <a class="link" href="next_iterator.html" title="Increment the Iterator pointing into a Container Attribute"><code class="computeroutput"><span class="identifier">next_iterator</span></code></a>),
+ </li>
<li class="listitem">
- it needs to be dereferencible (see <a class="link" href="deref_iterator.html" title="Dereference the Iterator pointing into a Container Attribute"><code class="computeroutput"><span class="identifier">deref_iterator</span></code></a>).
- </li>
+ it needs to be dereferencible (see <a class="link" href="deref_iterator.html" title="Dereference the Iterator pointing into a Container Attribute"><code class="computeroutput"><span class="identifier">deref_iterator</span></code></a>).
+ </li>
</ul></div>
<a name="spirit.advanced.customize.iterate.begin_container.predefined_specializations"></a><h6>
-<a name="id1243401"></a>
+<a name="id1227057"></a>
<a class="link" href="begin_container.html#spirit.advanced.customize.iterate.begin_container.predefined_specializations">Predefined
Specializations</a>
</h6>
@@ -303,7 +303,7 @@
</tbody>
</table></div>
<a name="spirit.advanced.customize.iterate.begin_container.when_to_implement"></a><h6>
-<a name="id1243593"></a>
+<a name="id1227249"></a>
<a class="link" href="begin_container.html#spirit.advanced.customize.iterate.begin_container.when_to_implement">When
to implement</a>
</h6>
@@ -318,7 +318,7 @@
would normally return <code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">false_</span></code>).
</p>
<a name="spirit.advanced.customize.iterate.begin_container.related_attribute_customization_points"></a><h6>
-<a name="id1243664"></a>
+<a name="id1227320"></a>
<a class="link" href="begin_container.html#spirit.advanced.customize.iterate.begin_container.related_attribute_customization_points">Related
Attribute Customization Points</a>
</h6>
@@ -450,7 +450,7 @@
</tbody>
</table></div>
<a name="spirit.advanced.customize.iterate.begin_container.example"></a><h6>
-<a name="id1246414"></a>
+<a name="id1227817"></a>
<a class="link" href="begin_container.html#spirit.advanced.customize.iterate.begin_container.example">Example</a>
</h6>
<p>
Modified: trunk/libs/spirit/doc/html/spirit/advanced/customize/iterate/compare_iterators.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/advanced/customize/iterate/compare_iterators.html (original)
+++ trunk/libs/spirit/doc/html/spirit/advanced/customize/iterate/compare_iterators.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
Compare two Iterator pointing into a Container Attribute for Equality</a>
</h5></div></div></div>
<a name="spirit.advanced.customize.iterate.compare_iterators.compare_iterators"></a><h6>
-<a name="id1256083"></a>
+<a name="id1238960"></a>
<a class="link" href="compare_iterators.html#spirit.advanced.customize.iterate.compare_iterators.compare_iterators">compare_iterators</a>
</h6>
<p>
@@ -42,7 +42,7 @@
the end of the element sequence to gerenate output for.
</p>
<a name="spirit.advanced.customize.iterate.compare_iterators.module_headers"></a><h6>
-<a name="id1256181"></a>
+<a name="id1239057"></a>
<a class="link" href="compare_iterators.html#spirit.advanced.customize.iterate.compare_iterators.module_headers">Module
Headers</a>
</h6>
@@ -63,7 +63,7 @@
</p></td></tr>
</table></div>
<a name="spirit.advanced.customize.iterate.compare_iterators.namespace"></a><h6>
-<a name="id1257361"></a>
+<a name="id1239145"></a>
<a class="link" href="compare_iterators.html#spirit.advanced.customize.iterate.compare_iterators.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -80,7 +80,7 @@
</td></tr></tbody>
</table></div>
<a name="spirit.advanced.customize.iterate.compare_iterators.synopsis"></a><h6>
-<a name="id1257439"></a>
+<a name="id1239223"></a>
<a class="link" href="compare_iterators.html#spirit.advanced.customize.iterate.compare_iterators.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Iterator</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Enable</span><span class="special">></span>
@@ -90,7 +90,7 @@
<span class="special">};</span>
</pre>
<a name="spirit.advanced.customize.iterate.compare_iterators.template_parameters"></a><h6>
-<a name="id1257572"></a>
+<a name="id1239356"></a>
<a class="link" href="compare_iterators.html#spirit.advanced.customize.iterate.compare_iterators.template_parameters">Template
parameters</a>
</h6>
@@ -160,7 +160,7 @@
</tbody>
</table></div>
<a name="spirit.advanced.customize.iterate.compare_iterators.notation"></a><h6>
-<a name="id1257755"></a>
+<a name="id1239538"></a>
<a class="link" href="compare_iterators.html#spirit.advanced.customize.iterate.compare_iterators.notation">Notation</a>
</h6>
<div class="variablelist">
@@ -182,7 +182,7 @@
</dl>
</div>
<a name="spirit.advanced.customize.iterate.compare_iterators.expression_semantics"></a><h6>
-<a name="id1257855"></a>
+<a name="id1239639"></a>
<a class="link" href="compare_iterators.html#spirit.advanced.customize.iterate.compare_iterators.expression_semantics">Expression
Semantics</a>
</h6>
@@ -219,7 +219,7 @@
</tr></tbody>
</table></div>
<a name="spirit.advanced.customize.iterate.compare_iterators.predefined_specializations"></a><h6>
-<a name="id1257977"></a>
+<a name="id1239760"></a>
<a class="link" href="compare_iterators.html#spirit.advanced.customize.iterate.compare_iterators.predefined_specializations">Predefined
Specializations</a>
</h6>
@@ -275,7 +275,7 @@
</tbody>
</table></div>
<a name="spirit.advanced.customize.iterate.compare_iterators.when_to_implement"></a><h6>
-<a name="id1258124"></a>
+<a name="id1239908"></a>
<a class="link" href="compare_iterators.html#spirit.advanced.customize.iterate.compare_iterators.when_to_implement">When
to implement</a>
</h6>
@@ -291,7 +291,7 @@
(i.e. <code class="computeroutput"><span class="identifier">is_container</span><span class="special"><</span><span class="identifier">C</span><span class="special">>::</span><span class="identifier">type</span></code> would normally return <code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">false_</span></code>).
</p>
<a name="spirit.advanced.customize.iterate.compare_iterators.related_attribute_customization_points"></a><h6>
-<a name="id1258195"></a>
+<a name="id1239979"></a>
<a class="link" href="compare_iterators.html#spirit.advanced.customize.iterate.compare_iterators.related_attribute_customization_points">Related
Attribute Customization Points</a>
</h6>
@@ -423,7 +423,7 @@
</tbody>
</table></div>
<a name="spirit.advanced.customize.iterate.compare_iterators.example"></a><h6>
-<a name="id1258692"></a>
+<a name="id1242661"></a>
<a class="link" href="compare_iterators.html#spirit.advanced.customize.iterate.compare_iterators.example">Example</a>
</h6>
<p>
Modified: trunk/libs/spirit/doc/html/spirit/advanced/customize/iterate/container_iterator.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/advanced/customize/iterate/container_iterator.html (original)
+++ trunk/libs/spirit/doc/html/spirit/advanced/customize/iterate/container_iterator.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
Determine the Type of the Iterator of a Container (Karma)</a>
</h5></div></div></div>
<a name="spirit.advanced.customize.iterate.container_iterator.container_iterator"></a><h6>
-<a name="id1239342"></a>
+<a name="id1221277"></a>
<a class="link" href="container_iterator.html#spirit.advanced.customize.iterate.container_iterator.container_iterator">container_iterator</a>
</h6>
<p>
@@ -41,7 +41,7 @@
the items to be exposed as the elements of a container.
</p>
<a name="spirit.advanced.customize.iterate.container_iterator.module_headers"></a><h6>
-<a name="id1239410"></a>
+<a name="id1221346"></a>
<a class="link" href="container_iterator.html#spirit.advanced.customize.iterate.container_iterator.module_headers">Module
Headers</a>
</h6>
@@ -62,7 +62,7 @@
</p></td></tr>
</table></div>
<a name="spirit.advanced.customize.iterate.container_iterator.namespace"></a><h6>
-<a name="id1239498"></a>
+<a name="id1221433"></a>
<a class="link" href="container_iterator.html#spirit.advanced.customize.iterate.container_iterator.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -79,7 +79,7 @@
</td></tr></tbody>
</table></div>
<a name="spirit.advanced.customize.iterate.container_iterator.synopsis"></a><h6>
-<a name="id1239576"></a>
+<a name="id1221511"></a>
<a class="link" href="container_iterator.html#spirit.advanced.customize.iterate.container_iterator.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Container</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Enable</span><span class="special">></span>
@@ -89,7 +89,7 @@
<span class="special">};</span>
</pre>
<a name="spirit.advanced.customize.iterate.container_iterator.template_parameters"></a><h6>
-<a name="id1239674"></a>
+<a name="id1221610"></a>
<a class="link" href="container_iterator.html#spirit.advanced.customize.iterate.container_iterator.template_parameters">Template
parameters</a>
</h6>
@@ -158,7 +158,7 @@
</tbody>
</table></div>
<a name="spirit.advanced.customize.iterate.container_iterator.notation"></a><h6>
-<a name="id1239847"></a>
+<a name="id1221782"></a>
<a class="link" href="container_iterator.html#spirit.advanced.customize.iterate.container_iterator.notation">Notation</a>
</h6>
<div class="variablelist">
@@ -171,7 +171,7 @@
</dl>
</div>
<a name="spirit.advanced.customize.iterate.container_iterator.expression_semantics"></a><h6>
-<a name="id1239888"></a>
+<a name="id1221823"></a>
<a class="link" href="container_iterator.html#spirit.advanced.customize.iterate.container_iterator.expression_semantics">Expression
Semantics</a>
</h6>
@@ -219,17 +219,17 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- it needs to be comparable for equality (see <a class="link" href="compare_iterators.html" title="Compare two Iterator pointing into a Container Attribute for Equality"><code class="computeroutput"><span class="identifier">compare_iterators</span></code></a>),
- </li>
+ it needs to be comparable for equality (see <a class="link" href="compare_iterators.html" title="Compare two Iterator pointing into a Container Attribute for Equality"><code class="computeroutput"><span class="identifier">compare_iterators</span></code></a>),
+ </li>
<li class="listitem">
- it needs to be incrementable (see <a class="link" href="next_iterator.html" title="Increment the Iterator pointing into a Container Attribute"><code class="computeroutput"><span class="identifier">next_iterator</span></code></a>),
- </li>
+ it needs to be incrementable (see <a class="link" href="next_iterator.html" title="Increment the Iterator pointing into a Container Attribute"><code class="computeroutput"><span class="identifier">next_iterator</span></code></a>),
+ </li>
<li class="listitem">
- it needs to be dereferencible (see <a class="link" href="deref_iterator.html" title="Dereference the Iterator pointing into a Container Attribute"><code class="computeroutput"><span class="identifier">deref_iterator</span></code></a>).
- </li>
+ it needs to be dereferencible (see <a class="link" href="deref_iterator.html" title="Dereference the Iterator pointing into a Container Attribute"><code class="computeroutput"><span class="identifier">deref_iterator</span></code></a>).
+ </li>
</ul></div>
<a name="spirit.advanced.customize.iterate.container_iterator.predefined_specializations"></a><h6>
-<a name="id1240035"></a>
+<a name="id1223627"></a>
<a class="link" href="container_iterator.html#spirit.advanced.customize.iterate.container_iterator.predefined_specializations">Predefined
Specializations</a>
</h6>
@@ -297,7 +297,7 @@
</tbody>
</table></div>
<a name="spirit.advanced.customize.iterate.container_iterator.when_to_implement"></a><h6>
-<a name="id1240227"></a>
+<a name="id1223819"></a>
<a class="link" href="container_iterator.html#spirit.advanced.customize.iterate.container_iterator.when_to_implement">When
to implement</a>
</h6>
@@ -312,7 +312,7 @@
would normally return <code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">false_</span></code>).
</p>
<a name="spirit.advanced.customize.iterate.container_iterator.related_attribute_customization_points"></a><h6>
-<a name="id1240298"></a>
+<a name="id1223890"></a>
<a class="link" href="container_iterator.html#spirit.advanced.customize.iterate.container_iterator.related_attribute_customization_points">Related
Attribute Customization Points</a>
</h6>
@@ -444,33 +444,27 @@
</tbody>
</table></div>
<a name="spirit.advanced.customize.iterate.container_iterator.example"></a><h6>
-<a name="id1240795"></a>
+<a name="id1224387"></a>
<a class="link" href="container_iterator.html#spirit.advanced.customize.iterate.container_iterator.example">Example</a>
</h6>
<p>
Here are the header files needed to make the example code below compile:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">karma</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">iostream</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">vector</span><span class="special">></span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
The example (for the full source code please see here: customize_embedded_container.cpp)
uses the data structure
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">client</span>
<span class="special">{</span>
@@ -489,8 +483,6 @@
<span class="special">}</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
as a direct container attribute to the <a class="link" href="../../../karma/reference/operator/list.html" title="Lists (a % b)">List
@@ -503,9 +495,7 @@
handles standard iterators out of the box.
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="comment">// All specializations of attribute customization points have to be placed into
</span><span class="comment">// the namespace boost::spirit::traits.
@@ -562,8 +552,6 @@
<span class="special">}}}</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
The last code snippet shows an example using an instance of the data
@@ -571,9 +559,7 @@
from a <a class="link" href="../../../karma/reference/operator/list.html" title="Lists (a % b)">List (<code class="computeroutput"><span class="special">%</span></code>)</a> generator:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">client</span><span class="special">::</span><span class="identifier">embedded_container</span> <span class="identifier">d1</span><span class="special">;</span> <span class="comment">// create some test data
</span><span class="identifier">d1</span><span class="special">.</span><span class="identifier">data</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span><span class="number">1</span><span class="special">);</span>
@@ -585,8 +571,6 @@
</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">karma</span><span class="special">::</span><span class="identifier">format</span><span class="special">(</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">int_</span> <span class="special">%</span> <span class="string">", "</span><span class="special">,</span> <span class="identifier">d1</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span> <span class="comment">// prints: '1, 2, 3'
</span></pre>
<p>
- </p>
-<p>
</p>
<p>
As you can see, the specializations for the customization points as defined
Modified: trunk/libs/spirit/doc/html/spirit/advanced/customize/iterate/deref_iterator.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/advanced/customize/iterate/deref_iterator.html (original)
+++ trunk/libs/spirit/doc/html/spirit/advanced/customize/iterate/deref_iterator.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
Dereference the Iterator pointing into a Container Attribute</a>
</h5></div></div></div>
<a name="spirit.advanced.customize.iterate.deref_iterator.deref_iterator"></a><h6>
-<a name="id1251886"></a>
+<a name="id1235187"></a>
<a class="link" href="deref_iterator.html#spirit.advanced.customize.iterate.deref_iterator.deref_iterator">deref_iterator</a>
</h6>
<p>
@@ -41,7 +41,7 @@
holding the attributes to generate output from.
</p>
<a name="spirit.advanced.customize.iterate.deref_iterator.module_headers"></a><h6>
-<a name="id1251960"></a>
+<a name="id1235260"></a>
<a class="link" href="deref_iterator.html#spirit.advanced.customize.iterate.deref_iterator.module_headers">Module
Headers</a>
</h6>
@@ -62,7 +62,7 @@
</p></td></tr>
</table></div>
<a name="spirit.advanced.customize.iterate.deref_iterator.namespace"></a><h6>
-<a name="id1252050"></a>
+<a name="id1235350"></a>
<a class="link" href="deref_iterator.html#spirit.advanced.customize.iterate.deref_iterator.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -79,7 +79,7 @@
</td></tr></tbody>
</table></div>
<a name="spirit.advanced.customize.iterate.deref_iterator.synopsis"></a><h6>
-<a name="id1252128"></a>
+<a name="id1235428"></a>
<a class="link" href="deref_iterator.html#spirit.advanced.customize.iterate.deref_iterator.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Iterator</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Enable</span><span class="special">></span>
@@ -90,7 +90,7 @@
<span class="special">};</span>
</pre>
<a name="spirit.advanced.customize.iterate.deref_iterator.template_parameters"></a><h6>
-<a name="id1252260"></a>
+<a name="id1235560"></a>
<a class="link" href="deref_iterator.html#spirit.advanced.customize.iterate.deref_iterator.template_parameters">Template
parameters</a>
</h6>
@@ -160,7 +160,7 @@
</tbody>
</table></div>
<a name="spirit.advanced.customize.iterate.deref_iterator.notation"></a><h6>
-<a name="id1252442"></a>
+<a name="id1235743"></a>
<a class="link" href="deref_iterator.html#spirit.advanced.customize.iterate.deref_iterator.notation">Notation</a>
</h6>
<div class="variablelist">
@@ -182,7 +182,7 @@
</dl>
</div>
<a name="spirit.advanced.customize.iterate.deref_iterator.expression_semantics"></a><h6>
-<a name="id1252536"></a>
+<a name="id1235836"></a>
<a class="link" href="deref_iterator.html#spirit.advanced.customize.iterate.deref_iterator.expression_semantics">Expression
Semantics</a>
</h6>
@@ -234,7 +234,7 @@
</tbody>
</table></div>
<a name="spirit.advanced.customize.iterate.deref_iterator.predefined_specializations"></a><h6>
-<a name="id1252681"></a>
+<a name="id1235982"></a>
<a class="link" href="deref_iterator.html#spirit.advanced.customize.iterate.deref_iterator.predefined_specializations">Predefined
Specializations</a>
</h6>
@@ -294,7 +294,7 @@
</tbody>
</table></div>
<a name="spirit.advanced.customize.iterate.deref_iterator.when_to_implement"></a><h6>
-<a name="id1254133"></a>
+<a name="id1236205"></a>
<a class="link" href="deref_iterator.html#spirit.advanced.customize.iterate.deref_iterator.when_to_implement">When
to implement</a>
</h6>
@@ -310,7 +310,7 @@
(i.e. <code class="computeroutput"><span class="identifier">is_container</span><span class="special"><</span><span class="identifier">C</span><span class="special">>::</span><span class="identifier">type</span></code> would normally return <code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">false_</span></code>).
</p>
<a name="spirit.advanced.customize.iterate.deref_iterator.related_attribute_customization_points"></a><h6>
-<a name="id1254204"></a>
+<a name="id1236276"></a>
<a class="link" href="deref_iterator.html#spirit.advanced.customize.iterate.deref_iterator.related_attribute_customization_points">Related
Attribute Customization Points</a>
</h6>
@@ -442,33 +442,27 @@
</tbody>
</table></div>
<a name="spirit.advanced.customize.iterate.deref_iterator.example"></a><h6>
-<a name="id1254701"></a>
+<a name="id1236772"></a>
<a class="link" href="deref_iterator.html#spirit.advanced.customize.iterate.deref_iterator.example">Example</a>
</h6>
<p>
Here are the header files needed to make the example code below compile:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">karma</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">iostream</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">vector</span><span class="special">></span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
The example (for the full source code please see here: customize_counter.cpp)
uses the data structure
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">client</span>
<span class="special">{</span>
@@ -490,8 +484,6 @@
<span class="special">}</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
as a direct attribute to the <a class="link" href="../../../karma/reference/operator/list.html" title="Lists (a % b)">List
@@ -509,9 +501,7 @@
<a class="link" href="deref_iterator.html" title="Dereference the Iterator pointing into a Container Attribute"><code class="computeroutput"><span class="identifier">deref_iterator</span></code></a>.
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="comment">// All specializations of attribute customization points have to be placed into
</span><span class="comment">// the namespace boost::spirit::traits.
@@ -567,11 +557,9 @@
<span class="special">}}}</span>
</pre>
<p>
- </p>
-<p>
- </p>
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="comment">// All specializations of attribute customization points have to be placed into
</span><span class="comment">// the namespace boost::spirit::traits.
@@ -594,8 +582,6 @@
<span class="special">}}}</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
The last code snippet shows an example using an instance of the data
@@ -603,17 +589,13 @@
<a class="link" href="../../../karma/reference/operator/list.html" title="Lists (a % b)">List (<code class="computeroutput"><span class="special">%</span></code>)</a> generator:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="comment">// use the instance of a 'client::counter' instead of a STL vector
</span><span class="identifier">client</span><span class="special">::</span><span class="identifier">counter</span> <span class="identifier">count</span><span class="special">(</span><span class="number">4</span><span class="special">);</span>
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">karma</span><span class="special">::</span><span class="identifier">format</span><span class="special">(</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">int_</span> <span class="special">%</span> <span class="string">", "</span><span class="special">,</span> <span class="identifier">count</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span> <span class="comment">// prints: '0, 1, 2, 3'
</span></pre>
<p>
- </p>
-<p>
</p>
<p>
As you can see, the specializations for the customization points as defined
Modified: trunk/libs/spirit/doc/html/spirit/advanced/customize/iterate/end_container.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/advanced/customize/iterate/end_container.html (original)
+++ trunk/libs/spirit/doc/html/spirit/advanced/customize/iterate/end_container.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
Get the Iterator pointing to the End of a Container Attribute</a>
</h5></div></div></div>
<a name="spirit.advanced.customize.iterate.end_container.end_container"></a><h6>
-<a name="id1246472"></a>
+<a name="id1227876"></a>
<a class="link" href="end_container.html#spirit.advanced.customize.iterate.end_container.end_container">end_container</a>
</h6>
<p>
@@ -41,7 +41,7 @@
the attributes to generate output from.
</p>
<a name="spirit.advanced.customize.iterate.end_container.module_headers"></a><h6>
-<a name="id1246546"></a>
+<a name="id1227949"></a>
<a class="link" href="end_container.html#spirit.advanced.customize.iterate.end_container.module_headers">Module
Headers</a>
</h6>
@@ -62,7 +62,7 @@
</p></td></tr>
</table></div>
<a name="spirit.advanced.customize.iterate.end_container.namespace"></a><h6>
-<a name="id1246636"></a>
+<a name="id1228039"></a>
<a class="link" href="end_container.html#spirit.advanced.customize.iterate.end_container.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -79,7 +79,7 @@
</td></tr></tbody>
</table></div>
<a name="spirit.advanced.customize.iterate.end_container.synopsis"></a><h6>
-<a name="id1246714"></a>
+<a name="id1228117"></a>
<a class="link" href="end_container.html#spirit.advanced.customize.iterate.end_container.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Container</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Enable</span><span class="special">></span>
@@ -90,7 +90,7 @@
<span class="special">};</span>
</pre>
<a name="spirit.advanced.customize.iterate.end_container.template_parameters"></a><h6>
-<a name="id1246840"></a>
+<a name="id1228243"></a>
<a class="link" href="end_container.html#spirit.advanced.customize.iterate.end_container.template_parameters">Template
parameters</a>
</h6>
@@ -160,7 +160,7 @@
</tbody>
</table></div>
<a name="spirit.advanced.customize.iterate.end_container.notation"></a><h6>
-<a name="id1247012"></a>
+<a name="id1228416"></a>
<a class="link" href="end_container.html#spirit.advanced.customize.iterate.end_container.notation">Notation</a>
</h6>
<div class="variablelist">
@@ -177,7 +177,7 @@
</dl>
</div>
<a name="spirit.advanced.customize.iterate.end_container.expression_semantics"></a><h6>
-<a name="id1247080"></a>
+<a name="id1228483"></a>
<a class="link" href="end_container.html#spirit.advanced.customize.iterate.end_container.expression_semantics">Expression
Semantics</a>
</h6>
@@ -216,7 +216,7 @@
</tr></tbody>
</table></div>
<a name="spirit.advanced.customize.iterate.end_container.predefined_specializations"></a><h6>
-<a name="id1247195"></a>
+<a name="id1229281"></a>
<a class="link" href="end_container.html#spirit.advanced.customize.iterate.end_container.predefined_specializations">Predefined
Specializations</a>
</h6>
@@ -283,7 +283,7 @@
</tbody>
</table></div>
<a name="spirit.advanced.customize.iterate.end_container.when_to_implement"></a><h6>
-<a name="id1247387"></a>
+<a name="id1229473"></a>
<a class="link" href="end_container.html#spirit.advanced.customize.iterate.end_container.when_to_implement">When
to implement</a>
</h6>
@@ -298,7 +298,7 @@
would normally return <code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">false_</span></code>).
</p>
<a name="spirit.advanced.customize.iterate.end_container.related_attribute_customization_points"></a><h6>
-<a name="id1247458"></a>
+<a name="id1229544"></a>
<a class="link" href="end_container.html#spirit.advanced.customize.iterate.end_container.related_attribute_customization_points">Related
Attribute Customization Points</a>
</h6>
@@ -430,7 +430,7 @@
</tbody>
</table></div>
<a name="spirit.advanced.customize.iterate.end_container.example"></a><h6>
-<a name="id1247952"></a>
+<a name="id1230038"></a>
<a class="link" href="end_container.html#spirit.advanced.customize.iterate.end_container.example">Example</a>
</h6>
<p>
Modified: trunk/libs/spirit/doc/html/spirit/advanced/customize/iterate/next_iterator.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/advanced/customize/iterate/next_iterator.html (original)
+++ trunk/libs/spirit/doc/html/spirit/advanced/customize/iterate/next_iterator.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
Increment the Iterator pointing into a Container Attribute</a>
</h5></div></div></div>
<a name="spirit.advanced.customize.iterate.next_iterator.next_iterator"></a><h6>
-<a name="id1248008"></a>
+<a name="id1230095"></a>
<a class="link" href="next_iterator.html#spirit.advanced.customize.iterate.next_iterator.next_iterator">next_iterator</a>
</h6>
<p>
@@ -41,7 +41,7 @@
holding the attributes to generate output from.
</p>
<a name="spirit.advanced.customize.iterate.next_iterator.module_headers"></a><h6>
-<a name="id1248082"></a>
+<a name="id1230168"></a>
<a class="link" href="next_iterator.html#spirit.advanced.customize.iterate.next_iterator.module_headers">Module
Headers</a>
</h6>
@@ -62,7 +62,7 @@
</p></td></tr>
</table></div>
<a name="spirit.advanced.customize.iterate.next_iterator.namespace"></a><h6>
-<a name="id1248172"></a>
+<a name="id1230258"></a>
<a class="link" href="next_iterator.html#spirit.advanced.customize.iterate.next_iterator.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -79,7 +79,7 @@
</td></tr></tbody>
</table></div>
<a name="spirit.advanced.customize.iterate.next_iterator.synopsis"></a><h6>
-<a name="id1248250"></a>
+<a name="id1230336"></a>
<a class="link" href="next_iterator.html#spirit.advanced.customize.iterate.next_iterator.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Iterator</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Enable</span><span class="special">></span>
@@ -89,7 +89,7 @@
<span class="special">};</span>
</pre>
<a name="spirit.advanced.customize.iterate.next_iterator.template_parameters"></a><h6>
-<a name="id1248494"></a>
+<a name="id1230443"></a>
<a class="link" href="next_iterator.html#spirit.advanced.customize.iterate.next_iterator.template_parameters">Template
parameters</a>
</h6>
@@ -159,7 +159,7 @@
</tbody>
</table></div>
<a name="spirit.advanced.customize.iterate.next_iterator.notation"></a><h6>
-<a name="id1248676"></a>
+<a name="id1230625"></a>
<a class="link" href="next_iterator.html#spirit.advanced.customize.iterate.next_iterator.notation">Notation</a>
</h6>
<div class="variablelist">
@@ -181,7 +181,7 @@
</dl>
</div>
<a name="spirit.advanced.customize.iterate.next_iterator.expression_semantics"></a><h6>
-<a name="id1248770"></a>
+<a name="id1230719"></a>
<a class="link" href="next_iterator.html#spirit.advanced.customize.iterate.next_iterator.expression_semantics">Expression
Semantics</a>
</h6>
@@ -217,7 +217,7 @@
</tr></tbody>
</table></div>
<a name="spirit.advanced.customize.iterate.next_iterator.predefined_specializations"></a><h6>
-<a name="id1248868"></a>
+<a name="id1230817"></a>
<a class="link" href="next_iterator.html#spirit.advanced.customize.iterate.next_iterator.predefined_specializations">Predefined
Specializations</a>
</h6>
@@ -273,7 +273,7 @@
</tbody>
</table></div>
<a name="spirit.advanced.customize.iterate.next_iterator.when_to_implement"></a><h6>
-<a name="id1249006"></a>
+<a name="id1230955"></a>
<a class="link" href="next_iterator.html#spirit.advanced.customize.iterate.next_iterator.when_to_implement">When
to implement</a>
</h6>
@@ -289,7 +289,7 @@
(i.e. <code class="computeroutput"><span class="identifier">is_container</span><span class="special"><</span><span class="identifier">C</span><span class="special">>::</span><span class="identifier">type</span></code> would normally return <code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">false_</span></code>).
</p>
<a name="spirit.advanced.customize.iterate.next_iterator.related_attribute_customization_points"></a><h6>
-<a name="id1249077"></a>
+<a name="id1231026"></a>
<a class="link" href="next_iterator.html#spirit.advanced.customize.iterate.next_iterator.related_attribute_customization_points">Related
Attribute Customization Points</a>
</h6>
@@ -421,16 +421,14 @@
</tbody>
</table></div>
<a name="spirit.advanced.customize.iterate.next_iterator.example"></a><h6>
-<a name="id1249571"></a>
+<a name="id1232750"></a>
<a class="link" href="next_iterator.html#spirit.advanced.customize.iterate.next_iterator.example">Example</a>
</h6>
<p>
Here are the header files needed to make the example code below compile:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">karma</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">iostream</span><span class="special">></span>
@@ -438,17 +436,13 @@
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">vector</span><span class="special">></span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
The example (for the full source code please see here: customize_use_as_container.cpp)
uses the data structure
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">client</span>
<span class="special">{</span>
@@ -484,8 +478,6 @@
<span class="special">}</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
as a direct attribute to the <a class="link" href="../../../karma/reference/operator/list.html" title="Lists (a % b)">List
@@ -504,9 +496,7 @@
<a class="link" href="deref_iterator.html" title="Dereference the Iterator pointing into a Container Attribute"><code class="computeroutput"><span class="identifier">deref_iterator</span></code></a>, <a class="link" href="next_iterator.html" title="Increment the Iterator pointing into a Container Attribute"><code class="computeroutput"><span class="identifier">next_iterator</span></code></a>, and <a class="link" href="compare_iterators.html" title="Compare two Iterator pointing into a Container Attribute for Equality"><code class="computeroutput"><span class="identifier">compare_iterators</span></code></a>.
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="comment">// All specializations of attribute customization points have to be placed into
</span><span class="comment">// the namespace boost::spirit::traits.
@@ -561,11 +551,9 @@
<span class="special">}}}</span>
</pre>
<p>
- </p>
-<p>
- </p>
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="comment">// All specializations of attribute customization points have to be placed into
</span><span class="comment">// the namespace boost::spirit::traits.
@@ -611,8 +599,6 @@
<span class="special">}}}</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
The last code snippet shows an example using an instance of the data
@@ -620,17 +606,13 @@
from a <a class="link" href="../../../karma/reference/operator/list.html" title="Lists (a % b)">List (<code class="computeroutput"><span class="special">%</span></code>)</a> generator:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">client</span><span class="special">::</span><span class="identifier">use_as_container</span> <span class="identifier">d2</span> <span class="special">(</span><span class="number">1</span><span class="special">,</span> <span class="number">2</span><span class="special">,</span> <span class="number">3</span><span class="special">);</span>
<span class="comment">// use the instance of a 'client::use_as_container' instead of a STL vector
</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">karma</span><span class="special">::</span><span class="identifier">format</span><span class="special">(</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">int_</span> <span class="special">%</span> <span class="string">", "</span><span class="special">,</span> <span class="identifier">d2</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span> <span class="comment">// prints: '1, 2, 3'
</span></pre>
<p>
- </p>
-<p>
</p>
<p>
As you can see, the specializations for the customization points as defined
Modified: trunk/libs/spirit/doc/html/spirit/advanced/customize/store_value/container_value.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/advanced/customize/store_value/container_value.html (original)
+++ trunk/libs/spirit/doc/html/spirit/advanced/customize/store_value/container_value.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
Determine the Type to be Stored in a Container (Qi)</a>
</h5></div></div></div>
<a name="spirit.advanced.customize.store_value.container_value.container_value"></a><h6>
-<a name="id1231698"></a>
+<a name="id1214741"></a>
<a class="link" href="container_value.html#spirit.advanced.customize.store_value.container_value.container_value">container_value</a>
</h6>
<p>
@@ -39,7 +39,7 @@
the type to store in a container.
</p>
<a name="spirit.advanced.customize.store_value.container_value.module_headers"></a><h6>
-<a name="id1231745"></a>
+<a name="id1214788"></a>
<a class="link" href="container_value.html#spirit.advanced.customize.store_value.container_value.module_headers">Module
Headers</a>
</h6>
@@ -60,7 +60,7 @@
</p></td></tr>
</table></div>
<a name="spirit.advanced.customize.store_value.container_value.namespace"></a><h6>
-<a name="id1231832"></a>
+<a name="id1214875"></a>
<a class="link" href="container_value.html#spirit.advanced.customize.store_value.container_value.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -77,7 +77,7 @@
</td></tr></tbody>
</table></div>
<a name="spirit.advanced.customize.store_value.container_value.synopsis"></a><h6>
-<a name="id1231910"></a>
+<a name="id1214953"></a>
<a class="link" href="container_value.html#spirit.advanced.customize.store_value.container_value.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Container</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Enable</span><span class="special">></span>
@@ -87,7 +87,7 @@
<span class="special">};</span>
</pre>
<a name="spirit.advanced.customize.store_value.container_value.template_parameters"></a><h6>
-<a name="id1232009"></a>
+<a name="id1215052"></a>
<a class="link" href="container_value.html#spirit.advanced.customize.store_value.container_value.template_parameters">Template
parameters</a>
</h6>
@@ -156,7 +156,7 @@
</tbody>
</table></div>
<a name="spirit.advanced.customize.store_value.container_value.notation"></a><h6>
-<a name="id1232182"></a>
+<a name="id1215224"></a>
<a class="link" href="container_value.html#spirit.advanced.customize.store_value.container_value.notation">Notation</a>
</h6>
<div class="variablelist">
@@ -173,7 +173,7 @@
</dl>
</div>
<a name="spirit.advanced.customize.store_value.container_value.expression_semantics"></a><h6>
-<a name="id1232250"></a>
+<a name="id1215293"></a>
<a class="link" href="container_value.html#spirit.advanced.customize.store_value.container_value.expression_semantics">Expression
Semantics</a>
</h6>
@@ -209,7 +209,7 @@
</tr></tbody>
</table></div>
<a name="spirit.advanced.customize.store_value.container_value.predefined_specializations"></a><h6>
-<a name="id1232345"></a>
+<a name="id1215388"></a>
<a class="link" href="container_value.html#spirit.advanced.customize.store_value.container_value.predefined_specializations">Predefined
Specializations</a>
</h6>
@@ -296,7 +296,7 @@
</tbody>
</table></div>
<a name="spirit.advanced.customize.store_value.container_value.when_to_implement"></a><h6>
-<a name="id1232682"></a>
+<a name="id1215725"></a>
<a class="link" href="container_value.html#spirit.advanced.customize.store_value.container_value.when_to_implement">When
to implement</a>
</h6>
@@ -318,7 +318,7 @@
stands for any meaningful operation on the component <code class="computeroutput"><span class="identifier">a</span></code>.
</p>
<a name="spirit.advanced.customize.store_value.container_value.related_attribute_customization_points"></a><h6>
-<a name="id1232936"></a>
+<a name="id1215841"></a>
<a class="link" href="container_value.html#spirit.advanced.customize.store_value.container_value.related_attribute_customization_points">Related
Attribute Customization Points</a>
</h6>
@@ -377,7 +377,7 @@
</tbody>
</table></div>
<a name="spirit.advanced.customize.store_value.container_value.example"></a><h6>
-<a name="id1233084"></a>
+<a name="id1215990"></a>
<a class="link" href="container_value.html#spirit.advanced.customize.store_value.container_value.example">Example</a>
</h6>
<p>
@@ -385,9 +385,7 @@
point provided by the library:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Container</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Enable</span><span class="comment">/* = void*/</span><span class="special">></span>
<span class="keyword">struct</span> <span class="identifier">container_value</span>
@@ -395,8 +393,6 @@
<span class="special">{};</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
This template is instantiated by the library at the appropriate places
@@ -409,9 +405,7 @@
The following example shows the predefined specialization for <code class="computeroutput"><span class="identifier">unused_type</span></code>:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><></span>
<span class="keyword">struct</span> <span class="identifier">container_value</span><span class="special"><</span><span class="identifier">unused_type</span><span class="special">></span>
@@ -420,8 +414,6 @@
<span class="special">};</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
which defines its embedded <code class="computeroutput"><span class="identifier">type</span></code>
Modified: trunk/libs/spirit/doc/html/spirit/advanced/customize/store_value/push_back.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/advanced/customize/store_value/push_back.html (original)
+++ trunk/libs/spirit/doc/html/spirit/advanced/customize/store_value/push_back.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
Store a Parsed Attribute Value into a Container (Qi)</a>
</h5></div></div></div>
<a name="spirit.advanced.customize.store_value.push_back.push_back_container"></a><h6>
-<a name="id1233340"></a>
+<a name="id1216238"></a>
<a class="link" href="push_back.html#spirit.advanced.customize.store_value.push_back.push_back_container">push_back_container</a>
</h6>
<p>
@@ -39,7 +39,7 @@
to store a parsed attribute value into a container.
</p>
<a name="spirit.advanced.customize.store_value.push_back.module_headers"></a><h6>
-<a name="id1233389"></a>
+<a name="id1216288"></a>
<a class="link" href="push_back.html#spirit.advanced.customize.store_value.push_back.module_headers">Module
Headers</a>
</h6>
@@ -60,7 +60,7 @@
</p></td></tr>
</table></div>
<a name="spirit.advanced.customize.store_value.push_back.namespace"></a><h6>
-<a name="id1233479"></a>
+<a name="id1216378"></a>
<a class="link" href="push_back.html#spirit.advanced.customize.store_value.push_back.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -77,7 +77,7 @@
</td></tr></tbody>
</table></div>
<a name="spirit.advanced.customize.store_value.push_back.synopsis"></a><h6>
-<a name="id1233557"></a>
+<a name="id1216456"></a>
<a class="link" href="push_back.html#spirit.advanced.customize.store_value.push_back.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Container</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Attrib</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Enable</span><span class="special">></span>
@@ -87,7 +87,7 @@
<span class="special">};</span>
</pre>
<a name="spirit.advanced.customize.store_value.push_back.template_parameters"></a><h6>
-<a name="id1233699"></a>
+<a name="id1216597"></a>
<a class="link" href="push_back.html#spirit.advanced.customize.store_value.push_back.template_parameters">Template
parameters</a>
</h6>
@@ -176,7 +176,7 @@
</tbody>
</table></div>
<a name="spirit.advanced.customize.store_value.push_back.notation"></a><h6>
-<a name="id1233928"></a>
+<a name="id1217510"></a>
<a class="link" href="push_back.html#spirit.advanced.customize.store_value.push_back.notation">Notation</a>
</h6>
<div class="variablelist">
@@ -209,7 +209,7 @@
</dl>
</div>
<a name="spirit.advanced.customize.store_value.push_back.expression_semantics"></a><h6>
-<a name="id1234071"></a>
+<a name="id1217652"></a>
<a class="link" href="push_back.html#spirit.advanced.customize.store_value.push_back.expression_semantics">Expression
Semantics</a>
</h6>
@@ -253,7 +253,7 @@
</tr></tbody>
</table></div>
<a name="spirit.advanced.customize.store_value.push_back.predefined_specializations"></a><h6>
-<a name="id1234222"></a>
+<a name="id1217804"></a>
<a class="link" href="push_back.html#spirit.advanced.customize.store_value.push_back.predefined_specializations">Predefined
Specializations</a>
</h6>
@@ -347,7 +347,7 @@
</tbody>
</table></div>
<a name="spirit.advanced.customize.store_value.push_back.when_to_implement"></a><h6>
-<a name="id1234636"></a>
+<a name="id1218218"></a>
<a class="link" href="push_back.html#spirit.advanced.customize.store_value.push_back.when_to_implement">When
to Implement</a>
</h6>
@@ -369,7 +369,7 @@
stands for any meaningful operation on the component <code class="computeroutput"><span class="identifier">a</span></code>.
</p>
<a name="spirit.advanced.customize.store_value.push_back.related_attribute_customization_points"></a><h6>
-<a name="id1234786"></a>
+<a name="id1218368"></a>
<a class="link" href="push_back.html#spirit.advanced.customize.store_value.push_back.related_attribute_customization_points">Related
Attribute Customization Points</a>
</h6>
@@ -428,7 +428,7 @@
</tbody>
</table></div>
<a name="spirit.advanced.customize.store_value.push_back.example"></a><h6>
-<a name="id1234932"></a>
+<a name="id1218514"></a>
<a class="link" href="push_back.html#spirit.advanced.customize.store_value.push_back.example">Example</a>
</h6>
<p>
@@ -436,9 +436,7 @@
point provided by the library:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Container</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Enable</span><span class="comment">/* = void*/</span><span class="special">></span>
<span class="keyword">struct</span> <span class="identifier">push_back_container</span>
@@ -451,8 +449,6 @@
<span class="special">};</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
This template is instantiated by the library at the appropriate places
@@ -464,9 +460,7 @@
The following example shows the predefined specialization for <code class="computeroutput"><span class="identifier">unused_type</span></code>:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Container</span><span class="special">></span>
<span class="keyword">bool</span> <span class="identifier">push_back</span><span class="special">(</span><span class="identifier">Container</span><span class="special">&,</span> <span class="identifier">unused_type</span><span class="special">)</span>
@@ -475,8 +469,6 @@
<span class="special">}</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
which defines an empty member function <code class="computeroutput"><span class="identifier">call</span><span class="special">()</span></code>.
Modified: trunk/libs/spirit/doc/html/spirit/advanced/customize/transform.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/advanced/customize/transform.html (original)
+++ trunk/libs/spirit/doc/html/spirit/advanced/customize/transform.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
Attribute to a Different Type (Qi and Karma)</a>
</h4></div></div></div>
<a name="spirit.advanced.customize.transform.transform_attribute"></a><h6>
-<a name="id1220741"></a>
+<a name="id1204672"></a>
<a class="link" href="transform.html#spirit.advanced.customize.transform.transform_attribute">transform_attribute</a>
</h6>
<p>
@@ -55,7 +55,7 @@
</p></td></tr>
</table></div>
<a name="spirit.advanced.customize.transform.module_headers"></a><h6>
-<a name="id1220840"></a>
+<a name="id1204770"></a>
<a class="link" href="transform.html#spirit.advanced.customize.transform.module_headers">Module
Headers</a>
</h6>
@@ -76,7 +76,7 @@
</p></td></tr>
</table></div>
<a name="spirit.advanced.customize.transform.namespace"></a><h6>
-<a name="id1220925"></a>
+<a name="id1204855"></a>
<a class="link" href="transform.html#spirit.advanced.customize.transform.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -93,7 +93,7 @@
</td></tr></tbody>
</table></div>
<a name="spirit.advanced.customize.transform.synopsis"></a><h6>
-<a name="id1220998"></a>
+<a name="id1204928"></a>
<a class="link" href="transform.html#spirit.advanced.customize.transform.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Exposed</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Transformed</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Domain</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Enable</span><span class="special">></span>
@@ -106,7 +106,7 @@
</span><span class="special">};</span>
</pre>
<a name="spirit.advanced.customize.transform.template_parameters"></a><h6>
-<a name="id1221235"></a>
+<a name="id1205165"></a>
<a class="link" href="transform.html#spirit.advanced.customize.transform.template_parameters">Template
parameters</a>
</h6>
@@ -212,7 +212,7 @@
</tbody>
</table></div>
<a name="spirit.advanced.customize.transform.notation"></a><h6>
-<a name="id1221491"></a>
+<a name="id1205422"></a>
<a class="link" href="transform.html#spirit.advanced.customize.transform.notation">Notation</a>
</h6>
<div class="variablelist">
@@ -247,7 +247,7 @@
</dl>
</div>
<a name="spirit.advanced.customize.transform.expression_semantics"></a><h6>
-<a name="id1221682"></a>
+<a name="id1205612"></a>
<a class="link" href="transform.html#spirit.advanced.customize.transform.expression_semantics">Expression
Semantics</a>
</h6>
@@ -351,7 +351,7 @@
</tbody>
</table></div>
<a name="spirit.advanced.customize.transform.predefined_specializations"></a><h6>
-<a name="id1226097"></a>
+<a name="id1206067"></a>
<a class="link" href="transform.html#spirit.advanced.customize.transform.predefined_specializations">Predefined
Specializations</a>
</h6>
@@ -533,7 +533,7 @@
</tbody>
</table></div>
<a name="spirit.advanced.customize.transform.when_to_implement"></a><h6>
-<a name="id1226986"></a>
+<a name="id1208595"></a>
<a class="link" href="transform.html#spirit.advanced.customize.transform.when_to_implement">When
to implement</a>
</h6>
@@ -550,7 +550,7 @@
is not constructible from the type <code class="computeroutput"><span class="identifier">Exposed</span></code>.
</p>
<a name="spirit.advanced.customize.transform.example"></a><h6>
-<a name="id1227053"></a>
+<a name="id1208662"></a>
<a class="link" href="transform.html#spirit.advanced.customize.transform.example">Example</a>
</h6>
<p>
Modified: trunk/libs/spirit/doc/html/spirit/advanced/indepth/parsers_indepth.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/advanced/indepth/parsers_indepth.html (original)
+++ trunk/libs/spirit/doc/html/spirit/advanced/indepth/parsers_indepth.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -40,9 +40,7 @@
class for all parsers.
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Derived</span><span class="special">></span>
<span class="keyword">struct</span> <span class="identifier">parser</span>
@@ -77,8 +75,6 @@
<span class="special">};</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
The <code class="computeroutput"><a class="link" href="../../qi/reference/parser_concepts/parser.html" title="Parser"><code class="computeroutput"><span class="identifier">Parser</span></code></a></code> class does not really
@@ -132,22 +128,22 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- The parser returns <code class="computeroutput"><span class="keyword">true</span></code>
- if successful, <code class="computeroutput"><span class="keyword">false</span></code> otherwise.
- </li>
-<li class="listitem">
- If successful, <code class="computeroutput"><span class="identifier">first</span></code>
- is incremented N number of times, where N is the number of characters
- parsed. N can be zero --an empty (epsilon) match.
- </li>
-<li class="listitem">
- If successful, the parsed attribute is assigned to <span class="emphasis"><em>attr</em></span>
-</li>
-<li class="listitem">
- If unsuccessful, <code class="computeroutput"><span class="identifier">first</span></code>
- is reset to its position before entering the parser function. <span class="emphasis"><em>attr</em></span>
- is untouched.
- </li>
+ The parser returns <code class="computeroutput"><span class="keyword">true</span></code>
+ if successful, <code class="computeroutput"><span class="keyword">false</span></code> otherwise.
+ </li>
+<li class="listitem">
+ If successful, <code class="computeroutput"><span class="identifier">first</span></code>
+ is incremented N number of times, where N is the number of characters
+ parsed. N can be zero --an empty (epsilon) match.
+ </li>
+<li class="listitem">
+ If successful, the parsed attribute is assigned to <span class="emphasis"><em>attr</em></span>
+ </li>
+<li class="listitem">
+ If unsuccessful, <code class="computeroutput"><span class="identifier">first</span></code>
+ is reset to its position before entering the parser function. <span class="emphasis"><em>attr</em></span>
+ is untouched.
+ </li>
</ul></div>
<div class="variablelist">
<p class="title"><b>void what(context)</b></p>
@@ -197,7 +193,7 @@
</dl>
</div>
<a name="spirit.advanced.indepth.parsers_indepth.primitive_parsers"></a><h6>
-<a name="id1213305"></a>
+<a name="id1196708"></a>
<a class="link" href="parsers_indepth.html#spirit.advanced.indepth.parsers_indepth.primitive_parsers">Primitive
Parsers</a>
</h6>
@@ -207,9 +203,7 @@
in the boost::spirit::qi namespace.
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span>
<span class="keyword">typename</span> <span class="identifier">T</span>
@@ -249,8 +243,6 @@
<span class="special">};</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
The <code class="computeroutput"><span class="identifier">int_parser</span></code> is derived
@@ -260,15 +252,15 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- The <code class="computeroutput"><span class="identifier">parse</span></code> member function
- </li>
+ The <code class="computeroutput"><span class="identifier">parse</span></code> member function
+ </li>
<li class="listitem">
- The <code class="computeroutput"><span class="identifier">what</span></code> member function
- </li>
+ The <code class="computeroutput"><span class="identifier">what</span></code> member function
+ </li>
<li class="listitem">
- The nested <code class="computeroutput"><span class="identifier">attribute</span></code>
- metafunction
- </li>
+ The nested <code class="computeroutput"><span class="identifier">attribute</span></code>
+ metafunction
+ </li>
</ul></div>
<p>
<span class="emphasis"><em>parse</em></span> is the main entry point. For primitive parsers,
@@ -304,50 +296,40 @@
first, we enable these placeholders in namespace boost::spirit:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><></span>
<span class="keyword">struct</span> <span class="identifier">use_terminal</span><span class="special"><</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">domain</span><span class="special">,</span> <span class="identifier">tag</span><span class="special">::</span><span class="identifier">short_</span><span class="special">></span> <span class="comment">// enables short_
</span> <span class="special">:</span> <span class="identifier">mpl</span><span class="special">::</span><span class="identifier">true_</span> <span class="special">{};</span>
</pre>
<p>
- </p>
-<p>
- </p>
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><></span>
<span class="keyword">struct</span> <span class="identifier">use_terminal</span><span class="special"><</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">domain</span><span class="special">,</span> <span class="identifier">tag</span><span class="special">::</span><span class="identifier">int_</span><span class="special">></span> <span class="comment">// enables int_
</span> <span class="special">:</span> <span class="identifier">mpl</span><span class="special">::</span><span class="identifier">true_</span> <span class="special">{};</span>
</pre>
<p>
- </p>
-<p>
- </p>
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><></span>
<span class="keyword">struct</span> <span class="identifier">use_terminal</span><span class="special"><</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">domain</span><span class="special">,</span> <span class="identifier">tag</span><span class="special">::</span><span class="identifier">long_</span><span class="special">></span> <span class="comment">// enables long_
</span> <span class="special">:</span> <span class="identifier">mpl</span><span class="special">::</span><span class="identifier">true_</span> <span class="special">{};</span>
</pre>
<p>
- </p>
-<p>
- </p>
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><></span>
<span class="keyword">struct</span> <span class="identifier">use_terminal</span><span class="special"><</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">domain</span><span class="special">,</span> <span class="identifier">tag</span><span class="special">::</span><span class="identifier">long_long</span><span class="special">></span> <span class="comment">// enables long_long
</span> <span class="special">:</span> <span class="identifier">mpl</span><span class="special">::</span><span class="identifier">true_</span> <span class="special">{};</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Notice that <code class="computeroutput"><span class="identifier">int_parser</span></code>
@@ -365,9 +347,7 @@
The make_xxx stuff (in boost::spirit::qi namespace):
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span>
<span class="keyword">struct</span> <span class="identifier">make_int</span>
@@ -380,8 +360,6 @@
<span class="special">};</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
This one above is our main generator. It's a simple function object with
@@ -389,60 +367,52 @@
</p>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem">
- The actual terminal value obtained by proto. In this case, either a short<span class="underline">, int</span>, long_ or long_long. We don't care
- about this.
- </li>
-<li class="listitem">
- Modifiers. We also don't care about this. This allows directives such
- as <code class="computeroutput"><span class="identifier">no_case</span><span class="special">[</span><span class="identifier">p</span><span class="special">]</span></code>
- to pass information to inner parser nodes. We'll see how that works later.
- </li>
+ The actual terminal value obtained by proto. In this case, either a
+ short<span class="underline">, int</span>, long_ or long_long.
+ We don't care about this.
+ </li>
+<li class="listitem">
+ Modifiers. We also don't care about this. This allows directives such
+ as <code class="computeroutput"><span class="identifier">no_case</span><span class="special">[</span><span class="identifier">p</span><span class="special">]</span></code>
+ to pass information to inner parser nodes. We'll see how that works
+ later.
+ </li>
</ol></div>
<p>
Now:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Modifiers</span><span class="special">></span>
<span class="keyword">struct</span> <span class="identifier">make_primitive</span><span class="special"><</span><span class="identifier">tag</span><span class="special">::</span><span class="identifier">short_</span><span class="special">,</span> <span class="identifier">Modifiers</span><span class="special">></span> <span class="special">:</span> <span class="identifier">make_int</span><span class="special"><</span><span class="keyword">short</span><span class="special">></span> <span class="special">{};</span>
</pre>
<p>
- </p>
-<p>
- </p>
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Modifiers</span><span class="special">></span>
<span class="keyword">struct</span> <span class="identifier">make_primitive</span><span class="special"><</span><span class="identifier">tag</span><span class="special">::</span><span class="identifier">int_</span><span class="special">,</span> <span class="identifier">Modifiers</span><span class="special">></span> <span class="special">:</span> <span class="identifier">make_int</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="special">{};</span>
</pre>
<p>
- </p>
-<p>
- </p>
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Modifiers</span><span class="special">></span>
<span class="keyword">struct</span> <span class="identifier">make_primitive</span><span class="special"><</span><span class="identifier">tag</span><span class="special">::</span><span class="identifier">long_</span><span class="special">,</span> <span class="identifier">Modifiers</span><span class="special">></span> <span class="special">:</span> <span class="identifier">make_int</span><span class="special"><</span><span class="keyword">long</span><span class="special">></span> <span class="special">{};</span>
</pre>
<p>
- </p>
-<p>
- </p>
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Modifiers</span><span class="special">></span>
<span class="keyword">struct</span> <span class="identifier">make_primitive</span><span class="special"><</span><span class="identifier">tag</span><span class="special">::</span><span class="identifier">long_long</span><span class="special">,</span> <span class="identifier">Modifiers</span><span class="special">></span>
<span class="special">:</span> <span class="identifier">make_int</span><span class="special"><</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">long_long_type</span><span class="special">></span> <span class="special">{};</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
These, specialize <code class="computeroutput"><span class="identifier">qi</span><span class="special">:</span><span class="identifier">make_primitive</span></code> for specific tags. They
@@ -450,7 +420,7 @@
which does the actual work.
</p>
<a name="spirit.advanced.indepth.parsers_indepth.composite_parsers"></a><h6>
-<a name="id1215474"></a>
+<a name="id1198813"></a>
<a class="link" href="parsers_indepth.html#spirit.advanced.indepth.parsers_indepth.composite_parsers">Composite
Parsers</a>
</h6>
@@ -458,9 +428,7 @@
Let me present the kleene star (also in namespace spirit::qi):
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Subject</span><span class="special">></span>
<span class="keyword">struct</span> <span class="identifier">kleene</span> <span class="special">:</span> <span class="identifier">unary_parser</span><span class="special"><</span><span class="identifier">kleene</span><span class="special"><</span><span class="identifier">Subject</span><span class="special">></span> <span class="special">></span>
@@ -516,8 +484,6 @@
<span class="special">};</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Looks similar in form to its primitive cousin, the <code class="computeroutput"><span class="identifier">int_parser</span></code>.
@@ -525,14 +491,14 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- The nested attribute metafunction
- </li>
+ The nested attribute metafunction
+ </li>
<li class="listitem">
- The parse member function
- </li>
+ The parse member function
+ </li>
<li class="listitem">
- The what member function
- </li>
+ The what member function
+ </li>
</ul></div>
<p>
kleene is a composite parser. It is a parser that composes another parser,
@@ -545,12 +511,12 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- p.subject -> subject parser ( <span class="emphasis"><em>p</em></span> is a <a class="link" href="../../qi/reference/parser_concepts/unaryparser.html" title="UnaryParser"><code class="computeroutput"><span class="identifier">UnaryParser</span></code></a> parser.)
- </li>
+ p.subject -> subject parser ( <span class="emphasis"><em>p</em></span> is a <a class="link" href="../../qi/reference/parser_concepts/unaryparser.html" title="UnaryParser"><code class="computeroutput"><span class="identifier">UnaryParser</span></code></a> parser.)
+ </li>
<li class="listitem">
- P::subject_type -> subject parser type ( <span class="emphasis"><em>P</em></span> is
- a <a class="link" href="../../qi/reference/parser_concepts/unaryparser.html" title="UnaryParser"><code class="computeroutput"><span class="identifier">UnaryParser</span></code></a> type.)
- </li>
+ P::subject_type -> subject parser type ( <span class="emphasis"><em>P</em></span>
+ is a <a class="link" href="../../qi/reference/parser_concepts/unaryparser.html" title="UnaryParser"><code class="computeroutput"><span class="identifier">UnaryParser</span></code></a> type.)
+ </li>
</ul></div>
<p>
<span class="emphasis"><em>parse</em></span> is the main parser entry point. Since this is
@@ -650,17 +616,13 @@
First, we enable the prefix star operator. In proto, it's called the "dereference":
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><></span>
<span class="keyword">struct</span> <span class="identifier">use_operator</span><span class="special"><</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">domain</span><span class="special">,</span> <span class="identifier">proto</span><span class="special">::</span><span class="identifier">tag</span><span class="special">::</span><span class="identifier">dereference</span><span class="special">></span> <span class="comment">// enables *p
</span> <span class="special">:</span> <span class="identifier">mpl</span><span class="special">::</span><span class="identifier">true_</span> <span class="special">{};</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
This is done in namespace <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span></code>
@@ -673,9 +635,7 @@
Then, we need to write our generator (in namespace qi):
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Elements</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Modifiers</span><span class="special">></span>
<span class="keyword">struct</span> <span class="identifier">make_composite</span><span class="special"><</span><span class="identifier">proto</span><span class="special">::</span><span class="identifier">tag</span><span class="special">::</span><span class="identifier">dereference</span><span class="special">,</span> <span class="identifier">Elements</span><span class="special">,</span> <span class="identifier">Modifiers</span><span class="special">></span>
@@ -683,8 +643,6 @@
<span class="special">{};</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
This essentially says; for all expressions of the form: <code class="computeroutput"><span class="special">*</span><span class="identifier">p</span></code>, to build a kleene parser. Elements
Modified: trunk/libs/spirit/doc/html/spirit/faq.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/faq.html (original)
+++ trunk/libs/spirit/doc/html/spirit/faq.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -27,7 +27,7 @@
<a name="spirit.faq"></a><a class="link" href="faq.html" title="Spirit FAQ"> Spirit FAQ</a>
</h2></div></div></div>
<a name="spirit.faq.i_m_getting_multiple_symbol_definition_errors_while_using_visual_c____anything_i_could_do_about_that_"></a><h4>
-<a name="id1270412"></a>
+<a name="id1252821"></a>
<a class="link" href="faq.html#spirit.faq.i_m_getting_multiple_symbol_definition_errors_while_using_visual_c____anything_i_could_do_about_that_">I'm
getting multiple symbol definition errors while using Visual C++. Anything
I could do about that?</a>
@@ -63,7 +63,7 @@
while using this workaround is less verbose error messages generated from static_assert.
</p>
<a name="spirit.faq.i_m_very_confused_about_the_header_hell_in_my_boost_spirit_directory__what_s_all_this_about_"></a><h4>
-<a name="id1270582"></a>
+<a name="id1252992"></a>
<a class="link" href="faq.html#spirit.faq.i_m_very_confused_about_the_header_hell_in_my_boost_spirit_directory__what_s_all_this_about_">I'm
very confused about the header hell in my boost/spirit directory. What's all
this about?</a>
@@ -171,7 +171,7 @@
are available.
</p>
<a name="spirit.faq.why_doesn_t_my_symbol_table_work_in_a__code__phrase_role__identifier__no_case__phrase___code__directive_"></a><h4>
-<a name="id1271106"></a>
+<a name="id1253516"></a>
<a class="link" href="faq.html#spirit.faq.why_doesn_t_my_symbol_table_work_in_a__code__phrase_role__identifier__no_case__phrase___code__directive_">Why
doesn't my symbol table work in a <code class="computeroutput"><span class="identifier">no_case</span></code>
directive?</a>
@@ -185,7 +185,7 @@
one or more uppercase characters will not match any input.
</p>
<a name="spirit.faq.i_m_getting_a_compilation_error_mentioning__code__phrase_role__identifier__boost__phrase__phrase_role__special______phrase__phrase_role__identifier__function__phrase___code__and_or___________code__phrase_role__identifier__boost__phrase__phrase_role__special______phrase__phrase_role__identifier__function4__phrase___code___what_does_this_mean_"></a><h4>
-<a name="id1272283"></a>
+<a name="id1253587"></a>
<a class="link" href="faq.html#spirit.faq.i_m_getting_a_compilation_error_mentioning__code__phrase_role__identifier__boost__phrase__phrase_role__special______phrase__phrase_role__identifier__function__phrase___code__and_or___________code__phrase_role__identifier__boost__phrase__phrase_role__special______phrase__phrase_role__identifier__function4__phrase___code___what_does_this_mean_">I'm
getting a compilation error mentioning <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">function</span></code>
and/or <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">function4</span></code>. What does this mean?</a>
@@ -212,16 +212,16 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- a non-terminal defined with a skip parser type is used without a skip parser;
- for example, a rule with a skip parser type is used inside a <code class="computeroutput"><span class="identifier">lexeme</span></code> directive, or a grammar with a skip
- parser type is used in <code class="computeroutput"><span class="identifier">parse</span></code>
- instead of <code class="computeroutput"><span class="identifier">phrase_parse</span></code>,
- </li>
+ a non-terminal defined with a skip parser type is used without a skip parser;
+ for example, a rule with a skip parser type is used inside a <code class="computeroutput"><span class="identifier">lexeme</span></code> directive, or a grammar with a
+ skip parser type is used in <code class="computeroutput"><span class="identifier">parse</span></code>
+ instead of <code class="computeroutput"><span class="identifier">phrase_parse</span></code>,
+ </li>
<li class="listitem">
- or a non-terminal is used with a skip parser of an incompatible type; for
- example, a rule defined with one skip parser type calls a second rule defined
- with another, incompatible skip parser type.
- </li>
+ or a non-terminal is used with a skip parser of an incompatible type; for
+ example, a rule defined with one skip parser type calls a second rule defined
+ with another, incompatible skip parser type.
+ </li>
</ul></div>
<div class="note"><table border="0" summary="Note">
<tr>
Modified: trunk/libs/spirit/doc/html/spirit/introduction.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/introduction.html (original)
+++ trunk/libs/spirit/doc/html/spirit/introduction.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -29,11 +29,9 @@
<p>
Boost Spirit is an object-oriented, recursive-descent parser and output generation
library for C++. It allows you to write grammars and format descriptions using
- a format similar to Extended Backus Naur Form (EBNF)
- <sup>[<a name="id847329" href="#ftn.id847329" class="footnote">2</a>]</sup>
- directly in C++. These inline grammar specifications can mix freely with other
- C++ code and, thanks to the generative power of C++ templates, are immediately
- executable. In retrospect, conventional compiler-compilers or parser-generators
+ a format similar to Extended Backus Naur Form (EBNF)<sup>[<a name="id831165" href="#ftn.id831165" class="footnote">2</a>]</sup> directly in C++. These inline grammar specifications can mix freely
+ with other C++ code and, thanks to the generative power of C++ templates, are
+ immediately executable. In retrospect, conventional compiler-compilers or parser-generators
have to perform an additional translation step from the source EBNF code to
C or C++ code.
</p>
@@ -44,14 +42,14 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- one for creating parser grammars,
- </li>
+ one for creating parser grammars,
+ </li>
<li class="listitem">
- one for the specification of the required tokens to be used for parsing,
- </li>
+ one for the specification of the required tokens to be used for parsing,
+ </li>
<li class="listitem">
- and one for the description of the required output formats.
- </li>
+ and one for the description of the required output formats.
+ </li>
</ul></div>
<p>
Since the target input grammars and output formats are written entirely in
@@ -73,33 +71,34 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
-Spirit.Classic:
- This is the almost-unchanged code base taken from the former Boost Spirit
- V1.8 distribution. It has been moved into the namespace boost::spirit::classic.
- A special compatibility layer has been added to ensure complete compatibility
- with existing code using Spirit V1.8.
- </li>
+ Spirit.Classic:
+ This is the almost-unchanged code base taken from the former Boost Spirit
+ V1.8 distribution. It has been moved into the namespace boost::spirit::classic.
+ A special compatibility layer has been added to ensure complete compatibility
+ with existing code using Spirit V1.8.
+ </li>
<li class="listitem">
-<span class="emphasis"><em>Spirit.Qi</em></span>: This is the parser library allowing you to
- build recursive descent parsers. The exposed domain-specific language can
- be used to describe the grammars to implement, and the rules for storing
- the parsed information.
- </li>
+ <span class="emphasis"><em>Spirit.Qi</em></span>: This is the parser library allowing you
+ to build recursive descent parsers. The exposed domain-specific language
+ can be used to describe the grammars to implement, and the rules for storing
+ the parsed information.
+ </li>
<li class="listitem">
-<span class="emphasis"><em>Spirit.Lex</em></span>: This is the library usable to create tokenizers
- (lexers). The domain-specific language exposed by <span class="emphasis"><em>Spirit.Lex</em></span>
- allows you to define regular expressions used to match tokens (create token
- definitions), associate these regular expressions with code to be executed
- whenever they are matched, and to add the token definitions to the lexical
- analyzer.
- </li>
+ <span class="emphasis"><em>Spirit.Lex</em></span>: This is the library usable to create tokenizers
+ (lexers). The domain-specific language exposed by <span class="emphasis"><em>Spirit.Lex</em></span>
+ allows you to define regular expressions used to match tokens (create token
+ definitions), associate these regular expressions with code to be executed
+ whenever they are matched, and to add the token definitions to the lexical
+ analyzer.
+ </li>
<li class="listitem">
-<span class="emphasis"><em>Spirit.Karma</em></span>: This is the generator library allowing
- you to create code for recursive descent, data type-driven output formatting.
- The exposed domain-specific language is almost equivalent to the parser description
- language used in <span class="emphasis"><em>Spirit.Qi</em></span>, except that it is used to
- describe the required output format to generate from a given data structure.
- </li>
+ <span class="emphasis"><em>Spirit.Karma</em></span>: This is the generator library allowing
+ you to create code for recursive descent, data type-driven output formatting.
+ The exposed domain-specific language is almost equivalent to the parser
+ description language used in <span class="emphasis"><em>Spirit.Qi</em></span>, except that
+ it is used to describe the required output format to generate from a given
+ data structure.
+ </li>
</ul></div>
<p>
</p>
@@ -136,7 +135,7 @@
<p><br class="figure-break">
</p>
<a name="spirit.introduction.a_quick_overview_of_parsing_with__emphasis_spirit_qi__emphasis_"></a><h4>
-<a name="id847546"></a>
+<a name="id831408"></a>
<a class="link" href="introduction.html#spirit.introduction.a_quick_overview_of_parsing_with__emphasis_spirit_qi__emphasis_">A
Quick Overview of Parsing with <span class="emphasis"><em>Spirit.Qi</em></span></a>
</h4>
@@ -227,7 +226,7 @@
<code class="computeroutput"><span class="special">;</span></code>.
</p>
<a name="spirit.introduction.a_quick_overview_of_output_generation_with__emphasis_spirit_karma__emphasis_"></a><h4>
-<a name="id850346"></a>
+<a name="id833457"></a>
<a class="link" href="introduction.html#spirit.introduction.a_quick_overview_of_output_generation_with__emphasis_spirit_karma__emphasis_">A
Quick Overview of Output Generation with <span class="emphasis"><em>Spirit.Karma</em></span></a>
</h4>
@@ -260,7 +259,7 @@
of the same <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span></code>:
</p>
<div class="table">
-<a name="id850687"></a><p class="title"><b>Table 2. Different output formats for `std::vector<int>`</b></p>
+<a name="id833798"></a><p class="title"><b>Table 2. Different output formats for `std::vector<int>`</b></p>
<div class="table-contents"><table class="table" summary="Different output formats for `std::vector<int>`">
<colgroup>
<col>
@@ -380,7 +379,7 @@
next table gives some related examples.
</p>
<div class="table">
-<a name="id851082"></a><p class="title"><b>Table 3. Different data types usable with the output format `*(int_ <<
+<a name="id834192"></a><p class="title"><b>Table 3. Different data types usable with the output format `*(int_ <<
eol)`</b></p>
<div class="table-contents"><table class="table" summary="Different data types usable with the output format `*(int_ <<
eol)`">
@@ -454,9 +453,9 @@
</div>
<br class="table-break"><div class="footnotes">
<br><hr width="100" align="left">
-<div class="footnote"><p><sup>[<a name="ftn.id847329" href="#id847329" class="para">2</a>] </sup>
- ISO-EBNF
- </p></div>
+<div class="footnote"><p><sup>[<a name="ftn.id831165" href="#id831165" class="para">2</a>] </sup>
+ ISO-EBNF
+ </p></div>
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/karma/performance_measurements/numeric_performance/double_performance.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/performance_measurements/numeric_performance/double_performance.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/performance_measurements/numeric_performance/double_performance.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -43,9 +43,7 @@
Code used to measure the performance for <code class="computeroutput"><span class="identifier">sprintf</span></code>:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">char</span> <span class="identifier">buffer</span><span class="special">[</span><span class="number">256</span><span class="special">];</span>
<span class="keyword">for</span> <span class="special">(</span><span class="keyword">int</span> <span class="identifier">i</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span> <span class="identifier">i</span> <span class="special"><</span> <span class="identifier">NUMITERATIONS</span><span class="special">;</span> <span class="special">++</span><span class="identifier">i</span><span class="special">)</span> <span class="special">{</span>
@@ -53,16 +51,12 @@
<span class="special">}</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Code used to measure the performance for standard C++ iostreams:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">stringstream</span> <span class="identifier">strm</span><span class="special">;</span>
<span class="keyword">for</span> <span class="special">(</span><span class="keyword">int</span> <span class="identifier">i</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span> <span class="identifier">i</span> <span class="special"><</span> <span class="identifier">NUMITERATIONS</span><span class="special">;</span> <span class="special">++</span><span class="identifier">i</span><span class="special">)</span> <span class="special">{</span>
@@ -71,16 +65,12 @@
<span class="special">}</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Code used to measure the performance for Boost.Format:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">generated</span><span class="special">;</span>
<span class="identifier">boost</span><span class="special">::</span><span class="identifier">format</span> <span class="identifier">double_format</span><span class="special">(</span><span class="string">"%f"</span><span class="special">);</span>
@@ -88,32 +78,24 @@
<span class="identifier">generated</span> <span class="special">=</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">str</span><span class="special">(</span><span class="identifier">double_format</span> <span class="special">%</span> <span class="number">12345.12345</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
The following code shows the common definitions used by all <span class="emphasis"><em>Spirit.Karma</em></span>
performance measurements as listed below:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">double_</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Code used to measure the performance for <span class="emphasis"><em>Spirit.Karma</em></span>
using a plain character buffer:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">char</span> <span class="identifier">buffer</span><span class="special">[</span><span class="number">256</span><span class="special">];</span>
<span class="keyword">for</span> <span class="special">(</span><span class="keyword">int</span> <span class="identifier">i</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span> <span class="identifier">i</span> <span class="special"><</span> <span class="identifier">NUMITERATIONS</span><span class="special">;</span> <span class="special">++</span><span class="identifier">i</span><span class="special">)</span> <span class="special">{</span>
@@ -123,8 +105,6 @@
<span class="special">}</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
The following table shows the overall performance results collected while
@@ -133,7 +113,7 @@
of the results see this <a class="link" href="double_performance.html#spirit.karma.double_performance" title="Figure 4. Performance comparison for a single double">figure</a>.
</p>
<div class="table">
-<a name="id1174255"></a><p class="title"><b>Table 6. Performance comparison for a single double (all times in [s],
+<a name="id1157241"></a><p class="title"><b>Table 6. Performance comparison for a single double (all times in [s],
`1e6` iterations)</b></p>
<div class="table-contents"><table class="table" summary="Performance comparison for a single double (all times in [s],
`1e6` iterations)">
Modified: trunk/libs/spirit/doc/html/spirit/karma/performance_measurements/numeric_performance/format_performance.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/performance_measurements/numeric_performance/format_performance.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/performance_measurements/numeric_performance/format_performance.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -45,9 +45,7 @@
Code used to measure the performance for sprintf:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">char</span> <span class="identifier">buffer</span><span class="special">[</span><span class="number">256</span><span class="special">];</span>
<span class="keyword">for</span> <span class="special">(</span><span class="keyword">int</span> <span class="identifier">i</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span> <span class="identifier">i</span> <span class="special"><</span> <span class="identifier">NUMITERATIONS</span><span class="special">;</span> <span class="special">++</span><span class="identifier">i</span><span class="special">)</span> <span class="special">{</span>
@@ -55,16 +53,12 @@
<span class="special">}</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Code used to measure the performance for standard iostreams:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">stringstream</span> <span class="identifier">strm</span><span class="special">;</span>
<span class="keyword">for</span> <span class="special">(</span><span class="keyword">int</span> <span class="identifier">i</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span> <span class="identifier">i</span> <span class="special"><</span> <span class="identifier">NUMITERATIONS</span><span class="special">;</span> <span class="special">++</span><span class="identifier">i</span><span class="special">)</span> <span class="special">{</span>
@@ -81,16 +75,12 @@
<span class="special">}</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Code used to measure the performance for Boost.Format:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">generated</span><span class="special">;</span>
<span class="identifier">boost</span><span class="special">::</span><span class="identifier">format</span> <span class="identifier">outformat</span><span class="special">(</span><span class="string">"[%-14.3f%-14.3f]"</span><span class="special">);</span>
@@ -98,17 +88,13 @@
<span class="identifier">generated</span> <span class="special">=</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">str</span><span class="special">(</span><span class="identifier">outformat</span> <span class="special">%</span> <span class="number">12345.12345</span> <span class="special">%</span> <span class="number">12345.12345</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
The following code shows the common definitions used by all <span class="emphasis"><em>Spirit.Karma</em></span>
performance measurements as listed below:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span>
<span class="keyword">struct</span> <span class="identifier">double3_policy</span> <span class="special">:</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">real_policies</span><span class="special"><</span><span class="identifier">T</span><span class="special">></span>
@@ -122,17 +108,13 @@
<span class="identifier">double3_type</span> <span class="keyword">const</span> <span class="identifier">double3</span> <span class="special">=</span> <span class="identifier">double3_type</span><span class="special">();</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Code used to measure the performance for <span class="emphasis"><em>Spirit.Karma</em></span>
using a plain character buffer:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">char</span> <span class="identifier">buffer</span><span class="special">[</span><span class="number">256</span><span class="special">];</span>
<span class="keyword">for</span> <span class="special">(</span><span class="keyword">int</span> <span class="identifier">i</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span> <span class="identifier">i</span> <span class="special"><</span> <span class="identifier">NUMITERATIONS</span><span class="special">;</span> <span class="special">++</span><span class="identifier">i</span><span class="special">)</span> <span class="special">{</span>
@@ -144,8 +126,6 @@
<span class="special">}</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
The following table shows the overall performance results collected while
@@ -154,7 +134,7 @@
of the results see this <a class="link" href="format_performance.html#spirit.karma.format_performance" title="Figure 5. Performance comparison for a sequence of several items">figure</a>.
</p>
<div class="table">
-<a name="id1175836"></a><p class="title"><b>Table 7. Performance comparison for a sequence of several items (all times
+<a name="id1158803"></a><p class="title"><b>Table 7. Performance comparison for a sequence of several items (all times
in [s], `1e6` iterations)</b></p>
<div class="table-contents"><table class="table" summary="Performance comparison for a sequence of several items (all times
in [s], `1e6` iterations)">
Modified: trunk/libs/spirit/doc/html/spirit/karma/performance_measurements/numeric_performance/int_performance.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/performance_measurements/numeric_performance/int_performance.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/performance_measurements/numeric_performance/int_performance.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -43,9 +43,7 @@
Code used to measure the performance for <code class="computeroutput"><span class="identifier">ltoa</span></code>:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">char</span> <span class="identifier">buffer</span><span class="special">[</span><span class="number">65</span><span class="special">];</span> <span class="comment">// we don't expect more than 64 bytes to be generated here
</span><span class="keyword">for</span> <span class="special">(</span><span class="keyword">int</span> <span class="identifier">i</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span> <span class="identifier">i</span> <span class="special"><</span> <span class="identifier">MAX_ITERATION</span><span class="special">;</span> <span class="special">++</span><span class="identifier">i</span><span class="special">)</span>
@@ -54,16 +52,12 @@
<span class="special">}</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Code used to measure the performance for standard C++ iostreams:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">stringstream</span> <span class="identifier">str</span><span class="special">;</span>
<span class="keyword">for</span> <span class="special">(</span><span class="keyword">int</span> <span class="identifier">i</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span> <span class="identifier">i</span> <span class="special"><</span> <span class="identifier">MAX_ITERATION</span><span class="special">;</span> <span class="special">++</span><span class="identifier">i</span><span class="special">)</span>
@@ -73,16 +67,12 @@
<span class="special">}</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Code used to measure the performance for Boost.Format:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">str</span><span class="special">;</span>
<span class="identifier">boost</span><span class="special">::</span><span class="identifier">format</span> <span class="identifier">int_format</span><span class="special">(</span><span class="string">"%d"</span><span class="special">);</span>
@@ -92,17 +82,13 @@
<span class="special">}</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Code used to measure the performance for <span class="emphasis"><em>Spirit.Karma</em></span>
using a plain character buffer:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">char</span> <span class="identifier">buffer</span><span class="special">[</span><span class="number">65</span><span class="special">];</span> <span class="comment">// we don't expect more than 64 bytes to be generated here
</span><span class="keyword">for</span> <span class="special">(</span><span class="keyword">int</span> <span class="identifier">i</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span> <span class="identifier">i</span> <span class="special"><</span> <span class="identifier">MAX_ITERATION</span><span class="special">;</span> <span class="special">++</span><span class="identifier">i</span><span class="special">)</span>
@@ -113,8 +99,6 @@
<span class="special">}</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
The following table shows the overall performance results collected while
@@ -123,7 +107,7 @@
of the results see this <a class="link" href="int_performance.html#spirit.karma.int_performance" title="Figure 3. Performance comparison for a single int">figure</a>.
</p>
<div class="table">
-<a name="id1173136"></a><p class="title"><b>Table 5. Performance comparison for a single int (all times in [s], `1e7`
+<a name="id1154500"></a><p class="title"><b>Table 5. Performance comparison for a single int (all times in [s], `1e7`
iterations)</b></p>
<div class="table-contents"><table class="table" summary="Performance comparison for a single int (all times in [s], `1e7`
iterations)">
Modified: trunk/libs/spirit/doc/html/spirit/karma/quick_reference/compound_attribute_rules.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/quick_reference/compound_attribute_rules.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/quick_reference/compound_attribute_rules.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
Attribute Rules</a>
</h4></div></div></div>
<a name="spirit.karma.quick_reference.compound_attribute_rules.notation"></a><h6>
-<a name="id1038525"></a>
+<a name="id1021232"></a>
<a class="link" href="compound_attribute_rules.html#spirit.karma.quick_reference.compound_attribute_rules.notation">Notation</a>
</h6>
<p>
@@ -77,7 +77,7 @@
</p></td></tr>
</table></div>
<a name="spirit.karma.quick_reference.compound_attribute_rules.compound_generator_attribute_types"></a><h6>
-<a name="id1039061"></a>
+<a name="id1021767"></a>
<a class="link" href="compound_attribute_rules.html#spirit.karma.quick_reference.compound_attribute_rules.compound_generator_attribute_types">Compound
Generator Attribute Types</a>
</h6>
Modified: trunk/libs/spirit/doc/html/spirit/karma/quick_reference/primitive_generators/operators.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/quick_reference/primitive_generators/operators.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/quick_reference/primitive_generators/operators.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -207,17 +207,11 @@
</tr>
</tbody>
</table></div>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- For more information about the attribute propagation rules implemented
- by the compound generators please see <a class="link" href="../compound_attribute_rules.html" title="Compound Attribute Rules">Generator
- Compound Attribute Rules</a>.
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ For more information about the attribute propagation rules implemented
+ by the compound generators please see <a class="link" href="../compound_attribute_rules.html" title="Compound Attribute Rules">Generator
+ Compound Attribute Rules</a>.
+ </p></blockquote></div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/action.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/action.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/action.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -27,7 +27,7 @@
<a name="spirit.karma.reference.action"></a><a class="link" href="action.html" title="Action">Action</a>
</h4></div></div></div>
<a name="spirit.karma.reference.action.description"></a><h6>
-<a name="id1063227"></a>
+<a name="id1045943"></a>
<a class="link" href="action.html#spirit.karma.reference.action.description">Description</a>
</h6>
<p>
@@ -39,7 +39,7 @@
generator expression.
</p>
<a name="spirit.karma.reference.action.header"></a><h6>
-<a name="id1063263"></a>
+<a name="id1045979"></a>
<a class="link" href="action.html#spirit.karma.reference.action.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/karma/action.hpp>
@@ -49,18 +49,12 @@
Also, see <a class="link" href="../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.karma.reference.action.model_of"></a><h6>
-<a name="id1063338"></a>
+<a name="id1046053"></a>
<a class="link" href="action.html#spirit.karma.reference.action.model_of">Model of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="generator_concepts/unarygenerator.html" title="UnaryGenerator"><code class="computeroutput"><span class="identifier">UnaryGenerator</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="generator_concepts/unarygenerator.html" title="UnaryGenerator"><code class="computeroutput"><span class="identifier">UnaryGenerator</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -91,7 +85,7 @@
</dl>
</div>
<a name="spirit.karma.reference.action.expression_semantics"></a><h6>
-<a name="id1063543"></a>
+<a name="id1046255"></a>
<a class="link" href="action.html#spirit.karma.reference.action.expression_semantics">Expression
Semantics</a>
</h6>
@@ -169,7 +163,7 @@
and not generating any output.
</p>
<a name="spirit.karma.reference.action.attributes"></a><h6>
-<a name="id1063999"></a>
+<a name="id1046711"></a>
<a class="link" href="action.html#spirit.karma.reference.action.attributes">Attributes</a>
</h6>
<div class="informaltable"><table class="table">
@@ -206,7 +200,7 @@
</tr></tbody>
</table></div>
<a name="spirit.karma.reference.action.complexity"></a><h6>
-<a name="id1064124"></a>
+<a name="id1046836"></a>
<a class="link" href="action.html#spirit.karma.reference.action.complexity">Complexity</a>
</h6>
<p>
@@ -227,7 +221,7 @@
</p></td></tr>
</table></div>
<a name="spirit.karma.reference.action.example"></a><h6>
-<a name="id1064156"></a>
+<a name="id1046868"></a>
<a class="link" href="action.html#spirit.karma.reference.action.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -244,9 +238,7 @@
Some includes:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">karma</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">phoenix_core</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
@@ -256,16 +248,12 @@
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">string</span><span class="special">></span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">int_</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">string</span><span class="special">;</span>
@@ -274,24 +262,18 @@
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">phoenix</span><span class="special">::</span><span class="identifier">val</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Some examples:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">i</span> <span class="special">=</span> <span class="number">42</span><span class="special">;</span>
<span class="identifier">test_generator</span><span class="special">(</span><span class="string">"42"</span><span class="special">,</span> <span class="identifier">int_</span><span class="special">[</span><span class="identifier">_1</span> <span class="special">=</span> <span class="identifier">ref</span><span class="special">(</span><span class="identifier">i</span><span class="special">)]);</span>
<span class="identifier">test_generator</span><span class="special">(</span><span class="string">"abc"</span><span class="special">,</span> <span class="identifier">string</span><span class="special">[</span><span class="identifier">_1</span> <span class="special">=</span> <span class="identifier">val</span><span class="special">(</span><span class="string">"abc"</span><span class="special">)]);</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
More examples for semantic actions can be found here: <a class="link" href="../tutorials/semantic_actions.html#spirit.karma.tutorials.semantic_actions.examples_of_semantic_actions">Examples
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/auto.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/auto.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/auto.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -27,7 +27,7 @@
<a name="spirit.karma.reference.auto"></a><a class="link" href="auto.html" title="Auto"> Auto</a>
</h4></div></div></div>
<a name="spirit.karma.reference.auto.description"></a><h6>
-<a name="id1064749"></a>
+<a name="id1047439"></a>
<a class="link" href="auto.html#spirit.karma.reference.auto.description">Description</a>
</h6>
<p>
@@ -36,7 +36,7 @@
based on the supplied attribute type.
</p>
<a name="spirit.karma.reference.auto.header"></a><h6>
-<a name="id1064773"></a>
+<a name="id1047463"></a>
<a class="link" href="auto.html#spirit.karma.reference.auto.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/karma/auto.hpp>
@@ -46,7 +46,7 @@
Also, see <a class="link" href="../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.karma.reference.auto.namespace"></a><h6>
-<a name="id1064848"></a>
+<a name="id1047538"></a>
<a class="link" href="auto.html#spirit.karma.reference.auto.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -64,18 +64,12 @@
</td></tr></tbody>
</table></div>
<a name="spirit.karma.reference.auto.model_of"></a><h6>
-<a name="id1064927"></a>
+<a name="id1047617"></a>
<a class="link" href="auto.html#spirit.karma.reference.auto.model_of">Model of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="generator_concepts/primitivegenerator.html" title="PrimitiveGenerator"><code class="computeroutput"><span class="identifier">PrimitiveGenerator</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="generator_concepts/primitivegenerator.html" title="PrimitiveGenerator"><code class="computeroutput"><span class="identifier">PrimitiveGenerator</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -91,7 +85,7 @@
</dl>
</div>
<a name="spirit.karma.reference.auto.expression_semantics"></a><h6>
-<a name="id1065052"></a>
+<a name="id1048836"></a>
<a class="link" href="auto.html#spirit.karma.reference.auto.expression_semantics">Expression
Semantics</a>
</h6>
@@ -148,7 +142,7 @@
</tbody>
</table></div>
<a name="spirit.karma.reference.auto.additional_requirements"></a><h6>
-<a name="id1065176"></a>
+<a name="id1048961"></a>
<a class="link" href="auto.html#spirit.karma.reference.auto.additional_requirements">Additional
Requirements</a>
</h6>
@@ -337,7 +331,7 @@
can be used also to redefined anz of the predefined mappings.
</p>
<a name="spirit.karma.reference.auto.attributes"></a><h6>
-<a name="id1065890"></a>
+<a name="id1049675"></a>
<a class="link" href="auto.html#spirit.karma.reference.auto.attributes">Attributes</a>
</h6>
<div class="informaltable"><table class="table">
@@ -413,23 +407,17 @@
</p></td></tr>
</table></div>
<a name="spirit.karma.reference.auto.complexity"></a><h6>
-<a name="id1066135"></a>
+<a name="id1049920"></a>
<a class="link" href="auto.html#spirit.karma.reference.auto.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- The complexity of the <code class="computeroutput"><span class="identifier">auto_</span></code>
- generator depends on the attribute type. Each attribute type results
- in a different generator type to be instantiated which defines the
- overall complexity.
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ The complexity of the <code class="computeroutput"><span class="identifier">auto_</span></code>
+ generator depends on the attribute type. Each attribute type results
+ in a different generator type to be instantiated which defines the overall
+ complexity.
+ </p></blockquote></div>
<a name="spirit.karma.reference.auto.example"></a><h6>
-<a name="id1066166"></a>
+<a name="id1049948"></a>
<a class="link" href="auto.html#spirit.karma.reference.auto.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -446,9 +434,7 @@
Some includes:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">karma</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">phoenix_core</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
@@ -458,30 +444,22 @@
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">string</span><span class="special">></span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">auto_</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
And a class definition used in the examples:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="comment">// a simple complex number representation z = a + bi
</span><span class="keyword">struct</span> <span class="identifier">complex</span>
@@ -495,23 +473,16 @@
<span class="special">};</span>
</pre>
<p>
- </p>
-<p>
- </p>
-<p>
- The following construct is required to allow the <code class="computeroutput"><span class="identifier">complex</span></code>
- data structure to be utilized as a Boost.Fusion
- sequence. This is required as we will emit output for this data structure
- with a <span class="emphasis"><em>Spirit.Karma</em></span> sequence: <code class="computeroutput"><span class="char">'{'</span>
- <span class="special"><<</span> <span class="identifier">karma</span><span class="special">::</span><span class="identifier">double_</span>
- <span class="special"><<</span> <span class="char">','</span>
- <span class="special"><<</span> <span class="identifier">karma</span><span class="special">::</span><span class="identifier">double_</span>
- <span class="special"><<</span> <span class="char">'}'</span></code>.
- </p>
+ </p>
<p>
- </p>
+ The following construct is required to allow the <code class="computeroutput"><span class="identifier">complex</span></code>
+ data structure to be utilized as a Boost.Fusion
+ sequence. This is required as we will emit output for this data structure
+ with a <span class="emphasis"><em>Spirit.Karma</em></span> sequence: <code class="computeroutput"><span class="char">'{'</span>
+ <span class="special"><<</span> <span class="identifier">karma</span><span class="special">::</span><span class="identifier">double_</span> <span class="special"><<</span> <span class="char">','</span> <span class="special"><<</span> <span class="identifier">karma</span><span class="special">::</span><span class="identifier">double_</span> <span class="special"><<</span> <span class="char">'}'</span></code>.
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">BOOST_FUSION_ADAPT_STRUCT</span><span class="special">(</span>
<span class="identifier">complex</span><span class="special">,</span>
@@ -519,32 +490,26 @@
<span class="special">(</span><span class="keyword">double</span><span class="special">,</span> <span class="identifier">b</span><span class="special">)</span>
<span class="special">)</span></pre>
<p>
- </p>
-<p>
- </p>
-<p>
- We add a specialization for the create_generator customization point
- defining a custom output format for the complex type. Generally, any
- specialization for create_generator is expected to return the proto expression
- to be used to generate output for the type the customization point has
- been specialized for.
- </p>
-<p>
- </p>
-<p>
- We need to utilize <code class="computeroutput"><span class="identifier">proto</span><span class="special">::</span><span class="identifier">deep_copy</span></code>
- as the expression contains literals (the <code class="computeroutput"><span class="char">'{'</span></code>,
- <code class="computeroutput"><span class="char">','</span></code>, and <code class="computeroutput"><span class="char">'}'</span></code>)
- which normally get embedded in the proto expression by reference only.
- The deep copy converts the proto tree to hold this by value. The deep
- copy operation can be left out for simpler proto expressions (not containing
- references to temporaries). Alternatively you could use the <code class="computeroutput"><span class="identifier">proto</span><span class="special">::</span><span class="identifier">make_expr</span></code> facility to build the required
- proto expression.
- </p>
+ </p>
<p>
- </p>
+ We add a specialization for the create_generator customization point defining
+ a custom output format for the complex type. Generally, any specialization
+ for create_generator is expected to return the proto expression to be used
+ to generate output for the type the customization point has been specialized
+ for.
+ </p>
+<p>
+ We need to utilize <code class="computeroutput"><span class="identifier">proto</span><span class="special">::</span><span class="identifier">deep_copy</span></code>
+ as the expression contains literals (the <code class="computeroutput"><span class="char">'{'</span></code>,
+ <code class="computeroutput"><span class="char">','</span></code>, and <code class="computeroutput"><span class="char">'}'</span></code>)
+ which normally get embedded in the proto expression by reference only.
+ The deep copy converts the proto tree to hold this by value. The deep copy
+ operation can be left out for simpler proto expressions (not containing
+ references to temporaries). Alternatively you could use the <code class="computeroutput"><span class="identifier">proto</span><span class="special">::</span><span class="identifier">make_expr</span></code> facility to build the required
+ proto expression.
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">spirit</span> <span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">traits</span>
<span class="special">{</span>
@@ -564,46 +529,34 @@
<span class="special">}}}</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Some usage examples of <code class="computeroutput"><span class="identifier">auto_</span></code>
generators:
</p>
<p>
- </p>
-<p>
- Emit a simple string using the <code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span><span class="identifier">string</span></code>
- generator:
- </p>
-<p>
- </p>
+ Emit a simple string using the <code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span><span class="identifier">string</span></code>
+ generator:
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_generator_attr</span><span class="special">(</span><span class="string">"abc"</span><span class="special">,</span> <span class="identifier">auto_</span><span class="special">,</span> <span class="string">"abc"</span><span class="special">);</span>
<span class="identifier">test_generator</span><span class="special">(</span><span class="string">"abc"</span><span class="special">,</span> <span class="identifier">auto_</span><span class="special">(</span><span class="string">"abc"</span><span class="special">));</span></pre>
<p>
- </p>
-<p>
- </p>
-<p>
- Emit instances of the <code class="computeroutput"><span class="identifier">complex</span></code>
- data type as defined above using the generator defined by the customization
- point for <code class="computeroutput"><span class="identifier">complex</span></code>:
- </p>
+ </p>
<p>
- </p>
+ Emit instances of the <code class="computeroutput"><span class="identifier">complex</span></code>
+ data type as defined above using the generator defined by the customization
+ point for <code class="computeroutput"><span class="identifier">complex</span></code>:
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_generator_attr</span><span class="special">(</span><span class="string">"{1.2,2.4}"</span><span class="special">,</span> <span class="identifier">auto_</span><span class="special">,</span> <span class="identifier">complex</span><span class="special">(</span><span class="number">1.2</span><span class="special">,</span> <span class="number">2.4</span><span class="special">));</span>
<span class="identifier">test_generator</span><span class="special">(</span><span class="string">"{1.2,2.4}"</span><span class="special">,</span> <span class="identifier">auto_</span><span class="special">(</span><span class="identifier">complex</span><span class="special">(</span><span class="number">1.2</span><span class="special">,</span> <span class="number">2.4</span><span class="special">)));</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/auxiliary.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/auxiliary.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/auxiliary.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -41,7 +41,7 @@
and <code class="computeroutput"><span class="identifier">lazy</span></code> generators.
</p>
<a name="spirit.karma.reference.auxiliary.module_header"></a><h6>
-<a name="id1067399"></a>
+<a name="id1051178"></a>
<a class="link" href="auxiliary.html#spirit.karma.reference.auxiliary.module_header">Module Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/karma/auxiliary.hpp>
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/auxiliary/attr_cast.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/auxiliary/attr_cast.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/auxiliary/attr_cast.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
Transformation Pseudo Generator (<code class="computeroutput"><span class="identifier">attr_cast</span></code>)</a>
</h5></div></div></div>
<a name="spirit.karma.reference.auxiliary.attr_cast.description"></a><h6>
-<a name="id1067490"></a>
+<a name="id1051269"></a>
<a class="link" href="attr_cast.html#spirit.karma.reference.auxiliary.attr_cast.description">Description</a>
</h6>
<p>
@@ -41,7 +41,7 @@
component using the customization point <a class="link" href="../../../advanced/customize/transform.html" title="Transform an Attribute to a Different Type (Qi and Karma)"><code class="computeroutput"><span class="identifier">transform_attribute</span></code></a>.
</p>
<a name="spirit.karma.reference.auxiliary.attr_cast.header"></a><h6>
-<a name="id1067558"></a>
+<a name="id1051337"></a>
<a class="link" href="attr_cast.html#spirit.karma.reference.auxiliary.attr_cast.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/karma/auxiliary/attr_cast.hpp>
@@ -51,7 +51,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.karma.reference.auxiliary.attr_cast.namespace"></a><h6>
-<a name="id1067632"></a>
+<a name="id1051411"></a>
<a class="link" href="attr_cast.html#spirit.karma.reference.auxiliary.attr_cast.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -69,14 +69,14 @@
</td></tr></tbody>
</table></div>
<a name="spirit.karma.reference.auxiliary.attr_cast.synopsis"></a><h6>
-<a name="id1067711"></a>
+<a name="id1051490"></a>
<a class="link" href="attr_cast.html#spirit.karma.reference.auxiliary.attr_cast.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="identifier">Exposed</span><span class="special">,</span> <span class="identifier">Transformed</span><span class="special">></span>
<span class="special"><</span><span class="identifier">unspecified</span><span class="special">></span> <span class="identifier">attr_cast</span><span class="special">(<</span><span class="identifier">unspecified</span><span class="special">>);</span>
</pre>
<a name="spirit.karma.reference.auxiliary.attr_cast.template_parameters"></a><h6>
-<a name="id1067783"></a>
+<a name="id1051562"></a>
<a class="link" href="attr_cast.html#spirit.karma.reference.auxiliary.attr_cast.template_parameters">Template
parameters</a>
</h6>
@@ -154,19 +154,13 @@
not explicitly specified.
</p>
<a name="spirit.karma.reference.auxiliary.attr_cast.model_of"></a><h6>
-<a name="id1068022"></a>
+<a name="id1051801"></a>
<a class="link" href="attr_cast.html#spirit.karma.reference.auxiliary.attr_cast.model_of">Model
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../generator_concepts/unarygenerator.html" title="UnaryGenerator"><code class="computeroutput"><span class="identifier">UnaryGenerator</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../generator_concepts/unarygenerator.html" title="UnaryGenerator"><code class="computeroutput"><span class="identifier">UnaryGenerator</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -177,7 +171,7 @@
</dl>
</div>
<a name="spirit.karma.reference.auxiliary.attr_cast.expression_semantics"></a><h6>
-<a name="id1068087"></a>
+<a name="id1051862"></a>
<a class="link" href="attr_cast.html#spirit.karma.reference.auxiliary.attr_cast.expression_semantics">Expression
Semantics</a>
</h6>
@@ -265,7 +259,7 @@
</tbody>
</table></div>
<a name="spirit.karma.reference.auxiliary.attr_cast.attributes"></a><h6>
-<a name="id1068420"></a>
+<a name="id1052196"></a>
<a class="link" href="attr_cast.html#spirit.karma.reference.auxiliary.attr_cast.attributes">Attributes</a>
</h6>
<div class="informaltable"><table class="table">
@@ -336,21 +330,15 @@
</tbody>
</table></div>
<a name="spirit.karma.reference.auxiliary.attr_cast.complexity"></a><h6>
-<a name="id1068744"></a>
+<a name="id1052520"></a>
<a class="link" href="attr_cast.html#spirit.karma.reference.auxiliary.attr_cast.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- The complexity of this component is fully defined by the complexity
- of the embedded generator <code class="computeroutput"><span class="identifier">g</span></code>.
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ The complexity of this component is fully defined by the complexity
+ of the embedded generator <code class="computeroutput"><span class="identifier">g</span></code>.
+ </p></blockquote></div>
<a name="spirit.karma.reference.auxiliary.attr_cast.example"></a><h6>
-<a name="id1068776"></a>
+<a name="id1052547"></a>
<a class="link" href="attr_cast.html#spirit.karma.reference.auxiliary.attr_cast.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -367,9 +355,7 @@
Some includes:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">karma</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">phoenix_core</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
@@ -379,31 +365,23 @@
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">string</span><span class="special">></span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">int_</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
The example references data structure <code class="computeroutput"><span class="identifier">int_data</span></code>
which needs a specialization of the customization point <a class="link" href="../../../advanced/customize/transform.html" title="Transform an Attribute to a Different Type (Qi and Karma)"><code class="computeroutput"><span class="identifier">transform_attribute</span></code></a>:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="comment">// this is just a test structure we want to use in place of an int
</span><span class="keyword">struct</span> <span class="identifier">int_data</span>
@@ -423,24 +401,18 @@
<span class="special">}}}</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Now we use the <code class="computeroutput"><span class="identifier">attr_cast</span></code>
pseudo generator to invoke the attribute transformation:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">int_data</span> <span class="identifier">d</span> <span class="special">=</span> <span class="special">{</span> <span class="number">1</span> <span class="special">};</span>
<span class="identifier">test_generator_attr</span><span class="special">(</span><span class="string">"1"</span><span class="special">,</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">attr_cast</span><span class="special">(</span><span class="identifier">int_</span><span class="special">),</span> <span class="identifier">d</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/auxiliary/eol.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/auxiliary/eol.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/auxiliary/eol.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
(<code class="computeroutput"><span class="identifier">eol</span></code>)</a>
</h5></div></div></div>
<a name="spirit.karma.reference.auxiliary.eol.description"></a><h6>
-<a name="id1070650"></a>
+<a name="id1053242"></a>
<a class="link" href="eol.html#spirit.karma.reference.auxiliary.eol.description">Description</a>
</h6>
<p>
@@ -38,7 +38,7 @@
details).
</p>
<a name="spirit.karma.reference.auxiliary.eol.header"></a><h6>
-<a name="id1070703"></a>
+<a name="id1053294"></a>
<a class="link" href="eol.html#spirit.karma.reference.auxiliary.eol.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/karma/auxiliary/eol.hpp>
@@ -48,7 +48,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.karma.reference.auxiliary.eol.namespace"></a><h6>
-<a name="id1070778"></a>
+<a name="id1053369"></a>
<a class="link" href="eol.html#spirit.karma.reference.auxiliary.eol.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -66,20 +66,14 @@
</td></tr></tbody>
</table></div>
<a name="spirit.karma.reference.auxiliary.eol.model_of"></a><h6>
-<a name="id1070857"></a>
+<a name="id1053448"></a>
<a class="link" href="eol.html#spirit.karma.reference.auxiliary.eol.model_of">Model of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../generator_concepts/primitivegenerator.html" title="PrimitiveGenerator"><code class="computeroutput"><span class="identifier">PrimitiveGenerator</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../generator_concepts/primitivegenerator.html" title="PrimitiveGenerator"><code class="computeroutput"><span class="identifier">PrimitiveGenerator</span></code></a>
+ </p></blockquote></div>
<a name="spirit.karma.reference.auxiliary.eol.expression_semantics"></a><h6>
-<a name="id1070895"></a>
+<a name="id1053483"></a>
<a class="link" href="eol.html#spirit.karma.reference.auxiliary.eol.expression_semantics">Expression
Semantics</a>
</h6>
@@ -120,7 +114,7 @@
</tr></tbody>
</table></div>
<a name="spirit.karma.reference.auxiliary.eol.attributes"></a><h6>
-<a name="id1070986"></a>
+<a name="id1053574"></a>
<a class="link" href="eol.html#spirit.karma.reference.auxiliary.eol.attributes">Attributes</a>
</h6>
<div class="informaltable"><table class="table">
@@ -154,24 +148,18 @@
</tr></tbody>
</table></div>
<a name="spirit.karma.reference.auxiliary.eol.complexity"></a><h6>
-<a name="id1071067"></a>
+<a name="id1053654"></a>
<a class="link" href="eol.html#spirit.karma.reference.auxiliary.eol.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- O(1)
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ O(1)
+ </p></blockquote></div>
<p>
The complexity is constant as a single character is generated in the
output.
</p>
<a name="spirit.karma.reference.auxiliary.eol.example"></a><h6>
-<a name="id1071094"></a>
+<a name="id1053678"></a>
<a class="link" href="eol.html#spirit.karma.reference.auxiliary.eol.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -188,9 +176,7 @@
Some includes:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">karma</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">phoenix_core</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
@@ -200,38 +186,28 @@
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">string</span><span class="special">></span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">eol</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Basic usage of the <code class="computeroutput"><span class="identifier">eol</span></code>
generator:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_generator</span><span class="special">(</span><span class="string">"\n"</span><span class="special">,</span> <span class="identifier">eol</span><span class="special">);</span>
<span class="identifier">test_generator</span><span class="special">(</span><span class="string">"abc\n"</span><span class="special">,</span> <span class="string">"abc"</span> <span class="special"><<</span> <span class="identifier">eol</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/auxiliary/eps.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/auxiliary/eps.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/auxiliary/eps.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -33,7 +33,7 @@
or to insert semantic actions into the generation process.
</p>
<a name="spirit.karma.reference.auxiliary.eps.description"></a><h6>
-<a name="id1071507"></a>
+<a name="id1054080"></a>
<a class="link" href="eps.html#spirit.karma.reference.auxiliary.eps.description">Description</a>
</h6>
<p>
@@ -41,7 +41,7 @@
a multi-purpose generator that emits a yero length string.
</p>
<a name="spirit.karma.reference.auxiliary.eps.simple_form"></a><h6>
-<a name="id1071531"></a>
+<a name="id1054104"></a>
<a class="link" href="eps.html#spirit.karma.reference.auxiliary.eps.simple_form">Simple
Form</a>
</h6>
@@ -59,7 +59,7 @@
<pre class="programlisting"><span class="identifier">r</span> <span class="special">=</span> <span class="identifier">a</span> <span class="special">|</span> <span class="identifier">b</span> <span class="special">|</span> <span class="identifier">c</span> <span class="special">|</span> <span class="identifier">eps</span><span class="special">[</span><span class="identifier">error</span><span class="special">()];</span> <span class="comment">// Call error if a, b, and c fail to generate
</span></pre>
<a name="spirit.karma.reference.auxiliary.eps.semantic_predicate"></a><h6>
-<a name="id1071632"></a>
+<a name="id1054205"></a>
<a class="link" href="eps.html#spirit.karma.reference.auxiliary.eps.semantic_predicate">Semantic
Predicate</a>
</h6>
@@ -89,7 +89,7 @@
the production will return early without ever touching rest.
</p>
<a name="spirit.karma.reference.auxiliary.eps.header"></a><h6>
-<a name="id1071819"></a>
+<a name="id1054392"></a>
<a class="link" href="eps.html#spirit.karma.reference.auxiliary.eps.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/karma/auxiliary/eps.hpp>
@@ -99,7 +99,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.karma.reference.auxiliary.eps.namespace"></a><h6>
-<a name="id1071894"></a>
+<a name="id1054467"></a>
<a class="link" href="eps.html#spirit.karma.reference.auxiliary.eps.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -117,18 +117,12 @@
</td></tr></tbody>
</table></div>
<a name="spirit.karma.reference.auxiliary.eps.model_of"></a><h6>
-<a name="id1071973"></a>
+<a name="id1054546"></a>
<a class="link" href="eps.html#spirit.karma.reference.auxiliary.eps.model_of">Model of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../generator_concepts/primitivegenerator.html" title="PrimitiveGenerator"><code class="computeroutput"><span class="identifier">PrimitiveGenerator</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../generator_concepts/primitivegenerator.html" title="PrimitiveGenerator"><code class="computeroutput"><span class="identifier">PrimitiveGenerator</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -144,7 +138,7 @@
</dl>
</div>
<a name="spirit.karma.reference.auxiliary.eps.expression_semantics"></a><h6>
-<a name="id1072062"></a>
+<a name="id1054631"></a>
<a class="link" href="eps.html#spirit.karma.reference.auxiliary.eps.expression_semantics">Expression
Semantics</a>
</h6>
@@ -214,7 +208,7 @@
</tbody>
</table></div>
<a name="spirit.karma.reference.auxiliary.eps.attributes"></a><h6>
-<a name="id1072254"></a>
+<a name="id1054823"></a>
<a class="link" href="eps.html#spirit.karma.reference.auxiliary.eps.attributes">Attributes</a>
</h6>
<div class="informaltable"><table class="table">
@@ -274,23 +268,17 @@
</tbody>
</table></div>
<a name="spirit.karma.reference.auxiliary.eps.complexity"></a><h6>
-<a name="id1074405"></a>
+<a name="id1054990"></a>
<a class="link" href="eps.html#spirit.karma.reference.auxiliary.eps.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- O(1)
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ O(1)
+ </p></blockquote></div>
<p>
The complexity is constant as no output is generated.
</p>
<a name="spirit.karma.reference.auxiliary.eps.example"></a><h6>
-<a name="id1074433"></a>
+<a name="id1055014"></a>
<a class="link" href="eps.html#spirit.karma.reference.auxiliary.eps.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -307,9 +295,7 @@
Some includes:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">karma</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">phoenix_core</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
@@ -319,40 +305,30 @@
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">string</span><span class="special">></span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">eps</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">phoenix</span><span class="special">::</span><span class="identifier">val</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Basic usage of the <code class="computeroutput"><span class="identifier">eps</span></code>
generator:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_generator</span><span class="special">(</span><span class="string">"abc"</span><span class="special">,</span> <span class="identifier">eps</span><span class="special">[</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">val</span><span class="special">(</span><span class="string">"starting eps example"</span><span class="special">)]</span> <span class="special"><<</span> <span class="string">"abc"</span><span class="special">);</span>
<span class="identifier">test_generator</span><span class="special">(</span><span class="string">"abc"</span><span class="special">,</span> <span class="identifier">eps</span><span class="special">(</span><span class="keyword">true</span><span class="special">)</span> <span class="special"><<</span> <span class="string">"abc"</span><span class="special">);</span>
<span class="identifier">test_generator</span><span class="special">(</span><span class="string">""</span><span class="special">,</span> <span class="identifier">eps</span><span class="special">(</span><span class="keyword">false</span><span class="special">)</span> <span class="special"><<</span> <span class="string">"abc"</span><span class="special">);</span> <span class="comment">// fails as eps expression is 'false'
</span></pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/auxiliary/lazy.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/auxiliary/lazy.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/auxiliary/lazy.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -27,7 +27,7 @@
<a name="spirit.karma.reference.auxiliary.lazy"></a><a class="link" href="lazy.html" title="Lazy (lazy)"> Lazy (<code class="computeroutput"><span class="identifier">lazy</span></code>)</a>
</h5></div></div></div>
<a name="spirit.karma.reference.auxiliary.lazy.description"></a><h6>
-<a name="id1074966"></a>
+<a name="id1059086"></a>
<a class="link" href="lazy.html#spirit.karma.reference.auxiliary.lazy.description">Description</a>
</h6>
<p>
@@ -37,7 +37,7 @@
its return value as the actual generator to produce the output.
</p>
<a name="spirit.karma.reference.auxiliary.lazy.header"></a><h6>
-<a name="id1074990"></a>
+<a name="id1059110"></a>
<a class="link" href="lazy.html#spirit.karma.reference.auxiliary.lazy.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/karma/auxiliary/lazy.hpp>
@@ -47,7 +47,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.karma.reference.auxiliary.lazy.namespace"></a><h6>
-<a name="id1075064"></a>
+<a name="id1059185"></a>
<a class="link" href="lazy.html#spirit.karma.reference.auxiliary.lazy.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -65,19 +65,13 @@
</td></tr></tbody>
</table></div>
<a name="spirit.karma.reference.auxiliary.lazy.model_of"></a><h6>
-<a name="id1075143"></a>
+<a name="id1059264"></a>
<a class="link" href="lazy.html#spirit.karma.reference.auxiliary.lazy.model_of">Model
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../generator_concepts/generator.html" title="Generator"><code class="computeroutput"><span class="identifier">Generator</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../generator_concepts/generator.html" title="Generator"><code class="computeroutput"><span class="identifier">Generator</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -104,7 +98,7 @@
Actions</a>).
</p>
<a name="spirit.karma.reference.auxiliary.lazy.expression_semantics"></a><h6>
-<a name="id1075296"></a>
+<a name="id1059413"></a>
<a class="link" href="lazy.html#spirit.karma.reference.auxiliary.lazy.expression_semantics">Expression
Semantics</a>
</h6>
@@ -171,7 +165,7 @@
</tbody>
</table></div>
<a name="spirit.karma.reference.auxiliary.lazy.attributes"></a><h6>
-<a name="id1075452"></a>
+<a name="id1059569"></a>
<a class="link" href="lazy.html#spirit.karma.reference.auxiliary.lazy.attributes">Attributes</a>
</h6>
<div class="informaltable"><table class="table">
@@ -223,7 +217,7 @@
</tbody>
</table></div>
<a name="spirit.karma.reference.auxiliary.lazy.complexity"></a><h6>
-<a name="id1075604"></a>
+<a name="id1059721"></a>
<a class="link" href="lazy.html#spirit.karma.reference.auxiliary.lazy.complexity">Complexity</a>
</h6>
<p>
@@ -232,7 +226,7 @@
<code class="computeroutput"><span class="identifier">fg</span></code>.
</p>
<a name="spirit.karma.reference.auxiliary.lazy.example"></a><h6>
-<a name="id1075635"></a>
+<a name="id1059752"></a>
<a class="link" href="lazy.html#spirit.karma.reference.auxiliary.lazy.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -249,9 +243,7 @@
Some includes:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">karma</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">phoenix_core</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
@@ -261,16 +253,12 @@
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">string</span><span class="special">></span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">karma</span> <span class="special">=</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">_1</span><span class="special">;</span>
@@ -278,24 +266,18 @@
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">phoenix</span><span class="special">::</span><span class="identifier">val</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Basic usage of the <code class="computeroutput"><span class="identifier">lazy</span></code>
generator:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_generator_attr</span><span class="special">(</span><span class="string">"abc"</span><span class="special">,</span> <span class="identifier">karma</span><span class="special">::</span><span class="identifier">lazy</span><span class="special">(</span><span class="identifier">val</span><span class="special">(</span><span class="identifier">string</span><span class="special">)),</span> <span class="string">"abc"</span><span class="special">);</span>
<span class="identifier">test_generator</span><span class="special">(</span><span class="string">"abc"</span><span class="special">,</span> <span class="identifier">karma</span><span class="special">::</span><span class="identifier">lazy</span><span class="special">(</span><span class="identifier">val</span><span class="special">(</span><span class="identifier">string</span><span class="special">))[</span><span class="identifier">_1</span> <span class="special">=</span> <span class="string">"abc"</span><span class="special">]);</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/binary.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/binary.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/binary.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -41,7 +41,7 @@
to control padding of the generated output stream.
</p>
<a name="spirit.karma.reference.binary.module_header"></a><h6>
-<a name="id1076200"></a>
+<a name="id1060307"></a>
<a class="link" href="binary.html#spirit.karma.reference.binary.module_header">Module Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/karma/binary.hpp>
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/binary/binary_big.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/binary/binary_big.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/binary/binary_big.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
Big Endianness Generators</a>
</h5></div></div></div>
<a name="spirit.karma.reference.binary.binary_big.description"></a><h6>
-<a name="id1083045"></a>
+<a name="id1065542"></a>
<a class="link" href="binary_big.html#spirit.karma.reference.binary.binary_big.description">Description</a>
</h6>
<p>
@@ -37,7 +37,7 @@
byte order.
</p>
<a name="spirit.karma.reference.binary.binary_big.header"></a><h6>
-<a name="id1083062"></a>
+<a name="id1065559"></a>
<a class="link" href="binary_big.html#spirit.karma.reference.binary.binary_big.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/karma/binary.hpp>
@@ -47,7 +47,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.karma.reference.binary.binary_big.namespace"></a><h6>
-<a name="id1083137"></a>
+<a name="id1065633"></a>
<a class="link" href="binary_big.html#spirit.karma.reference.binary.binary_big.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -93,19 +93,13 @@
</p></td></tr>
</table></div>
<a name="spirit.karma.reference.binary.binary_big.model_of"></a><h6>
-<a name="id1083349"></a>
+<a name="id1065846"></a>
<a class="link" href="binary_big.html#spirit.karma.reference.binary.binary_big.model_of">Model
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../generator_concepts/primitivegenerator.html" title="PrimitiveGenerator"><code class="computeroutput"><span class="identifier">PrimitiveGenerator</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../generator_concepts/primitivegenerator.html" title="PrimitiveGenerator"><code class="computeroutput"><span class="identifier">PrimitiveGenerator</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -130,7 +124,7 @@
</dl>
</div>
<a name="spirit.karma.reference.binary.binary_big.expression_semantics"></a><h6>
-<a name="id1083467"></a>
+<a name="id1065960"></a>
<a class="link" href="binary_big.html#spirit.karma.reference.binary.binary_big.expression_semantics">Expression
Semantics</a>
</h6>
@@ -249,7 +243,7 @@
</tbody>
</table></div>
<a name="spirit.karma.reference.binary.binary_big.attributes"></a><h6>
-<a name="id1083728"></a>
+<a name="id1066209"></a>
<a class="link" href="binary_big.html#spirit.karma.reference.binary.binary_big.attributes">Attributes</a>
</h6>
<div class="informaltable"><table class="table">
@@ -348,20 +342,14 @@
</tbody>
</table></div>
<a name="spirit.karma.reference.binary.binary_big.complexity"></a><h6>
-<a name="id1084024"></a>
+<a name="id1066506"></a>
<a class="link" href="binary_big.html#spirit.karma.reference.binary.binary_big.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- O(N), where N is the number of bytes emitted by the binary generator
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ O(N), where N is the number of bytes emitted by the binary generator
+ </p></blockquote></div>
<a name="spirit.karma.reference.binary.binary_big.example"></a><h6>
-<a name="id1084048"></a>
+<a name="id1066526"></a>
<a class="link" href="binary_big.html#spirit.karma.reference.binary.binary_big.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -378,9 +366,7 @@
Some includes:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">karma</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">phoenix_core</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
@@ -390,32 +376,24 @@
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">string</span><span class="special">></span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">big_word</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">big_dword</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">big_qword</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Basic usage of the big binary generators:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_binary_generator</span><span class="special">(</span><span class="string">"\x02\x01"</span><span class="special">,</span> <span class="number">2</span><span class="special">,</span> <span class="identifier">big_word</span><span class="special">(</span><span class="number">0x0201</span><span class="special">));</span>
<span class="identifier">test_binary_generator</span><span class="special">(</span><span class="string">"\x04\x03\x02\x01"</span><span class="special">,</span> <span class="number">4</span><span class="special">,</span> <span class="identifier">big_dword</span><span class="special">(</span><span class="number">0x04030201</span><span class="special">));</span>
@@ -426,8 +404,6 @@
<span class="identifier">test_binary_generator_attr</span><span class="special">(</span><span class="string">"\x08\x07\x06\x05\x04\x03\x02\x01"</span><span class="special">,</span> <span class="number">8</span><span class="special">,</span> <span class="identifier">big_qword</span><span class="special">,</span> <span class="number">0</span><span class="identifier">x0807060504030201LL</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/binary/binary_little.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/binary/binary_little.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/binary/binary_little.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
Little Endianness Generators</a>
</h5></div></div></div>
<a name="spirit.karma.reference.binary.binary_little.description"></a><h6>
-<a name="id1081415"></a>
+<a name="id1062836"></a>
<a class="link" href="binary_little.html#spirit.karma.reference.binary.binary_little.description">Description</a>
</h6>
<p>
@@ -37,7 +37,7 @@
byte order.
</p>
<a name="spirit.karma.reference.binary.binary_little.header"></a><h6>
-<a name="id1081431"></a>
+<a name="id1062853"></a>
<a class="link" href="binary_little.html#spirit.karma.reference.binary.binary_little.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/karma/binary.hpp>
@@ -47,7 +47,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.karma.reference.binary.binary_little.namespace"></a><h6>
-<a name="id1081506"></a>
+<a name="id1062928"></a>
<a class="link" href="binary_little.html#spirit.karma.reference.binary.binary_little.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -93,19 +93,13 @@
</p></td></tr>
</table></div>
<a name="spirit.karma.reference.binary.binary_little.model_of"></a><h6>
-<a name="id1081715"></a>
+<a name="id1063136"></a>
<a class="link" href="binary_little.html#spirit.karma.reference.binary.binary_little.model_of">Model
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../generator_concepts/primitivegenerator.html" title="PrimitiveGenerator"><code class="computeroutput"><span class="identifier">PrimitiveGenerator</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../generator_concepts/primitivegenerator.html" title="PrimitiveGenerator"><code class="computeroutput"><span class="identifier">PrimitiveGenerator</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -130,7 +124,7 @@
</dl>
</div>
<a name="spirit.karma.reference.binary.binary_little.expression_semantics"></a><h6>
-<a name="id1081830"></a>
+<a name="id1063248"></a>
<a class="link" href="binary_little.html#spirit.karma.reference.binary.binary_little.expression_semantics">Expression
Semantics</a>
</h6>
@@ -249,7 +243,7 @@
</tbody>
</table></div>
<a name="spirit.karma.reference.binary.binary_little.attributes"></a><h6>
-<a name="id1082077"></a>
+<a name="id1064588"></a>
<a class="link" href="binary_little.html#spirit.karma.reference.binary.binary_little.attributes">Attributes</a>
</h6>
<div class="informaltable"><table class="table">
@@ -348,20 +342,14 @@
</tbody>
</table></div>
<a name="spirit.karma.reference.binary.binary_little.complexity"></a><h6>
-<a name="id1082373"></a>
+<a name="id1064884"></a>
<a class="link" href="binary_little.html#spirit.karma.reference.binary.binary_little.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- O(N), where N is the number of bytes emitted by the binary generator
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ O(N), where N is the number of bytes emitted by the binary generator
+ </p></blockquote></div>
<a name="spirit.karma.reference.binary.binary_little.example"></a><h6>
-<a name="id1082397"></a>
+<a name="id1064905"></a>
<a class="link" href="binary_little.html#spirit.karma.reference.binary.binary_little.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -378,9 +366,7 @@
Some includes:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">karma</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">phoenix_core</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
@@ -390,32 +376,24 @@
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">string</span><span class="special">></span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">little_word</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">little_dword</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">little_qword</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Basic usage of the little binary generators:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_binary_generator</span><span class="special">(</span><span class="string">"\x01\x02"</span><span class="special">,</span> <span class="number">2</span><span class="special">,</span> <span class="identifier">little_word</span><span class="special">(</span><span class="number">0x0201</span><span class="special">));</span>
<span class="identifier">test_binary_generator</span><span class="special">(</span><span class="string">"\x01\x02\x03\x04"</span><span class="special">,</span> <span class="number">4</span><span class="special">,</span> <span class="identifier">little_dword</span><span class="special">(</span><span class="number">0x04030201</span><span class="special">));</span>
@@ -426,8 +404,6 @@
<span class="identifier">test_binary_generator_attr</span><span class="special">(</span><span class="string">"\x01\x02\x03\x04\x05\x06\x07\x08"</span><span class="special">,</span> <span class="number">8</span><span class="special">,</span> <span class="identifier">little_qword</span><span class="special">,</span> <span class="number">0</span><span class="identifier">x0807060504030201LL</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/binary/binary_native.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/binary/binary_native.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/binary/binary_native.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
Native Endianness Generators</a>
</h5></div></div></div>
<a name="spirit.karma.reference.binary.binary_native.description"></a><h6>
-<a name="id1076284"></a>
+<a name="id1060391"></a>
<a class="link" href="binary_native.html#spirit.karma.reference.binary.binary_native.description">Description</a>
</h6>
<p>
@@ -37,7 +37,7 @@
(byte order) of the target architecture.
</p>
<a name="spirit.karma.reference.binary.binary_native.header"></a><h6>
-<a name="id1076301"></a>
+<a name="id1060408"></a>
<a class="link" href="binary_native.html#spirit.karma.reference.binary.binary_native.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/karma/binary.hpp>
@@ -47,7 +47,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.karma.reference.binary.binary_native.namespace"></a><h6>
-<a name="id1076376"></a>
+<a name="id1060482"></a>
<a class="link" href="binary_native.html#spirit.karma.reference.binary.binary_native.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -99,19 +99,13 @@
</p></td></tr>
</table></div>
<a name="spirit.karma.reference.binary.binary_native.model_of"></a><h6>
-<a name="id1079370"></a>
+<a name="id1060733"></a>
<a class="link" href="binary_native.html#spirit.karma.reference.binary.binary_native.model_of">Model
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../generator_concepts/primitivegenerator.html" title="PrimitiveGenerator"><code class="computeroutput"><span class="identifier">PrimitiveGenerator</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../generator_concepts/primitivegenerator.html" title="PrimitiveGenerator"><code class="computeroutput"><span class="identifier">PrimitiveGenerator</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -141,7 +135,7 @@
</dl>
</div>
<a name="spirit.karma.reference.binary.binary_native.expression_semantics"></a><h6>
-<a name="id1079511"></a>
+<a name="id1060870"></a>
<a class="link" href="binary_native.html#spirit.karma.reference.binary.binary_native.expression_semantics">Expression
Semantics</a>
</h6>
@@ -288,7 +282,7 @@
</tbody>
</table></div>
<a name="spirit.karma.reference.binary.binary_native.attributes"></a><h6>
-<a name="id1079819"></a>
+<a name="id1061260"></a>
<a class="link" href="binary_native.html#spirit.karma.reference.binary.binary_native.attributes">Attributes</a>
</h6>
<div class="informaltable"><table class="table">
@@ -425,20 +419,14 @@
</p></td></tr>
</table></div>
<a name="spirit.karma.reference.binary.binary_native.complexity"></a><h6>
-<a name="id1080284"></a>
+<a name="id1061724"></a>
<a class="link" href="binary_native.html#spirit.karma.reference.binary.binary_native.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- O(N), where N is the number of bytes emitted by the binary generator
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ O(N), where N is the number of bytes emitted by the binary generator
+ </p></blockquote></div>
<a name="spirit.karma.reference.binary.binary_native.example"></a><h6>
-<a name="id1080308"></a>
+<a name="id1061744"></a>
<a class="link" href="binary_native.html#spirit.karma.reference.binary.binary_native.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -455,9 +443,7 @@
Some includes:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">karma</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">phoenix_core</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
@@ -467,16 +453,12 @@
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">string</span><span class="special">></span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">byte_</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">word</span><span class="special">;</span>
@@ -484,17 +466,13 @@
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">qword</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Basic usage of the native binary generators with some results for little
endian platforms:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_binary_generator</span><span class="special">(</span><span class="string">"\x01"</span><span class="special">,</span> <span class="number">1</span><span class="special">,</span> <span class="identifier">byte_</span><span class="special">(</span><span class="number">0x01</span><span class="special">));</span>
<span class="identifier">test_binary_generator</span><span class="special">(</span><span class="string">"\x01\x02"</span><span class="special">,</span> <span class="number">2</span><span class="special">,</span> <span class="identifier">word</span><span class="special">(</span><span class="number">0x0201</span><span class="special">));</span>
@@ -507,17 +485,13 @@
<span class="identifier">test_binary_generator_attr</span><span class="special">(</span><span class="string">"\x01\x02\x03\x04\x05\x06\x07\x08"</span><span class="special">,</span> <span class="number">8</span><span class="special">,</span> <span class="identifier">qword</span><span class="special">,</span> <span class="number">0</span><span class="identifier">x0807060504030201LL</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Basic usage of the native binary generators with some results for big
endian platforms:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_binary_generator</span><span class="special">(</span><span class="string">"\x01"</span><span class="special">,</span> <span class="number">1</span><span class="special">,</span> <span class="identifier">byte_</span><span class="special">(</span><span class="number">0x01</span><span class="special">));</span>
<span class="identifier">test_binary_generator</span><span class="special">(</span><span class="string">"\x02\x01"</span><span class="special">,</span> <span class="number">2</span><span class="special">,</span> <span class="identifier">word</span><span class="special">(</span><span class="number">0x0201</span><span class="special">));</span>
@@ -530,8 +504,6 @@
<span class="identifier">test_binary_generator_attr</span><span class="special">(</span><span class="string">"\x08\x07\x06\x05\x04\x03\x02\x01"</span><span class="special">,</span> <span class="number">8</span><span class="special">,</span> <span class="identifier">qword</span><span class="special">,</span> <span class="number">0</span><span class="identifier">x0807060504030201LL</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/char.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/char.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/char.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -42,7 +42,7 @@
<code class="computeroutput"><span class="identifier">xdigit</span></code>, etc.).
</p>
<a name="spirit.karma.reference.char.module_header"></a><h6>
-<a name="id1084755"></a>
+<a name="id1067222"></a>
<a class="link" href="char.html#spirit.karma.reference.char.module_header">Module Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/karma/char.hpp>
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/char/char_class.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/char/char_class.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/char/char_class.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -29,7 +29,7 @@
<code class="computeroutput"><span class="identifier">digit</span></code>, etc.)</a>
</h5></div></div></div>
<a name="spirit.karma.reference.char.char_class.description"></a><h6>
-<a name="id1090068"></a>
+<a name="id1071971"></a>
<a class="link" href="char_class.html#spirit.karma.reference.char.char_class.description">Description</a>
</h6>
<p>
@@ -41,7 +41,7 @@
such as forcing lower or upper case.
</p>
<a name="spirit.karma.reference.char.char_class.header"></a><h6>
-<a name="id1090119"></a>
+<a name="id1072022"></a>
<a class="link" href="char_class.html#spirit.karma.reference.char.char_class.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/karma/char/char_class.hpp>
@@ -51,7 +51,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.karma.reference.char.char_class.namespace"></a><h6>
-<a name="id1090193"></a>
+<a name="id1072096"></a>
<a class="link" href="char_class.html#spirit.karma.reference.char.char_class.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -132,19 +132,13 @@
and will not compile if no attribute is associated.
</p>
<a name="spirit.karma.reference.char.char_class.model_of"></a><h6>
-<a name="id1090559"></a>
+<a name="id1074528"></a>
<a class="link" href="char_class.html#spirit.karma.reference.char.char_class.model_of">Model
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../generator_concepts/primitivegenerator.html" title="PrimitiveGenerator"><code class="computeroutput"><span class="identifier">PrimitiveGenerator</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../generator_concepts/primitivegenerator.html" title="PrimitiveGenerator"><code class="computeroutput"><span class="identifier">PrimitiveGenerator</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -156,7 +150,7 @@
</dl>
</div>
<a name="spirit.karma.reference.char.char_class.expression_semantics"></a><h6>
-<a name="id1090629"></a>
+<a name="id1074594"></a>
<a class="link" href="char_class.html#spirit.karma.reference.char.char_class.expression_semantics">Expression
Semantics</a>
</h6>
@@ -407,20 +401,14 @@
</td></tr>
</table></div>
<a name="spirit.karma.reference.char.char_class.attributes"></a><h6>
-<a name="id1091575"></a>
+<a name="id1075540"></a>
<a class="link" href="char_class.html#spirit.karma.reference.char.char_class.attributes">Attributes</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- All listed character class generators can take any attribute <code class="computeroutput"><span class="identifier">Ch</span></code>. All character class generators
- (except <code class="computeroutput"><span class="identifier">space</span></code>) require
- an attribute and will fail compiling otherwise.
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ All listed character class generators can take any attribute <code class="computeroutput"><span class="identifier">Ch</span></code>. All character class generators
+ (except <code class="computeroutput"><span class="identifier">space</span></code>) require
+ an attribute and will fail compiling otherwise.
+ </p></blockquote></div>
<div class="note"><table border="0" summary="Note">
<tr>
<td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="../../../../images/note.png"></td>
@@ -435,24 +423,18 @@
</p></td></tr>
</table></div>
<a name="spirit.karma.reference.char.char_class.complexity"></a><h6>
-<a name="id1091700"></a>
+<a name="id1075660"></a>
<a class="link" href="char_class.html#spirit.karma.reference.char.char_class.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- O(1)
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ O(1)
+ </p></blockquote></div>
<p>
The complexity is constant as the generators emit not more than one character
per invocation.
</p>
<a name="spirit.karma.reference.char.char_class.example"></a><h6>
-<a name="id1091728"></a>
+<a name="id1075684"></a>
<a class="link" href="char_class.html#spirit.karma.reference.char.char_class.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -469,9 +451,7 @@
Some includes:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">karma</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">phoenix_core</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
@@ -481,32 +461,24 @@
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">string</span><span class="special">></span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">alpha</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">upper</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Basic usage of an <code class="computeroutput"><span class="identifier">alpha</span></code>
generator:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_generator_attr</span><span class="special">(</span><span class="string">"a"</span><span class="special">,</span> <span class="identifier">alpha</span><span class="special">,</span> <span class="char">'a'</span><span class="special">);</span>
<span class="identifier">test_generator_attr</span><span class="special">(</span><span class="string">"A"</span><span class="special">,</span> <span class="identifier">alpha</span><span class="special">,</span> <span class="char">'A'</span><span class="special">);</span>
@@ -515,8 +487,6 @@
<span class="identifier">test_generator_attr</span><span class="special">(</span><span class="string">""</span><span class="special">,</span> <span class="identifier">upper</span><span class="special">[</span><span class="identifier">alpha</span><span class="special">],</span> <span class="char">'a'</span><span class="special">);</span> <span class="comment">// fails (as isupper('a') is false)
</span></pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/char/char_generator.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/char/char_generator.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/char/char_generator.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
Generators (<code class="computeroutput"><span class="identifier">char_</span></code>, <code class="computeroutput"><span class="identifier">lit</span></code>)</a>
</h5></div></div></div>
<a name="spirit.karma.reference.char.char_generator.description"></a><h6>
-<a name="id1084853"></a>
+<a name="id1067321"></a>
<a class="link" href="char_generator.html#spirit.karma.reference.char.char_generator.description">Description</a>
</h6>
<p>
@@ -45,7 +45,7 @@
There are various forms of <code class="computeroutput"><span class="identifier">char_</span></code>.
</p>
<a name="spirit.karma.reference.char.char_generator.char_"></a><h6>
-<a name="id1084904"></a>
+<a name="id1067371"></a>
<a class="link" href="char_generator.html#spirit.karma.reference.char.char_generator.char_">char_</a>
</h6>
<p>
@@ -56,7 +56,7 @@
<pre class="programlisting"><span class="identifier">char_</span> <span class="comment">// emits any character as supplied by the attribute
</span></pre>
<a name="spirit.karma.reference.char.char_generator.char__ch_"></a><h6>
-<a name="id1084944"></a>
+<a name="id1067412"></a>
<a class="link" href="char_generator.html#spirit.karma.reference.char.char_generator.char__ch_">char_(ch)</a>
</h6>
<p>
@@ -68,7 +68,7 @@
</span><span class="identifier">char_</span><span class="special">(</span><span class="identifier">x</span><span class="special">)</span> <span class="comment">// emits x (a char)
</span></pre>
<a name="spirit.karma.reference.char.char_generator.char__first__last_"></a><h6>
-<a name="id1085036"></a>
+<a name="id1067503"></a>
<a class="link" href="char_generator.html#spirit.karma.reference.char.char_generator.char__first__last_">char_(first,
last)</a>
</h6>
@@ -120,7 +120,7 @@
</td></tr>
</table></div>
<a name="spirit.karma.reference.char.char_generator.char__def_"></a><h6>
-<a name="id1085218"></a>
+<a name="id1067686"></a>
<a class="link" href="char_generator.html#spirit.karma.reference.char.char_generator.char__def_">char_(def)</a>
</h6>
<p>
@@ -140,7 +140,7 @@
by the attribute.
</p>
<a name="spirit.karma.reference.char.char_generator.lit_ch_"></a><h6>
-<a name="id1085334"></a>
+<a name="id1067802"></a>
<a class="link" href="char_generator.html#spirit.karma.reference.char.char_generator.lit_ch_">lit(ch)</a>
</h6>
<p>
@@ -180,7 +180,7 @@
<span class="identifier">lit</span><span class="special">(</span><span class="identifier">c</span><span class="special">)</span> <span class="comment">// c is a char
</span></pre>
<a name="spirit.karma.reference.char.char_generator.header"></a><h6>
-<a name="id1085512"></a>
+<a name="id1067980"></a>
<a class="link" href="char_generator.html#spirit.karma.reference.char.char_generator.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/karma/char/char.hpp>
@@ -190,7 +190,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.karma.reference.char.char_generator.namespace"></a><h6>
-<a name="id1085586"></a>
+<a name="id1068054"></a>
<a class="link" href="char_generator.html#spirit.karma.reference.char.char_generator.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -220,19 +220,13 @@
Encoding Namespace</a>.
</p>
<a name="spirit.karma.reference.char.char_generator.model_of"></a><h6>
-<a name="id1085706"></a>
+<a name="id1068174"></a>
<a class="link" href="char_generator.html#spirit.karma.reference.char.char_generator.model_of">Model
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../generator_concepts/primitivegenerator.html" title="PrimitiveGenerator"><code class="computeroutput"><span class="identifier">PrimitiveGenerator</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../generator_concepts/primitivegenerator.html" title="PrimitiveGenerator"><code class="computeroutput"><span class="identifier">PrimitiveGenerator</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -265,7 +259,7 @@
</dl>
</div>
<a name="spirit.karma.reference.char.char_generator.expression_semantics"></a><h6>
-<a name="id1086969"></a>
+<a name="id1068329"></a>
<a class="link" href="char_generator.html#spirit.karma.reference.char.char_generator.expression_semantics">Expression
Semantics</a>
</h6>
@@ -515,7 +509,7 @@
</tbody>
</table></div>
<a name="spirit.karma.reference.char.char_generator.attributes"></a><h6>
-<a name="id1087773"></a>
+<a name="id1070380"></a>
<a class="link" href="char_generator.html#spirit.karma.reference.char.char_generator.attributes">Attributes</a>
</h6>
<div class="informaltable"><table class="table">
@@ -674,18 +668,12 @@
</p></td></tr>
</table></div>
<a name="spirit.karma.reference.char.char_generator.complexity"></a><h6>
-<a name="id1088422"></a>
+<a name="id1071029"></a>
<a class="link" href="char_generator.html#spirit.karma.reference.char.char_generator.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- O(1)
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ O(1)
+ </p></blockquote></div>
<p>
The complexity of <code class="computeroutput"><span class="identifier">ch</span></code>,
<code class="computeroutput"><span class="identifier">lit</span><span class="special">(</span><span class="identifier">ch</span><span class="special">)</span></code>,
@@ -703,7 +691,7 @@
set, where N is the number of characters in the character set.
</p>
<a name="spirit.karma.reference.char.char_generator.example"></a><h6>
-<a name="id1088606"></a>
+<a name="id1071209"></a>
<a class="link" href="char_generator.html#spirit.karma.reference.char.char_generator.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -720,9 +708,7 @@
Some includes:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">karma</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">phoenix_core</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
@@ -732,32 +718,24 @@
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">string</span><span class="special">></span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">lit</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">ascii</span><span class="special">::</span><span class="identifier">char_</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Basic usage of <code class="computeroutput"><span class="identifier">char_</span></code>
generators:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_generator</span><span class="special">(</span><span class="string">"A"</span><span class="special">,</span> <span class="char">'A'</span><span class="special">);</span>
<span class="identifier">test_generator</span><span class="special">(</span><span class="string">"A"</span><span class="special">,</span> <span class="identifier">lit</span><span class="special">(</span><span class="char">'A'</span><span class="special">));</span>
@@ -774,8 +752,6 @@
<span class="identifier">test_generator_attr</span><span class="special">(</span><span class="string">""</span><span class="special">,</span> <span class="identifier">char_</span><span class="special">(</span><span class="string">"a-z0-9"</span><span class="special">),</span> <span class="char">'A'</span><span class="special">);</span> <span class="comment">// fails (as 'A' does not belong to "a-z0-9")
</span></pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/directive.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/directive.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/directive.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -57,7 +57,7 @@
and attribute handling (<code class="computeroutput"><span class="identifier">duplicate</span><span class="special">[]</span></code>, <code class="computeroutput"><span class="identifier">omit</span><span class="special">[]</span></code>, and <code class="computeroutput"><span class="identifier">skip</span><span class="special">[]</span></code>).
</p>
<a name="spirit.karma.reference.directive.module_header"></a><h6>
-<a name="id1094387"></a>
+<a name="id1076397"></a>
<a class="link" href="directive.html#spirit.karma.reference.directive.module_header">Module Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/karma/directive.hpp>
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/directive/alignment.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/directive/alignment.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/directive/alignment.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
Directives (<code class="computeroutput"><span class="identifier">left_align</span><span class="special">[]</span></code>, <code class="computeroutput"><span class="identifier">center</span><span class="special">[]</span></code>, <code class="computeroutput"><span class="identifier">right_align</span><span class="special">[]</span></code>)</a>
</h5></div></div></div>
<a name="spirit.karma.reference.directive.alignment.description"></a><h6>
-<a name="id1094503"></a>
+<a name="id1077203"></a>
<a class="link" href="alignment.html#spirit.karma.reference.directive.alignment.description">Description</a>
</h6>
<p>
@@ -37,7 +37,7 @@
an arbitrary generator to create the padding.
</p>
<a name="spirit.karma.reference.directive.alignment.header"></a><h6>
-<a name="id1094520"></a>
+<a name="id1077220"></a>
<a class="link" href="alignment.html#spirit.karma.reference.directive.alignment.header">Header</a>
</h6>
<p>
@@ -65,7 +65,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.karma.reference.directive.alignment.namespace"></a><h6>
-<a name="id1094743"></a>
+<a name="id1077443"></a>
<a class="link" href="alignment.html#spirit.karma.reference.directive.alignment.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -97,19 +97,13 @@
</tbody>
</table></div>
<a name="spirit.karma.reference.directive.alignment.model_of"></a><h6>
-<a name="id1094897"></a>
+<a name="id1077597"></a>
<a class="link" href="alignment.html#spirit.karma.reference.directive.alignment.model_of">Model
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../generator_concepts/unarygenerator.html" title="UnaryGenerator"><code class="computeroutput"><span class="identifier">UnaryGenerator</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../generator_concepts/unarygenerator.html" title="UnaryGenerator"><code class="computeroutput"><span class="identifier">UnaryGenerator</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -135,7 +129,7 @@
</dl>
</div>
<a name="spirit.karma.reference.directive.alignment.expression_semantics"></a><h6>
-<a name="id1095052"></a>
+<a name="id1077748"></a>
<a class="link" href="alignment.html#spirit.karma.reference.directive.alignment.expression_semantics">Expression
Semantics</a>
</h6>
@@ -417,7 +411,7 @@
</td></tr>
</table></div>
<a name="spirit.karma.reference.directive.alignment.attributes"></a><h6>
-<a name="id1096107"></a>
+<a name="id1078803"></a>
<a class="link" href="alignment.html#spirit.karma.reference.directive.alignment.attributes">Attributes</a>
</h6>
<p>
@@ -638,25 +632,19 @@
</tbody>
</table></div>
<a name="spirit.karma.reference.directive.alignment.complexity"></a><h6>
-<a name="id1097933"></a>
+<a name="id1081858"></a>
<a class="link" href="alignment.html#spirit.karma.reference.directive.alignment.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- The overall complexity of the alignment generator directives is defined
- by the complexity of its embedded and padding generator. The complexity
- of the left alignment directive generator itself is O(1). The complexity
- of the center and right alignment directive generators itself is
- O(N). where <code class="computeroutput"><span class="identifier">N</span></code> is
- the number of characters emitted by the embedded and padding generators.
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ The overall complexity of the alignment generator directives is defined
+ by the complexity of its embedded and padding generator. The complexity
+ of the left alignment directive generator itself is O(1). The complexity
+ of the center and right alignment directive generators itself is O(N).
+ where <code class="computeroutput"><span class="identifier">N</span></code> is the number
+ of characters emitted by the embedded and padding generators.
+ </p></blockquote></div>
<a name="spirit.karma.reference.directive.alignment.example"></a><h6>
-<a name="id1097964"></a>
+<a name="id1081886"></a>
<a class="link" href="alignment.html#spirit.karma.reference.directive.alignment.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -673,9 +661,7 @@
Some includes:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">karma</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">phoenix_core</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
@@ -685,16 +671,12 @@
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">string</span><span class="special">></span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">double_</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">left_align</span><span class="special">;</span>
@@ -702,16 +684,12 @@
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">right_align</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Basic usage of the alignment generators:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span><span class="special"><</span><span class="keyword">double</span><span class="special">,</span> <span class="keyword">double</span><span class="special">></span> <span class="identifier">p</span> <span class="special">(</span><span class="number">1.0</span><span class="special">,</span> <span class="number">2.0</span><span class="special">);</span>
<span class="identifier">test_generator_attr</span><span class="special">(</span><span class="string">"1.0 |2.0"</span><span class="special">,</span> <span class="identifier">left_align</span><span class="special">(</span><span class="number">8</span><span class="special">)[</span><span class="identifier">double_</span><span class="special">]</span> <span class="special"><<</span> <span class="char">'|'</span> <span class="special"><<</span> <span class="identifier">double_</span><span class="special">,</span> <span class="identifier">p</span><span class="special">);</span>
@@ -719,8 +697,6 @@
<span class="identifier">test_generator_attr</span><span class="special">(</span><span class="string">" 1.0|2.0"</span><span class="special">,</span> <span class="identifier">right_align</span><span class="special">(</span><span class="number">8</span><span class="special">)[</span><span class="identifier">double_</span><span class="special">]</span> <span class="special"><<</span> <span class="char">'|'</span> <span class="special"><<</span> <span class="identifier">double_</span><span class="special">,</span> <span class="identifier">p</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/directive/buffer.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/directive/buffer.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/directive/buffer.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
Output Buffering (<code class="computeroutput"><span class="identifier">buffer</span><span class="special">[]</span></code>)</a>
</h5></div></div></div>
<a name="spirit.karma.reference.directive.buffer.description"></a><h6>
-<a name="id1109912"></a>
+<a name="id1092407"></a>
<a class="link" href="buffer.html#spirit.karma.reference.directive.buffer.description">Description</a>
</h6>
<p>
@@ -43,7 +43,7 @@
discarded otherwise.
</p>
<a name="spirit.karma.reference.directive.buffer.header"></a><h6>
-<a name="id1109940"></a>
+<a name="id1092436"></a>
<a class="link" href="buffer.html#spirit.karma.reference.directive.buffer.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/karma/directive/buffer.hpp>
@@ -67,19 +67,13 @@
</td></tr></tbody>
</table></div>
<a name="spirit.karma.reference.directive.buffer.model_of"></a><h6>
-<a name="id1110081"></a>
+<a name="id1092576"></a>
<a class="link" href="buffer.html#spirit.karma.reference.directive.buffer.model_of">Model
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../generator_concepts/unarygenerator.html" title="UnaryGenerator"><code class="computeroutput"><span class="identifier">UnaryGenerator</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../generator_concepts/unarygenerator.html" title="UnaryGenerator"><code class="computeroutput"><span class="identifier">UnaryGenerator</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -94,7 +88,7 @@
</dl>
</div>
<a name="spirit.karma.reference.directive.buffer.expression_semantics"></a><h6>
-<a name="id1110172"></a>
+<a name="id1092664"></a>
<a class="link" href="buffer.html#spirit.karma.reference.directive.buffer.expression_semantics">Expression
Semantics</a>
</h6>
@@ -150,7 +144,7 @@
</p></td></tr>
</table></div>
<a name="spirit.karma.reference.directive.buffer.attributes"></a><h6>
-<a name="id1110347"></a>
+<a name="id1092839"></a>
<a class="link" href="buffer.html#spirit.karma.reference.directive.buffer.attributes">Attributes</a>
</h6>
<p>
@@ -192,23 +186,17 @@
</tr></tbody>
</table></div>
<a name="spirit.karma.reference.directive.buffer.complexity"></a><h6>
-<a name="id1110521"></a>
+<a name="id1093013"></a>
<a class="link" href="buffer.html#spirit.karma.reference.directive.buffer.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- The overall complexity of the buffering generator directive is defined
- by the complexity of its embedded generator. The complexity of the
- buffering directive generator itself is O(N), where N is the number
- of characters buffered.
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ The overall complexity of the buffering generator directive is defined
+ by the complexity of its embedded generator. The complexity of the
+ buffering directive generator itself is O(N), where N is the number
+ of characters buffered.
+ </p></blockquote></div>
<a name="spirit.karma.reference.directive.buffer.example"></a><h6>
-<a name="id1110545"></a>
+<a name="id1093033"></a>
<a class="link" href="buffer.html#spirit.karma.reference.directive.buffer.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -225,9 +213,7 @@
Some includes:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">karma</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">phoenix_core</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
@@ -237,23 +223,17 @@
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">string</span><span class="special">></span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">double_</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">buffer</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Basic usage of a buffering generator directive. It shows how the partial
@@ -262,9 +242,7 @@
(unary <code class="computeroutput"><span class="special">+</span></code>)</a>).
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">double</span><span class="special">></span> <span class="identifier">v</span><span class="special">;</span> <span class="comment">// empty container
</span><span class="identifier">test_generator_attr</span><span class="special">(</span><span class="string">""</span><span class="special">,</span> <span class="special">-</span><span class="identifier">buffer</span><span class="special">[</span><span class="char">'['</span> <span class="special"><<</span> <span class="special">+</span><span class="identifier">double_</span> <span class="special"><<</span> <span class="char">']'</span><span class="special">],</span> <span class="identifier">v</span><span class="special">);</span>
@@ -274,8 +252,6 @@
<span class="identifier">test_generator_attr</span><span class="special">(</span><span class="string">"[1.02.0]"</span><span class="special">,</span> <span class="identifier">buffer</span><span class="special">[</span><span class="char">'['</span> <span class="special"><<</span> <span class="special">+</span><span class="identifier">double_</span> <span class="special"><<</span> <span class="char">']'</span><span class="special">],</span> <span class="identifier">v</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/directive/columns.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/directive/columns.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/directive/columns.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
Output Into Columns (<code class="computeroutput"><span class="identifier">columns</span><span class="special">[]</span></code>)</a>
</h5></div></div></div>
<a name="spirit.karma.reference.directive.columns.description"></a><h6>
-<a name="id1114622"></a>
+<a name="id1098031"></a>
<a class="link" href="columns.html#spirit.karma.reference.directive.columns.description">Description</a>
</h6>
<p>
@@ -37,7 +37,7 @@
special column separators.
</p>
<a name="spirit.karma.reference.directive.columns.header"></a><h6>
-<a name="id1114649"></a>
+<a name="id1098059"></a>
<a class="link" href="columns.html#spirit.karma.reference.directive.columns.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/karma/directive/columns.hpp>
@@ -61,19 +61,13 @@
</td></tr></tbody>
</table></div>
<a name="spirit.karma.reference.directive.columns.model_of"></a><h6>
-<a name="id1114790"></a>
+<a name="id1098199"></a>
<a class="link" href="columns.html#spirit.karma.reference.directive.columns.model_of">Model
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../generator_concepts/unarygenerator.html" title="UnaryGenerator"><code class="computeroutput"><span class="identifier">UnaryGenerator</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../generator_concepts/unarygenerator.html" title="UnaryGenerator"><code class="computeroutput"><span class="identifier">UnaryGenerator</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -104,7 +98,7 @@
</dl>
</div>
<a name="spirit.karma.reference.directive.columns.expression_semantics"></a><h6>
-<a name="id1114931"></a>
+<a name="id1098337"></a>
<a class="link" href="columns.html#spirit.karma.reference.directive.columns.expression_semantics">Expression
Semantics</a>
</h6>
@@ -198,7 +192,7 @@
</tbody>
</table></div>
<a name="spirit.karma.reference.directive.columns.attributes"></a><h6>
-<a name="id1115277"></a>
+<a name="id1098683"></a>
<a class="link" href="columns.html#spirit.karma.reference.directive.columns.attributes">Attributes</a>
</h6>
<p>
@@ -291,24 +285,18 @@
</tbody>
</table></div>
<a name="spirit.karma.reference.directive.columns.complexity"></a><h6>
-<a name="id1116985"></a>
+<a name="id1099292"></a>
<a class="link" href="columns.html#spirit.karma.reference.directive.columns.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- The overall complexity of the <code class="computeroutput"><span class="identifier">columns</span></code>
- generator directive depends on the complexity of the embeddded generator.
- The complexitz of the <code class="computeroutput"><span class="identifier">columns</span></code>
- generator directive itself is O(N), where <code class="computeroutput"><span class="identifier">N</span></code>
- is the number of inserted column separators.
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ The overall complexity of the <code class="computeroutput"><span class="identifier">columns</span></code>
+ generator directive depends on the complexity of the embeddded generator.
+ The complexitz of the <code class="computeroutput"><span class="identifier">columns</span></code>
+ generator directive itself is O(N), where <code class="computeroutput"><span class="identifier">N</span></code>
+ is the number of inserted column separators.
+ </p></blockquote></div>
<a name="spirit.karma.reference.directive.columns.example"></a><h6>
-<a name="id1117032"></a>
+<a name="id1099335"></a>
<a class="link" href="columns.html#spirit.karma.reference.directive.columns.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -325,9 +313,7 @@
Some includes:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">karma</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">phoenix_core</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
@@ -337,33 +323,25 @@
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">string</span><span class="special">></span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">double_</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">columns</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">space</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Basic usage of the <code class="computeroutput"><span class="identifier">columns</span></code>
generators:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">double</span><span class="special">></span> <span class="identifier">v</span><span class="special">;</span>
<span class="identifier">v</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span><span class="number">1.0</span><span class="special">);</span>
@@ -373,8 +351,6 @@
<span class="identifier">test_generator_attr_delim</span><span class="special">(</span><span class="string">"1.0 2.0 \n3.0 \n"</span><span class="special">,</span> <span class="identifier">columns</span><span class="special">(</span><span class="number">2</span><span class="special">)[*</span><span class="identifier">double_</span><span class="special">],</span> <span class="identifier">space</span><span class="special">,</span> <span class="identifier">v</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/directive/delimit.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/directive/delimit.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/directive/delimit.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
Controlling Automatic Delimiting (<code class="computeroutput"><span class="identifier">verbatim</span><span class="special">[]</span></code>, <code class="computeroutput"><span class="identifier">no_delimit</span><span class="special">[]</span></code>, <code class="computeroutput"><span class="identifier">delimit</span><span class="special">[]</span></code>)</a>
</h5></div></div></div>
<a name="spirit.karma.reference.directive.delimit.description"></a><h6>
-<a name="id1102304"></a>
+<a name="id1085053"></a>
<a class="link" href="delimit.html#spirit.karma.reference.directive.delimit.description">Description</a>
</h6>
<p>
@@ -37,7 +37,7 @@
the directive <code class="computeroutput"><span class="identifier">delimit</span><span class="special">[]</span></code> (re-)enables automatic delimiting.
</p>
<a name="spirit.karma.reference.directive.delimit.header"></a><h6>
-<a name="id1102385"></a>
+<a name="id1085134"></a>
<a class="link" href="delimit.html#spirit.karma.reference.directive.delimit.header">Header</a>
</h6>
<p>
@@ -65,7 +65,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.karma.reference.directive.delimit.namespace"></a><h6>
-<a name="id1102608"></a>
+<a name="id1085358"></a>
<a class="link" href="delimit.html#spirit.karma.reference.directive.delimit.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -97,19 +97,13 @@
</tbody>
</table></div>
<a name="spirit.karma.reference.directive.delimit.model_of"></a><h6>
-<a name="id1102763"></a>
+<a name="id1085512"></a>
<a class="link" href="delimit.html#spirit.karma.reference.directive.delimit.model_of">Model
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../generator_concepts/unarygenerator.html" title="UnaryGenerator"><code class="computeroutput"><span class="identifier">UnaryGenerator</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../generator_concepts/unarygenerator.html" title="UnaryGenerator"><code class="computeroutput"><span class="identifier">UnaryGenerator</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -130,7 +124,7 @@
</dl>
</div>
<a name="spirit.karma.reference.directive.delimit.expression_semantics"></a><h6>
-<a name="id1102893"></a>
+<a name="id1085638"></a>
<a class="link" href="delimit.html#spirit.karma.reference.directive.delimit.expression_semantics">Expression
Semantics</a>
</h6>
@@ -224,7 +218,7 @@
</tbody>
</table></div>
<a name="spirit.karma.reference.directive.delimit.attributes"></a><h6>
-<a name="id1103196"></a>
+<a name="id1085942"></a>
<a class="link" href="delimit.html#spirit.karma.reference.directive.delimit.attributes">Attributes</a>
</h6>
<p>
@@ -316,24 +310,16 @@
</tbody>
</table></div>
<a name="spirit.karma.reference.directive.delimit.complexity"></a><h6>
-<a name="id1103771"></a>
+<a name="id1086517"></a>
<a class="link" href="delimit.html#spirit.karma.reference.directive.delimit.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- The overall complexity of the generator directives <code class="computeroutput"><span class="identifier">delimit</span><span class="special">[]</span></code>,
- <code class="computeroutput"><span class="identifier">verbatim</span><span class="special">[]</span></code>,
- and <code class="computeroutput"><span class="identifier">no_delimit</span><span class="special">[]</span></code>
- is defined by the complexity of its embedded generators. The complexity
- of the directives themselves is O(1).
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ The overall complexity of the generator directives <code class="computeroutput"><span class="identifier">delimit</span><span class="special">[]</span></code>, <code class="computeroutput"><span class="identifier">verbatim</span><span class="special">[]</span></code>, and <code class="computeroutput"><span class="identifier">no_delimit</span><span class="special">[]</span></code> is defined by the complexity of its
+ embedded generators. The complexity of the directives themselves is
+ O(1).
+ </p></blockquote></div>
<a name="spirit.karma.reference.directive.delimit.example"></a><h6>
-<a name="id1103835"></a>
+<a name="id1086570"></a>
<a class="link" href="delimit.html#spirit.karma.reference.directive.delimit.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -350,42 +336,32 @@
Some includes:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">karma</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">iostream</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">string</span><span class="special">></span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">double_</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">delimit</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">verbatim</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Basic usage of <code class="computeroutput"><span class="identifier">delimit</span></code>
generator directive:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_generator_attr</span><span class="special">(</span><span class="string">"[ 2.0 , 4.3 ] "</span><span class="special">,</span>
<span class="identifier">delimit</span><span class="special">[</span><span class="char">'['</span> <span class="special"><<</span> <span class="identifier">double_</span> <span class="special"><<</span> <span class="char">','</span> <span class="special"><<</span> <span class="identifier">double_</span> <span class="special"><<</span> <span class="char">']'</span><span class="special">],</span> <span class="number">2.0</span><span class="special">,</span> <span class="number">4.3</span><span class="special">);</span>
@@ -395,8 +371,6 @@
<span class="identifier">delimit</span><span class="special">[</span><span class="identifier">verbatim</span><span class="special">[</span><span class="char">'['</span> <span class="special"><<</span> <span class="identifier">double_</span> <span class="special"><<</span> <span class="char">','</span><span class="special">]</span> <span class="special"><<</span> <span class="identifier">double_</span> <span class="special"><<</span> <span class="char">']'</span><span class="special">],</span> <span class="number">2.0</span><span class="special">,</span> <span class="number">4.3</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/directive/duplicate.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/directive/duplicate.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/directive/duplicate.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
Attribute (<code class="computeroutput"><span class="identifier">duplicate</span><span class="special">[]</span></code>)</a>
</h5></div></div></div>
<a name="spirit.karma.reference.directive.duplicate.description"></a><h6>
-<a name="id1113414"></a>
+<a name="id1096556"></a>
<a class="link" href="duplicate.html#spirit.karma.reference.directive.duplicate.description">Description</a>
</h6>
<p>
@@ -37,7 +37,7 @@
it does nothing.
</p>
<a name="spirit.karma.reference.directive.duplicate.header"></a><h6>
-<a name="id1113442"></a>
+<a name="id1096584"></a>
<a class="link" href="duplicate.html#spirit.karma.reference.directive.duplicate.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/karma/directive/duplicate.hpp>
@@ -61,19 +61,13 @@
</td></tr></tbody>
</table></div>
<a name="spirit.karma.reference.directive.duplicate.model_of"></a><h6>
-<a name="id1113582"></a>
+<a name="id1096724"></a>
<a class="link" href="duplicate.html#spirit.karma.reference.directive.duplicate.model_of">Model
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../generator_concepts/unarygenerator.html" title="UnaryGenerator"><code class="computeroutput"><span class="identifier">UnaryGenerator</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../generator_concepts/unarygenerator.html" title="UnaryGenerator"><code class="computeroutput"><span class="identifier">UnaryGenerator</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -88,7 +82,7 @@
</dl>
</div>
<a name="spirit.karma.reference.directive.duplicate.expression_semantics"></a><h6>
-<a name="id1113674"></a>
+<a name="id1096812"></a>
<a class="link" href="duplicate.html#spirit.karma.reference.directive.duplicate.expression_semantics">Expression
Semantics</a>
</h6>
@@ -131,7 +125,7 @@
</tr></tbody>
</table></div>
<a name="spirit.karma.reference.directive.duplicate.attributes"></a><h6>
-<a name="id1113783"></a>
+<a name="id1096921"></a>
<a class="link" href="duplicate.html#spirit.karma.reference.directive.duplicate.attributes">Attributes</a>
</h6>
<p>
@@ -183,21 +177,15 @@
the corresponding expression will not compile.
</p>
<a name="spirit.karma.reference.directive.duplicate.complexity"></a><h6>
-<a name="id1114062"></a>
+<a name="id1097486"></a>
<a class="link" href="duplicate.html#spirit.karma.reference.directive.duplicate.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- The overall complexity of the <code class="computeroutput"><span class="identifier">duplicate</span><span class="special">[]</span></code> directive depends on the complexity
- of the embedded generator.
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ The overall complexity of the <code class="computeroutput"><span class="identifier">duplicate</span><span class="special">[]</span></code> directive depends on the complexity
+ of the embedded generator.
+ </p></blockquote></div>
<a name="spirit.karma.reference.directive.duplicate.example"></a><h6>
-<a name="id1114097"></a>
+<a name="id1097517"></a>
<a class="link" href="duplicate.html#spirit.karma.reference.directive.duplicate.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -214,9 +202,7 @@
Some includes:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">karma</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">phoenix_core</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
@@ -226,40 +212,30 @@
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">string</span><span class="special">></span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">double_</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">duplicate</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">space</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Basic usage of the <code class="computeroutput"><span class="identifier">duplicate</span></code>
generators:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_generator_attr</span><span class="special">(</span><span class="string">"2.02.0"</span><span class="special">,</span> <span class="identifier">duplicate</span><span class="special">[</span><span class="identifier">double_</span> <span class="special"><<</span> <span class="identifier">double_</span><span class="special">],</span> <span class="number">2.0</span><span class="special">);</span>
<span class="identifier">test_generator_attr_delim</span><span class="special">(</span><span class="string">"2.0 2.0 "</span><span class="special">,</span> <span class="identifier">duplicate</span><span class="special">[</span><span class="identifier">double_</span> <span class="special"><<</span> <span class="identifier">double_</span><span class="special">],</span> <span class="identifier">space</span><span class="special">,</span> <span class="number">2.0</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/directive/maxwidth.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/directive/maxwidth.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/directive/maxwidth.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
the Maximum Field Width (<code class="computeroutput"><span class="identifier">maxwidth</span><span class="special">[]</span></code>)</a>
</h5></div></div></div>
<a name="spirit.karma.reference.directive.maxwidth.description"></a><h6>
-<a name="id1108546"></a>
+<a name="id1091054"></a>
<a class="link" href="maxwidth.html#spirit.karma.reference.directive.maxwidth.description">Description</a>
</h6>
<p>
@@ -37,7 +37,7 @@
generated by the embedded generator.
</p>
<a name="spirit.karma.reference.directive.maxwidth.header"></a><h6>
-<a name="id1108574"></a>
+<a name="id1091082"></a>
<a class="link" href="maxwidth.html#spirit.karma.reference.directive.maxwidth.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/karma/directive/maxwidth.hpp>
@@ -61,19 +61,13 @@
</td></tr></tbody>
</table></div>
<a name="spirit.karma.reference.directive.maxwidth.model_of"></a><h6>
-<a name="id1108714"></a>
+<a name="id1091222"></a>
<a class="link" href="maxwidth.html#spirit.karma.reference.directive.maxwidth.model_of">Model
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../generator_concepts/unarygenerator.html" title="UnaryGenerator"><code class="computeroutput"><span class="identifier">UnaryGenerator</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../generator_concepts/unarygenerator.html" title="UnaryGenerator"><code class="computeroutput"><span class="identifier">UnaryGenerator</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -93,7 +87,7 @@
</dl>
</div>
<a name="spirit.karma.reference.directive.maxwidth.expression_semantics"></a><h6>
-<a name="id1108830"></a>
+<a name="id1091335"></a>
<a class="link" href="maxwidth.html#spirit.karma.reference.directive.maxwidth.expression_semantics">Expression
Semantics</a>
</h6>
@@ -182,7 +176,7 @@
</td></tr>
</table></div>
<a name="spirit.karma.reference.directive.maxwidth.attributes"></a><h6>
-<a name="id1109099"></a>
+<a name="id1091609"></a>
<a class="link" href="maxwidth.html#spirit.karma.reference.directive.maxwidth.attributes">Attributes</a>
</h6>
<p>
@@ -242,23 +236,17 @@
</tbody>
</table></div>
<a name="spirit.karma.reference.directive.maxwidth.complexity"></a><h6>
-<a name="id1109410"></a>
+<a name="id1091920"></a>
<a class="link" href="maxwidth.html#spirit.karma.reference.directive.maxwidth.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- The overall complexity of the generator directive <code class="computeroutput"><span class="identifier">maxwidth</span><span class="special">[]</span></code> is defined by the complexity of
- its embedded generator. The complexity of the directive itself is
- O(N), where <code class="computeroutput"><span class="identifier">N</span></code> is
- the number of characters generated by the maxwidth directive.
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ The overall complexity of the generator directive <code class="computeroutput"><span class="identifier">maxwidth</span><span class="special">[]</span></code> is defined by the complexity of its
+ embedded generator. The complexity of the directive itself is O(N),
+ where <code class="computeroutput"><span class="identifier">N</span></code> is the number
+ of characters generated by the maxwidth directive.
+ </p></blockquote></div>
<a name="spirit.karma.reference.directive.maxwidth.example"></a><h6>
-<a name="id1109452"></a>
+<a name="id1091958"></a>
<a class="link" href="maxwidth.html#spirit.karma.reference.directive.maxwidth.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -275,25 +263,19 @@
Some includes:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">karma</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">iostream</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">string</span><span class="special">></span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">double_</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">maxwidth</span><span class="special">;</span>
@@ -301,25 +283,19 @@
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">right_align</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Basic usage of <code class="computeroutput"><span class="identifier">maxwidth</span></code>
generator directive:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_generator</span><span class="special">(</span><span class="string">"01234"</span><span class="special">,</span> <span class="identifier">maxwidth</span><span class="special">(</span><span class="number">5</span><span class="special">)[</span><span class="string">"0123456789"</span><span class="special">]);</span>
<span class="identifier">test_generator</span><span class="special">(</span><span class="string">" 012"</span><span class="special">,</span> <span class="identifier">maxwidth</span><span class="special">(</span><span class="number">5</span><span class="special">)[</span><span class="identifier">right_align</span><span class="special">(</span><span class="number">12</span><span class="special">)[</span><span class="string">"0123456789"</span><span class="special">]]);</span>
<span class="identifier">test_generator</span><span class="special">(</span><span class="string">"0123 "</span><span class="special">,</span> <span class="identifier">maxwidth</span><span class="special">(</span><span class="number">8</span><span class="special">)[</span><span class="identifier">left_align</span><span class="special">(</span><span class="number">8</span><span class="special">)[</span><span class="string">"0123"</span><span class="special">]]);</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/directive/omit.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/directive/omit.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/directive/omit.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -29,7 +29,7 @@
and <code class="computeroutput"><span class="identifier">skip</span><span class="special">[]</span></code>)</a>
</h5></div></div></div>
<a name="spirit.karma.reference.directive.omit.description"></a><h6>
-<a name="id1111302"></a>
+<a name="id1093633"></a>
<a class="link" href="omit.html#spirit.karma.reference.directive.omit.description">Description</a>
</h6>
<p>
@@ -42,7 +42,7 @@
to extract the exposed attribute type.
</p>
<a name="spirit.karma.reference.directive.omit.header"></a><h6>
-<a name="id1111362"></a>
+<a name="id1093693"></a>
<a class="link" href="omit.html#spirit.karma.reference.directive.omit.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/karma/directive/omit.hpp>
@@ -74,19 +74,13 @@
</tbody>
</table></div>
<a name="spirit.karma.reference.directive.omit.model_of"></a><h6>
-<a name="id1111541"></a>
+<a name="id1094974"></a>
<a class="link" href="omit.html#spirit.karma.reference.directive.omit.model_of">Model
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../generator_concepts/unarygenerator.html" title="UnaryGenerator"><code class="computeroutput"><span class="identifier">UnaryGenerator</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../generator_concepts/unarygenerator.html" title="UnaryGenerator"><code class="computeroutput"><span class="identifier">UnaryGenerator</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -101,7 +95,7 @@
</dl>
</div>
<a name="spirit.karma.reference.directive.omit.expression_semantics"></a><h6>
-<a name="id1111632"></a>
+<a name="id1095062"></a>
<a class="link" href="omit.html#spirit.karma.reference.directive.omit.expression_semantics">Expression
Semantics</a>
</h6>
@@ -159,7 +153,7 @@
</tbody>
</table></div>
<a name="spirit.karma.reference.directive.omit.attributes"></a><h6>
-<a name="id1111799"></a>
+<a name="id1095229"></a>
<a class="link" href="omit.html#spirit.karma.reference.directive.omit.attributes">Attributes</a>
</h6>
<p>
@@ -219,22 +213,16 @@
</tbody>
</table></div>
<a name="spirit.karma.reference.directive.omit.complexity"></a><h6>
-<a name="id1112088"></a>
+<a name="id1095518"></a>
<a class="link" href="omit.html#spirit.karma.reference.directive.omit.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- The overall complexity of the <code class="computeroutput"><span class="identifier">omit</span><span class="special">[]</span></code> directive depends on the complexity
- of the embedded generator. The overall complexity of the <code class="computeroutput"><span class="identifier">skip</span><span class="special">[]</span></code>
- generator directive is O(1) as it does not generate any output.
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ The overall complexity of the <code class="computeroutput"><span class="identifier">omit</span><span class="special">[]</span></code> directive depends on the complexity
+ of the embedded generator. The overall complexity of the <code class="computeroutput"><span class="identifier">skip</span><span class="special">[]</span></code>
+ generator directive is O(1) as it does not generate any output.
+ </p></blockquote></div>
<a name="spirit.karma.reference.directive.omit.example"></a><h6>
-<a name="id1112134"></a>
+<a name="id1095560"></a>
<a class="link" href="omit.html#spirit.karma.reference.directive.omit.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -251,9 +239,7 @@
Some includes:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">karma</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">phoenix_core</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
@@ -263,23 +249,17 @@
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">string</span><span class="special">></span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">double_</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">omit</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Basic usage of a <code class="computeroutput"><span class="identifier">omit</span></code>
@@ -289,16 +269,12 @@
generator.
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span><span class="special"><</span><span class="keyword">double</span><span class="special">,</span> <span class="keyword">double</span><span class="special">></span> <span class="identifier">p</span> <span class="special">(</span><span class="number">1.0</span><span class="special">,</span> <span class="number">2.0</span><span class="special">);</span>
<span class="identifier">test_generator_attr</span><span class="special">(</span><span class="string">"2.0"</span><span class="special">,</span> <span class="identifier">omit</span><span class="special">[</span><span class="identifier">double_</span><span class="special">]</span> <span class="special"><<</span> <span class="identifier">double_</span><span class="special">,</span> <span class="identifier">p</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Generally, this directive is helpful in situations, where the attribute
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/directive/repeat.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/directive/repeat.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/directive/repeat.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
Directive (<code class="computeroutput"><span class="identifier">repeat</span><span class="special">[]</span></code>)</a>
</h5></div></div></div>
<a name="spirit.karma.reference.directive.repeat.description"></a><h6>
-<a name="id1098675"></a>
+<a name="id1082586"></a>
<a class="link" href="repeat.html#spirit.karma.reference.directive.repeat.description">Description</a>
</h6>
<p>
@@ -42,17 +42,17 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- A file name may have a maximum of 255 characters only.
- </li>
+ A file name may have a maximum of 255 characters only.
+ </li>
<li class="listitem">
- A specific bitmap file format has exactly 4096 RGB color information.
- </li>
+ A specific bitmap file format has exactly 4096 RGB color information.
+ </li>
<li class="listitem">
- A 256 bit binary string (1..256 1s or 0s).
- </li>
+ A 256 bit binary string (1..256 1s or 0s).
+ </li>
</ul></div>
<a name="spirit.karma.reference.directive.repeat.header"></a><h6>
-<a name="id1098728"></a>
+<a name="id1082649"></a>
<a class="link" href="repeat.html#spirit.karma.reference.directive.repeat.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/karma/directive/repeat.hpp>
@@ -62,7 +62,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.karma.reference.directive.repeat.namespace"></a><h6>
-<a name="id1098803"></a>
+<a name="id1082724"></a>
<a class="link" href="repeat.html#spirit.karma.reference.directive.repeat.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -88,19 +88,13 @@
</tbody>
</table></div>
<a name="spirit.karma.reference.directive.repeat.model_of"></a><h6>
-<a name="id1098920"></a>
+<a name="id1082848"></a>
<a class="link" href="repeat.html#spirit.karma.reference.directive.repeat.model_of">Model
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../generator_concepts/unarygenerator.html" title="UnaryGenerator"><code class="computeroutput"><span class="identifier">UnaryGenerator</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../generator_concepts/unarygenerator.html" title="UnaryGenerator"><code class="computeroutput"><span class="identifier">UnaryGenerator</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -122,7 +116,7 @@
</dl>
</div>
<a name="spirit.karma.reference.directive.repeat.expression_semantics"></a><h6>
-<a name="id1099046"></a>
+<a name="id1082970"></a>
<a class="link" href="repeat.html#spirit.karma.reference.directive.repeat.expression_semantics">Expression
Semantics</a>
</h6>
@@ -241,7 +235,7 @@
</p></td></tr>
</table></div>
<a name="spirit.karma.reference.directive.repeat.attributes"></a><h6>
-<a name="id1099469"></a>
+<a name="id1083393"></a>
<a class="link" href="repeat.html#spirit.karma.reference.directive.repeat.attributes">Attributes</a>
</h6>
<p>
@@ -389,22 +383,16 @@
</td></tr>
</table></div>
<a name="spirit.karma.reference.directive.repeat.complexity"></a><h6>
-<a name="id1100351"></a>
+<a name="id1084275"></a>
<a class="link" href="repeat.html#spirit.karma.reference.directive.repeat.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- The overall complexity of the repetition generator is defined by
- the complexity of its embedded generator. The complexity of the repeat
- itself is O(N), where N is the number of repetitions to execute.
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ The overall complexity of the repetition generator is defined by the
+ complexity of its embedded generator. The complexity of the repeat
+ itself is O(N), where N is the number of repetitions to execute.
+ </p></blockquote></div>
<a name="spirit.karma.reference.directive.repeat.example"></a><h6>
-<a name="id1100375"></a>
+<a name="id1084295"></a>
<a class="link" href="repeat.html#spirit.karma.reference.directive.repeat.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -421,9 +409,7 @@
Some includes:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">karma</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">phoenix_core</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
@@ -433,32 +419,24 @@
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">string</span><span class="special">></span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">double_</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">repeat</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Basic usage of <code class="computeroutput"><span class="identifier">repeat</span></code>
generator directive:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">double</span><span class="special">></span> <span class="identifier">v</span><span class="special">;</span>
<span class="identifier">v</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span><span class="number">1.0</span><span class="special">);</span>
@@ -472,8 +450,6 @@
</span><span class="identifier">test_generator_attr</span><span class="special">(</span><span class="string">""</span><span class="special">,</span> <span class="identifier">repeat</span><span class="special">(</span><span class="number">4</span><span class="special">)[</span><span class="char">'['</span> <span class="special"><<</span> <span class="identifier">double_</span> <span class="special"><<</span> <span class="char">']'</span><span class="special">],</span> <span class="identifier">v</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/directive/upperlower.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/directive/upperlower.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/directive/upperlower.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
Controlling Case Sensitivity (<code class="computeroutput"><span class="identifier">upper</span><span class="special">[]</span></code>, <code class="computeroutput"><span class="identifier">lower</span><span class="special">[]</span></code>)</a>
</h5></div></div></div>
<a name="spirit.karma.reference.directive.upperlower.description"></a><h6>
-<a name="id1104404"></a>
+<a name="id1087128"></a>
<a class="link" href="upperlower.html#spirit.karma.reference.directive.upperlower.description">Description</a>
</h6>
<p>
@@ -38,7 +38,7 @@
Encoding Namespace</a>).
</p>
<a name="spirit.karma.reference.directive.upperlower.header"></a><h6>
-<a name="id1104469"></a>
+<a name="id1089385"></a>
<a class="link" href="upperlower.html#spirit.karma.reference.directive.upperlower.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/karma/directive/upper_lower_case.hpp>
@@ -48,7 +48,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.karma.reference.directive.upperlower.namespace"></a><h6>
-<a name="id1104543"></a>
+<a name="id1089459"></a>
<a class="link" href="upperlower.html#spirit.karma.reference.directive.upperlower.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -77,19 +77,13 @@
Encoding Namespace</a>.
</p>
<a name="spirit.karma.reference.directive.upperlower.model_of"></a><h6>
-<a name="id1104650"></a>
+<a name="id1089566"></a>
<a class="link" href="upperlower.html#spirit.karma.reference.directive.upperlower.model_of">Model
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- The model of <code class="computeroutput"><span class="identifier">lower</span><span class="special">[]</span></code> and <code class="computeroutput"><span class="identifier">upper</span><span class="special">[]</span></code> is the model of its subject generator.
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ The model of <code class="computeroutput"><span class="identifier">lower</span><span class="special">[]</span></code> and <code class="computeroutput"><span class="identifier">upper</span><span class="special">[]</span></code> is the model of its subject generator.
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -109,7 +103,7 @@
</dl>
</div>
<a name="spirit.karma.reference.directive.upperlower.expression_semantics"></a><h6>
-<a name="id1104772"></a>
+<a name="id1089685"></a>
<a class="link" href="upperlower.html#spirit.karma.reference.directive.upperlower.expression_semantics">Expression
Semantics</a>
</h6>
@@ -221,7 +215,7 @@
</td></tr>
</table></div>
<a name="spirit.karma.reference.directive.upperlower.attributes"></a><h6>
-<a name="id1105377"></a>
+<a name="id1090290"></a>
<a class="link" href="upperlower.html#spirit.karma.reference.directive.upperlower.attributes">Attributes</a>
</h6>
<p>
@@ -281,24 +275,16 @@
</tbody>
</table></div>
<a name="spirit.karma.reference.directive.upperlower.complexity"></a><h6>
-<a name="id1105710"></a>
+<a name="id1090622"></a>
<a class="link" href="upperlower.html#spirit.karma.reference.directive.upperlower.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- The overall complexity of the generator directives <code class="computeroutput"><span class="identifier">ns</span><span class="special">::</span><span class="identifier">lower</span><span class="special">[]</span></code>
- and <code class="computeroutput"><span class="identifier">ns</span><span class="special">::</span><span class="identifier">upper</span><span class="special">[]</span></code>
- is defined by the complexity of its embedded generators. The directives
- themselves are compile time only directives, having no impact on
- runtime performance.
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ The overall complexity of the generator directives <code class="computeroutput"><span class="identifier">ns</span><span class="special">::</span><span class="identifier">lower</span><span class="special">[]</span></code> and <code class="computeroutput"><span class="identifier">ns</span><span class="special">::</span><span class="identifier">upper</span><span class="special">[]</span></code> is defined by the complexity of its
+ embedded generators. The directives themselves are compile time only
+ directives, having no impact on runtime performance.
+ </p></blockquote></div>
<a name="spirit.karma.reference.directive.upperlower.example"></a><h6>
-<a name="id1105770"></a>
+<a name="id1090678"></a>
<a class="link" href="upperlower.html#spirit.karma.reference.directive.upperlower.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -315,49 +301,37 @@
Some includes:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">karma</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">iostream</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">string</span><span class="special">></span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">double_</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">ascii</span><span class="special">::</span><span class="identifier">upper</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">ascii</span><span class="special">::</span><span class="identifier">lower</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Basic usage of the <code class="computeroutput"><span class="identifier">upper</span></code>
and <code class="computeroutput"><span class="identifier">lower</span></code> generator directives:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_generator_attr</span><span class="special">(</span><span class="string">"abc:2.0e-06"</span><span class="special">,</span> <span class="identifier">lower</span><span class="special">[</span><span class="string">"ABC:"</span> <span class="special"><<</span> <span class="identifier">double_</span><span class="special">],</span> <span class="number">2e-6</span><span class="special">);</span>
<span class="identifier">test_generator_attr</span><span class="special">(</span><span class="string">"ABC:2.0E-06"</span><span class="special">,</span> <span class="identifier">upper</span><span class="special">[</span><span class="string">"abc:"</span> <span class="special"><<</span> <span class="identifier">double_</span><span class="special">],</span> <span class="number">2e-6</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/generate_api/create_generator.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/generate_api/create_generator.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/generate_api/create_generator.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
API for Automatic Generator Creation</a>
</h5></div></div></div>
<a name="spirit.karma.reference.generate_api.create_generator.description"></a><h6>
-<a name="id1060230"></a>
+<a name="id1044101"></a>
<a class="link" href="create_generator.html#spirit.karma.reference.generate_api.create_generator.description">Description</a>
</h6>
<p>
@@ -39,7 +39,7 @@
generator can be utilized to emit output for the provided attribute.
</p>
<a name="spirit.karma.reference.generate_api.create_generator.header"></a><h6>
-<a name="id1060249"></a>
+<a name="id1044120"></a>
<a class="link" href="create_generator.html#spirit.karma.reference.generate_api.create_generator.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/karma/auto.hpp>
@@ -49,7 +49,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.karma.reference.generate_api.create_generator.namespace"></a><h6>
-<a name="id1060328"></a>
+<a name="id1044200"></a>
<a class="link" href="create_generator.html#spirit.karma.reference.generate_api.create_generator.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -73,7 +73,7 @@
</tbody>
</table></div>
<a name="spirit.karma.reference.generate_api.create_generator.synopsis"></a><h6>
-<a name="id1060453"></a>
+<a name="id1044324"></a>
<a class="link" href="create_generator.html#spirit.karma.reference.generate_api.create_generator.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">spirit</span> <span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">karma</span>
@@ -295,7 +295,7 @@
</p></td></tr>
</table></div>
<a name="spirit.karma.reference.generate_api.create_generator.template_parameters"></a><h6>
-<a name="id1063142"></a>
+<a name="id1045858"></a>
<a class="link" href="create_generator.html#spirit.karma.reference.generate_api.create_generator.template_parameters">Template
parameters</a>
</h6>
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/generate_api/iterator_api.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/generate_api/iterator_api.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/generate_api/iterator_api.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
Iterator Based Generator API</a>
</h5></div></div></div>
<a name="spirit.karma.reference.generate_api.iterator_api.description"></a><h6>
-<a name="id1054312"></a>
+<a name="id1038269"></a>
<a class="link" href="iterator_api.html#spirit.karma.reference.generate_api.iterator_api.description">Description</a>
</h6>
<p>
@@ -41,7 +41,7 @@
reference that hold the attribute values to output.
</p>
<a name="spirit.karma.reference.generate_api.iterator_api.header"></a><h6>
-<a name="id1054346"></a>
+<a name="id1038303"></a>
<a class="link" href="iterator_api.html#spirit.karma.reference.generate_api.iterator_api.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/karma/generate.hpp>
@@ -73,7 +73,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.karma.reference.generate_api.iterator_api.namespace"></a><h6>
-<a name="id1055668"></a>
+<a name="id1038515"></a>
<a class="link" href="iterator_api.html#spirit.karma.reference.generate_api.iterator_api.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -107,7 +107,7 @@
</tbody>
</table></div>
<a name="spirit.karma.reference.generate_api.iterator_api.synopsis"></a><h6>
-<a name="id1055887"></a>
+<a name="id1038733"></a>
<a class="link" href="iterator_api.html#spirit.karma.reference.generate_api.iterator_api.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">spirit</span> <span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">karma</span>
@@ -208,7 +208,7 @@
by using the other version of that function while passing <code class="computeroutput"><span class="identifier">delimit_flag</span><span class="special">::</span><span class="identifier">predelimit</span></code> to the corresponding argument.
</p>
<a name="spirit.karma.reference.generate_api.iterator_api.template_parameters"></a><h6>
-<a name="id1057366"></a>
+<a name="id1041374"></a>
<a class="link" href="iterator_api.html#spirit.karma.reference.generate_api.iterator_api.template_parameters">Template
parameters</a>
</h6>
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/generate_api/stream_api.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/generate_api/stream_api.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/generate_api/stream_api.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
Stream Based Generator API</a>
</h5></div></div></div>
<a name="spirit.karma.reference.generate_api.stream_api.description"></a><h6>
-<a name="id1057578"></a>
+<a name="id1041585"></a>
<a class="link" href="stream_api.html#spirit.karma.reference.generate_api.stream_api.description">Description</a>
</h6>
<p>
@@ -43,7 +43,7 @@
reference that hold the attribute values to output.
</p>
<a name="spirit.karma.reference.generate_api.stream_api.header"></a><h6>
-<a name="id1057622"></a>
+<a name="id1041630"></a>
<a class="link" href="stream_api.html#spirit.karma.reference.generate_api.stream_api.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/karma/stream/format_manip.hpp>
@@ -75,7 +75,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.karma.reference.generate_api.stream_api.namespace"></a><h6>
-<a name="id1058518"></a>
+<a name="id1041842"></a>
<a class="link" href="stream_api.html#spirit.karma.reference.generate_api.stream_api.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -109,7 +109,7 @@
</tbody>
</table></div>
<a name="spirit.karma.reference.generate_api.stream_api.synopsis"></a><h6>
-<a name="id1058734"></a>
+<a name="id1042058"></a>
<a class="link" href="stream_api.html#spirit.karma.reference.generate_api.stream_api.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">spirit</span> <span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">karma</span>
@@ -204,7 +204,7 @@
by using the other version of that manipulator while passing <code class="computeroutput"><span class="identifier">delimit_flag</span><span class="special">::</span><span class="identifier">predelimit</span></code> to the corresponding argument.
</p>
<a name="spirit.karma.reference.generate_api.stream_api.template_parameters"></a><h6>
-<a name="id1060056"></a>
+<a name="id1043927"></a>
<a class="link" href="stream_api.html#spirit.karma.reference.generate_api.stream_api.template_parameters">Template
parameters</a>
</h6>
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/generator_concepts/binarygenerator.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/generator_concepts/binarygenerator.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/generator_concepts/binarygenerator.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -27,7 +27,7 @@
<a name="spirit.karma.reference.generator_concepts.binarygenerator"></a><a class="link" href="binarygenerator.html" title="BinaryGenerator">BinaryGenerator</a>
</h5></div></div></div>
<a name="spirit.karma.reference.generator_concepts.binarygenerator.description"></a><h6>
-<a name="id1048476"></a>
+<a name="id1031180"></a>
<a class="link" href="binarygenerator.html#spirit.karma.reference.generator_concepts.binarygenerator.description">Description</a>
</h6>
<p>
@@ -39,19 +39,13 @@
Design Pattern.
</p>
<a name="spirit.karma.reference.generator_concepts.binarygenerator.refinement_of"></a><h6>
-<a name="id1048523"></a>
+<a name="id1031227"></a>
<a class="link" href="binarygenerator.html#spirit.karma.reference.generator_concepts.binarygenerator.refinement_of">Refinement
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="generator.html" title="Generator"><code class="computeroutput"><span class="identifier">Generator</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="generator.html" title="Generator"><code class="computeroutput"><span class="identifier">Generator</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -66,7 +60,7 @@
</dl>
</div>
<a name="spirit.karma.reference.generator_concepts.binarygenerator.valid_expressions"></a><h6>
-<a name="id1048604"></a>
+<a name="id1031303"></a>
<a class="link" href="binarygenerator.html#spirit.karma.reference.generator_concepts.binarygenerator.valid_expressions">Valid
Expressions</a>
</h6>
@@ -135,7 +129,7 @@
</tbody>
</table></div>
<a name="spirit.karma.reference.generator_concepts.binarygenerator.type_expressions"></a><h6>
-<a name="id1048774"></a>
+<a name="id1031474"></a>
<a class="link" href="binarygenerator.html#spirit.karma.reference.generator_concepts.binarygenerator.type_expressions">Type
Expressions</a>
</h6>
@@ -200,7 +194,7 @@
</tbody>
</table></div>
<a name="spirit.karma.reference.generator_concepts.binarygenerator.invariants"></a><h6>
-<a name="id1048976"></a>
+<a name="id1031675"></a>
<a class="link" href="binarygenerator.html#spirit.karma.reference.generator_concepts.binarygenerator.invariants">Invariants</a>
</h6>
<p>
@@ -209,22 +203,22 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
-<code class="computeroutput"><span class="identifier">traits</span><span class="special">::</span><span class="identifier">is_generator</span><span class="special"><</span><span class="identifier">G</span><span class="special">::</span><span class="identifier">left_type</span><span class="special">>::</span><span class="identifier">type</span></code> evaluates to <code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">true_</span></code>
-</li>
+ <code class="computeroutput"><span class="identifier">traits</span><span class="special">::</span><span class="identifier">is_generator</span><span class="special"><</span><span class="identifier">G</span><span class="special">::</span><span class="identifier">left_type</span><span class="special">>::</span><span class="identifier">type</span></code> evaluates to <code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">true_</span></code>
+ </li>
<li class="listitem">
-<code class="computeroutput"><span class="identifier">traits</span><span class="special">::</span><span class="identifier">is_generator</span><span class="special"><</span><span class="identifier">G</span><span class="special">::</span><span class="identifier">right_type</span><span class="special">>::</span><span class="identifier">type</span></code> evaluates to <code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">true_</span></code>
-</li>
+ <code class="computeroutput"><span class="identifier">traits</span><span class="special">::</span><span class="identifier">is_generator</span><span class="special"><</span><span class="identifier">G</span><span class="special">::</span><span class="identifier">right_type</span><span class="special">>::</span><span class="identifier">type</span></code> evaluates to <code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">true_</span></code>
+ </li>
</ul></div>
<a name="spirit.karma.reference.generator_concepts.binarygenerator.models"></a><h6>
-<a name="id1049112"></a>
+<a name="id1031819"></a>
<a class="link" href="binarygenerator.html#spirit.karma.reference.generator_concepts.binarygenerator.models">Models</a>
</h6>
<p>
The following generators conform to this model:
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem">
-<a class="link" href="../operator/list.html" title="Lists (a % b)">List (<code class="computeroutput"><span class="special">%</span></code>)</a>.
- </li></ul></div>
+ <a class="link" href="../operator/list.html" title="Lists (a % b)">List (<code class="computeroutput"><span class="special">%</span></code>)</a>.
+ </li></ul></div>
<p>
<span class="bold"><strong>FIXME</strong></span> Add more links to models of BinaryGenerator
concept
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/generator_concepts/generator.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/generator_concepts/generator.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/generator_concepts/generator.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -27,7 +27,7 @@
<a name="spirit.karma.reference.generator_concepts.generator"></a><a class="link" href="generator.html" title="Generator">Generator</a>
</h5></div></div></div>
<a name="spirit.karma.reference.generator_concepts.generator.description"></a><h6>
-<a name="id1043745"></a>
+<a name="id1027476"></a>
<a class="link" href="generator.html#spirit.karma.reference.generator_concepts.generator.description">Description</a>
</h6>
<p>
@@ -81,7 +81,7 @@
</dl>
</div>
<a name="spirit.karma.reference.generator_concepts.generator.valid_expressions"></a><h6>
-<a name="id1044008"></a>
+<a name="id1027738"></a>
<a class="link" href="generator.html#spirit.karma.reference.generator_concepts.generator.valid_expressions">Valid
Expressions</a>
</h6>
@@ -164,7 +164,7 @@
</tbody>
</table></div>
<a name="spirit.karma.reference.generator_concepts.generator.type_expressions"></a><h6>
-<a name="id1044276"></a>
+<a name="id1028007"></a>
<a class="link" href="generator.html#spirit.karma.reference.generator_concepts.generator.type_expressions">Type
Expressions</a>
</h6>
@@ -231,7 +231,7 @@
</tbody>
</table></div>
<a name="spirit.karma.reference.generator_concepts.generator.postcondition"></a><h6>
-<a name="id1044548"></a>
+<a name="id1028278"></a>
<a class="link" href="generator.html#spirit.karma.reference.generator_concepts.generator.postcondition">Postcondition</a>
</h6>
<p>
@@ -240,20 +240,20 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- On successful generation, <code class="computeroutput"><span class="identifier">sink</span></code>
- receives the generated characters/tokens sequence.
- </li>
+ On successful generation, <code class="computeroutput"><span class="identifier">sink</span></code>
+ receives the generated characters/tokens sequence.
+ </li>
<li class="listitem">
- No pre-delimits: <code class="computeroutput"><span class="identifier">delimit</span></code>
- characters/tokens will not be emitted in front of any other output.
- </li>
+ No pre-delimits: <code class="computeroutput"><span class="identifier">delimit</span></code>
+ characters/tokens will not be emitted in front of any other output.
+ </li>
<li class="listitem">
- The attribute <code class="computeroutput"><span class="identifier">attrib</span></code>
- has not been modified.
- </li>
+ The attribute <code class="computeroutput"><span class="identifier">attrib</span></code>
+ has not been modified.
+ </li>
</ul></div>
<a name="spirit.karma.reference.generator_concepts.generator.models"></a><h6>
-<a name="id1044617"></a>
+<a name="id1028359"></a>
<a class="link" href="generator.html#spirit.karma.reference.generator_concepts.generator.models">Models</a>
</h6>
<p>
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/generator_concepts/narygenerator.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/generator_concepts/narygenerator.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/generator_concepts/narygenerator.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -27,7 +27,7 @@
<a name="spirit.karma.reference.generator_concepts.narygenerator"></a><a class="link" href="narygenerator.html" title="NaryGenerator">NaryGenerator</a>
</h5></div></div></div>
<a name="spirit.karma.reference.generator_concepts.narygenerator.description"></a><h6>
-<a name="id1049168"></a>
+<a name="id1031878"></a>
<a class="link" href="narygenerator.html#spirit.karma.reference.generator_concepts.narygenerator.description">Description</a>
</h6>
<p>
@@ -37,19 +37,13 @@
Design Pattern.
</p>
<a name="spirit.karma.reference.generator_concepts.narygenerator.refinement_of"></a><h6>
-<a name="id1049199"></a>
+<a name="id1031909"></a>
<a class="link" href="narygenerator.html#spirit.karma.reference.generator_concepts.narygenerator.refinement_of">Refinement
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="generator.html" title="Generator"><code class="computeroutput"><span class="identifier">Generator</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="generator.html" title="Generator"><code class="computeroutput"><span class="identifier">Generator</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -64,7 +58,7 @@
</dl>
</div>
<a name="spirit.karma.reference.generator_concepts.narygenerator.valid_expressions"></a><h6>
-<a name="id1049279"></a>
+<a name="id1031986"></a>
<a class="link" href="narygenerator.html#spirit.karma.reference.generator_concepts.narygenerator.valid_expressions">Valid
Expressions</a>
</h6>
@@ -115,7 +109,7 @@
</tr></tbody>
</table></div>
<a name="spirit.karma.reference.generator_concepts.narygenerator.type_expressions"></a><h6>
-<a name="id1049403"></a>
+<a name="id1032110"></a>
<a class="link" href="narygenerator.html#spirit.karma.reference.generator_concepts.narygenerator.type_expressions">Type
Expressions</a>
</h6>
@@ -168,7 +162,7 @@
</tbody>
</table></div>
<a name="spirit.karma.reference.generator_concepts.narygenerator.invariants"></a><h6>
-<a name="id1049572"></a>
+<a name="id1032279"></a>
<a class="link" href="narygenerator.html#spirit.karma.reference.generator_concepts.narygenerator.invariants">Invariants</a>
</h6>
<p>
@@ -177,10 +171,10 @@
the following invariant always holds:
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem">
-<code class="computeroutput"><span class="identifier">traits</span><span class="special">::</span><span class="identifier">is_generator</span><span class="special"><</span><span class="identifier">E</span><span class="special">>::</span><span class="identifier">type</span></code> evaluates to <code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">true_</span></code>
-</li></ul></div>
+ <code class="computeroutput"><span class="identifier">traits</span><span class="special">::</span><span class="identifier">is_generator</span><span class="special"><</span><span class="identifier">E</span><span class="special">>::</span><span class="identifier">type</span></code> evaluates to <code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">true_</span></code>
+ </li></ul></div>
<a name="spirit.karma.reference.generator_concepts.narygenerator.models"></a><h6>
-<a name="id1049657"></a>
+<a name="id1032368"></a>
<a class="link" href="narygenerator.html#spirit.karma.reference.generator_concepts.narygenerator.models">Models</a>
</h6>
<p>
@@ -188,12 +182,13 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
-<a class="link" href="../operator/sequence.html" title="Sequences (a << b)">Sequence (<code class="computeroutput"><span class="special"><<</span></code>)</a>,
- </li>
+ <a class="link" href="../operator/sequence.html" title="Sequences (a << b)">Sequence
+ (<code class="computeroutput"><span class="special"><<</span></code>)</a>,
+ </li>
<li class="listitem">
-<a class="link" href="../operator/alternative.html" title="Alternative (a | b)">Alternative
- (<code class="computeroutput"><span class="special">|</span></code>)</a>.
- </li>
+ <a class="link" href="../operator/alternative.html" title="Alternative (a | b)">Alternative
+ (<code class="computeroutput"><span class="special">|</span></code>)</a>.
+ </li>
</ul></div>
<p>
<span class="bold"><strong>FIXME</strong></span> Add more links to models of NaryGenerator
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/generator_concepts/nonterminal.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/generator_concepts/nonterminal.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/generator_concepts/nonterminal.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -27,7 +27,7 @@
<a name="spirit.karma.reference.generator_concepts.nonterminal"></a><a class="link" href="nonterminal.html" title="Nonterminal">Nonterminal</a>
</h5></div></div></div>
<a name="spirit.karma.reference.generator_concepts.nonterminal.description"></a><h6>
-<a name="id1049730"></a>
+<a name="id1032448"></a>
<a class="link" href="nonterminal.html#spirit.karma.reference.generator_concepts.nonterminal.description">Description</a>
</h6>
<p>
@@ -38,21 +38,15 @@
in recursive descent generation.
</p>
<a name="spirit.karma.reference.generator_concepts.nonterminal.refinement_of"></a><h6>
-<a name="id1049752"></a>
+<a name="id1032470"></a>
<a class="link" href="nonterminal.html#spirit.karma.reference.generator_concepts.nonterminal.refinement_of">Refinement
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="generator.html" title="Generator"><code class="computeroutput"><span class="identifier">Generator</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="generator.html" title="Generator"><code class="computeroutput"><span class="identifier">Generator</span></code></a>
+ </p></blockquote></div>
<a name="spirit.karma.reference.generator_concepts.nonterminal.signature"></a><h6>
-<a name="id1049788"></a>
+<a name="id1032502"></a>
<a class="link" href="nonterminal.html#spirit.karma.reference.generator_concepts.nonterminal.signature">Signature</a>
</h6>
<p>
@@ -69,7 +63,7 @@
inherited attributes.
</p>
<a name="spirit.karma.reference.generator_concepts.nonterminal.attributes"></a><h6>
-<a name="id1049886"></a>
+<a name="id1032601"></a>
<a class="link" href="nonterminal.html#spirit.karma.reference.generator_concepts.nonterminal.attributes">Attributes</a>
</h6>
<p>
@@ -82,7 +76,7 @@
<pre class="programlisting"><span class="identifier">r</span><span class="special">(</span><span class="identifier">expr</span><span class="special">)</span> <span class="comment">// Evaluate expr at parse time and pass the result to the Nonterminal r
</span></pre>
<a name="spirit.karma.reference.generator_concepts.nonterminal._code__phrase_role__identifier___val__phrase___code_"></a><h6>
-<a name="id1049931"></a>
+<a name="id1032645"></a>
<a class="link" href="nonterminal.html#spirit.karma.reference.generator_concepts.nonterminal._code__phrase_role__identifier___val__phrase___code_"><code class="computeroutput"><span class="identifier">_val</span></code></a>
</h6>
<p>
@@ -92,7 +86,7 @@
reference to the Nonterminal's attribute.
</p>
<a name="spirit.karma.reference.generator_concepts.nonterminal._code__phrase_role__identifier___r1__phrase___code_____code__phrase_role__identifier__r10__phrase___code_"></a><h6>
-<a name="id1050141"></a>
+<a name="id1032712"></a>
<a class="link" href="nonterminal.html#spirit.karma.reference.generator_concepts.nonterminal._code__phrase_role__identifier___r1__phrase___code_____code__phrase_role__identifier__r10__phrase___code_"><code class="computeroutput"><span class="identifier">_r1</span></code>...<code class="computeroutput"><span class="identifier">r10</span></code></a>
</h6>
<p>
@@ -102,7 +96,7 @@
refer to the Nonterminal's inherited attributes.
</p>
<a name="spirit.karma.reference.generator_concepts.nonterminal.locals"></a><h6>
-<a name="id1050225"></a>
+<a name="id1032796"></a>
<a class="link" href="nonterminal.html#spirit.karma.reference.generator_concepts.nonterminal.locals">Locals</a>
</h6>
<p>
@@ -119,16 +113,36 @@
semantic actions using the placeholders:
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
-<li class="listitem"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">_a</span></code></li>
-<li class="listitem"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">_b</span></code></li>
-<li class="listitem"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">_c</span></code></li>
-<li class="listitem"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">_d</span></code></li>
-<li class="listitem"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">_e</span></code></li>
-<li class="listitem"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">_f</span></code></li>
-<li class="listitem"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">_g</span></code></li>
-<li class="listitem"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">_h</span></code></li>
-<li class="listitem"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">_i</span></code></li>
-<li class="listitem"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">_j</span></code></li>
+<li class="listitem">
+ <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">_a</span></code>
+ </li>
+<li class="listitem">
+ <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">_b</span></code>
+ </li>
+<li class="listitem">
+ <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">_c</span></code>
+ </li>
+<li class="listitem">
+ <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">_d</span></code>
+ </li>
+<li class="listitem">
+ <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">_e</span></code>
+ </li>
+<li class="listitem">
+ <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">_f</span></code>
+ </li>
+<li class="listitem">
+ <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">_g</span></code>
+ </li>
+<li class="listitem">
+ <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">_h</span></code>
+ </li>
+<li class="listitem">
+ <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">_i</span></code>
+ </li>
+<li class="listitem">
+ <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">_j</span></code>
+ </li>
</ul></div>
<p>
which correspond to the Nonterminal's local variables <code class="computeroutput"><span class="identifier">T0</span></code>
@@ -154,7 +168,7 @@
</dl>
</div>
<a name="spirit.karma.reference.generator_concepts.nonterminal.valid_expressions"></a><h6>
-<a name="id1050707"></a>
+<a name="id1034498"></a>
<a class="link" href="nonterminal.html#spirit.karma.reference.generator_concepts.nonterminal.valid_expressions">Valid
Expressions</a>
</h6>
@@ -260,7 +274,7 @@
</tbody>
</table></div>
<a name="spirit.karma.reference.generator_concepts.nonterminal.type_expressions"></a><h6>
-<a name="id1051032"></a>
+<a name="id1034824"></a>
<a class="link" href="nonterminal.html#spirit.karma.reference.generator_concepts.nonterminal.type_expressions">Type
Expressions</a>
</h6>
@@ -315,12 +329,16 @@
</tbody>
</table></div>
<a name="spirit.karma.reference.generator_concepts.nonterminal.models"></a><h6>
-<a name="id1051174"></a>
+<a name="id1034965"></a>
<a class="link" href="nonterminal.html#spirit.karma.reference.generator_concepts.nonterminal.models">Models</a>
</h6>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
-<li class="listitem"><a class="link" href="../nonterminal/rule.html" title="Rule">rule</a></li>
-<li class="listitem"><a class="link" href="../nonterminal/grammar.html" title="Grammar">grammar</a></li>
+<li class="listitem">
+ <a class="link" href="../nonterminal/rule.html" title="Rule">rule</a>
+ </li>
+<li class="listitem">
+ <a class="link" href="../nonterminal/grammar.html" title="Grammar">grammar</a>
+ </li>
</ul></div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/generator_concepts/primitivegenerator.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/generator_concepts/primitivegenerator.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/generator_concepts/primitivegenerator.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -27,7 +27,7 @@
<a name="spirit.karma.reference.generator_concepts.primitivegenerator"></a><a class="link" href="primitivegenerator.html" title="PrimitiveGenerator">PrimitiveGenerator</a>
</h5></div></div></div>
<a name="spirit.karma.reference.generator_concepts.primitivegenerator.description"></a><h6>
-<a name="id1044659"></a>
+<a name="id1028401"></a>
<a class="link" href="primitivegenerator.html#spirit.karma.reference.generator_concepts.primitivegenerator.description">Description</a>
</h6>
<p>
@@ -35,21 +35,15 @@
that the client uses to build more complex generators.
</p>
<a name="spirit.karma.reference.generator_concepts.primitivegenerator.refinement_of"></a><h6>
-<a name="id1044680"></a>
+<a name="id1028421"></a>
<a class="link" href="primitivegenerator.html#spirit.karma.reference.generator_concepts.primitivegenerator.refinement_of">Refinement
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="generator.html" title="Generator"><code class="computeroutput"><span class="identifier">Generator</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="generator.html" title="Generator"><code class="computeroutput"><span class="identifier">Generator</span></code></a>
+ </p></blockquote></div>
<a name="spirit.karma.reference.generator_concepts.primitivegenerator.post_delimit"></a><h6>
-<a name="id1044713"></a>
+<a name="id1028451"></a>
<a class="link" href="primitivegenerator.html#spirit.karma.reference.generator_concepts.primitivegenerator.post_delimit">Post-delimit</a>
</h6>
<p>
@@ -62,7 +56,7 @@
<pre class="programlisting"><span class="identifier">karma</span><span class="special">::</span><span class="identifier">delimit_out</span><span class="special">(</span><span class="identifier">sink</span><span class="special">,</span> <span class="identifier">delimit</span><span class="special">);</span>
</pre>
<a name="spirit.karma.reference.generator_concepts.primitivegenerator.type_expressions"></a><h6>
-<a name="id1044786"></a>
+<a name="id1028524"></a>
<a class="link" href="primitivegenerator.html#spirit.karma.reference.generator_concepts.primitivegenerator.type_expressions">Type
Expressions</a>
</h6>
@@ -101,7 +95,7 @@
</tr></tbody>
</table></div>
<a name="spirit.karma.reference.generator_concepts.primitivegenerator.models"></a><h6>
-<a name="id1044923"></a>
+<a name="id1028661"></a>
<a class="link" href="primitivegenerator.html#spirit.karma.reference.generator_concepts.primitivegenerator.models">Models</a>
</h6>
<p>
@@ -109,18 +103,18 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
-<a class="link" href="../auxiliary/eol.html" title="End of Line (eol)"><code class="computeroutput"><span class="identifier">eol</span></code></a>,
- </li>
+ <a class="link" href="../auxiliary/eol.html" title="End of Line (eol)"><code class="computeroutput"><span class="identifier">eol</span></code></a>,
+ </li>
<li class="listitem">
-<a class="link" href="../auxiliary/eps.html" title="Epsilon (eps)"><code class="computeroutput"><span class="identifier">eps</span></code></a>,
- </li>
+ <a class="link" href="../auxiliary/eps.html" title="Epsilon (eps)"><code class="computeroutput"><span class="identifier">eps</span></code></a>,
+ </li>
<li class="listitem">
-<a class="link" href="../numeric.html" title="Numeric">Numeric generators</a>,
- </li>
+ <a class="link" href="../numeric.html" title="Numeric">Numeric generators</a>,
+ </li>
<li class="listitem">
-<a class="link" href="../char/char_generator.html" title="Character Generators (char_, lit)">Character
- generators</a>.
- </li>
+ <a class="link" href="../char/char_generator.html" title="Character Generators (char_, lit)">Character
+ generators</a>.
+ </li>
</ul></div>
<p>
<span class="bold"><strong>FIXME</strong></span> Add more links to <span class="emphasis"><em>PrimitiveGenerator</em></span>
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/generator_concepts/unarygenerator.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/generator_concepts/unarygenerator.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/generator_concepts/unarygenerator.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -27,7 +27,7 @@
<a name="spirit.karma.reference.generator_concepts.unarygenerator"></a><a class="link" href="unarygenerator.html" title="UnaryGenerator">UnaryGenerator</a>
</h5></div></div></div>
<a name="spirit.karma.reference.generator_concepts.unarygenerator.description"></a><h6>
-<a name="id1045014"></a>
+<a name="id1028767"></a>
<a class="link" href="unarygenerator.html#spirit.karma.reference.generator_concepts.unarygenerator.description">Description</a>
</h6>
<p>
@@ -36,19 +36,13 @@
following the Delegate Design Pattern.
</p>
<a name="spirit.karma.reference.generator_concepts.unarygenerator.refinement_of"></a><h6>
-<a name="id1045035"></a>
+<a name="id1028787"></a>
<a class="link" href="unarygenerator.html#spirit.karma.reference.generator_concepts.unarygenerator.refinement_of">Refinement
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="generator.html" title="Generator"><code class="computeroutput"><span class="identifier">Generator</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="generator.html" title="Generator"><code class="computeroutput"><span class="identifier">Generator</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -63,7 +57,7 @@
</dl>
</div>
<a name="spirit.karma.reference.generator_concepts.unarygenerator.valid_expressions"></a><h6>
-<a name="id1047846"></a>
+<a name="id1028864"></a>
<a class="link" href="unarygenerator.html#spirit.karma.reference.generator_concepts.unarygenerator.valid_expressions">Valid
Expressions</a>
</h6>
@@ -113,7 +107,7 @@
</tr></tbody>
</table></div>
<a name="spirit.karma.reference.generator_concepts.unarygenerator.type_expressions"></a><h6>
-<a name="id1047966"></a>
+<a name="id1028984"></a>
<a class="link" href="unarygenerator.html#spirit.karma.reference.generator_concepts.unarygenerator.type_expressions">Type
Expressions</a>
</h6>
@@ -166,7 +160,7 @@
</tbody>
</table></div>
<a name="spirit.karma.reference.generator_concepts.unarygenerator.invariants"></a><h6>
-<a name="id1048136"></a>
+<a name="id1029153"></a>
<a class="link" href="unarygenerator.html#spirit.karma.reference.generator_concepts.unarygenerator.invariants">Invariants</a>
</h6>
<p>
@@ -174,10 +168,10 @@
the following invariant always holds:
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem">
-<code class="computeroutput"><span class="identifier">traits</span><span class="special">::</span><span class="identifier">is_generator</span><span class="special"><</span><span class="identifier">G</span><span class="special">::</span><span class="identifier">subject_type</span><span class="special">>::</span><span class="identifier">type</span></code> evaluates to <code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">true_</span></code>
-</li></ul></div>
+ <code class="computeroutput"><span class="identifier">traits</span><span class="special">::</span><span class="identifier">is_generator</span><span class="special"><</span><span class="identifier">G</span><span class="special">::</span><span class="identifier">subject_type</span><span class="special">>::</span><span class="identifier">type</span></code> evaluates to <code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">true_</span></code>
+ </li></ul></div>
<a name="spirit.karma.reference.generator_concepts.unarygenerator.models"></a><h6>
-<a name="id1048221"></a>
+<a name="id1029242"></a>
<a class="link" href="unarygenerator.html#spirit.karma.reference.generator_concepts.unarygenerator.models">Models</a>
</h6>
<p>
@@ -185,46 +179,48 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
-<a class="link" href="../operator/kleene.html" title="Kleene Star (*a)">Kleene Star
- (unary <code class="computeroutput"><span class="special">*</span></code>)</a> operator,
- </li>
+ <a class="link" href="../operator/kleene.html" title="Kleene Star (*a)">Kleene Star
+ (unary <code class="computeroutput"><span class="special">*</span></code>)</a> operator,
+ </li>
<li class="listitem">
-<a class="link" href="../operator/plus.html" title="Plus (+a)">Plus (unary <code class="computeroutput"><span class="special">+</span></code>)</a> operator,
- </li>
+ <a class="link" href="../operator/plus.html" title="Plus (+a)">Plus (unary
+ <code class="computeroutput"><span class="special">+</span></code>)</a> operator,
+ </li>
<li class="listitem">
-<a class="link" href="../operator/optional.html" title="Optional (-a)">Optional (unary
- <code class="computeroutput"><span class="special">-</span></code>)</a> operator,
- </li>
+ <a class="link" href="../operator/optional.html" title="Optional (-a)">Optional
+ (unary <code class="computeroutput"><span class="special">-</span></code>)</a> operator,
+ </li>
<li class="listitem">
-<a class="link" href="../operator/and_predicate.html" title="And-Predicate (&a)">And predicate
- (unary <code class="computeroutput"><span class="special">&</span></code>)</a> and
- <a class="link" href="../operator/not_predicate.html" title="Not-Predicate (!a)">Not predicate
- (unary <code class="computeroutput"><span class="special">!</span></code>)</a> operators,
- </li>
+ <a class="link" href="../operator/and_predicate.html" title="And-Predicate (&a)">And
+ predicate (unary <code class="computeroutput"><span class="special">&</span></code>)</a>
+ and <a class="link" href="../operator/not_predicate.html" title="Not-Predicate (!a)">Not
+ predicate (unary <code class="computeroutput"><span class="special">!</span></code>)</a>
+ operators,
+ </li>
<li class="listitem">
-<a class="link" href="../directive/alignment.html" title="Alignment Directives (left_align[], center[], right_align[])"><code class="computeroutput"><span class="identifier">left_align</span></code></a>, <a class="link" href="../directive/alignment.html" title="Alignment Directives (left_align[], center[], right_align[])"><code class="computeroutput"><span class="identifier">center</span></code></a>, and <a class="link" href="../directive/alignment.html" title="Alignment Directives (left_align[], center[], right_align[])"><code class="computeroutput"><span class="identifier">right_align</span></code></a> directives,
- </li>
+ <a class="link" href="../directive/alignment.html" title="Alignment Directives (left_align[], center[], right_align[])"><code class="computeroutput"><span class="identifier">left_align</span></code></a>, <a class="link" href="../directive/alignment.html" title="Alignment Directives (left_align[], center[], right_align[])"><code class="computeroutput"><span class="identifier">center</span></code></a>, and <a class="link" href="../directive/alignment.html" title="Alignment Directives (left_align[], center[], right_align[])"><code class="computeroutput"><span class="identifier">right_align</span></code></a> directives,
+ </li>
<li class="listitem">
-<a class="link" href="../directive/repeat.html" title="Repetition Directive (repeat[])"><code class="computeroutput"><span class="identifier">repeat</span></code></a> directive,
- </li>
+ <a class="link" href="../directive/repeat.html" title="Repetition Directive (repeat[])"><code class="computeroutput"><span class="identifier">repeat</span></code></a> directive,
+ </li>
<li class="listitem">
-<a class="link" href="../directive/delimit.html" title="Directives Controlling Automatic Delimiting (verbatim[], no_delimit[], delimit[])"><code class="computeroutput"><span class="identifier">verbatim</span></code></a> directive,
- </li>
+ <a class="link" href="../directive/delimit.html" title="Directives Controlling Automatic Delimiting (verbatim[], no_delimit[], delimit[])"><code class="computeroutput"><span class="identifier">verbatim</span></code></a> directive,
+ </li>
<li class="listitem">
-<a class="link" href="../directive/delimit.html" title="Directives Controlling Automatic Delimiting (verbatim[], no_delimit[], delimit[])"><code class="computeroutput"><span class="identifier">delimit</span></code></a> directive,
- </li>
+ <a class="link" href="../directive/delimit.html" title="Directives Controlling Automatic Delimiting (verbatim[], no_delimit[], delimit[])"><code class="computeroutput"><span class="identifier">delimit</span></code></a> directive,
+ </li>
<li class="listitem">
-<a class="link" href="../directive/upperlower.html" title="Directives Controlling Case Sensitivity (upper[], lower[])"><code class="computeroutput"><span class="identifier">lower</span></code></a> and <a class="link" href="../directive/upperlower.html" title="Directives Controlling Case Sensitivity (upper[], lower[])"><code class="computeroutput"><span class="identifier">upper</span></code></a> directives,
- </li>
+ <a class="link" href="../directive/upperlower.html" title="Directives Controlling Case Sensitivity (upper[], lower[])"><code class="computeroutput"><span class="identifier">lower</span></code></a> and <a class="link" href="../directive/upperlower.html" title="Directives Controlling Case Sensitivity (upper[], lower[])"><code class="computeroutput"><span class="identifier">upper</span></code></a> directives,
+ </li>
<li class="listitem">
-<a class="link" href="../directive/maxwidth.html" title="Controlling the Maximum Field Width (maxwidth[])"><code class="computeroutput"><span class="identifier">maxwidth</span></code></a> directive,
- </li>
+ <a class="link" href="../directive/maxwidth.html" title="Controlling the Maximum Field Width (maxwidth[])"><code class="computeroutput"><span class="identifier">maxwidth</span></code></a> directive,
+ </li>
<li class="listitem">
-<a class="link" href="../directive/buffer.html" title="Temporary Output Buffering (buffer[])"><code class="computeroutput"><span class="identifier">buffer</span></code></a> directive,
- </li>
+ <a class="link" href="../directive/buffer.html" title="Temporary Output Buffering (buffer[])"><code class="computeroutput"><span class="identifier">buffer</span></code></a> directive,
+ </li>
<li class="listitem">
-<a class="link" href="../directive/omit.html" title="Consume Attribute (omit[] and skip[])"><code class="computeroutput"><span class="identifier">omit</span></code></a> directive.
- </li>
+ <a class="link" href="../directive/omit.html" title="Consume Attribute (omit[] and skip[])"><code class="computeroutput"><span class="identifier">omit</span></code></a> directive.
+ </li>
</ul></div>
<p>
<span class="bold"><strong>FIXME</strong></span> Add more links to models of UnaryGenerator
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/karma_basics.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/karma_basics.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/karma_basics.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -27,7 +27,7 @@
<a name="spirit.karma.reference.karma_basics"></a><a class="link" href="karma_basics.html" title="Basics"> Basics</a>
</h4></div></div></div>
<a name="spirit.karma.reference.karma_basics.lazy_argument"></a><h6>
-<a name="id1051222"></a>
+<a name="id1035020"></a>
<a class="link" href="karma_basics.html#spirit.karma.reference.karma_basics.lazy_argument">Lazy
Argument</a>
</h6>
@@ -53,7 +53,7 @@
Actions</a>).
</p>
<a name="spirit.karma.reference.karma_basics.character_encoding_namespace"></a><h6>
-<a name="id1051362"></a>
+<a name="id1035161"></a>
<a class="link" href="karma_basics.html#spirit.karma.reference.karma_basics.character_encoding_namespace">Character
Encoding Namespace</a>
</h6>
@@ -83,17 +83,17 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- boost::spirit::ascii
- </li>
+ boost::spirit::ascii
+ </li>
<li class="listitem">
- boost::spirit::iso8859_1
- </li>
+ boost::spirit::iso8859_1
+ </li>
<li class="listitem">
- boost::spirit::standard
- </li>
+ boost::spirit::standard
+ </li>
<li class="listitem">
- boost::spirit::standard_wide
- </li>
+ boost::spirit::standard_wide
+ </li>
</ul></div>
<p>
For ease of use, the components in this namespaces are also brought into
@@ -101,20 +101,20 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- boost::spirit::karma::ascii
- </li>
+ boost::spirit::karma::ascii
+ </li>
<li class="listitem">
- boost::spirit::karma::iso8859_1
- </li>
+ boost::spirit::karma::iso8859_1
+ </li>
<li class="listitem">
- boost::spirit::karma::standard
- </li>
+ boost::spirit::karma::standard
+ </li>
<li class="listitem">
- boost::spirit::karma::standard_wide
- </li>
+ boost::spirit::karma::standard_wide
+ </li>
</ul></div>
<a name="spirit.karma.reference.karma_basics.examples"></a><h6>
-<a name="id1051546"></a>
+<a name="id1035377"></a>
<a class="link" href="karma_basics.html#spirit.karma.reference.karma_basics.examples">Examples</a>
</h6>
<p>
@@ -126,9 +126,7 @@
Some includes:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">karma</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">phoenix_core</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
@@ -138,22 +136,16 @@
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">string</span><span class="special">></span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
The used output iterator:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">back_insert_iterator</span><span class="special"><</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">></span> <span class="identifier">output_iterator_type</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Our test functions:
@@ -162,9 +154,7 @@
This one tests the generators without attributes.
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">G</span><span class="special">></span>
<span class="keyword">void</span> <span class="identifier">test_generator</span><span class="special">(</span><span class="keyword">char</span> <span class="keyword">const</span><span class="special">*</span> <span class="identifier">expected</span><span class="special">,</span> <span class="identifier">G</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">g</span><span class="special">)</span>
@@ -178,16 +168,12 @@
<span class="special">}</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
These test the generators with one or more user supplied attributes.
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">G</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span>
<span class="keyword">void</span> <span class="identifier">test_generator_attr</span><span class="special">(</span><span class="keyword">char</span> <span class="keyword">const</span><span class="special">*</span> <span class="identifier">expected</span><span class="special">,</span> <span class="identifier">G</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">g</span><span class="special">,</span> <span class="identifier">T</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">attr</span><span class="special">)</span>
@@ -201,11 +187,9 @@
<span class="special">}</span>
</pre>
<p>
- </p>
-<p>
- </p>
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">G</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">T1</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">T2</span><span class="special">></span>
<span class="keyword">void</span> <span class="identifier">test_generator_attr</span><span class="special">(</span><span class="keyword">char</span> <span class="keyword">const</span><span class="special">*</span> <span class="identifier">expected</span><span class="special">,</span> <span class="identifier">G</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">g</span><span class="special">,</span> <span class="identifier">T1</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">attr1</span><span class="special">,</span>
@@ -220,17 +204,13 @@
<span class="special">}</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
This tests the generators with one attribute and while using delimited
output.
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">G</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Delimiter</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span>
<span class="keyword">void</span> <span class="identifier">test_generator_attr_delim</span><span class="special">(</span><span class="keyword">char</span> <span class="keyword">const</span><span class="special">*</span> <span class="identifier">expected</span><span class="special">,</span> <span class="identifier">G</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">g</span><span class="special">,</span> <span class="identifier">Delimiter</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">d</span><span class="special">,</span> <span class="identifier">T</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">attr</span><span class="special">)</span>
@@ -244,17 +224,13 @@
<span class="special">}</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
The examples of the binary generators use one or more of the following
tests.
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">G</span><span class="special">></span>
<span class="keyword">void</span> <span class="identifier">test_binary_generator</span><span class="special">(</span><span class="keyword">char</span> <span class="keyword">const</span><span class="special">*</span> <span class="identifier">expected</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">size</span><span class="special">,</span> <span class="identifier">G</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">g</span><span class="special">)</span>
@@ -268,11 +244,9 @@
<span class="special">}</span>
</pre>
<p>
- </p>
-<p>
- </p>
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">G</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span>
<span class="keyword">void</span> <span class="identifier">test_binary_generator_attr</span><span class="special">(</span><span class="keyword">char</span> <span class="keyword">const</span><span class="special">*</span> <span class="identifier">expected</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">size</span><span class="special">,</span> <span class="identifier">G</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">g</span><span class="special">,</span> <span class="identifier">T</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">attr</span><span class="special">)</span>
@@ -286,11 +260,9 @@
<span class="special">}</span>
</pre>
<p>
- </p>
-<p>
</p>
<a name="spirit.karma.reference.karma_basics.models"></a><h6>
-<a name="id1054200"></a>
+<a name="id1038145"></a>
<a class="link" href="karma_basics.html#spirit.karma.reference.karma_basics.models">Models</a>
</h6>
<p>
@@ -298,14 +270,14 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- any literal string, e.g. "Hello, World",
- </li>
+ any literal string, e.g. "Hello, World",
+ </li>
<li class="listitem">
- a pointer/reference to a null-terminated array of characters
- </li>
+ a pointer/reference to a null-terminated array of characters
+ </li>
<li class="listitem">
- a <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_string</span><span class="special"><</span><span class="identifier">Char</span><span class="special">></span></code>
-</li>
+ a <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_string</span><span class="special"><</span><span class="identifier">Char</span><span class="special">></span></code>
+ </li>
</ul></div>
<p>
The namespace <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">traits</span></code> is open for users to provide their
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/nonterminal.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/nonterminal.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/nonterminal.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -31,7 +31,7 @@
<dt><span class="section">Grammar</span></dt>
</dl></div>
<a name="spirit.karma.reference.nonterminal.module_headers"></a><h6>
-<a name="id1117641"></a>
+<a name="id1099935"></a>
<a class="link" href="nonterminal.html#spirit.karma.reference.nonterminal.module_headers">Module
Headers</a>
</h6>
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/nonterminal/grammar.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/nonterminal/grammar.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/nonterminal/grammar.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -27,7 +27,7 @@
<a name="spirit.karma.reference.nonterminal.grammar"></a><a class="link" href="grammar.html" title="Grammar">Grammar</a>
</h5></div></div></div>
<a name="spirit.karma.reference.nonterminal.grammar.description"></a><h6>
-<a name="id1119717"></a>
+<a name="id1103633"></a>
<a class="link" href="grammar.html#spirit.karma.reference.nonterminal.grammar.description">Description</a>
</h6>
<p>
@@ -37,7 +37,7 @@
Grammars can be composed to form more complex grammars.
</p>
<a name="spirit.karma.reference.nonterminal.grammar.header"></a><h6>
-<a name="id1119750"></a>
+<a name="id1103666"></a>
<a class="link" href="grammar.html#spirit.karma.reference.nonterminal.grammar.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/karma/nonterminal/grammar.hpp>
@@ -47,7 +47,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.karma.reference.nonterminal.grammar.namespace"></a><h6>
-<a name="id1119825"></a>
+<a name="id1103741"></a>
<a class="link" href="grammar.html#spirit.karma.reference.nonterminal.grammar.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -64,14 +64,14 @@
</td></tr></tbody>
</table></div>
<a name="spirit.karma.reference.nonterminal.grammar.synopsis"></a><h6>
-<a name="id1119905"></a>
+<a name="id1103821"></a>
<a class="link" href="grammar.html#spirit.karma.reference.nonterminal.grammar.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">OutputIterator</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">A1</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">A2</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">A3</span><span class="special">></span>
<span class="keyword">struct</span> <span class="identifier">grammar</span><span class="special">;</span>
</pre>
<a name="spirit.karma.reference.nonterminal.grammar.template_parameters"></a><h6>
-<a name="id1119999"></a>
+<a name="id1103915"></a>
<a class="link" href="grammar.html#spirit.karma.reference.nonterminal.grammar.template_parameters">Template
parameters</a>
</h6>
@@ -226,19 +226,13 @@
</tbody>
</table></div>
<a name="spirit.karma.reference.nonterminal.grammar.model_of"></a><h6>
-<a name="id1120378"></a>
+<a name="id1104294"></a>
<a class="link" href="grammar.html#spirit.karma.reference.nonterminal.grammar.model_of">Model
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../generator_concepts/nonterminal.html" title="Nonterminal"><code class="computeroutput"><span class="identifier">Nonterminal</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../generator_concepts/nonterminal.html" title="Nonterminal"><code class="computeroutput"><span class="identifier">Nonterminal</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -249,7 +243,7 @@
</dl>
</div>
<a name="spirit.karma.reference.nonterminal.grammar.expression_semantics"></a><h6>
-<a name="id1120440"></a>
+<a name="id1104353"></a>
<a class="link" href="grammar.html#spirit.karma.reference.nonterminal.grammar.expression_semantics">Expression
Semantics</a>
</h6>
@@ -316,34 +310,22 @@
</p></td></tr>
</table></div>
<a name="spirit.karma.reference.nonterminal.grammar.attributes"></a><h6>
-<a name="id1120756"></a>
+<a name="id1104668"></a>
<a class="link" href="grammar.html#spirit.karma.reference.nonterminal.grammar.attributes">Attributes</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- The generator attribute of the grammar is <code class="computeroutput"><span class="identifier">RT</span></code>,
- its consumed attribute. See <a class="link" href="../generator_concepts/nonterminal.html#spirit.karma.reference.generator_concepts.nonterminal.attributes"><code class="computeroutput"><span class="identifier">Attribute</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ The generator attribute of the grammar is <code class="computeroutput"><span class="identifier">RT</span></code>,
+ its consumed attribute. See <a class="link" href="../generator_concepts/nonterminal.html#spirit.karma.reference.generator_concepts.nonterminal.attributes"><code class="computeroutput"><span class="identifier">Attribute</span></code></a>
+ </p></blockquote></div>
<a name="spirit.karma.reference.nonterminal.grammar.complexity"></a><h6>
-<a name="id1120798"></a>
+<a name="id1104707"></a>
<a class="link" href="grammar.html#spirit.karma.reference.nonterminal.grammar.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- The complexity is defined by the complexity of the its definition.
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ The complexity is defined by the complexity of the its definition.
+ </p></blockquote></div>
<a name="spirit.karma.reference.nonterminal.grammar.example"></a><h6>
-<a name="id1120822"></a>
+<a name="id1104727"></a>
<a class="link" href="grammar.html#spirit.karma.reference.nonterminal.grammar.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -357,14 +339,10 @@
</p></td></tr>
</table></div>
<p>
- </p>
-<p>
- Some using declarations:
- </p>
-<p>
- </p>
+ Some using declarations:
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">ascii</span><span class="special">::</span><span class="identifier">space_type</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">ascii</span><span class="special">::</span><span class="identifier">space</span><span class="special">;</span>
@@ -373,18 +351,12 @@
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">rule</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
- </p>
-<p>
- Basic grammar usage:
- </p>
-<p>
- </p>
+ Basic grammar usage:
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">struct</span> <span class="identifier">num_list</span> <span class="special">:</span> <span class="identifier">grammar</span><span class="special"><</span><span class="identifier">output_iterator_type</span><span class="special">,</span> <span class="identifier">space_type</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">int</span><span class="special">>()></span>
<span class="special">{</span>
@@ -400,18 +372,12 @@
<span class="special">};</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
- </p>
-<p>
- How to use the example grammar:
- </p>
-<p>
- </p>
+ How to use the example grammar:
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">num_list</span> <span class="identifier">nlist</span><span class="special">;</span>
<span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">v</span><span class="special">;</span>
@@ -421,8 +387,6 @@
<span class="identifier">test_generator_attr_delim</span><span class="special">(</span><span class="string">"123 , 456 , 789"</span><span class="special">,</span> <span class="identifier">nlist</span><span class="special">,</span> <span class="identifier">space</span><span class="special">,</span> <span class="identifier">v</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/nonterminal/rule.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/nonterminal/rule.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/nonterminal/rule.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -27,7 +27,7 @@
<a name="spirit.karma.reference.nonterminal.rule"></a><a class="link" href="rule.html" title="Rule">Rule</a>
</h5></div></div></div>
<a name="spirit.karma.reference.nonterminal.rule.description"></a><h6>
-<a name="id1117725"></a>
+<a name="id1100019"></a>
<a class="link" href="rule.html#spirit.karma.reference.nonterminal.rule.description">Description</a>
</h6>
<p>
@@ -40,7 +40,7 @@
descent output generation.
</p>
<a name="spirit.karma.reference.nonterminal.rule.header"></a><h6>
-<a name="id1117747"></a>
+<a name="id1100040"></a>
<a class="link" href="rule.html#spirit.karma.reference.nonterminal.rule.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/karma/nonterminal/rule.hpp>
@@ -50,7 +50,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.karma.reference.nonterminal.rule.namespace"></a><h6>
-<a name="id1117821"></a>
+<a name="id1100115"></a>
<a class="link" href="rule.html#spirit.karma.reference.nonterminal.rule.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -67,14 +67,14 @@
</td></tr></tbody>
</table></div>
<a name="spirit.karma.reference.nonterminal.rule.synopsis"></a><h6>
-<a name="id1117902"></a>
+<a name="id1100195"></a>
<a class="link" href="rule.html#spirit.karma.reference.nonterminal.rule.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">OutputIterator</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">A1</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">A2</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">A3</span><span class="special">></span>
<span class="keyword">struct</span> <span class="identifier">rule</span><span class="special">;</span>
</pre>
<a name="spirit.karma.reference.nonterminal.rule.template_parameters"></a><h6>
-<a name="id1117995"></a>
+<a name="id1100289"></a>
<a class="link" href="rule.html#spirit.karma.reference.nonterminal.rule.template_parameters">Template
parameters</a>
</h6>
@@ -229,19 +229,13 @@
</tbody>
</table></div>
<a name="spirit.karma.reference.nonterminal.rule.model_of"></a><h6>
-<a name="id1118374"></a>
+<a name="id1100668"></a>
<a class="link" href="rule.html#spirit.karma.reference.nonterminal.rule.model_of">Model
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../generator_concepts/nonterminal.html" title="Nonterminal"><code class="computeroutput"><span class="identifier">Nonterminal</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../generator_concepts/nonterminal.html" title="Nonterminal"><code class="computeroutput"><span class="identifier">Nonterminal</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -267,7 +261,7 @@
</dl>
</div>
<a name="spirit.karma.reference.nonterminal.rule.expression_semantics"></a><h6>
-<a name="id1118540"></a>
+<a name="id1100830"></a>
<a class="link" href="rule.html#spirit.karma.reference.nonterminal.rule.expression_semantics">Expression
Semantics</a>
</h6>
@@ -398,35 +392,23 @@
</tbody>
</table></div>
<a name="spirit.karma.reference.nonterminal.rule.attributes"></a><h6>
-<a name="id1119051"></a>
+<a name="id1101340"></a>
<a class="link" href="rule.html#spirit.karma.reference.nonterminal.rule.attributes">Attributes</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- The rule's generator attribute is <code class="computeroutput"><span class="identifier">RT</span></code>:
- The consumed attribute of the rule. See <a class="link" href="../generator_concepts/nonterminal.html#spirit.karma.reference.generator_concepts.nonterminal.attributes"><code class="computeroutput"><span class="identifier">Attribute</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ The rule's generator attribute is <code class="computeroutput"><span class="identifier">RT</span></code>:
+ The consumed attribute of the rule. See <a class="link" href="../generator_concepts/nonterminal.html#spirit.karma.reference.generator_concepts.nonterminal.attributes"><code class="computeroutput"><span class="identifier">Attribute</span></code></a>
+ </p></blockquote></div>
<a name="spirit.karma.reference.nonterminal.rule.complexity"></a><h6>
-<a name="id1119093"></a>
+<a name="id1101378"></a>
<a class="link" href="rule.html#spirit.karma.reference.nonterminal.rule.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- The complexity is defined by the complexity of the RHS generator,
- <code class="computeroutput"><span class="identifier">g</span></code>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ The complexity is defined by the complexity of the RHS generator,
+ <code class="computeroutput"><span class="identifier">g</span></code>
+ </p></blockquote></div>
<a name="spirit.karma.reference.nonterminal.rule.example"></a><h6>
-<a name="id1119124"></a>
+<a name="id1101406"></a>
<a class="link" href="rule.html#spirit.karma.reference.nonterminal.rule.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -440,60 +422,44 @@
</p></td></tr>
</table></div>
<p>
- </p>
-<p>
- Some using declarations:
- </p>
-<p>
- </p>
+ Some using declarations:
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">rule</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">int_</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">ascii</span><span class="special">::</span><span class="identifier">space</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">ascii</span><span class="special">::</span><span class="identifier">space_type</span><span class="special">;</span></pre>
<p>
- </p>
-<p>
- </p>
-<p>
- Basic rule:
- </p>
+ </p>
<p>
- </p>
+ Basic rule:
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">rule</span><span class="special"><</span><span class="identifier">output_iterator_type</span><span class="special">></span> <span class="identifier">r</span><span class="special">;</span>
<span class="identifier">r</span> <span class="special">=</span> <span class="identifier">int_</span><span class="special">(</span><span class="number">123</span><span class="special">);</span>
<span class="identifier">test_generator</span><span class="special">(</span><span class="string">"123"</span><span class="special">,</span> <span class="identifier">r</span><span class="special">);</span></pre>
<p>
- </p>
-<p>
- </p>
-<p>
- Rule with consumed attribute:
- </p>
+ </p>
<p>
- </p>
+ Rule with consumed attribute:
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">rule</span><span class="special"><</span><span class="identifier">output_iterator_type</span><span class="special">,</span> <span class="keyword">int</span><span class="special">()></span> <span class="identifier">ra</span><span class="special">;</span>
<span class="identifier">ra</span> <span class="special">=</span> <span class="identifier">int_</span><span class="special">;</span>
<span class="identifier">test_generator_attr</span><span class="special">(</span><span class="string">"123"</span><span class="special">,</span> <span class="identifier">ra</span><span class="special">,</span> <span class="number">123</span><span class="special">);</span></pre>
<p>
- </p>
-<p>
- </p>
-<p>
- Rule with delimiter and consumed attribute:
- </p>
+ </p>
<p>
- </p>
+ Rule with delimiter and consumed attribute:
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">rule</span><span class="special"><</span><span class="identifier">output_iterator_type</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">int</span><span class="special">>(),</span> <span class="identifier">space_type</span><span class="special">></span> <span class="identifier">rs</span><span class="special">;</span>
<span class="identifier">rs</span> <span class="special">=</span> <span class="special">*</span><span class="identifier">int_</span><span class="special">;</span>
@@ -504,8 +470,6 @@
<span class="identifier">test_generator_attr_delim</span><span class="special">(</span><span class="string">"123 456 789"</span><span class="special">,</span> <span class="identifier">rs</span><span class="special">,</span> <span class="identifier">space</span><span class="special">,</span> <span class="identifier">v</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/numeric.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/numeric.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/numeric.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -58,7 +58,7 @@
tight generic C++ code that rivals, if not surpasses C.
</p>
<a name="spirit.karma.reference.numeric.module_header"></a><h6>
-<a name="id1123873"></a>
+<a name="id1105445"></a>
<a class="link" href="numeric.html#spirit.karma.reference.numeric.module_header">Module Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/karma/numeric.hpp>
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/numeric/boolean.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/numeric/boolean.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/numeric/boolean.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
Generators (<code class="computeroutput"><span class="identifier">bool_</span></code>)</a>
</h5></div></div></div>
<a name="spirit.karma.reference.numeric.boolean.description"></a><h6>
-<a name="id1141407"></a>
+<a name="id1123528"></a>
<a class="link" href="boolean.html#spirit.karma.reference.numeric.boolean.description">Description</a>
</h6>
<p>
@@ -42,7 +42,7 @@
a template class. Template parameters fine tune its behavior.
</p>
<a name="spirit.karma.reference.numeric.boolean.header"></a><h6>
-<a name="id1142554"></a>
+<a name="id1123582"></a>
<a class="link" href="boolean.html#spirit.karma.reference.numeric.boolean.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/karma/numeric/bool.hpp>
@@ -52,7 +52,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.karma.reference.numeric.boolean.namespace"></a><h6>
-<a name="id1142628"></a>
+<a name="id1123656"></a>
<a class="link" href="boolean.html#spirit.karma.reference.numeric.boolean.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -105,7 +105,7 @@
</p></td></tr>
</table></div>
<a name="spirit.karma.reference.numeric.boolean.synopsis"></a><h6>
-<a name="id1142846"></a>
+<a name="id1123874"></a>
<a class="link" href="boolean.html#spirit.karma.reference.numeric.boolean.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span>
@@ -114,7 +114,7 @@
<span class="keyword">struct</span> <span class="identifier">bool_generator</span><span class="special">;</span>
</pre>
<a name="spirit.karma.reference.numeric.boolean.template_parameters"></a><h6>
-<a name="id1142916"></a>
+<a name="id1123944"></a>
<a class="link" href="boolean.html#spirit.karma.reference.numeric.boolean.template_parameters">Template
parameters</a>
</h6>
@@ -179,19 +179,13 @@
</tbody>
</table></div>
<a name="spirit.karma.reference.numeric.boolean.model_of"></a><h6>
-<a name="id1143064"></a>
+<a name="id1124092"></a>
<a class="link" href="boolean.html#spirit.karma.reference.numeric.boolean.model_of">Model
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../generator_concepts/primitivegenerator.html" title="PrimitiveGenerator"><code class="computeroutput"><span class="identifier">PrimitiveGenerator</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../generator_concepts/primitivegenerator.html" title="PrimitiveGenerator"><code class="computeroutput"><span class="identifier">PrimitiveGenerator</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -209,7 +203,7 @@
</dl>
</div>
<a name="spirit.karma.reference.numeric.boolean.expression_semantics"></a><h6>
-<a name="id1143172"></a>
+<a name="id1124196"></a>
<a class="link" href="boolean.html#spirit.karma.reference.numeric.boolean.expression_semantics">Expression
Semantics</a>
</h6>
@@ -403,7 +397,7 @@
</p></td></tr>
</table></div>
<a name="spirit.karma.reference.numeric.boolean.additional_requirements"></a><h6>
-<a name="id1143751"></a>
+<a name="id1125868"></a>
<a class="link" href="boolean.html#spirit.karma.reference.numeric.boolean.additional_requirements">Additional
Requirements</a>
</h6>
@@ -416,10 +410,10 @@
The type <code class="computeroutput"><span class="identifier">B</span></code>:
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem">
- must be (safely) convertible to <code class="computeroutput"><span class="keyword">bool</span></code>
-</li></ul></div>
+ must be (safely) convertible to <code class="computeroutput"><span class="keyword">bool</span></code>
+ </li></ul></div>
<a name="spirit.karma.reference.numeric.boolean.attributes"></a><h6>
-<a name="id1143829"></a>
+<a name="id1125950"></a>
<a class="link" href="boolean.html#spirit.karma.reference.numeric.boolean.attributes">Attributes</a>
</h6>
<div class="informaltable"><table class="table">
@@ -534,7 +528,7 @@
</p></td></tr>
</table></div>
<a name="spirit.karma.reference.numeric.boolean.boolean_formatting_policies"></a><h6>
-<a name="id1144211"></a>
+<a name="id1126332"></a>
<a class="link" href="boolean.html#spirit.karma.reference.numeric.boolean.boolean_formatting_policies">Boolean
Formatting Policies</a>
</h6>
@@ -568,7 +562,7 @@
default for <code class="computeroutput"><span class="identifier">B</span></code> is <code class="computeroutput"><span class="keyword">bool</span></code>.
</p>
<a name="spirit.karma.reference.numeric.boolean.booelan_formatting_policy_expression_semantics"></a><h6>
-<a name="id1144633"></a>
+<a name="id1126754"></a>
<a class="link" href="boolean.html#spirit.karma.reference.numeric.boolean.booelan_formatting_policy_expression_semantics">Booelan
Formatting Policy Expression Semantics</a>
</h6>
@@ -719,21 +713,15 @@
</tbody>
</table></div>
<a name="spirit.karma.reference.numeric.boolean.complexity"></a><h6>
-<a name="id1145518"></a>
+<a name="id1127558"></a>
<a class="link" href="boolean.html#spirit.karma.reference.numeric.boolean.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- O(N), where <code class="computeroutput"><span class="identifier">N</span></code> is
- the number of characters needed to represent the generated boolean.
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ O(N), where <code class="computeroutput"><span class="identifier">N</span></code> is the
+ number of characters needed to represent the generated boolean.
+ </p></blockquote></div>
<a name="spirit.karma.reference.numeric.boolean.example"></a><h6>
-<a name="id1145549"></a>
+<a name="id1127586"></a>
<a class="link" href="boolean.html#spirit.karma.reference.numeric.boolean.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -750,9 +738,7 @@
Some includes:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">karma</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">phoenix_core</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
@@ -762,32 +748,24 @@
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">string</span><span class="special">></span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">bool_</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">lit</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Basic usage of an <code class="computeroutput"><span class="identifier">bool_</span></code>
generator:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_generator</span><span class="special">(</span><span class="string">"true"</span><span class="special">,</span> <span class="identifier">lit</span><span class="special">(</span><span class="keyword">true</span><span class="special">));</span>
<span class="identifier">test_generator</span><span class="special">(</span><span class="string">"false"</span><span class="special">,</span> <span class="identifier">bool_</span><span class="special">(</span><span class="keyword">false</span><span class="special">));</span>
@@ -796,8 +774,6 @@
</span><span class="identifier">test_generator_attr</span><span class="special">(</span><span class="string">"false"</span><span class="special">,</span> <span class="identifier">bool_</span><span class="special">,</span> <span class="keyword">false</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/numeric/real_number.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/numeric/real_number.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/numeric/real_number.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -29,7 +29,7 @@
<code class="computeroutput"><span class="identifier">double_</span></code>, etc.)</a>
</h5></div></div></div>
<a name="spirit.karma.reference.numeric.real_number.description"></a><h6>
-<a name="id1133277"></a>
+<a name="id1115538"></a>
<a class="link" href="real_number.html#spirit.karma.reference.numeric.real_number.description">Description</a>
</h6>
<p>
@@ -42,7 +42,7 @@
requirements (for more information about the requirements, see <a class="link" href="real_number.html#spirit.karma.reference.numeric.real_number.additional_requirements">below</a>).
</p>
<a name="spirit.karma.reference.numeric.real_number.header"></a><h6>
-<a name="id1133320"></a>
+<a name="id1115581"></a>
<a class="link" href="real_number.html#spirit.karma.reference.numeric.real_number.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/karma/numeric/real.hpp>
@@ -52,7 +52,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.karma.reference.numeric.real_number.namespace"></a><h6>
-<a name="id1133394"></a>
+<a name="id1115655"></a>
<a class="link" href="real_number.html#spirit.karma.reference.numeric.real_number.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -105,14 +105,14 @@
</p></td></tr>
</table></div>
<a name="spirit.karma.reference.numeric.real_number.synopsis"></a><h6>
-<a name="id1133612"></a>
+<a name="id1115872"></a>
<a class="link" href="real_number.html#spirit.karma.reference.numeric.real_number.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Num</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">RealPolicies</span><span class="special">></span>
<span class="keyword">struct</span> <span class="identifier">real_generator</span><span class="special">;</span>
</pre>
<a name="spirit.karma.reference.numeric.real_number.template_parameters"></a><h6>
-<a name="id1133679"></a>
+<a name="id1115940"></a>
<a class="link" href="real_number.html#spirit.karma.reference.numeric.real_number.template_parameters">Template
parameters</a>
</h6>
@@ -181,19 +181,13 @@
see <a class="link" href="real_number.html#spirit.karma.reference.numeric.real_number.real_number_formatting_policies">below</a>.
</p>
<a name="spirit.karma.reference.numeric.real_number.model_of"></a><h6>
-<a name="id1133842"></a>
+<a name="id1116103"></a>
<a class="link" href="real_number.html#spirit.karma.reference.numeric.real_number.model_of">Model
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../generator_concepts/primitivegenerator.html" title="PrimitiveGenerator"><code class="computeroutput"><span class="identifier">PrimitiveGenerator</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../generator_concepts/primitivegenerator.html" title="PrimitiveGenerator"><code class="computeroutput"><span class="identifier">PrimitiveGenerator</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -211,7 +205,7 @@
</dl>
</div>
<a name="spirit.karma.reference.numeric.real_number.expression_semantics"></a><h6>
-<a name="id1133946"></a>
+<a name="id1116204"></a>
<a class="link" href="real_number.html#spirit.karma.reference.numeric.real_number.expression_semantics">Expression
Semantics</a>
</h6>
@@ -384,7 +378,7 @@
</tbody>
</table></div>
<a name="spirit.karma.reference.numeric.real_number.additional_requirements"></a><h6>
-<a name="id1134856"></a>
+<a name="id1116826"></a>
<a class="link" href="real_number.html#spirit.karma.reference.numeric.real_number.additional_requirements">Additional
Requirements</a>
</h6>
@@ -400,30 +394,30 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- comparison operators for: <code class="computeroutput"><span class="special"><</span></code>,
- <code class="computeroutput"><span class="special"><=</span></code>, <code class="computeroutput"><span class="special">==</span></code>,
- <code class="computeroutput"><span class="special">!=</span></code>, <code class="computeroutput"><span class="special">></span></code>,
- and <code class="computeroutput"><span class="special">>=</span></code>
-</li>
+ comparison operators for: <code class="computeroutput"><span class="special"><</span></code>,
+ <code class="computeroutput"><span class="special"><=</span></code>, <code class="computeroutput"><span class="special">==</span></code>, <code class="computeroutput"><span class="special">!=</span></code>,
+ <code class="computeroutput"><span class="special">></span></code>, and <code class="computeroutput"><span class="special">>=</span></code>
+ </li>
<li class="listitem">
- numeric operators for: <code class="computeroutput"><span class="special">+</span></code>,
- <code class="computeroutput"><span class="special">-</span></code>, <code class="computeroutput"><span class="special">/</span></code>,
- <code class="computeroutput"><span class="special">*</span></code>, and <code class="computeroutput"><span class="special">%</span></code>
-</li>
+ numeric operators for: <code class="computeroutput"><span class="special">+</span></code>,
+ <code class="computeroutput"><span class="special">-</span></code>, <code class="computeroutput"><span class="special">/</span></code>,
+ <code class="computeroutput"><span class="special">*</span></code>, and <code class="computeroutput"><span class="special">%</span></code>
+ </li>
<li class="listitem">
- functions implementing the interface and the semantics of: <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">fmod</span></code>, <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">pow</span></code>,
- <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">log10</span></code>, <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">lround</span></code>,
- <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">ltrunc</span></code>, <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">modf</span></code>,
- <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">floor</span></code>, and <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">ceil</span></code>.
- These need to be defined in a way so that they will be found using
- argument dependent lookup (ADL).
- </li>
+ functions implementing the interface and the semantics of: <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">fmod</span></code>, <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">pow</span></code>,
+ <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">log10</span></code>, <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">lround</span></code>,
+ <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">ltrunc</span></code>, <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">modf</span></code>,
+ <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">floor</span></code>, and <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">ceil</span></code>.
+ These need to be defined in a way so that they will be found using
+ argument dependent lookup (ADL).
+ </li>
<li class="listitem">
- a valid specialization of the type <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">numeric_limits</span><span class="special"><</span><span class="identifier">Num</span><span class="special">></span></code> allowing for numeric property inspection.
- </li>
+ a valid specialization of the type <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">numeric_limits</span><span class="special"><</span><span class="identifier">Num</span><span class="special">></span></code> allowing for numeric property
+ inspection.
+ </li>
</ul></div>
<a name="spirit.karma.reference.numeric.real_number.attributes"></a><h6>
-<a name="id1135166"></a>
+<a name="id1117150"></a>
<a class="link" href="real_number.html#spirit.karma.reference.numeric.real_number.attributes">Attributes</a>
</h6>
<div class="informaltable"><table class="table">
@@ -594,7 +588,7 @@
</p></td></tr>
</table></div>
<a name="spirit.karma.reference.numeric.real_number.real_number_formatting_policies"></a><h6>
-<a name="id1135723"></a>
+<a name="id1119502"></a>
<a class="link" href="real_number.html#spirit.karma.reference.numeric.real_number.real_number_formatting_policies">Real
Number Formatting Policies</a>
</h6>
@@ -626,7 +620,7 @@
will be used as the attribute type of the created real number generator.
</p>
<a name="spirit.karma.reference.numeric.real_number.real_number_formatting_policy_expression_semantics"></a><h6>
-<a name="id1136077"></a>
+<a name="id1119856"></a>
<a class="link" href="real_number.html#spirit.karma.reference.numeric.real_number.real_number_formatting_policy_expression_semantics">Real
Number Formatting Policy Expression Semantics</a>
</h6>
@@ -1145,21 +1139,15 @@
</p></td></tr>
</table></div>
<a name="spirit.karma.reference.numeric.real_number.complexity"></a><h6>
-<a name="id1140750"></a>
+<a name="id1122886"></a>
<a class="link" href="real_number.html#spirit.karma.reference.numeric.real_number.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- O(N), where <code class="computeroutput"><span class="identifier">N</span></code> is
- the number of digits needed to represent the generated real number.
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ O(N), where <code class="computeroutput"><span class="identifier">N</span></code> is the
+ number of digits needed to represent the generated real number.
+ </p></blockquote></div>
<a name="spirit.karma.reference.numeric.real_number.example"></a><h6>
-<a name="id1140782"></a>
+<a name="id1122913"></a>
<a class="link" href="real_number.html#spirit.karma.reference.numeric.real_number.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -1176,9 +1164,7 @@
Some includes:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">karma</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">phoenix_core</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
@@ -1188,32 +1174,24 @@
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">string</span><span class="special">></span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">double_</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">lit</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Basic usage of an <code class="computeroutput"><span class="identifier">double_</span></code>
generator:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_generator</span><span class="special">(</span><span class="string">"2.0"</span><span class="special">,</span> <span class="identifier">lit</span><span class="special">(</span><span class="number">2.0</span><span class="special">));</span>
<span class="identifier">test_generator</span><span class="special">(</span><span class="string">"2.0"</span><span class="special">,</span> <span class="identifier">double_</span><span class="special">(</span><span class="number">2</span><span class="special">));</span>
@@ -1225,8 +1203,6 @@
<span class="identifier">test_generator_attr</span><span class="special">(</span><span class="string">"1.234e-06"</span><span class="special">,</span> <span class="identifier">double_</span><span class="special">,</span> <span class="number">0.000001234</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/numeric/signed_int.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/numeric/signed_int.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/numeric/signed_int.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -29,7 +29,7 @@
etc.)</a>
</h5></div></div></div>
<a name="spirit.karma.reference.numeric.signed_int.description"></a><h6>
-<a name="id1128475"></a>
+<a name="id1111828"></a>
<a class="link" href="signed_int.html#spirit.karma.reference.numeric.signed_int.description">Description</a>
</h6>
<p>
@@ -48,7 +48,7 @@
see <a class="link" href="signed_int.html#spirit.karma.reference.numeric.signed_int.additional_requirements">below</a>).
</p>
<a name="spirit.karma.reference.numeric.signed_int.header"></a><h6>
-<a name="id1128543"></a>
+<a name="id1111897"></a>
<a class="link" href="signed_int.html#spirit.karma.reference.numeric.signed_int.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/karma/numeric/int.hpp>
@@ -58,7 +58,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.karma.reference.numeric.signed_int.namespace"></a><h6>
-<a name="id1128618"></a>
+<a name="id1111971"></a>
<a class="link" href="signed_int.html#spirit.karma.reference.numeric.signed_int.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -130,7 +130,7 @@
</p></td></tr>
</table></div>
<a name="spirit.karma.reference.numeric.signed_int.synopsis"></a><h6>
-<a name="id1128938"></a>
+<a name="id1112279"></a>
<a class="link" href="signed_int.html#spirit.karma.reference.numeric.signed_int.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span>
@@ -140,7 +140,7 @@
<span class="keyword">struct</span> <span class="identifier">int_generator</span><span class="special">;</span>
</pre>
<a name="spirit.karma.reference.numeric.signed_int.template_parameters"></a><h6>
-<a name="id1129022"></a>
+<a name="id1112363"></a>
<a class="link" href="signed_int.html#spirit.karma.reference.numeric.signed_int.template_parameters">Template
parameters</a>
</h6>
@@ -224,19 +224,13 @@
</tbody>
</table></div>
<a name="spirit.karma.reference.numeric.signed_int.model_of"></a><h6>
-<a name="id1129198"></a>
+<a name="id1112540"></a>
<a class="link" href="signed_int.html#spirit.karma.reference.numeric.signed_int.model_of">Model
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../generator_concepts/primitivegenerator.html" title="PrimitiveGenerator"><code class="computeroutput"><span class="identifier">PrimitiveGenerator</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../generator_concepts/primitivegenerator.html" title="PrimitiveGenerator"><code class="computeroutput"><span class="identifier">PrimitiveGenerator</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -268,7 +262,7 @@
</dl>
</div>
<a name="spirit.karma.reference.numeric.signed_int.expression_semantics"></a><h6>
-<a name="id1129389"></a>
+<a name="id1112727"></a>
<a class="link" href="signed_int.html#spirit.karma.reference.numeric.signed_int.expression_semantics">Expression
Semantics</a>
</h6>
@@ -449,7 +443,7 @@
</tbody>
</table></div>
<a name="spirit.karma.reference.numeric.signed_int.additional_requirements"></a><h6>
-<a name="id1130032"></a>
+<a name="id1113398"></a>
<a class="link" href="signed_int.html#spirit.karma.reference.numeric.signed_int.additional_requirements">Additional
Requirements</a>
</h6>
@@ -465,17 +459,16 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- comparison operators for: <code class="computeroutput"><span class="special"><</span></code>,
- <code class="computeroutput"><span class="special"><=</span></code>, <code class="computeroutput"><span class="special">==</span></code>,
- <code class="computeroutput"><span class="special">!=</span></code>, <code class="computeroutput"><span class="special">></span></code>,
- and <code class="computeroutput"><span class="special">>=</span></code>
-</li>
+ comparison operators for: <code class="computeroutput"><span class="special"><</span></code>,
+ <code class="computeroutput"><span class="special"><=</span></code>, <code class="computeroutput"><span class="special">==</span></code>, <code class="computeroutput"><span class="special">!=</span></code>,
+ <code class="computeroutput"><span class="special">></span></code>, and <code class="computeroutput"><span class="special">>=</span></code>
+ </li>
<li class="listitem">
- numeric operators for: <code class="computeroutput"><span class="special">+</span></code>,
- <code class="computeroutput"><span class="special">-</span></code>, <code class="computeroutput"><span class="special">/</span></code>,
- <code class="computeroutput"><span class="special">*</span></code>, <code class="computeroutput"><span class="special">%</span></code>,
- and unary <code class="computeroutput"><span class="special">-</span></code>
-</li>
+ numeric operators for: <code class="computeroutput"><span class="special">+</span></code>,
+ <code class="computeroutput"><span class="special">-</span></code>, <code class="computeroutput"><span class="special">/</span></code>,
+ <code class="computeroutput"><span class="special">*</span></code>, <code class="computeroutput"><span class="special">%</span></code>,
+ and unary <code class="computeroutput"><span class="special">-</span></code>
+ </li>
</ul></div>
<p>
If <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">is_integral</span><span class="special"><</span><span class="identifier">Num</span><span class="special">>::</span><span class="identifier">value</span></code> is <code class="computeroutput"><span class="keyword">false</span></code>
@@ -484,28 +477,28 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- comparison operators for: <code class="computeroutput"><span class="special"><</span></code>,
- <code class="computeroutput"><span class="special"><=</span></code>, <code class="computeroutput"><span class="special">==</span></code>,
- <code class="computeroutput"><span class="special">!=</span></code>, <code class="computeroutput"><span class="special">></span></code>,
- and <code class="computeroutput"><span class="special">>=</span></code>
-</li>
+ comparison operators for: <code class="computeroutput"><span class="special"><</span></code>,
+ <code class="computeroutput"><span class="special"><=</span></code>, <code class="computeroutput"><span class="special">==</span></code>, <code class="computeroutput"><span class="special">!=</span></code>,
+ <code class="computeroutput"><span class="special">></span></code>, and <code class="computeroutput"><span class="special">>=</span></code>
+ </li>
<li class="listitem">
- numeric operators for: <code class="computeroutput"><span class="special">+</span></code>,
- <code class="computeroutput"><span class="special">-</span></code>, <code class="computeroutput"><span class="special">/</span></code>,
- <code class="computeroutput"><span class="special">*</span></code>, <code class="computeroutput"><span class="special">%</span></code>,
- and unary <code class="computeroutput"><span class="special">-</span></code>
-</li>
+ numeric operators for: <code class="computeroutput"><span class="special">+</span></code>,
+ <code class="computeroutput"><span class="special">-</span></code>, <code class="computeroutput"><span class="special">/</span></code>,
+ <code class="computeroutput"><span class="special">*</span></code>, <code class="computeroutput"><span class="special">%</span></code>,
+ and unary <code class="computeroutput"><span class="special">-</span></code>
+ </li>
<li class="listitem">
- helper functions implementing the interface and the semantics of:
- <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">fmod</span></code>, <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">fabs</span></code>,
- <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">pow</span></code>, <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">lround</span></code>,
- <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">ltrunc</span></code>, <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">floor</span></code>,
- and <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">ceil</span></code>. These need to be defined in
- a way so that they will be found using argument dependent lookup (ADL).
- </li>
+ helper functions implementing the interface and the semantics of:
+ <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">fmod</span></code>, <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">fabs</span></code>,
+ <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">pow</span></code>, <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">lround</span></code>,
+ <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">ltrunc</span></code>, <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">floor</span></code>,
+ and <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">ceil</span></code>. These need to be defined
+ in a way so that they will be found using argument dependent lookup
+ (ADL).
+ </li>
</ul></div>
<a name="spirit.karma.reference.numeric.signed_int.attributes"></a><h6>
-<a name="id1130483"></a>
+<a name="id1113867"></a>
<a class="link" href="signed_int.html#spirit.karma.reference.numeric.signed_int.attributes">Attributes</a>
</h6>
<div class="informaltable"><table class="table">
@@ -704,21 +697,15 @@
</p></td></tr>
</table></div>
<a name="spirit.karma.reference.numeric.signed_int.complexity"></a><h6>
-<a name="id1132674"></a>
+<a name="id1114524"></a>
<a class="link" href="signed_int.html#spirit.karma.reference.numeric.signed_int.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- O(N), where <code class="computeroutput"><span class="identifier">N</span></code> is
- the number of digits needed to represent the generated integer number
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ O(N), where <code class="computeroutput"><span class="identifier">N</span></code> is the
+ number of digits needed to represent the generated integer number
+ </p></blockquote></div>
<a name="spirit.karma.reference.numeric.signed_int.example"></a><h6>
-<a name="id1132706"></a>
+<a name="id1114551"></a>
<a class="link" href="signed_int.html#spirit.karma.reference.numeric.signed_int.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -735,9 +722,7 @@
Some includes:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">karma</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">phoenix_core</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
@@ -747,32 +732,24 @@
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">string</span><span class="special">></span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">int_</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">lit</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Basic usage of an <code class="computeroutput"><span class="identifier">int_</span></code>
generator:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_generator</span><span class="special">(</span><span class="string">"-2"</span><span class="special">,</span> <span class="identifier">lit</span><span class="special">(-</span><span class="number">2</span><span class="special">));</span>
<span class="identifier">test_generator</span><span class="special">(</span><span class="string">"-2"</span><span class="special">,</span> <span class="identifier">int_</span><span class="special">(-</span><span class="number">2</span><span class="special">));</span>
@@ -781,8 +758,6 @@
</span><span class="identifier">test_generator_attr</span><span class="special">(</span><span class="string">"-2"</span><span class="special">,</span> <span class="identifier">int_</span><span class="special">,</span> <span class="special">-</span><span class="number">2</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/numeric/unsigned_int.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/numeric/unsigned_int.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/numeric/unsigned_int.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -29,7 +29,7 @@
etc.)</a>
</h5></div></div></div>
<a name="spirit.karma.reference.numeric.unsigned_int.description"></a><h6>
-<a name="id1123964"></a>
+<a name="id1107185"></a>
<a class="link" href="unsigned_int.html#spirit.karma.reference.numeric.unsigned_int.description">Description</a>
</h6>
<p>
@@ -44,7 +44,7 @@
a template class. Template parameters fine tune its behavior.
</p>
<a name="spirit.karma.reference.numeric.unsigned_int.header"></a><h6>
-<a name="id1124015"></a>
+<a name="id1107235"></a>
<a class="link" href="unsigned_int.html#spirit.karma.reference.numeric.unsigned_int.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/karma/numeric/uint.hpp>
@@ -54,7 +54,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.karma.reference.numeric.unsigned_int.namespace"></a><h6>
-<a name="id1124089"></a>
+<a name="id1107310"></a>
<a class="link" href="unsigned_int.html#spirit.karma.reference.numeric.unsigned_int.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -145,7 +145,7 @@
</p></td></tr>
</table></div>
<a name="spirit.karma.reference.numeric.unsigned_int.synopsis"></a><h6>
-<a name="id1124517"></a>
+<a name="id1107738"></a>
<a class="link" href="unsigned_int.html#spirit.karma.reference.numeric.unsigned_int.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span>
@@ -154,7 +154,7 @@
<span class="keyword">struct</span> <span class="identifier">uint_generator</span><span class="special">;</span>
</pre>
<a name="spirit.karma.reference.numeric.unsigned_int.template_parameters"></a><h6>
-<a name="id1124587"></a>
+<a name="id1107808"></a>
<a class="link" href="unsigned_int.html#spirit.karma.reference.numeric.unsigned_int.template_parameters">Template
parameters</a>
</h6>
@@ -220,19 +220,13 @@
</tbody>
</table></div>
<a name="spirit.karma.reference.numeric.unsigned_int.model_of"></a><h6>
-<a name="id1124721"></a>
+<a name="id1107942"></a>
<a class="link" href="unsigned_int.html#spirit.karma.reference.numeric.unsigned_int.model_of">Model
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../generator_concepts/primitivegenerator.html" title="PrimitiveGenerator"><code class="computeroutput"><span class="identifier">PrimitiveGenerator</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../generator_concepts/primitivegenerator.html" title="PrimitiveGenerator"><code class="computeroutput"><span class="identifier">PrimitiveGenerator</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -258,7 +252,7 @@
</dl>
</div>
<a name="spirit.karma.reference.numeric.unsigned_int.expression_semantics"></a><h6>
-<a name="id1124876"></a>
+<a name="id1108093"></a>
<a class="link" href="unsigned_int.html#spirit.karma.reference.numeric.unsigned_int.expression_semantics">Expression
Semantics</a>
</h6>
@@ -467,7 +461,7 @@
</tbody>
</table></div>
<a name="spirit.karma.reference.numeric.unsigned_int.additional_requirements"></a><h6>
-<a name="id1126662"></a>
+<a name="id1108757"></a>
<a class="link" href="unsigned_int.html#spirit.karma.reference.numeric.unsigned_int.additional_requirements">Additional
Requirements</a>
</h6>
@@ -483,16 +477,15 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- comparison operators for: <code class="computeroutput"><span class="special"><</span></code>,
- <code class="computeroutput"><span class="special"><=</span></code>, <code class="computeroutput"><span class="special">==</span></code>,
- <code class="computeroutput"><span class="special">!=</span></code>, <code class="computeroutput"><span class="special">></span></code>,
- and <code class="computeroutput"><span class="special">>=</span></code>
-</li>
+ comparison operators for: <code class="computeroutput"><span class="special"><</span></code>,
+ <code class="computeroutput"><span class="special"><=</span></code>, <code class="computeroutput"><span class="special">==</span></code>, <code class="computeroutput"><span class="special">!=</span></code>,
+ <code class="computeroutput"><span class="special">></span></code>, and <code class="computeroutput"><span class="special">>=</span></code>
+ </li>
<li class="listitem">
- numeric operators for: <code class="computeroutput"><span class="special">+</span></code>,
- <code class="computeroutput"><span class="special">-</span></code>, <code class="computeroutput"><span class="special">/</span></code>,
- <code class="computeroutput"><span class="special">*</span></code>, and <code class="computeroutput"><span class="special">%</span></code>
-</li>
+ numeric operators for: <code class="computeroutput"><span class="special">+</span></code>,
+ <code class="computeroutput"><span class="special">-</span></code>, <code class="computeroutput"><span class="special">/</span></code>,
+ <code class="computeroutput"><span class="special">*</span></code>, and <code class="computeroutput"><span class="special">%</span></code>
+ </li>
</ul></div>
<p>
If <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">is_integral</span><span class="special"><</span><span class="identifier">Num</span><span class="special">>::</span><span class="identifier">value</span></code> is <code class="computeroutput"><span class="keyword">false</span></code>
@@ -501,27 +494,26 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- comparison operators for: <code class="computeroutput"><span class="special"><</span></code>,
- <code class="computeroutput"><span class="special"><=</span></code>, <code class="computeroutput"><span class="special">==</span></code>,
- <code class="computeroutput"><span class="special">!=</span></code>, <code class="computeroutput"><span class="special">></span></code>,
- and <code class="computeroutput"><span class="special">>=</span></code>
-</li>
+ comparison operators for: <code class="computeroutput"><span class="special"><</span></code>,
+ <code class="computeroutput"><span class="special"><=</span></code>, <code class="computeroutput"><span class="special">==</span></code>, <code class="computeroutput"><span class="special">!=</span></code>,
+ <code class="computeroutput"><span class="special">></span></code>, and <code class="computeroutput"><span class="special">>=</span></code>
+ </li>
<li class="listitem">
- numeric operators for: <code class="computeroutput"><span class="special">+</span></code>,
- <code class="computeroutput"><span class="special">-</span></code>, <code class="computeroutput"><span class="special">/</span></code>,
- <code class="computeroutput"><span class="special">*</span></code>, and <code class="computeroutput"><span class="special">%</span></code>
-</li>
+ numeric operators for: <code class="computeroutput"><span class="special">+</span></code>,
+ <code class="computeroutput"><span class="special">-</span></code>, <code class="computeroutput"><span class="special">/</span></code>,
+ <code class="computeroutput"><span class="special">*</span></code>, and <code class="computeroutput"><span class="special">%</span></code>
+ </li>
<li class="listitem">
- helper functions implementing the interface and the semantics of:
- <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">fmod</span></code>, <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">pow</span></code>,
- <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">lround</span></code>, <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">ltrunc</span></code>,
- <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">floor</span></code>, and <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">ceil</span></code>.
- These need to be defined in a way so that they will be found using
- argument dependent lookup (ADL).
- </li>
+ helper functions implementing the interface and the semantics of:
+ <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">fmod</span></code>, <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">pow</span></code>,
+ <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">lround</span></code>, <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">ltrunc</span></code>,
+ <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">floor</span></code>, and <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">ceil</span></code>.
+ These need to be defined in a way so that they will be found using
+ argument dependent lookup (ADL).
+ </li>
</ul></div>
<a name="spirit.karma.reference.numeric.unsigned_int.attributes"></a><h6>
-<a name="id1127076"></a>
+<a name="id1109189"></a>
<a class="link" href="unsigned_int.html#spirit.karma.reference.numeric.unsigned_int.attributes">Attributes</a>
</h6>
<div class="informaltable"><table class="table">
@@ -760,21 +752,15 @@
</p></td></tr>
</table></div>
<a name="spirit.karma.reference.numeric.unsigned_int.complexity"></a><h6>
-<a name="id1127887"></a>
+<a name="id1111255"></a>
<a class="link" href="unsigned_int.html#spirit.karma.reference.numeric.unsigned_int.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- O(N), where <code class="computeroutput"><span class="identifier">N</span></code> is
- the number of digits needed to represent the generated integer number
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ O(N), where <code class="computeroutput"><span class="identifier">N</span></code> is the
+ number of digits needed to represent the generated integer number
+ </p></blockquote></div>
<a name="spirit.karma.reference.numeric.unsigned_int.example"></a><h6>
-<a name="id1127918"></a>
+<a name="id1111282"></a>
<a class="link" href="unsigned_int.html#spirit.karma.reference.numeric.unsigned_int.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -791,9 +777,7 @@
Some includes:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">karma</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">phoenix_core</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
@@ -803,32 +787,24 @@
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">string</span><span class="special">></span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">uint_</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">lit</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Basic usage of an <code class="computeroutput"><span class="identifier">uint</span></code>
generator:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_generator</span><span class="special">(</span><span class="string">"2"</span><span class="special">,</span> <span class="identifier">lit</span><span class="special">(</span><span class="number">2U</span><span class="special">));</span>
<span class="identifier">test_generator</span><span class="special">(</span><span class="string">"2"</span><span class="special">,</span> <span class="identifier">uint_</span><span class="special">(</span><span class="number">2</span><span class="special">));</span>
@@ -837,8 +813,6 @@
</span><span class="identifier">test_generator_attr</span><span class="special">(</span><span class="string">"2"</span><span class="special">,</span> <span class="identifier">uint_</span><span class="special">,</span> <span class="number">2</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/operator.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/operator.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/operator.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -68,7 +68,7 @@
and the <span class="emphasis"><em>not</em></span> predicate (unary <code class="computeroutput"><span class="special">!</span></code>).
</p>
<a name="spirit.karma.reference.operator.module_header"></a><h6>
-<a name="id1146242"></a>
+<a name="id1128355"></a>
<a class="link" href="operator.html#spirit.karma.reference.operator.module_header">Module Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/karma/operator.hpp>
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/operator/alternative.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/operator/alternative.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/operator/alternative.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -29,7 +29,7 @@
<span class="identifier">b</span></code>)</a>
</h5></div></div></div>
<a name="spirit.karma.reference.operator.alternative.description"></a><h6>
-<a name="id1149293"></a>
+<a name="id1131252"></a>
<a class="link" href="alternative.html#spirit.karma.reference.operator.alternative.description">Description</a>
</h6>
<p>
@@ -38,7 +38,7 @@
from left to right until one of them succeeds.
</p>
<a name="spirit.karma.reference.operator.alternative.header"></a><h6>
-<a name="id1149310"></a>
+<a name="id1131268"></a>
<a class="link" href="alternative.html#spirit.karma.reference.operator.alternative.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/karma/operator/alternative.hpp>
@@ -48,21 +48,15 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.karma.reference.operator.alternative.model_of"></a><h6>
-<a name="id1149385"></a>
+<a name="id1131343"></a>
<a class="link" href="alternative.html#spirit.karma.reference.operator.alternative.model_of">Model
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../generator_concepts/narygenerator.html" title="NaryGenerator"><code class="computeroutput"><span class="identifier">NaryGenerator</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../generator_concepts/narygenerator.html" title="NaryGenerator"><code class="computeroutput"><span class="identifier">NaryGenerator</span></code></a>
+ </p></blockquote></div>
<a name="spirit.karma.reference.operator.alternative.expression_semantics"></a><h6>
-<a name="id1149418"></a>
+<a name="id1131373"></a>
<a class="link" href="alternative.html#spirit.karma.reference.operator.alternative.expression_semantics">Expression
Semantics</a>
</h6>
@@ -114,7 +108,7 @@
an element succeeded.
</p>
<a name="spirit.karma.reference.operator.alternative.attributes"></a><h6>
-<a name="id1149532"></a>
+<a name="id1131487"></a>
<a class="link" href="alternative.html#spirit.karma.reference.operator.alternative.attributes">Attributes</a>
</h6>
<p>
@@ -181,23 +175,16 @@
an example of this behavior.
</p>
<a name="spirit.karma.reference.operator.alternative.complexity"></a><h6>
-<a name="id1150054"></a>
+<a name="id1132009"></a>
<a class="link" href="alternative.html#spirit.karma.reference.operator.alternative.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- The overall complexity of the alternative generator is defined by
- the sum of the complexities of its elements. The complexity of the
- alternative itself is O(N), where N is the number of elements in
- the alternative.
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ The overall complexity of the alternative generator is defined by the
+ sum of the complexities of its elements. The complexity of the alternative
+ itself is O(N), where N is the number of elements in the alternative.
+ </p></blockquote></div>
<a name="spirit.karma.reference.operator.alternative.example"></a><h6>
-<a name="id1150078"></a>
+<a name="id1132029"></a>
<a class="link" href="alternative.html#spirit.karma.reference.operator.alternative.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -214,9 +201,7 @@
Some includes:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">karma</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">phoenix_core</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
@@ -226,23 +211,17 @@
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">string</span><span class="special">></span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">double_</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">ascii</span><span class="special">::</span><span class="identifier">string</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Basic usage of an alternative. While being only the second alternative,
@@ -251,17 +230,13 @@
not compatible (i.e. not convertible) to the attribute type of the <code class="computeroutput"><span class="identifier">string</span></code> alternative.
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">variant</span><span class="special"><</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">,</span> <span class="keyword">double</span><span class="special">></span> <span class="identifier">v1</span><span class="special">(</span><span class="number">1.0</span><span class="special">);</span>
<span class="identifier">test_generator_attr</span><span class="special">(</span><span class="string">"1.0"</span><span class="special">,</span> <span class="identifier">string</span> <span class="special">|</span> <span class="identifier">double_</span><span class="special">,</span> <span class="identifier">v1</span><span class="special">);</span>
<span class="identifier">test_generator_attr</span><span class="special">(</span><span class="string">"2.0"</span><span class="special">,</span> <span class="identifier">string</span> <span class="special">|</span> <span class="identifier">double_</span><span class="special">,</span> <span class="number">2.0</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
The same formatting rules may be used to output a string. This time we
@@ -269,17 +244,13 @@
resulting in the first alternative to be chosen for the generated output.
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">variant</span><span class="special"><</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">,</span> <span class="keyword">double</span><span class="special">></span> <span class="identifier">v2</span><span class="special">(</span><span class="string">"example"</span><span class="special">);</span>
<span class="identifier">test_generator_attr</span><span class="special">(</span><span class="string">"example"</span><span class="special">,</span> <span class="identifier">string</span> <span class="special">|</span> <span class="identifier">double_</span><span class="special">,</span> <span class="identifier">v2</span><span class="special">);</span>
<span class="identifier">test_generator_attr</span><span class="special">(</span><span class="string">"example"</span><span class="special">,</span> <span class="identifier">string</span> <span class="special">|</span> <span class="identifier">double_</span><span class="special">,</span> <span class="string">"example"</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/operator/and_predicate.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/operator/and_predicate.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/operator/and_predicate.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
(<code class="computeroutput"><span class="special">&</span><span class="identifier">a</span></code>)</a>
</h5></div></div></div>
<a name="spirit.karma.reference.operator.and_predicate.description"></a><h6>
-<a name="id1157855"></a>
+<a name="id1139715"></a>
<a class="link" href="and_predicate.html#spirit.karma.reference.operator.and_predicate.description">Description</a>
</h6>
<p>
@@ -37,7 +37,7 @@
succeeds.
</p>
<a name="spirit.karma.reference.operator.and_predicate.header"></a><h6>
-<a name="id1157874"></a>
+<a name="id1139735"></a>
<a class="link" href="and_predicate.html#spirit.karma.reference.operator.and_predicate.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/karma/operator/and_predicate.hpp>
@@ -47,21 +47,15 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.karma.reference.operator.and_predicate.model_of"></a><h6>
-<a name="id1157948"></a>
+<a name="id1139809"></a>
<a class="link" href="and_predicate.html#spirit.karma.reference.operator.and_predicate.model_of">Model
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../generator_concepts/unarygenerator.html" title="UnaryGenerator"><code class="computeroutput"><span class="identifier">UnaryGenerator</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../generator_concepts/unarygenerator.html" title="UnaryGenerator"><code class="computeroutput"><span class="identifier">UnaryGenerator</span></code></a>
+ </p></blockquote></div>
<a name="spirit.karma.reference.operator.and_predicate.expression_semantics"></a><h6>
-<a name="id1157984"></a>
+<a name="id1139841"></a>
<a class="link" href="and_predicate.html#spirit.karma.reference.operator.and_predicate.expression_semantics">Expression
Semantics</a>
</h6>
@@ -108,7 +102,7 @@
its embedded generator into a discarding device.
</p>
<a name="spirit.karma.reference.operator.and_predicate.attributes"></a><h6>
-<a name="id1158090"></a>
+<a name="id1139947"></a>
<a class="link" href="and_predicate.html#spirit.karma.reference.operator.and_predicate.attributes">Attributes</a>
</h6>
<p>
@@ -161,22 +155,16 @@
</p></td></tr>
</table></div>
<a name="spirit.karma.reference.operator.and_predicate.complexity"></a><h6>
-<a name="id1158241"></a>
+<a name="id1141486"></a>
<a class="link" href="and_predicate.html#spirit.karma.reference.operator.and_predicate.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- The overall complexity of the and-predicate generator is defined
- by the complexity of its embedded generator. The complexity of the
- and-predicate generator itself is O(1).
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ The overall complexity of the and-predicate generator is defined by
+ the complexity of its embedded generator. The complexity of the and-predicate
+ generator itself is O(1).
+ </p></blockquote></div>
<a name="spirit.karma.reference.operator.and_predicate.example"></a><h6>
-<a name="id1158268"></a>
+<a name="id1141509"></a>
<a class="link" href="and_predicate.html#spirit.karma.reference.operator.and_predicate.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -193,9 +181,7 @@
Some includes:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">karma</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">phoenix_core</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
@@ -205,16 +191,12 @@
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">string</span><span class="special">></span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">double_</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">ascii</span><span class="special">::</span><span class="identifier">char_</span><span class="special">;</span>
@@ -222,16 +204,12 @@
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">phoenix</span><span class="special">::</span><span class="identifier">ref</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Basic usage of an and predicate generator:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_generator_attr</span><span class="special">(</span><span class="string">"b"</span><span class="special">,</span> <span class="special">&</span><span class="identifier">char_</span><span class="special">(</span><span class="char">'a'</span><span class="special">)</span> <span class="special"><<</span> <span class="char">'b'</span> <span class="special">|</span> <span class="char">'c'</span><span class="special">,</span> <span class="char">'a'</span><span class="special">);</span>
<span class="identifier">test_generator_attr</span><span class="special">(</span><span class="string">"c"</span><span class="special">,</span> <span class="special">&</span><span class="identifier">char_</span><span class="special">(</span><span class="char">'a'</span><span class="special">)</span> <span class="special"><<</span> <span class="char">'b'</span> <span class="special">|</span> <span class="char">'c'</span><span class="special">,</span> <span class="char">'x'</span><span class="special">);</span>
@@ -240,8 +218,6 @@
<span class="identifier">test_generator_attr</span><span class="special">(</span><span class="string">"def"</span><span class="special">,</span> <span class="special">&</span><span class="identifier">string</span><span class="special">(</span><span class="string">"123"</span><span class="special">)</span> <span class="special"><<</span> <span class="string">"abc"</span> <span class="special">|</span> <span class="string">"def"</span><span class="special">,</span> <span class="string">"456"</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/operator/kleene.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/operator/kleene.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/operator/kleene.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
(<code class="computeroutput"><span class="special">*</span><span class="identifier">a</span></code>)</a>
</h5></div></div></div>
<a name="spirit.karma.reference.operator.kleene.description"></a><h6>
-<a name="id1151337"></a>
+<a name="id1132710"></a>
<a class="link" href="kleene.html#spirit.karma.reference.operator.kleene.description">Description</a>
</h6>
<p>
@@ -37,7 +37,7 @@
generator, the Kleene star generator always succeeds.
</p>
<a name="spirit.karma.reference.operator.kleene.header"></a><h6>
-<a name="id1151354"></a>
+<a name="id1132726"></a>
<a class="link" href="kleene.html#spirit.karma.reference.operator.kleene.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/karma/operator/kleene.hpp>
@@ -47,21 +47,15 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.karma.reference.operator.kleene.model_of"></a><h6>
-<a name="id1151429"></a>
+<a name="id1132801"></a>
<a class="link" href="kleene.html#spirit.karma.reference.operator.kleene.model_of">Model
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../generator_concepts/unarygenerator.html" title="UnaryGenerator"><code class="computeroutput"><span class="identifier">UnaryGenerator</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../generator_concepts/unarygenerator.html" title="UnaryGenerator"><code class="computeroutput"><span class="identifier">UnaryGenerator</span></code></a>
+ </p></blockquote></div>
<a name="spirit.karma.reference.operator.kleene.expression_semantics"></a><h6>
-<a name="id1151467"></a>
+<a name="id1132836"></a>
<a class="link" href="kleene.html#spirit.karma.reference.operator.kleene.expression_semantics">Expression
Semantics</a>
</h6>
@@ -115,7 +109,7 @@
</p></td></tr>
</table></div>
<a name="spirit.karma.reference.operator.kleene.attributes"></a><h6>
-<a name="id1151583"></a>
+<a name="id1132952"></a>
<a class="link" href="kleene.html#spirit.karma.reference.operator.kleene.attributes">Attributes</a>
</h6>
<p>
@@ -218,24 +212,17 @@
</td></tr>
</table></div>
<a name="spirit.karma.reference.operator.kleene.complexity"></a><h6>
-<a name="id1151925"></a>
+<a name="id1133294"></a>
<a class="link" href="kleene.html#spirit.karma.reference.operator.kleene.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- The overall complexity of the Kleene star generator is defined by
- the complexity of its embedded generator multiplied by the number
- of executed iterations. The complexity of the Kleene star itself
- is O(N), where N is the number of elements in the container passed
- as its attribute.
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ The overall complexity of the Kleene star generator is defined by the
+ complexity of its embedded generator multiplied by the number of executed
+ iterations. The complexity of the Kleene star itself is O(N), where
+ N is the number of elements in the container passed as its attribute.
+ </p></blockquote></div>
<a name="spirit.karma.reference.operator.kleene.example"></a><h6>
-<a name="id1151949"></a>
+<a name="id1135119"></a>
<a class="link" href="kleene.html#spirit.karma.reference.operator.kleene.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -252,9 +239,7 @@
Some includes:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">karma</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">phoenix_core</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
@@ -264,31 +249,23 @@
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">string</span><span class="special">></span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">double_</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">space</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Basic usage of a Kleene star generator:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">double</span><span class="special">></span> <span class="identifier">v</span><span class="special">;</span>
<span class="identifier">v</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span><span class="number">1.0</span><span class="special">);</span>
@@ -297,8 +274,6 @@
<span class="identifier">test_generator_attr_delim</span><span class="special">(</span><span class="string">"1.0 2.0 3.0 "</span><span class="special">,</span> <span class="special">*</span><span class="identifier">double_</span><span class="special">,</span> <span class="identifier">space</span><span class="special">,</span> <span class="identifier">v</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/operator/list.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/operator/list.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/operator/list.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -27,7 +27,7 @@
<a name="spirit.karma.reference.operator.list"></a><a class="link" href="list.html" title="Lists (a % b)"> Lists (<code class="computeroutput"><span class="identifier">a</span> <span class="special">%</span> <span class="identifier">b</span></code>)</a>
</h5></div></div></div>
<a name="spirit.karma.reference.operator.list.description"></a><h6>
-<a name="id1154832"></a>
+<a name="id1136852"></a>
<a class="link" href="list.html#spirit.karma.reference.operator.list.description">Description</a>
</h6>
<p>
@@ -37,7 +37,7 @@
at least once.
</p>
<a name="spirit.karma.reference.operator.list.header"></a><h6>
-<a name="id1154849"></a>
+<a name="id1136868"></a>
<a class="link" href="list.html#spirit.karma.reference.operator.list.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/karma/operator/list.hpp>
@@ -47,20 +47,14 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.karma.reference.operator.list.model_of"></a><h6>
-<a name="id1154924"></a>
+<a name="id1136943"></a>
<a class="link" href="list.html#spirit.karma.reference.operator.list.model_of">Model of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../generator_concepts/binarygenerator.html" title="BinaryGenerator"><code class="computeroutput"><span class="identifier">BinaryGenerator</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../generator_concepts/binarygenerator.html" title="BinaryGenerator"><code class="computeroutput"><span class="identifier">BinaryGenerator</span></code></a>
+ </p></blockquote></div>
<a name="spirit.karma.reference.operator.list.expression_semantics"></a><h6>
-<a name="id1154962"></a>
+<a name="id1136978"></a>
<a class="link" href="list.html#spirit.karma.reference.operator.list.expression_semantics">Expression
Semantics</a>
</h6>
@@ -127,7 +121,7 @@
</p></td></tr>
</table></div>
<a name="spirit.karma.reference.operator.list.attributes"></a><h6>
-<a name="id1155177"></a>
+<a name="id1137192"></a>
<a class="link" href="list.html#spirit.karma.reference.operator.list.attributes">Attributes</a>
</h6>
<p>
@@ -217,23 +211,17 @@
</td></tr>
</table></div>
<a name="spirit.karma.reference.operator.list.complexity"></a><h6>
-<a name="id1155521"></a>
+<a name="id1138116"></a>
<a class="link" href="list.html#spirit.karma.reference.operator.list.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- The overall complexity of the list generator is defined by the complexity
- of its embedded generators multiplied by the number of executed iterations.
- The complexity of the list generator itself is O(N), where N is the
- number of elements in the container passed as its attribute.
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ The overall complexity of the list generator is defined by the complexity
+ of its embedded generators multiplied by the number of executed iterations.
+ The complexity of the list generator itself is O(N), where N is the
+ number of elements in the container passed as its attribute.
+ </p></blockquote></div>
<a name="spirit.karma.reference.operator.list.example"></a><h6>
-<a name="id1155545"></a>
+<a name="id1138136"></a>
<a class="link" href="list.html#spirit.karma.reference.operator.list.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -250,9 +238,7 @@
Some includes:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">karma</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">phoenix_core</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
@@ -262,30 +248,22 @@
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">string</span><span class="special">></span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">double_</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Basic usage of a list generator:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">double</span><span class="special">></span> <span class="identifier">v1</span><span class="special">;</span>
<span class="identifier">v1</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span><span class="number">1.0</span><span class="special">);</span>
@@ -295,8 +273,6 @@
<span class="identifier">test_generator_attr</span><span class="special">(</span><span class="string">"1.0,2.0"</span><span class="special">,</span> <span class="identifier">double_</span> <span class="special">%</span> <span class="char">','</span><span class="special">,</span> <span class="identifier">v1</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/operator/not_predicate.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/operator/not_predicate.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/operator/not_predicate.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
(<code class="computeroutput"><span class="special">!</span><span class="identifier">a</span></code>)</a>
</h5></div></div></div>
<a name="spirit.karma.reference.operator.not_predicate.description"></a><h6>
-<a name="id1158986"></a>
+<a name="id1142217"></a>
<a class="link" href="not_predicate.html#spirit.karma.reference.operator.not_predicate.description">Description</a>
</h6>
<p>
@@ -37,7 +37,7 @@
fails.
</p>
<a name="spirit.karma.reference.operator.not_predicate.header"></a><h6>
-<a name="id1159006"></a>
+<a name="id1142236"></a>
<a class="link" href="not_predicate.html#spirit.karma.reference.operator.not_predicate.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/karma/operator/not_predicate.hpp>
@@ -47,21 +47,15 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.karma.reference.operator.not_predicate.model_of"></a><h6>
-<a name="id1159080"></a>
+<a name="id1142310"></a>
<a class="link" href="not_predicate.html#spirit.karma.reference.operator.not_predicate.model_of">Model
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../generator_concepts/unarygenerator.html" title="UnaryGenerator"><code class="computeroutput"><span class="identifier">UnaryGenerator</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../generator_concepts/unarygenerator.html" title="UnaryGenerator"><code class="computeroutput"><span class="identifier">UnaryGenerator</span></code></a>
+ </p></blockquote></div>
<a name="spirit.karma.reference.operator.not_predicate.expression_semantics"></a><h6>
-<a name="id1159116"></a>
+<a name="id1142343"></a>
<a class="link" href="not_predicate.html#spirit.karma.reference.operator.not_predicate.expression_semantics">Expression
Semantics</a>
</h6>
@@ -108,7 +102,7 @@
its embedded generator into a discarding device.
</p>
<a name="spirit.karma.reference.operator.not_predicate.attributes"></a><h6>
-<a name="id1159222"></a>
+<a name="id1142448"></a>
<a class="link" href="not_predicate.html#spirit.karma.reference.operator.not_predicate.attributes">Attributes</a>
</h6>
<p>
@@ -161,22 +155,16 @@
</p></td></tr>
</table></div>
<a name="spirit.karma.reference.operator.not_predicate.complexity"></a><h6>
-<a name="id1159373"></a>
+<a name="id1142599"></a>
<a class="link" href="not_predicate.html#spirit.karma.reference.operator.not_predicate.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- The overall complexity of the not-predicate generator is defined
- by the complexity of its embedded generator. The complexity of the
- not-predicate generator itself is O(1).
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ The overall complexity of the not-predicate generator is defined by
+ the complexity of its embedded generator. The complexity of the not-predicate
+ generator itself is O(1).
+ </p></blockquote></div>
<a name="spirit.karma.reference.operator.not_predicate.example"></a><h6>
-<a name="id1159399"></a>
+<a name="id1142622"></a>
<a class="link" href="not_predicate.html#spirit.karma.reference.operator.not_predicate.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -193,9 +181,7 @@
Some includes:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">karma</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">phoenix_core</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
@@ -205,16 +191,12 @@
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">string</span><span class="special">></span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">double_</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">ascii</span><span class="special">::</span><span class="identifier">char_</span><span class="special">;</span>
@@ -222,16 +204,12 @@
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">phoenix</span><span class="special">::</span><span class="identifier">ref</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Basic usage of a not predicate generator:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_generator_attr</span><span class="special">(</span><span class="string">"c"</span><span class="special">,</span> <span class="special">!</span><span class="identifier">char_</span><span class="special">(</span><span class="char">'a'</span><span class="special">)</span> <span class="special"><<</span> <span class="char">'b'</span> <span class="special">|</span> <span class="char">'c'</span><span class="special">,</span> <span class="char">'a'</span><span class="special">);</span>
<span class="identifier">test_generator_attr</span><span class="special">(</span><span class="string">"b"</span><span class="special">,</span> <span class="special">!</span><span class="identifier">char_</span><span class="special">(</span><span class="char">'a'</span><span class="special">)</span> <span class="special"><<</span> <span class="char">'b'</span> <span class="special">|</span> <span class="char">'c'</span><span class="special">,</span> <span class="char">'x'</span><span class="special">);</span>
@@ -240,8 +218,6 @@
<span class="identifier">test_generator_attr</span><span class="special">(</span><span class="string">"abc"</span><span class="special">,</span> <span class="special">!</span><span class="identifier">string</span><span class="special">(</span><span class="string">"123"</span><span class="special">)</span> <span class="special"><<</span> <span class="string">"abc"</span> <span class="special">|</span> <span class="string">"def"</span><span class="special">,</span> <span class="string">"456"</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/operator/optional.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/operator/optional.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/operator/optional.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
(<code class="computeroutput"><span class="special">-</span><span class="identifier">a</span></code>)</a>
</h5></div></div></div>
<a name="spirit.karma.reference.operator.optional.description"></a><h6>
-<a name="id1156048"></a>
+<a name="id1138628"></a>
<a class="link" href="optional.html#spirit.karma.reference.operator.optional.description">Description</a>
</h6>
<p>
@@ -36,7 +36,7 @@
It succeeds always.
</p>
<a name="spirit.karma.reference.operator.optional.header"></a><h6>
-<a name="id1156065"></a>
+<a name="id1138645"></a>
<a class="link" href="optional.html#spirit.karma.reference.operator.optional.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/karma/operator/optional.hpp>
@@ -46,21 +46,15 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.karma.reference.operator.optional.model_of"></a><h6>
-<a name="id1156139"></a>
+<a name="id1138719"></a>
<a class="link" href="optional.html#spirit.karma.reference.operator.optional.model_of">Model
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../generator_concepts/unarygenerator.html" title="UnaryGenerator"><code class="computeroutput"><span class="identifier">UnaryGenerator</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../generator_concepts/unarygenerator.html" title="UnaryGenerator"><code class="computeroutput"><span class="identifier">UnaryGenerator</span></code></a>
+ </p></blockquote></div>
<a name="spirit.karma.reference.operator.optional.expression_semantics"></a><h6>
-<a name="id1156178"></a>
+<a name="id1138754"></a>
<a class="link" href="optional.html#spirit.karma.reference.operator.optional.expression_semantics">Expression
Semantics</a>
</h6>
@@ -102,7 +96,7 @@
</tr></tbody>
</table></div>
<a name="spirit.karma.reference.operator.optional.attributes"></a><h6>
-<a name="id1156280"></a>
+<a name="id1138856"></a>
<a class="link" href="optional.html#spirit.karma.reference.operator.optional.attributes">Attributes</a>
</h6>
<p>
@@ -189,22 +183,16 @@
</td></tr>
</table></div>
<a name="spirit.karma.reference.operator.optional.complexity"></a><h6>
-<a name="id1157291"></a>
+<a name="id1139169"></a>
<a class="link" href="optional.html#spirit.karma.reference.operator.optional.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- The overall complexity of the optional generator is defined by the
- complexity of its embedded generator. The complexity of the optional
- generator itself is O(1).
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ The overall complexity of the optional generator is defined by the
+ complexity of its embedded generator. The complexity of the optional
+ generator itself is O(1).
+ </p></blockquote></div>
<a name="spirit.karma.reference.operator.optional.example"></a><h6>
-<a name="id1157315"></a>
+<a name="id1139190"></a>
<a class="link" href="optional.html#spirit.karma.reference.operator.optional.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -221,9 +209,7 @@
Some includes:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">karma</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">phoenix_core</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
@@ -233,53 +219,39 @@
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">string</span><span class="special">></span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">double_</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Basic usage of an optional generator:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">optional</span><span class="special"><</span><span class="keyword">double</span><span class="special">></span> <span class="identifier">val</span><span class="special">(</span><span class="number">1.0</span><span class="special">);</span>
<span class="identifier">test_generator_attr</span><span class="special">(</span><span class="string">"1.0"</span><span class="special">,</span> <span class="special">-</span><span class="identifier">double_</span><span class="special">,</span> <span class="identifier">val</span><span class="special">);</span>
<span class="identifier">test_generator_attr</span><span class="special">(</span><span class="string">"2.0"</span><span class="special">,</span> <span class="special">-</span><span class="identifier">double_</span><span class="special">,</span> <span class="number">2.0</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Usage and result of an empty optional generator:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">optional</span><span class="special"><</span><span class="keyword">double</span><span class="special">></span> <span class="identifier">val</span><span class="special">;</span> <span class="comment">// empty optional
</span><span class="identifier">test_generator_attr</span><span class="special">(</span><span class="string">""</span><span class="special">,</span> <span class="special">-</span><span class="identifier">double_</span><span class="special">,</span> <span class="identifier">val</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/operator/plus.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/operator/plus.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/operator/plus.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -27,7 +27,7 @@
<a name="spirit.karma.reference.operator.plus"></a><a class="link" href="plus.html" title="Plus (+a)"> Plus (<code class="computeroutput"><span class="special">+</span><span class="identifier">a</span></code>)</a>
</h5></div></div></div>
<a name="spirit.karma.reference.operator.plus.description"></a><h6>
-<a name="id1152470"></a>
+<a name="id1135629"></a>
<a class="link" href="plus.html#spirit.karma.reference.operator.plus.description">Description</a>
</h6>
<p>
@@ -36,7 +36,7 @@
executed at least once.
</p>
<a name="spirit.karma.reference.operator.plus.header"></a><h6>
-<a name="id1152487"></a>
+<a name="id1135646"></a>
<a class="link" href="plus.html#spirit.karma.reference.operator.plus.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/karma/operator/plus.hpp>
@@ -46,20 +46,14 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.karma.reference.operator.plus.model_of"></a><h6>
-<a name="id1152561"></a>
+<a name="id1135720"></a>
<a class="link" href="plus.html#spirit.karma.reference.operator.plus.model_of">Model of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../generator_concepts/unarygenerator.html" title="UnaryGenerator"><code class="computeroutput"><span class="identifier">UnaryGenerator</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../generator_concepts/unarygenerator.html" title="UnaryGenerator"><code class="computeroutput"><span class="identifier">UnaryGenerator</span></code></a>
+ </p></blockquote></div>
<a name="spirit.karma.reference.operator.plus.expression_semantics"></a><h6>
-<a name="id1152600"></a>
+<a name="id1135755"></a>
<a class="link" href="plus.html#spirit.karma.reference.operator.plus.expression_semantics">Expression
Semantics</a>
</h6>
@@ -116,7 +110,7 @@
</p></td></tr>
</table></div>
<a name="spirit.karma.reference.operator.plus.attributes"></a><h6>
-<a name="id1152727"></a>
+<a name="id1135882"></a>
<a class="link" href="plus.html#spirit.karma.reference.operator.plus.attributes">Attributes</a>
</h6>
<p>
@@ -219,23 +213,17 @@
</td></tr>
</table></div>
<a name="spirit.karma.reference.operator.plus.complexity"></a><h6>
-<a name="id1153069"></a>
+<a name="id1136224"></a>
<a class="link" href="plus.html#spirit.karma.reference.operator.plus.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- The overall complexity of the plus generator is defined by the complexity
- of its embedded generator multiplied by the number of executed iterations.
- The complexity of the plus generator itself is O(N), where N is the
- number of elements in the container passed as its attribute.
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ The overall complexity of the plus generator is defined by the complexity
+ of its embedded generator multiplied by the number of executed iterations.
+ The complexity of the plus generator itself is O(N), where N is the
+ number of elements in the container passed as its attribute.
+ </p></blockquote></div>
<a name="spirit.karma.reference.operator.plus.example"></a><h6>
-<a name="id1153093"></a>
+<a name="id1136244"></a>
<a class="link" href="plus.html#spirit.karma.reference.operator.plus.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -252,9 +240,7 @@
Some includes:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">karma</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">phoenix_core</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
@@ -264,31 +250,23 @@
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">string</span><span class="special">></span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">double_</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">space</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Basic usage of a plus generator:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">double</span><span class="special">></span> <span class="identifier">v1</span><span class="special">;</span>
<span class="identifier">v1</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span><span class="number">1.0</span><span class="special">);</span>
@@ -297,24 +275,18 @@
<span class="identifier">test_generator_attr_delim</span><span class="special">(</span><span class="string">"1.0 2.0 3.0 "</span><span class="special">,</span> <span class="special">+</span><span class="identifier">double_</span><span class="special">,</span> <span class="identifier">space</span><span class="special">,</span> <span class="identifier">v1</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
A more sophisticated use case showing how to leverage the fact that plus
is failing for empty containers passed as its attribute:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">double</span><span class="special">></span> <span class="identifier">v2</span><span class="special">;</span> <span class="comment">// empty container
</span><span class="identifier">test_generator_attr</span><span class="special">(</span><span class="string">"empty"</span><span class="special">,</span> <span class="special">+</span><span class="identifier">double_</span> <span class="special">|</span> <span class="string">"empty"</span><span class="special">,</span> <span class="identifier">v2</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/operator/sequence.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/operator/sequence.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/operator/sequence.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -29,7 +29,7 @@
<span class="identifier">b</span></code>)</a>
</h5></div></div></div>
<a name="spirit.karma.reference.operator.sequence.description"></a><h6>
-<a name="id1146342"></a>
+<a name="id1128456"></a>
<a class="link" href="sequence.html#spirit.karma.reference.operator.sequence.description">Description</a>
</h6>
<p>
@@ -38,7 +38,7 @@
to right as long as they succeed.
</p>
<a name="spirit.karma.reference.operator.sequence.header"></a><h6>
-<a name="id1146359"></a>
+<a name="id1128473"></a>
<a class="link" href="sequence.html#spirit.karma.reference.operator.sequence.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/karma/operator/sequence.hpp>
@@ -48,21 +48,15 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.karma.reference.operator.sequence.model_of"></a><h6>
-<a name="id1146434"></a>
+<a name="id1128547"></a>
<a class="link" href="sequence.html#spirit.karma.reference.operator.sequence.model_of">Model
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../generator_concepts/narygenerator.html" title="NaryGenerator"><code class="computeroutput"><span class="identifier">NaryGenerator</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../generator_concepts/narygenerator.html" title="NaryGenerator"><code class="computeroutput"><span class="identifier">NaryGenerator</span></code></a>
+ </p></blockquote></div>
<a name="spirit.karma.reference.operator.sequence.expression_semantics"></a><h6>
-<a name="id1146470"></a>
+<a name="id1128579"></a>
<a class="link" href="sequence.html#spirit.karma.reference.operator.sequence.expression_semantics">Expression
Semantics</a>
</h6>
@@ -134,7 +128,7 @@
</td></tr>
</table></div>
<a name="spirit.karma.reference.operator.sequence.attributes"></a><h6>
-<a name="id1146654"></a>
+<a name="id1128764"></a>
<a class="link" href="sequence.html#spirit.karma.reference.operator.sequence.attributes">Attributes</a>
</h6>
<p>
@@ -212,22 +206,16 @@
the attribute supplied.
</p>
<a name="spirit.karma.reference.operator.sequence.complexity"></a><h6>
-<a name="id1148848"></a>
+<a name="id1129585"></a>
<a class="link" href="sequence.html#spirit.karma.reference.operator.sequence.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- The overall complexity of the sequence generator is defined by the
- sum of the complexities of its elements. The complexity of the sequence
- itself is O(N), where N is the number of elements in the sequence.
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ The overall complexity of the sequence generator is defined by the
+ sum of the complexities of its elements. The complexity of the sequence
+ itself is O(N), where N is the number of elements in the sequence.
+ </p></blockquote></div>
<a name="spirit.karma.reference.operator.sequence.example"></a><h6>
-<a name="id1148872"></a>
+<a name="id1129605"></a>
<a class="link" href="sequence.html#spirit.karma.reference.operator.sequence.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -244,9 +232,7 @@
Some includes:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">karma</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">phoenix_core</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
@@ -256,36 +242,26 @@
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">string</span><span class="special">></span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">double_</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Basic usage of a sequence:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_generator_attr</span><span class="special">(</span><span class="string">"1.0,2.0"</span><span class="special">,</span> <span class="identifier">double_</span> <span class="special"><<</span> <span class="char">','</span> <span class="special"><<</span> <span class="identifier">double_</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">make_pair</span><span class="special">(</span><span class="number">1.0</span><span class="special">,</span> <span class="number">2.0</span><span class="special">));</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/stream.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/stream.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/stream.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -35,7 +35,7 @@
for output generation.
</p>
<a name="spirit.karma.reference.stream.header"></a><h6>
-<a name="id1160569"></a>
+<a name="id1143359"></a>
<a class="link" href="stream.html#spirit.karma.reference.stream.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/karma/stream.hpp>
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/stream/stream.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/stream/stream.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/stream/stream.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
etc.)</a>
</h5></div></div></div>
<a name="spirit.karma.reference.stream.stream.description"></a><h6>
-<a name="id1160667"></a>
+<a name="id1143457"></a>
<a class="link" href="stream.html#spirit.karma.reference.stream.stream.description">Description</a>
</h6>
<p>
@@ -44,7 +44,7 @@
<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">ostream</span><span class="special">&</span> <span class="keyword">operator</span><span class="special"><<</span> <span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">ostream</span><span class="special">&,</span> <span class="identifier">A</span> <span class="keyword">const</span><span class="special">&);</span>
</pre>
<a name="spirit.karma.reference.stream.stream.header"></a><h6>
-<a name="id1160777"></a>
+<a name="id1143567"></a>
<a class="link" href="stream.html#spirit.karma.reference.stream.stream.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/karma/stream.hpp>
@@ -54,7 +54,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.karma.reference.stream.stream.namespace"></a><h6>
-<a name="id1160851"></a>
+<a name="id1143778"></a>
<a class="link" href="stream.html#spirit.karma.reference.stream.stream.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -80,14 +80,14 @@
</tbody>
</table></div>
<a name="spirit.karma.reference.stream.stream.synopsis"></a><h6>
-<a name="id1160969"></a>
+<a name="id1143896"></a>
<a class="link" href="stream.html#spirit.karma.reference.stream.stream.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Char</span><span class="special">></span>
<span class="keyword">struct</span> <span class="identifier">stream_generator</span><span class="special">;</span>
</pre>
<a name="spirit.karma.reference.stream.stream.template_parameters"></a><h6>
-<a name="id1161023"></a>
+<a name="id1143950"></a>
<a class="link" href="stream.html#spirit.karma.reference.stream.stream.template_parameters">Template
parameters</a>
</h6>
@@ -135,18 +135,12 @@
</tr></tbody>
</table></div>
<a name="spirit.karma.reference.stream.stream.model_of"></a><h6>
-<a name="id1161120"></a>
+<a name="id1144047"></a>
<a class="link" href="stream.html#spirit.karma.reference.stream.stream.model_of">Model of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../generator_concepts/primitivegenerator.html" title="PrimitiveGenerator"><code class="computeroutput"><span class="identifier">PrimitiveGenerator</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../generator_concepts/primitivegenerator.html" title="PrimitiveGenerator"><code class="computeroutput"><span class="identifier">PrimitiveGenerator</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -161,7 +155,7 @@
</dl>
</div>
<a name="spirit.karma.reference.stream.stream.expression_semantics"></a><h6>
-<a name="id1161211"></a>
+<a name="id1144134"></a>
<a class="link" href="stream.html#spirit.karma.reference.stream.stream.expression_semantics">Expression
Semantics</a>
</h6>
@@ -331,7 +325,7 @@
</tbody>
</table></div>
<a name="spirit.karma.reference.stream.stream.additional_requirements"></a><h6>
-<a name="id1161719"></a>
+<a name="id1144642"></a>
<a class="link" href="stream.html#spirit.karma.reference.stream.stream.additional_requirements">Additional
Requirements</a>
</h6>
@@ -372,7 +366,7 @@
</p></td></tr>
</table></div>
<a name="spirit.karma.reference.stream.stream.attributes"></a><h6>
-<a name="id1161945"></a>
+<a name="id1144869"></a>
<a class="link" href="stream.html#spirit.karma.reference.stream.stream.attributes">Attributes</a>
</h6>
<div class="informaltable"><table class="table">
@@ -497,20 +491,14 @@
</p></td></tr>
</table></div>
<a name="spirit.karma.reference.stream.stream.complexity"></a><h6>
-<a name="id1163444"></a>
+<a name="id1145274"></a>
<a class="link" href="stream.html#spirit.karma.reference.stream.stream.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- O(N), where N is the number of characters emitted by the stream generator
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ O(N), where N is the number of characters emitted by the stream generator
+ </p></blockquote></div>
<a name="spirit.karma.reference.stream.stream.example"></a><h6>
-<a name="id1163468"></a>
+<a name="id1145295"></a>
<a class="link" href="stream.html#spirit.karma.reference.stream.stream.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -527,9 +515,7 @@
Some includes:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">karma</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">phoenix_core</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
@@ -539,30 +525,22 @@
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">string</span><span class="special">></span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">stream</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
And a class definition used in the examples:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="comment">// a simple complex number representation z = a + bi
</span><span class="keyword">struct</span> <span class="identifier">complex</span>
@@ -576,11 +554,9 @@
<span class="special">};</span>
</pre>
<p>
- </p>
-<p>
- </p>
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="comment">// define streaming operator for the type complex
</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">ostream</span><span class="special">&</span>
@@ -591,17 +567,13 @@
<span class="special">}</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Basic usage of <code class="computeroutput"><span class="identifier">stream</span></code>
generators:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_generator_attr</span><span class="special">(</span><span class="string">"abc"</span><span class="special">,</span> <span class="identifier">stream</span><span class="special">,</span> <span class="string">"abc"</span><span class="special">);</span>
<span class="identifier">test_generator</span><span class="special">(</span><span class="string">"abc"</span><span class="special">,</span> <span class="identifier">stream</span><span class="special">(</span><span class="string">"abc"</span><span class="special">));</span>
@@ -609,8 +581,6 @@
<span class="identifier">test_generator</span><span class="special">(</span><span class="string">"{1.2,2.4}"</span><span class="special">,</span> <span class="identifier">stream</span><span class="special">(</span><span class="identifier">complex</span><span class="special">(</span><span class="number">1.2</span><span class="special">,</span> <span class="number">2.4</span><span class="special">)));</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/string.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/string.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/string.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -37,7 +37,7 @@
generator.
</p>
<a name="spirit.karma.reference.string.module_header"></a><h6>
-<a name="id1164299"></a>
+<a name="id1146181"></a>
<a class="link" href="string.html#spirit.karma.reference.string.module_header">Module Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/karma/string.hpp>
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/string/string.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/string/string.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/string/string.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -27,7 +27,7 @@
<a name="spirit.karma.reference.string.string"></a><a class="link" href="string.html" title="String (string, lit)"> String (<code class="computeroutput"><span class="identifier">string</span></code>, <code class="computeroutput"><span class="identifier">lit</span></code>)</a>
</h5></div></div></div>
<a name="spirit.karma.reference.string.string.description"></a><h6>
-<a name="id1164398"></a>
+<a name="id1146279"></a>
<a class="link" href="string.html#spirit.karma.reference.string.string.description">Description</a>
</h6>
<p>
@@ -58,7 +58,7 @@
<span class="identifier">lit</span><span class="special">(</span><span class="identifier">s</span><span class="special">)</span> <span class="comment">// s is a std::string
</span></pre>
<a name="spirit.karma.reference.string.string.header"></a><h6>
-<a name="id1164627"></a>
+<a name="id1146508"></a>
<a class="link" href="string.html#spirit.karma.reference.string.string.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/karma/string/lit.hpp>
@@ -68,7 +68,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.karma.reference.string.string.namespace"></a><h6>
-<a name="id1164701"></a>
+<a name="id1146583"></a>
<a class="link" href="string.html#spirit.karma.reference.string.string.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -98,18 +98,12 @@
Encoding Namespace</a> used by the corresponding string generator.
</p>
<a name="spirit.karma.reference.string.string.model_of"></a><h6>
-<a name="id1164821"></a>
+<a name="id1146703"></a>
<a class="link" href="string.html#spirit.karma.reference.string.string.model_of">Model of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../generator_concepts/primitivegenerator.html" title="PrimitiveGenerator"><code class="computeroutput"><span class="identifier">PrimitiveGenerator</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../generator_concepts/primitivegenerator.html" title="PrimitiveGenerator"><code class="computeroutput"><span class="identifier">PrimitiveGenerator</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -132,7 +126,7 @@
</dl>
</div>
<a name="spirit.karma.reference.string.string.expression_semantics"></a><h6>
-<a name="id1164941"></a>
+<a name="id1146819"></a>
<a class="link" href="string.html#spirit.karma.reference.string.string.expression_semantics">Expression
Semantics</a>
</h6>
@@ -234,7 +228,7 @@
</p></td></tr>
</table></div>
<a name="spirit.karma.reference.string.string.attributes"></a><h6>
-<a name="id1165261"></a>
+<a name="id1147138"></a>
<a class="link" href="string.html#spirit.karma.reference.string.string.attributes">Attributes</a>
</h6>
<div class="informaltable"><table class="table">
@@ -323,20 +317,14 @@
</p></td></tr>
</table></div>
<a name="spirit.karma.reference.string.string.complexity"></a><h6>
-<a name="id1166206"></a>
+<a name="id1147444"></a>
<a class="link" href="string.html#spirit.karma.reference.string.string.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- O(N), where N is the number of characters emitted by the string generator
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ O(N), where N is the number of characters emitted by the string generator
+ </p></blockquote></div>
<a name="spirit.karma.reference.string.string.example"></a><h6>
-<a name="id1166230"></a>
+<a name="id1147465"></a>
<a class="link" href="string.html#spirit.karma.reference.string.string.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -353,9 +341,7 @@
Some includes:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">karma</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">phoenix_core</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
@@ -365,32 +351,24 @@
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">string</span><span class="special">></span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">lit</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">ascii</span><span class="special">::</span><span class="identifier">string</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Basic usage of <code class="computeroutput"><span class="identifier">string</span></code>
generators:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_generator</span><span class="special">(</span><span class="string">"abc"</span><span class="special">,</span> <span class="string">"abc"</span><span class="special">);</span>
<span class="identifier">test_generator</span><span class="special">(</span><span class="string">"abc"</span><span class="special">,</span> <span class="identifier">lit</span><span class="special">(</span><span class="string">"abc"</span><span class="special">));</span>
@@ -404,8 +382,6 @@
<span class="identifier">test_generator_attr</span><span class="special">(</span><span class="string">""</span><span class="special">,</span> <span class="identifier">string</span><span class="special">(</span><span class="string">"abc"</span><span class="special">),</span> <span class="string">"cba"</span><span class="special">);</span> <span class="comment">// fails (as "abc" != "cba")
</span></pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/karma/reference/string/symbols.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/reference/string/symbols.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/reference/string/symbols.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -27,7 +27,7 @@
<a name="spirit.karma.reference.string.symbols"></a><a class="link" href="symbols.html" title="Symbols (symbols)"> Symbols (<code class="computeroutput"><span class="identifier">symbols</span></code>)</a>
</h5></div></div></div>
<a name="spirit.karma.reference.string.symbols.description"></a><h6>
-<a name="id1166902"></a>
+<a name="id1148126"></a>
<a class="link" href="symbols.html#spirit.karma.reference.string.symbols.description">Description</a>
</h6>
<p>
@@ -46,7 +46,7 @@
added, thus, dynamically altering its behavior.
</p>
<a name="spirit.karma.reference.string.symbols.header"></a><h6>
-<a name="id1166937"></a>
+<a name="id1148161"></a>
<a class="link" href="symbols.html#spirit.karma.reference.string.symbols.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/karma/string/symbols.hpp>
@@ -56,7 +56,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.karma.reference.string.symbols.namespace"></a><h6>
-<a name="id1167011"></a>
+<a name="id1149906"></a>
<a class="link" href="symbols.html#spirit.karma.reference.string.symbols.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -73,7 +73,7 @@
</td></tr></tbody>
</table></div>
<a name="spirit.karma.reference.string.symbols.synopsis"></a><h6>
-<a name="id1167092"></a>
+<a name="id1149986"></a>
<a class="link" href="symbols.html#spirit.karma.reference.string.symbols.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Attrib</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Lookup</span>
@@ -81,7 +81,7 @@
<span class="keyword">struct</span> <span class="identifier">symbols</span><span class="special">;</span>
</pre>
<a name="spirit.karma.reference.string.symbols.template_parameters"></a><h6>
-<a name="id1167200"></a>
+<a name="id1150094"></a>
<a class="link" href="symbols.html#spirit.karma.reference.string.symbols.template_parameters">Template
parameters</a>
</h6>
@@ -204,19 +204,13 @@
</tbody>
</table></div>
<a name="spirit.karma.reference.string.symbols.model_of"></a><h6>
-<a name="id1167514"></a>
+<a name="id1150409"></a>
<a class="link" href="symbols.html#spirit.karma.reference.string.symbols.model_of">Model
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../generator_concepts/primitivegenerator.html" title="PrimitiveGenerator"><code class="computeroutput"><span class="identifier">PrimitiveGenerator</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../generator_concepts/primitivegenerator.html" title="PrimitiveGenerator"><code class="computeroutput"><span class="identifier">PrimitiveGenerator</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -267,7 +261,7 @@
</dl>
</div>
<a name="spirit.karma.reference.string.symbols.expression_semantics"></a><h6>
-<a name="id1167839"></a>
+<a name="id1150730"></a>
<a class="link" href="symbols.html#spirit.karma.reference.string.symbols.expression_semantics">Expression
Semantics</a>
</h6>
@@ -522,33 +516,27 @@
not emitting anything.
</p>
<a name="spirit.karma.reference.string.symbols.attributes"></a><h6>
-<a name="id1171190"></a>
+<a name="id1151888"></a>
<a class="link" href="symbols.html#spirit.karma.reference.string.symbols.attributes">Attributes</a>
</h6>
<p>
The attribute of <code class="computeroutput"><span class="identifier">symbol</span><span class="special"><</span><span class="identifier">Attrib</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span></code> is <code class="computeroutput"><span class="identifier">Attrib</span></code>.
</p>
<a name="spirit.karma.reference.string.symbols.complexity"></a><h6>
-<a name="id1171240"></a>
+<a name="id1151939"></a>
<a class="link" href="symbols.html#spirit.karma.reference.string.symbols.complexity">Complexity</a>
</h6>
<p>
The default implementation uses a <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">map</span><span class="special"><></span></code> or a <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">set</span><span class="special"><></span></code> with a complexity of:
</p>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- O(log n)
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ O(log n)
+ </p></blockquote></div>
<p>
Where n is the number of stored symbols.
</p>
<a name="spirit.karma.reference.string.symbols.example"></a><h6>
-<a name="id1171307"></a>
+<a name="id1152002"></a>
<a class="link" href="symbols.html#spirit.karma.reference.string.symbols.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -565,9 +553,7 @@
Some includes:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">karma</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">phoenix_core</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
@@ -577,31 +563,23 @@
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">string</span><span class="special">></span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">symbols</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Basic usage of <code class="computeroutput"><span class="identifier">symbol</span></code>
generators:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">symbols</span><span class="special"><</span><span class="keyword">char</span><span class="special">,</span> <span class="keyword">char</span> <span class="keyword">const</span><span class="special">*></span> <span class="identifier">sym</span><span class="special">;</span>
@@ -614,8 +592,6 @@
<span class="identifier">test_generator_attr</span><span class="special">(</span><span class="string">"Banana"</span><span class="special">,</span> <span class="identifier">sym</span><span class="special">,</span> <span class="char">'b'</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/karma/tutorials/karma_adapted_complex.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/tutorials/karma_adapted_complex.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/tutorials/karma_adapted_complex.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -38,7 +38,7 @@
macros.
</p>
<a name="spirit.karma.tutorials.karma_adapted_complex.adapting_a_class_as_a_fusion_sequence"></a><h6>
-<a name="id1020363"></a>
+<a name="id1003157"></a>
<a class="link" href="karma_adapted_complex.html#spirit.karma.tutorials.karma_adapted_complex.adapting_a_class_as_a_fusion_sequence">Adapting
a Class As a Fusion Sequence</a>
</h6>
@@ -50,9 +50,7 @@
directly to <span class="emphasis"><em>Karma's</em></span> <code class="computeroutput"><span class="identifier">generate</span><span class="special">()</span></code> function:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">OutputIterator</span><span class="special">></span>
<span class="keyword">bool</span> <span class="identifier">generate_complex</span><span class="special">(</span><span class="identifier">OutputIterator</span> <span class="identifier">sink</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">complex</span><span class="special"><</span><span class="keyword">double</span><span class="special">></span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">c</span><span class="special">)</span>
@@ -77,17 +75,13 @@
<span class="special">}</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Indeed, this is possible! All we have to supply to make this work is a
magic incantation (somewhere in the global namespace):
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="comment">// We can leave off the setters as Karma does not need them.
</span><span class="identifier">BOOST_FUSION_ADAPT_CLASS</span><span class="special">(</span>
@@ -98,8 +92,6 @@
<span class="special">)</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Most of the formatting grammar itself has not changed from the last section.
Modified: trunk/libs/spirit/doc/html/spirit/karma/tutorials/karma_complex.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/tutorials/karma_complex.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/tutorials/karma_complex.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -85,9 +85,7 @@
part is non-zero) or as a single number (if the complex is a real number):
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">OutputIterator</span><span class="special">></span>
<span class="keyword">bool</span> <span class="identifier">generate_complex</span><span class="special">(</span><span class="identifier">OutputIterator</span> <span class="identifier">sink</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">complex</span><span class="special"><</span><span class="keyword">double</span><span class="special">></span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">c</span><span class="special">)</span>
@@ -109,8 +107,6 @@
<span class="special">}</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
The <code class="computeroutput"><span class="identifier">double_</span></code> generators
Modified: trunk/libs/spirit/doc/html/spirit/karma/tutorials/karma_easier_complex.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/tutorials/karma_easier_complex.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/tutorials/karma_easier_complex.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -35,9 +35,7 @@
(the full source file for this example can be found here: complex_number_easier.cpp):
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">OutputIterator</span><span class="special">></span>
<span class="keyword">bool</span> <span class="identifier">generate_complex</span><span class="special">(</span><span class="identifier">OutputIterator</span> <span class="identifier">sink</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">complex</span><span class="special"><</span><span class="keyword">double</span><span class="special">></span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">c</span><span class="special">)</span>
@@ -60,14 +58,12 @@
<span class="special">}</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Let's cover some basic library features first.
</p>
<a name="spirit.karma.tutorials.karma_easier_complex.making_numeric_generators_fail"></a><h6>
-<a name="id1019231"></a>
+<a name="id1002025"></a>
<a class="link" href="karma_easier_complex.html#spirit.karma.tutorials.karma_easier_complex.making_numeric_generators_fail">Making
Numeric Generators Fail</a>
</h6>
@@ -117,7 +113,7 @@
</p></td></tr>
</table></div>
<a name="spirit.karma.tutorials.karma_easier_complex.predicates___the_conditionals_for_output_generators"></a><h6>
-<a name="id1019519"></a>
+<a name="id1002313"></a>
<a class="link" href="karma_easier_complex.html#spirit.karma.tutorials.karma_easier_complex.predicates___the_conditionals_for_output_generators">Predicates
- The Conditionals for Output Generators</a>
</h6>
@@ -168,7 +164,7 @@
emitted by the generators they are applied to.
</p>
<a name="spirit.karma.tutorials.karma_easier_complex.ignoring_supplied_attributes"></a><h6>
-<a name="id1019768"></a>
+<a name="id1002561"></a>
<a class="link" href="karma_easier_complex.html#spirit.karma.tutorials.karma_easier_complex.ignoring_supplied_attributes">Ignoring
Supplied Attributes</a>
</h6>
@@ -195,7 +191,7 @@
</p></td></tr>
</table></div>
<a name="spirit.karma.tutorials.karma_easier_complex.putting_everything_together"></a><h6>
-<a name="id1019846"></a>
+<a name="id1002639"></a>
<a class="link" href="karma_easier_complex.html#spirit.karma.tutorials.karma_easier_complex.putting_everything_together">Putting
everything together</a>
</h6>
Modified: trunk/libs/spirit/doc/html/spirit/karma/tutorials/num_list.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/tutorials/num_list.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/tutorials/num_list.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
Numbers From a std::vector</a>
</h4></div></div></div>
<a name="spirit.karma.tutorials.num_list.using_the_list_operator"></a><h6>
-<a name="id1022995"></a>
+<a name="id1003968"></a>
<a class="link" href="num_list.html#spirit.karma.tutorials.num_list.using_the_list_operator">Using
the List Operator</a>
</h6>
@@ -67,9 +67,7 @@
container holding <code class="computeroutput"><span class="keyword">double</span></code> numbers.
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">OutputIterator</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Container</span><span class="special">></span>
<span class="keyword">bool</span> <span class="identifier">generate_numbers</span><span class="special">(</span><span class="identifier">OutputIterator</span><span class="special">&</span> <span class="identifier">sink</span><span class="special">,</span> <span class="identifier">Container</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">v</span><span class="special">)</span>
@@ -88,8 +86,6 @@
<span class="special">}</span>
</pre>
<p>
- </p>
-<p>
</p>
<div class="note"><table border="0" summary="Note">
<tr>
@@ -106,7 +102,7 @@
</p></td></tr>
</table></div>
<a name="spirit.karma.tutorials.num_list.generate_output_from_arbitrary_data"></a><h6>
-<a name="id1023513"></a>
+<a name="id1006170"></a>
<a class="link" href="num_list.html#spirit.karma.tutorials.num_list.generate_output_from_arbitrary_data">Generate
Output from Arbitrary Data</a>
</h6>
@@ -140,9 +136,7 @@
operator:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="comment">// a simple complex number representation z = a + bi
</span><span class="keyword">struct</span> <span class="identifier">complex</span>
@@ -162,8 +156,6 @@
<span class="special">}</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
And this is the actual call to generate the output from a vector of those.
@@ -172,9 +164,7 @@
putting each complex number onto a separate line:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">OutputIterator</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Container</span><span class="special">></span>
<span class="keyword">bool</span> <span class="identifier">generate_numbers</span><span class="special">(</span><span class="identifier">OutputIterator</span><span class="special">&</span> <span class="identifier">sink</span><span class="special">,</span> <span class="identifier">Container</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">v</span><span class="special">)</span>
@@ -192,8 +182,6 @@
<span class="special">}</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
The code shown is fully generic and can be used with any STL container
Modified: trunk/libs/spirit/doc/html/spirit/karma/tutorials/quick_start.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/tutorials/quick_start.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/tutorials/quick_start.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -27,7 +27,7 @@
<a name="spirit.karma.tutorials.quick_start"></a><a class="link" href="quick_start.html" title="Quick Start">Quick Start</a>
</h4></div></div></div>
<a name="spirit.karma.tutorials.quick_start.spirit_karma___what_s_that_"></a><h6>
-<a name="id1014446"></a>
+<a name="id995828"></a>
<a class="link" href="quick_start.html#spirit.karma.tutorials.quick_start.spirit_karma___what_s_that_">Spirit.Karma
- what's that?</a>
</h6>
@@ -38,18 +38,18 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
-<span class="emphasis"><em>Spirit.Karma</em></span> is the counterpart to <span class="emphasis"><em>Spirit.Qi</em></span>.
- Some people say it's the Yin to <span class="emphasis"><em>Spirit.Qi</em></span>'s Yang.
- <span class="emphasis"><em>Spirit.Karma</em></span> is generating byte sequences from internal
- data structures as <span class="emphasis"><em>Spirit.Qi</em></span> is parsing byte sequences
- into those (very same) internal data structures.
- </li>
+ <span class="emphasis"><em>Spirit.Karma</em></span> is the counterpart to <span class="emphasis"><em>Spirit.Qi</em></span>.
+ Some people say it's the Yin to <span class="emphasis"><em>Spirit.Qi</em></span>'s Yang.
+ <span class="emphasis"><em>Spirit.Karma</em></span> is generating byte sequences from
+ internal data structures as <span class="emphasis"><em>Spirit.Qi</em></span> is parsing
+ byte sequences into those (very same) internal data structures.
+ </li>
<li class="listitem">
- Both libraries have an almost identical structure, very similar semantics,
- and are both built using identical tools. Both libraries implement a
- language casting the specifics of their domain (parsing and generating)
- into a simple interface.
- </li>
+ Both libraries have an almost identical structure, very similar semantics,
+ and are both built using identical tools. Both libraries implement
+ a language casting the specifics of their domain (parsing and generating)
+ into a simple interface.
+ </li>
</ul></div>
<p>
Why should you use a generator library for such a simple thing as output
Modified: trunk/libs/spirit/doc/html/spirit/karma/tutorials/semantic_actions.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/tutorials/semantic_actions.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/tutorials/semantic_actions.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -105,7 +105,7 @@
<span class="keyword">void</span> <span class="identifier">f</span><span class="special">(</span><span class="identifier">Attrib</span><span class="special">&,</span> <span class="identifier">Context</span><span class="special">&,</span> <span class="keyword">bool</span><span class="special">&);</span>
</pre>
<a name="spirit.karma.tutorials.semantic_actions.examples_of_semantic_actions"></a><h6>
-<a name="id1016803"></a>
+<a name="id997384"></a>
<a class="link" href="semantic_actions.html#spirit.karma.tutorials.semantic_actions.examples_of_semantic_actions">Examples
of Semantic Actions</a>
</h6>
@@ -114,30 +114,28 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- Using a plain function pointer
- </li>
+ Using a plain function pointer
+ </li>
<li class="listitem">
- Using a simple function object
- </li>
+ Using a simple function object
+ </li>
<li class="listitem">
- Using Boost.Bind with
- a plain function
- </li>
+ Using Boost.Bind with
+ a plain function
+ </li>
<li class="listitem">
- Using Boost.Bind with
- a member function
- </li>
+ Using Boost.Bind with
+ a member function
+ </li>
<li class="listitem">
- Using Boost.Lambda
-</li>
+ Using Boost.Lambda
+ </li>
</ul></div>
<p>
Let's assume we have:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">client</span>
<span class="special">{</span>
@@ -169,8 +167,6 @@
<span class="special">}</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Take note that with function objects, we need to have an <code class="computeroutput"><span class="keyword">operator</span><span class="special">()</span></code>
@@ -193,15 +189,11 @@
The first example shows how to attach a plain function:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">generate</span><span class="special">(</span><span class="identifier">outiter</span><span class="special">,</span> <span class="char">'{'</span> <span class="special"><<</span> <span class="identifier">int_</span><span class="special">[&</span><span class="identifier">read_function</span><span class="special">]</span> <span class="special"><<</span> <span class="char">'}'</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
What's new? Well <code class="computeroutput"><span class="identifier">int_</span></code> is
@@ -213,61 +205,45 @@
The next example shows how to attach a simple function object:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">generate</span><span class="special">(</span><span class="identifier">outiter</span><span class="special">,</span> <span class="char">'{'</span> <span class="special"><<</span> <span class="identifier">int_</span><span class="special">[</span><span class="identifier">read_action</span><span class="special">()]</span> <span class="special"><<</span> <span class="char">'}'</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
We can use Boost.Bind
to 'bind' member functions:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">reader</span> <span class="identifier">r</span><span class="special">;</span>
<span class="identifier">generate</span><span class="special">(</span><span class="identifier">outiter</span><span class="special">,</span> <span class="char">'{'</span> <span class="special"><<</span> <span class="identifier">int_</span><span class="special">[</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">bind</span><span class="special">(&</span><span class="identifier">reader</span><span class="special">::</span><span class="identifier">print</span><span class="special">,</span> <span class="special">&</span><span class="identifier">r</span><span class="special">,</span> <span class="identifier">_1</span><span class="special">)]</span> <span class="special"><<</span> <span class="char">'}'</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Likewise, we can also use Boost.Bind
to 'bind' plain functions:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">generate</span><span class="special">(</span><span class="identifier">outiter</span><span class="special">,</span> <span class="char">'{'</span> <span class="special"><<</span> <span class="identifier">int_</span><span class="special">[</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">bind</span><span class="special">(&</span><span class="identifier">read_function</span><span class="special">,</span> <span class="identifier">_1</span><span class="special">)]</span> <span class="special"><<</span> <span class="char">'}'</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
And last but not least, we can also use Boost.Lambda:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">stringstream</span> <span class="identifier">strm</span><span class="special">(</span><span class="string">"42"</span><span class="special">);</span>
<span class="identifier">generate</span><span class="special">(</span><span class="identifier">outiter</span><span class="special">,</span> <span class="char">'{'</span> <span class="special"><<</span> <span class="identifier">int_</span><span class="special">[</span><span class="identifier">strm</span> <span class="special">>></span> <span class="identifier">lambda</span><span class="special">::</span><span class="identifier">_1</span><span class="special">]</span> <span class="special"><<</span> <span class="char">'}'</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
There are more ways to bind semantic action functions, but the examples
@@ -281,7 +257,7 @@
The examples above can be found here: actions.cpp
</p>
<a name="spirit.karma.tutorials.semantic_actions.phoenix"></a><h6>
-<a name="id1017745"></a>
+<a name="id1000407"></a>
<a class="link" href="semantic_actions.html#spirit.karma.tutorials.semantic_actions.phoenix">Phoenix</a>
</h6>
<p>
Modified: trunk/libs/spirit/doc/html/spirit/karma/tutorials/warming_up.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/karma/tutorials/warming_up.html (original)
+++ trunk/libs/spirit/doc/html/spirit/karma/tutorials/warming_up.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -31,7 +31,7 @@
We will start from trivial examples, ramping up as we go.
</p>
<a name="spirit.karma.tutorials.warming_up.trivial_example__1_generating_a_number"></a><h6>
-<a name="id1014607"></a>
+<a name="id995996"></a>
<a class="link" href="warming_up.html#spirit.karma.tutorials.warming_up.trivial_example__1_generating_a_number">Trivial
Example #1 Generating a number</a>
</h6>
@@ -51,7 +51,7 @@
to a floating point generator or parser: <code class="computeroutput"><span class="identifier">double_</span></code>.
</p>
<a name="spirit.karma.tutorials.warming_up.trivial_example__2_generating_two_numbers"></a><h6>
-<a name="id1014650"></a>
+<a name="id996039"></a>
<a class="link" href="warming_up.html#spirit.karma.tutorials.warming_up.trivial_example__2_generating_two_numbers">Trivial
Example #2 Generating two numbers</a>
</h6>
@@ -89,7 +89,7 @@
</p></td></tr>
</table></div>
<a name="spirit.karma.tutorials.warming_up.trivial_example__3_generating_one_or_more_numbers"></a><h6>
-<a name="id1014735"></a>
+<a name="id996124"></a>
<a class="link" href="warming_up.html#spirit.karma.tutorials.warming_up.trivial_example__3_generating_one_or_more_numbers">Trivial
Example #3 Generating one or more numbers</a>
</h6>
@@ -114,7 +114,7 @@
numbers, if needed.
</p>
<a name="spirit.karma.tutorials.warming_up.trivial_example__4_generating_a_comma_delimited_list_of_numbers"></a><h6>
-<a name="id1014783"></a>
+<a name="id996172"></a>
<a class="link" href="warming_up.html#spirit.karma.tutorials.warming_up.trivial_example__4_generating_a_comma_delimited_list_of_numbers">Trivial
Example #4 Generating a comma-delimited list of numbers</a>
</h6>
@@ -137,7 +137,7 @@
in the generated output zero or more times.
</p>
<a name="spirit.karma.tutorials.warming_up.let_s_generate_"></a><h6>
-<a name="id1014917"></a>
+<a name="id996307"></a>
<a class="link" href="warming_up.html#spirit.karma.tutorials.warming_up.let_s_generate_">Let's
Generate!</a>
</h6>
@@ -148,17 +148,17 @@
</p>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem">
- An output iterator accepting the generated characters
- </li>
+ An output iterator accepting the generated characters
+ </li>
<li class="listitem">
- The generator expression
- </li>
+ The generator expression
+ </li>
<li class="listitem">
- Another generator called the delimiting generator
- </li>
+ Another generator called the delimiting generator
+ </li>
<li class="listitem">
- The data to format and output
- </li>
+ The data to format and output
+ </li>
</ol></div>
<p>
While comparing this minimal example with an equivalent parser example
@@ -192,9 +192,7 @@
please refer to num_list1.cpp).
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">OutputIterator</span><span class="special">></span>
<span class="keyword">bool</span> <span class="identifier">generate_numbers</span><span class="special">(</span><span class="identifier">OutputIterator</span><span class="special">&</span> <span class="identifier">sink</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">list</span><span class="special"><</span><span class="keyword">double</span><span class="special">></span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">v</span><span class="special">)</span>
@@ -213,8 +211,6 @@
<span class="special">}</span>
</pre>
<p>
- </p>
-<p>
</p>
<div class="note"><table border="0" summary="Note">
<tr>
Modified: trunk/libs/spirit/doc/html/spirit/lex/abstracts/lexer_primitives/lexer_token_values.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/lex/abstracts/lexer_primitives/lexer_token_values.html (original)
+++ trunk/libs/spirit/doc/html/spirit/lex/abstracts/lexer_primitives/lexer_token_values.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -50,7 +50,7 @@
library.
</p>
<a name="spirit.lex.abstracts.lexer_primitives.lexer_token_values.the_anatomy_of_a_token"></a><h6>
-<a name="id1187753"></a>
+<a name="id1169622"></a>
<a class="link" href="lexer_token_values.html#spirit.lex.abstracts.lexer_primitives.lexer_token_values.the_anatomy_of_a_token">The
Anatomy of a Token</a>
</h6>
@@ -65,22 +65,22 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- to simplify the definition of a token type using a regular expression
- pattern applied while matching this token type,
- </li>
+ to simplify the definition of a token type using a regular expression
+ pattern applied while matching this token type,
+ </li>
<li class="listitem">
- to associate a token type with a particular lexer state,
- </li>
+ to associate a token type with a particular lexer state,
+ </li>
<li class="listitem">
- to optionally assign a token id to a token type,
- </li>
+ to optionally assign a token id to a token type,
+ </li>
<li class="listitem">
- to optionally associate some code to execute whenever an instance of
- this token type has been matched,
- </li>
+ to optionally associate some code to execute whenever an instance
+ of this token type has been matched,
+ </li>
<li class="listitem">
- and to optionally specify the attribute type of the token value.
- </li>
+ and to optionally specify the attribute type of the token value.
+ </li>
</ul></div>
<p>
The token itself is a data structure returned by the lexer iterators.
@@ -185,7 +185,7 @@
time.
</p>
<a name="spirit.lex.abstracts.lexer_primitives.lexer_token_values.the_physiognomy_of_a_token_definition"></a><h6>
-<a name="id1188286"></a>
+<a name="id1172123"></a>
<a class="link" href="lexer_token_values.html#spirit.lex.abstracts.lexer_primitives.lexer_token_values.the_physiognomy_of_a_token_definition">The
Physiognomy of a Token Definition</a>
</h6>
@@ -257,7 +257,7 @@
</td></tr>
</table></div>
<a name="spirit.lex.abstracts.lexer_primitives.lexer_token_values.examples_of_using__code__phrase_role__identifier__lex__phrase__phrase_role__special______phrase__phrase_role__identifier__lexertl__phrase__phrase_role__special______phrase__phrase_role__identifier__token__phrase__phrase_role__special___lt__gt___phrase___code_"></a><h6>
-<a name="id1188546"></a>
+<a name="id1172384"></a>
<a class="link" href="lexer_token_values.html#spirit.lex.abstracts.lexer_primitives.lexer_token_values.examples_of_using__code__phrase_role__identifier__lex__phrase__phrase_role__special______phrase__phrase_role__identifier__lexertl__phrase__phrase_role__special______phrase__phrase_role__identifier__token__phrase__phrase_role__special___lt__gt___phrase___code_">Examples
of using <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">lexertl</span><span class="special">::</span><span class="identifier">token</span><span class="special"><></span></code></a>
</h6>
@@ -277,9 +277,7 @@
<span class="keyword">int</span></code>.
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="comment">// these tokens expose the iterator_range of the matched input sequence
</span><span class="identifier">lex</span><span class="special">::</span><span class="identifier">token_def</span><span class="special"><></span> <span class="identifier">if_</span><span class="special">,</span> <span class="identifier">else_</span><span class="special">,</span> <span class="identifier">while_</span><span class="special">;</span>
@@ -301,8 +299,6 @@
<span class="identifier">lex</span><span class="special">::</span><span class="identifier">token_def</span><span class="special"><</span><span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">></span> <span class="identifier">constant</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
As the parsers generated by <span class="emphasis"><em>Spirit.Qi</em></span> are fully
@@ -318,9 +314,7 @@
re-iterated for the token definition as well.
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="comment">// This is the lexer token type to use. The second template parameter lists
</span><span class="comment">// all attribute types used for token_def's during token definition (see
@@ -340,8 +334,6 @@
<span class="special">></span> <span class="identifier">token_type</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
To avoid the token to have a token value at all, the special tag <code class="computeroutput"><span class="identifier">omit</span></code> can be used: <code class="computeroutput"><span class="identifier">token_def</span><span class="special"><</span><span class="identifier">omit</span><span class="special">></span></code> and <code class="computeroutput"><span class="identifier">lexertl_token</span><span class="special"><</span><span class="identifier">base_iterator_type</span><span class="special">,</span> <span class="identifier">omit</span><span class="special">></span></code>.
Modified: trunk/libs/spirit/doc/html/spirit/lex/abstracts/lexer_semantic_actions.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/lex/abstracts/lexer_semantic_actions.html (original)
+++ trunk/libs/spirit/doc/html/spirit/lex/abstracts/lexer_semantic_actions.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -120,7 +120,7 @@
</p></td></tr>
</table></div>
<a name="spirit.lex.abstracts.lexer_semantic_actions.the_context_of_a_lexer_semantic_action"></a><h6>
-<a name="id1194247"></a>
+<a name="id1176393"></a>
<a class="link" href="lexer_semantic_actions.html#spirit.lex.abstracts.lexer_semantic_actions.the_context_of_a_lexer_semantic_action">The
context of a lexer semantic action</a>
</h6>
@@ -135,7 +135,7 @@
of the available functionality.
</p>
<div class="table">
-<a name="id1194267"></a><p class="title"><b>Table 8. Functions exposed by any context passed to a lexer semantic action</b></p>
+<a name="id1176414"></a><p class="title"><b>Table 8. Functions exposed by any context passed to a lexer semantic action</b></p>
<div class="table-contents"><table class="table" summary="Functions exposed by any context passed to a lexer semantic action">
<colgroup>
<col>
@@ -254,7 +254,7 @@
</table></div>
</div>
<br class="table-break"><a name="spirit.lex.abstracts.lexer_semantic_actions.lexer_semantic_actions_using_phoenix"></a><h6>
-<a name="id1194794"></a>
+<a name="id1177768"></a>
<a class="link" href="lexer_semantic_actions.html#spirit.lex.abstracts.lexer_semantic_actions.lexer_semantic_actions_using_phoenix">Lexer
Semantic Actions Using Phoenix</a>
</h6>
@@ -266,7 +266,7 @@
predefined Spirit placeholders:
</p>
<div class="table">
-<a name="id1194817"></a><p class="title"><b>Table 9. Predefined Phoenix placeholders for lexer semantic actions</b></p>
+<a name="id1177791"></a><p class="title"><b>Table 9. Predefined Phoenix placeholders for lexer semantic actions</b></p>
<div class="table-contents"><table class="table" summary="Predefined Phoenix placeholders for lexer semantic actions">
<colgroup>
<col>
@@ -397,7 +397,7 @@
table lists the available support functions and describes their functionality:
</p>
<div class="table">
-<a name="id1195106"></a><p class="title"><b>Table 10. Support functions usable from Phoenix expressions inside lexer semantic
+<a name="id1178080"></a><p class="title"><b>Table 10. Support functions usable from Phoenix expressions inside lexer semantic
actions</b></p>
<div class="table-contents"><table class="table" summary="Support functions usable from Phoenix expressions inside lexer semantic
actions">
Modified: trunk/libs/spirit/doc/html/spirit/lex/abstracts/lexer_static_model.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/lex/abstracts/lexer_static_model.html (original)
+++ trunk/libs/spirit/doc/html/spirit/lex/abstracts/lexer_static_model.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -52,12 +52,12 @@
</p>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem">
- generating the C++ code for the static analyzer (including the tokenization
- function and corresponding tables), and
- </li>
+ generating the C++ code for the static analyzer (including the tokenization
+ function and corresponding tables), and
+ </li>
<li class="listitem">
- modifying the dynamic lexical anlyzer to use the generated code.
- </li>
+ modifying the dynamic lexical anlyzer to use the generated code.
+ </li>
</ol></div>
<p>
Both steps are described in more detail in the two sections below (for
@@ -75,9 +75,7 @@
analyzer.
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">enum</span> <span class="identifier">tokenids</span>
<span class="special">{</span>
@@ -85,8 +83,6 @@
<span class="special">};</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
The important point here is, that the token definition class is not different
@@ -96,9 +92,7 @@
definition syntax.
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="comment">// This token definition class can be used without any change for all three
</span><span class="comment">// possible use cases: a dynamic lexical analyzer, a code generator, and a
@@ -119,8 +113,6 @@
<span class="special">};</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
The only thing changing between the three different use cases is the template
@@ -138,9 +130,7 @@
using a dynamic lexical analyzer as described before.
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="comment">// This is an ordinary grammar definition following the rules defined by
</span><span class="comment">// Spirit.Qi. There is nothing specific about it, except it gets the token
@@ -171,11 +161,9 @@
<span class="special">};</span>
</pre>
<p>
- </p>
-<p>
</p>
<a name="spirit.lex.abstracts.lexer_static_model.generating_the_static_analyzer"></a><h6>
-<a name="id1197656"></a>
+<a name="id1179582"></a>
<a class="link" href="lexer_static_model.html#spirit.lex.abstracts.lexer_static_model.generating_the_static_analyzer">Generating
the Static Analyzer</a>
</h6>
@@ -192,9 +180,7 @@
just a couple lines of code.
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">main</span><span class="special">(</span><span class="keyword">int</span> <span class="identifier">argc</span><span class="special">,</span> <span class="keyword">char</span><span class="special">*</span> <span class="identifier">argv</span><span class="special">[])</span>
<span class="special">{</span>
@@ -215,8 +201,6 @@
<span class="special">}</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
The shown code generator will generate output, which should be stored in
@@ -238,7 +222,7 @@
</p></td></tr>
</table></div>
<a name="spirit.lex.abstracts.lexer_static_model.modifying_the_dynamic_analyzer"></a><h6>
-<a name="id1198014"></a>
+<a name="id1181346"></a>
<a class="link" href="lexer_static_model.html#spirit.lex.abstracts.lexer_static_model.modifying_the_dynamic_analyzer">Modifying
the Dynamic Analyzer</a>
</h6>
@@ -252,15 +236,11 @@
related to the first one and involves correcting the corresponding <code class="computeroutput"><span class="preprocessor">#include</span></code> statement to:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">lex_static_lexertl</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Otherwise the main program is not different from an equivalent program
@@ -272,9 +252,7 @@
changed.
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">main</span><span class="special">(</span><span class="keyword">int</span> <span class="identifier">argc</span><span class="special">,</span> <span class="keyword">char</span><span class="special">*</span> <span class="identifier">argv</span><span class="special">[])</span>
<span class="special">{</span>
@@ -327,8 +305,6 @@
<span class="special">}</span>
</pre>
<p>
- </p>
-<p>
</p>
<div class="important"><table border="0" summary="Important">
<tr>
Modified: trunk/libs/spirit/doc/html/spirit/lex/abstracts/lexer_tokenizing.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/lex/abstracts/lexer_tokenizing.html (original)
+++ trunk/libs/spirit/doc/html/spirit/lex/abstracts/lexer_tokenizing.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
Input Data</a>
</h4></div></div></div>
<a name="spirit.lex.abstracts.lexer_tokenizing.the_tokenize_function"></a><h6>
-<a name="id1189103"></a>
+<a name="id1172933"></a>
<a class="link" href="lexer_tokenizing.html#spirit.lex.abstracts.lexer_tokenizing.the_tokenize_function">The
tokenize function</a>
</h6>
@@ -42,9 +42,7 @@
Quickstart 2 - A better word counter using <span class="emphasis"><em>Spirit.Lex</em></span></a>.
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Lexer</span><span class="special">></span>
<span class="keyword">struct</span> <span class="identifier">word_count_tokens</span> <span class="special">:</span> <span class="identifier">lex</span><span class="special">::</span><span class="identifier">lexer</span><span class="special"><</span><span class="identifier">Lexer</span><span class="special">></span>
@@ -72,8 +70,6 @@
<span class="special">};</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
The construct used to tokenize the given input, while discarding all generated
@@ -140,17 +136,13 @@
a look at word_count_functor.cpp:
</p>
<p>
- </p>
-<p>
- The main function simply loads the given file into memory (as a <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span></code>), instantiates an instance of
- the token definition template using the correct iterator type (<code class="computeroutput"><span class="identifier">word_count_tokens</span><span class="special"><</span><span class="keyword">char</span> <span class="keyword">const</span><span class="special">*></span></code>), and finally calls <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">tokenize</span></code>, passing an instance of the
- counter function object. The return value of <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">tokenize</span><span class="special">()</span></code> will be <code class="computeroutput"><span class="keyword">true</span></code>
- if the whole input sequence has been successfully tokenized, and <code class="computeroutput"><span class="keyword">false</span></code> otherwise.
- </p>
-<p>
- </p>
+ The main function simply loads the given file into memory (as a <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span></code>), instantiates an instance of
+ the token definition template using the correct iterator type (<code class="computeroutput"><span class="identifier">word_count_tokens</span><span class="special"><</span><span class="keyword">char</span> <span class="keyword">const</span><span class="special">*></span></code>), and finally calls <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">tokenize</span></code>, passing an instance of the
+ counter function object. The return value of <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">tokenize</span><span class="special">()</span></code> will be <code class="computeroutput"><span class="keyword">true</span></code>
+ if the whole input sequence has been successfully tokenized, and <code class="computeroutput"><span class="keyword">false</span></code> otherwise.
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">main</span><span class="special">(</span><span class="keyword">int</span> <span class="identifier">argc</span><span class="special">,</span> <span class="keyword">char</span><span class="special">*</span> <span class="identifier">argv</span><span class="special">[])</span>
<span class="special">{</span>
@@ -184,8 +176,6 @@
<span class="special">}</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Here is the prototype of this <code class="computeroutput"><span class="identifier">tokenize</span><span class="special">()</span></code> function overload:
Modified: trunk/libs/spirit/doc/html/spirit/lex/lexer_introduction.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/lex/lexer_introduction.html (original)
+++ trunk/libs/spirit/doc/html/spirit/lex/lexer_introduction.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -39,24 +39,24 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- A token is a sequence of consecutive characters having a collective meaning.
- Tokens may have attributes specific to the token type, carrying additional
- information about the matched character sequence.
- </li>
-<li class="listitem">
- A pattern is a rule expressed as a regular expression and describing how
- a particular token can be formed. For example, <code class="literal">[A-Za-z][A-Za-z_0-9]*</code>
- is a pattern for a rule matching C++ identifiers.
- </li>
-<li class="listitem">
- Characters between tokens are called whitespace; these include spaces,
- tabs, newlines, and formfeeds. Many people also count comments as whitespace,
- though since some tools such as lint look at comments, this method is not
- perfect.
- </li>
+ A token is a sequence of consecutive characters having a collective meaning.
+ Tokens may have attributes specific to the token type, carrying additional
+ information about the matched character sequence.
+ </li>
+<li class="listitem">
+ A pattern is a rule expressed as a regular expression and describing
+ how a particular token can be formed. For example, <code class="literal">[A-Za-z][A-Za-z_0-9]*</code>
+ is a pattern for a rule matching C++ identifiers.
+ </li>
+<li class="listitem">
+ Characters between tokens are called whitespace; these include spaces,
+ tabs, newlines, and formfeeds. Many people also count comments as whitespace,
+ though since some tools such as lint look at comments, this method is
+ not perfect.
+ </li>
</ul></div>
<a name="spirit.lex.lexer_introduction.why_use_a_separate_lexer_"></a><h5>
-<a name="id1176231"></a>
+<a name="id1159209"></a>
<a class="link" href="lexer_introduction.html#spirit.lex.lexer_introduction.why_use_a_separate_lexer_">Why
Use a Separate Lexer?</a>
</h5>
@@ -77,17 +77,17 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- Type 0: Unrestricted grammars (e.g., natural languages)
- </li>
+ Type 0: Unrestricted grammars (e.g., natural languages)
+ </li>
<li class="listitem">
- Type 1: Context-Sensitive grammars
- </li>
+ Type 1: Context-Sensitive grammars
+ </li>
<li class="listitem">
- Type 2: Context-Free grammars
- </li>
+ Type 2: Context-Free grammars
+ </li>
<li class="listitem">
- Type 3: Regular grammars
- </li>
+ Type 3: Regular grammars
+ </li>
</ul></div>
<p>
The complexity of these grammars increases from regular grammars being the
@@ -154,7 +154,7 @@
to use the provided functionality to build more complex grammar recognizers.
</p>
<a name="spirit.lex.lexer_introduction.advantages_of_using__emphasis_spirit_lex__emphasis_"></a><h5>
-<a name="id1176440"></a>
+<a name="id1159591"></a>
<a class="link" href="lexer_introduction.html#spirit.lex.lexer_introduction.advantages_of_using__emphasis_spirit_lex__emphasis_">Advantages
of using <span class="emphasis"><em>Spirit.Lex</em></span></a>
</h5>
@@ -172,19 +172,19 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- The definition of tokens is done using regular expressions (patterns)
- </li>
+ The definition of tokens is done using regular expressions (patterns)
+ </li>
<li class="listitem">
- The token definitions can refer to special substitution strings (pattern
- macros) simplifying pattern definitions
- </li>
-<li class="listitem">
- The generated lexical scanner may have multiple start states
- </li>
-<li class="listitem">
- It is possible to attach code to any of the token definitions; this code
- gets executed whenever the corresponding token pattern has been matched
- </li>
+ The token definitions can refer to special substitution strings (pattern
+ macros) simplifying pattern definitions
+ </li>
+<li class="listitem">
+ The generated lexical scanner may have multiple start states
+ </li>
+<li class="listitem">
+ It is possible to attach code to any of the token definitions; this code
+ gets executed whenever the corresponding token pattern has been matched
+ </li>
</ul></div>
<p>
Even if it is possible to use <span class="emphasis"><em>Spirit.Lex</em></span> to generate
@@ -201,7 +201,7 @@
This dynamic flexibility allows you to speed up the development of your application.
</p>
<a name="spirit.lex.lexer_introduction.the_library_structure_of__emphasis_spirit_lex__emphasis_"></a><h5>
-<a name="id1176543"></a>
+<a name="id1159708"></a>
<a class="link" href="lexer_introduction.html#spirit.lex.lexer_introduction.the_library_structure_of__emphasis_spirit_lex__emphasis_">The
Library Structure of <span class="emphasis"><em>Spirit.Lex</em></span></a>
</h5>
Modified: trunk/libs/spirit/doc/html/spirit/lex/quick_reference/lexer.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/lex/quick_reference/lexer.html (original)
+++ trunk/libs/spirit/doc/html/spirit/lex/quick_reference/lexer.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
Expressions</a>
</h4></div></div></div>
<div class="table">
-<a name="id1201774"></a><p class="title"><b>Table 11. Regular expressions support</b></p>
+<a name="id1184675"></a><p class="title"><b>Table 11. Regular expressions support</b></p>
<div class="table-contents"><table class="table" summary="Regular expressions support">
<colgroup>
<col>
@@ -638,25 +638,26 @@
</td></tr>
</table></div>
<a name="spirit.lex.quick_reference.lexer.regular_expression_precedence"></a><h6>
-<a name="id1204395"></a>
+<a name="id1186802"></a>
<a class="link" href="lexer.html#spirit.lex.quick_reference.lexer.regular_expression_precedence">Regular
Expression Precedence</a>
</h6>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
-<code class="computeroutput"><span class="identifier">rs</span></code> has highest precedence
- </li>
+ <code class="computeroutput"><span class="identifier">rs</span></code> has highest precedence
+ </li>
<li class="listitem">
-<code class="computeroutput"><span class="identifier">r</span><span class="special">*</span></code>
- has next highest (<code class="computeroutput"><span class="special">+</span></code>, <code class="computeroutput"><span class="special">?</span></code>, <code class="computeroutput"><span class="special">{</span><span class="identifier">n</span><span class="special">,</span><span class="identifier">m</span><span class="special">}</span></code>
- have the same precedence as <code class="computeroutput"><span class="special">*</span></code>)
- </li>
+ <code class="computeroutput"><span class="identifier">r</span><span class="special">*</span></code>
+ has next highest (<code class="computeroutput"><span class="special">+</span></code>,
+ <code class="computeroutput"><span class="special">?</span></code>, <code class="computeroutput"><span class="special">{</span><span class="identifier">n</span><span class="special">,</span><span class="identifier">m</span><span class="special">}</span></code>
+ have the same precedence as <code class="computeroutput"><span class="special">*</span></code>)
+ </li>
<li class="listitem">
-<code class="computeroutput"><span class="identifier">r</span><span class="special">|</span><span class="identifier">s</span></code> has the lowest precedence
- </li>
+ <code class="computeroutput"><span class="identifier">r</span><span class="special">|</span><span class="identifier">s</span></code> has the lowest precedence
+ </li>
</ul></div>
<a name="spirit.lex.quick_reference.lexer.macros"></a><h6>
-<a name="id1204501"></a>
+<a name="id1186918"></a>
<a class="link" href="lexer.html#spirit.lex.quick_reference.lexer.macros">Macros</a>
</h6>
<p>
Modified: trunk/libs/spirit/doc/html/spirit/lex/reference/lex_basics.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/lex/reference/lex_basics.html (original)
+++ trunk/libs/spirit/doc/html/spirit/lex/reference/lex_basics.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -27,7 +27,7 @@
<a name="spirit.lex.reference.lex_basics"></a><a class="link" href="lex_basics.html" title="Basics"> Basics</a>
</h4></div></div></div>
<a name="spirit.lex.reference.lex_basics.examples"></a><h6>
-<a name="id1206842"></a>
+<a name="id1190916"></a>
<a class="link" href="lex_basics.html#spirit.lex.reference.lex_basics.examples">Examples</a>
</h6>
<p>
@@ -39,9 +39,7 @@
Some includes:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">lex</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">phoenix_core</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
@@ -50,8 +48,6 @@
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">string</span><span class="special">></span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Our test functions:
@@ -59,10 +55,8 @@
<p>
This one tests token definitions.
</p>
-<p>
- </p>
<a name="spirit.lex.reference.lex_basics.models"></a><h6>
-<a name="id1207054"></a>
+<a name="id1191122"></a>
<a class="link" href="lex_basics.html#spirit.lex.reference.lex_basics.models">Models</a>
</h6>
<p>
@@ -70,14 +64,14 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- any literal string, e.g. "Hello, World",
- </li>
+ any literal string, e.g. "Hello, World",
+ </li>
<li class="listitem">
- a pointer/reference to a null-terminated array of characters
- </li>
+ a pointer/reference to a null-terminated array of characters
+ </li>
<li class="listitem">
- a <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_string</span><span class="special"><</span><span class="identifier">Char</span><span class="special">></span></code>
-</li>
+ a <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_string</span><span class="special"><</span><span class="identifier">Char</span><span class="special">></span></code>
+ </li>
</ul></div>
<p>
The namespace <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">traits</span></code> is open for users to provide their
Modified: trunk/libs/spirit/doc/html/spirit/lex/reference/lexer_api.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/lex/reference/lexer_api.html (original)
+++ trunk/libs/spirit/doc/html/spirit/lex/reference/lexer_api.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -27,7 +27,7 @@
<a name="spirit.lex.reference.lexer_api"></a><a class="link" href="lexer_api.html" title="Lexer API"> Lexer API</a>
</h4></div></div></div>
<a name="spirit.lex.reference.lexer_api.description"></a><h6>
-<a name="id1207146"></a>
+<a name="id1191225"></a>
<a class="link" href="lexer_api.html#spirit.lex.reference.lexer_api.description">Description</a>
</h6>
<p>
@@ -41,7 +41,7 @@
the parsed values on a successful parse.
</p>
<a name="spirit.lex.reference.lexer_api.header"></a><h6>
-<a name="id1207185"></a>
+<a name="id1191263"></a>
<a class="link" href="lexer_api.html#spirit.lex.reference.lexer_api.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/lex/tokenize_and_parse.hpp>
@@ -64,7 +64,7 @@
Also, see <a class="link" href="../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.lex.reference.lexer_api.namespace"></a><h6>
-<a name="id1207324"></a>
+<a name="id1191402"></a>
<a class="link" href="lexer_api.html#spirit.lex.reference.lexer_api.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -103,7 +103,7 @@
</tbody>
</table></div>
<a name="spirit.lex.reference.lexer_api.synopsis"></a><h6>
-<a name="id1209216"></a>
+<a name="id1191656"></a>
<a class="link" href="lexer_api.html#spirit.lex.reference.lexer_api.synopsis">Synopsis</a>
</h6>
<p>
@@ -264,7 +264,7 @@
to the corresponding argument.
</p>
<a name="spirit.lex.reference.lexer_api.template_parameters"></a><h6>
-<a name="id1211018"></a>
+<a name="id1194012"></a>
<a class="link" href="lexer_api.html#spirit.lex.reference.lexer_api.template_parameters">Template
parameters</a>
</h6>
Modified: trunk/libs/spirit/doc/html/spirit/lex/reference/lexer_concepts/lexer.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/lex/reference/lexer_concepts/lexer.html (original)
+++ trunk/libs/spirit/doc/html/spirit/lex/reference/lexer_concepts/lexer.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -27,7 +27,7 @@
<a name="spirit.lex.reference.lexer_concepts.lexer"></a><a class="link" href="lexer.html" title="Lexer">Lexer</a>
</h5></div></div></div>
<a name="spirit.lex.reference.lexer_concepts.lexer.description"></a><h6>
-<a name="id1204635"></a>
+<a name="id1187053"></a>
<a class="link" href="lexer.html#spirit.lex.reference.lexer_concepts.lexer.description">Description</a>
</h6>
<p>
@@ -65,7 +65,7 @@
</dl>
</div>
<a name="spirit.lex.reference.lexer_concepts.lexer.valid_expressions"></a><h6>
-<a name="id1204802"></a>
+<a name="id1187219"></a>
<a class="link" href="lexer.html#spirit.lex.reference.lexer_concepts.lexer.valid_expressions">Valid
Expressions</a>
</h6>
@@ -143,7 +143,7 @@
</tbody>
</table></div>
<a name="spirit.lex.reference.lexer_concepts.lexer.type_expressions"></a><h6>
-<a name="id1205030"></a>
+<a name="id1187447"></a>
<a class="link" href="lexer.html#spirit.lex.reference.lexer_concepts.lexer.type_expressions">Type
Expressions</a>
</h6>
@@ -182,7 +182,7 @@
</tr></tbody>
</table></div>
<a name="spirit.lex.reference.lexer_concepts.lexer.postcondition"></a><h6>
-<a name="id1205314"></a>
+<a name="id1187587"></a>
<a class="link" href="lexer.html#spirit.lex.reference.lexer_concepts.lexer.postcondition">Postcondition</a>
</h6>
<p>
@@ -190,23 +190,23 @@
should hold:
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem">
- On return, <code class="computeroutput"><span class="identifier">def</span></code> holds
- all token definitions defined in the Lexer, <code class="computeroutput"><span class="identifier">l</span></code>.
- This includes all Lexer's contained inside <code class="computeroutput"><span class="identifier">l</span></code>.
- </li></ul></div>
+ On return, <code class="computeroutput"><span class="identifier">def</span></code> holds
+ all token definitions defined in the Lexer, <code class="computeroutput"><span class="identifier">l</span></code>.
+ This includes all Lexer's contained inside <code class="computeroutput"><span class="identifier">l</span></code>.
+ </li></ul></div>
<p>
Upon return from <code class="computeroutput"><span class="identifier">l</span><span class="special">.</span><span class="identifier">add_actions</span></code> the following post conditions
should hold:
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem">
- On return, <code class="computeroutput"><span class="identifier">def</span></code> holds
- all semantic actions correctly asociated with the corresponding token
- definitions as defined in the Lexer, <code class="computeroutput"><span class="identifier">l</span></code>.
- This includes all semantic actiosn defined by the Lexer's contained
- inside <code class="computeroutput"><span class="identifier">l</span></code>.
- </li></ul></div>
+ On return, <code class="computeroutput"><span class="identifier">def</span></code> holds
+ all semantic actions correctly asociated with the corresponding token
+ definitions as defined in the Lexer, <code class="computeroutput"><span class="identifier">l</span></code>.
+ This includes all semantic actiosn defined by the Lexer's contained
+ inside <code class="computeroutput"><span class="identifier">l</span></code>.
+ </li></ul></div>
<a name="spirit.lex.reference.lexer_concepts.lexer.models"></a><h6>
-<a name="id1205422"></a>
+<a name="id1187702"></a>
<a class="link" href="lexer.html#spirit.lex.reference.lexer_concepts.lexer.models">Models</a>
</h6>
<p>
Modified: trunk/libs/spirit/doc/html/spirit/lex/reference/lexer_concepts/narylexer.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/lex/reference/lexer_concepts/narylexer.html (original)
+++ trunk/libs/spirit/doc/html/spirit/lex/reference/lexer_concepts/narylexer.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -27,7 +27,7 @@
<a name="spirit.lex.reference.lexer_concepts.narylexer"></a><a class="link" href="narylexer.html" title="NaryLexer">NaryLexer</a>
</h5></div></div></div>
<a name="spirit.lex.reference.lexer_concepts.narylexer.description"></a><h6>
-<a name="id1206290"></a>
+<a name="id1188577"></a>
<a class="link" href="narylexer.html#spirit.lex.reference.lexer_concepts.narylexer.description">Description</a>
</h6>
<p>
@@ -37,19 +37,13 @@
Design Pattern.
</p>
<a name="spirit.lex.reference.lexer_concepts.narylexer.refinement_of"></a><h6>
-<a name="id1206326"></a>
+<a name="id1190396"></a>
<a class="link" href="narylexer.html#spirit.lex.reference.lexer_concepts.narylexer.refinement_of">Refinement
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="lexer.html" title="Lexer"><code class="computeroutput"><span class="identifier">Lexer</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="lexer.html" title="Lexer"><code class="computeroutput"><span class="identifier">Lexer</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -64,7 +58,7 @@
</dl>
</div>
<a name="spirit.lex.reference.lexer_concepts.narylexer.valid_expressions"></a><h6>
-<a name="id1206410"></a>
+<a name="id1190476"></a>
<a class="link" href="narylexer.html#spirit.lex.reference.lexer_concepts.narylexer.valid_expressions">Valid
Expressions</a>
</h6>
@@ -115,7 +109,7 @@
</tr></tbody>
</table></div>
<a name="spirit.lex.reference.lexer_concepts.narylexer.type_expressions"></a><h6>
-<a name="id1206538"></a>
+<a name="id1190604"></a>
<a class="link" href="narylexer.html#spirit.lex.reference.lexer_concepts.narylexer.type_expressions">Type
Expressions</a>
</h6>
@@ -168,7 +162,7 @@
</tbody>
</table></div>
<a name="spirit.lex.reference.lexer_concepts.narylexer.invariants"></a><h6>
-<a name="id1206712"></a>
+<a name="id1190778"></a>
<a class="link" href="narylexer.html#spirit.lex.reference.lexer_concepts.narylexer.invariants">Invariants</a>
</h6>
<p>
@@ -177,18 +171,18 @@
the following invariant always holds:
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem">
-<code class="computeroutput"><span class="identifier">traits</span><span class="special">::</span><span class="identifier">is_lexer</span><span class="special"><</span><span class="identifier">E</span><span class="special">>::</span><span class="identifier">type</span></code> evaluates to <code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">true_</span></code>
-</li></ul></div>
+ <code class="computeroutput"><span class="identifier">traits</span><span class="special">::</span><span class="identifier">is_lexer</span><span class="special"><</span><span class="identifier">E</span><span class="special">>::</span><span class="identifier">type</span></code> evaluates to <code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">true_</span></code>
+ </li></ul></div>
<a name="spirit.lex.reference.lexer_concepts.narylexer.models"></a><h6>
-<a name="id1206797"></a>
+<a name="id1190867"></a>
<a class="link" href="narylexer.html#spirit.lex.reference.lexer_concepts.narylexer.models">Models</a>
</h6>
<p>
The following lexer components conform to this model:
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem">
- lexer sequence component
- </li></ul></div>
+ lexer sequence component
+ </li></ul></div>
<p>
<span class="bold"><strong>FIXME</strong></span> Add more links to models of NaryLexer
concept
Modified: trunk/libs/spirit/doc/html/spirit/lex/reference/lexer_concepts/primitivelexer.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/lex/reference/lexer_concepts/primitivelexer.html (original)
+++ trunk/libs/spirit/doc/html/spirit/lex/reference/lexer_concepts/primitivelexer.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -27,7 +27,7 @@
<a name="spirit.lex.reference.lexer_concepts.primitivelexer"></a><a class="link" href="primitivelexer.html" title="PrimitiveLexer">PrimitiveLexer</a>
</h5></div></div></div>
<a name="spirit.lex.reference.lexer_concepts.primitivelexer.description"></a><h6>
-<a name="id1205459"></a>
+<a name="id1187739"></a>
<a class="link" href="primitivelexer.html#spirit.lex.reference.lexer_concepts.primitivelexer.description">Description</a>
</h6>
<p>
@@ -35,21 +35,15 @@
that the client uses to build more complex lexer components.
</p>
<a name="spirit.lex.reference.lexer_concepts.primitivelexer.refinement_of"></a><h6>
-<a name="id1205482"></a>
+<a name="id1187762"></a>
<a class="link" href="primitivelexer.html#spirit.lex.reference.lexer_concepts.primitivelexer.refinement_of">Refinement
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="lexer.html" title="Lexer"><code class="computeroutput"><span class="identifier">Lexer</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="lexer.html" title="Lexer"><code class="computeroutput"><span class="identifier">Lexer</span></code></a>
+ </p></blockquote></div>
<a name="spirit.lex.reference.lexer_concepts.primitivelexer.type_expressions"></a><h6>
-<a name="id1205516"></a>
+<a name="id1187792"></a>
<a class="link" href="primitivelexer.html#spirit.lex.reference.lexer_concepts.primitivelexer.type_expressions">Type
Expressions</a>
</h6>
@@ -88,7 +82,7 @@
</tr></tbody>
</table></div>
<a name="spirit.lex.reference.lexer_concepts.primitivelexer.models"></a><h6>
-<a name="id1205655"></a>
+<a name="id1187931"></a>
<a class="link" href="primitivelexer.html#spirit.lex.reference.lexer_concepts.primitivelexer.models">Models</a>
</h6>
<p>
@@ -96,14 +90,14 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- character literals (i.e. <code class="computeroutput"><span class="char">'x'</span></code>),
- <code class="computeroutput"><span class="identifier">char_</span></code>,
- </li>
+ character literals (i.e. <code class="computeroutput"><span class="char">'x'</span></code>),
+ <code class="computeroutput"><span class="identifier">char_</span></code>,
+ </li>
<li class="listitem">
- string literals (<code class="computeroutput"><span class="string">"abc"</span></code>),
- <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_string</span><span class="special"><></span></code>,
- <code class="computeroutput"><span class="identifier">string</span></code>
-</li>
+ string literals (<code class="computeroutput"><span class="string">"abc"</span></code>),
+ <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_string</span><span class="special"><></span></code>,
+ <code class="computeroutput"><span class="identifier">string</span></code>
+ </li>
</ul></div>
<p>
<span class="bold"><strong>FIXME</strong></span> Add more links to <span class="emphasis"><em>PrimitiveLexer</em></span>
Modified: trunk/libs/spirit/doc/html/spirit/lex/reference/lexer_concepts/unarylexer.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/lex/reference/lexer_concepts/unarylexer.html (original)
+++ trunk/libs/spirit/doc/html/spirit/lex/reference/lexer_concepts/unarylexer.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -27,7 +27,7 @@
<a name="spirit.lex.reference.lexer_concepts.unarylexer"></a><a class="link" href="unarylexer.html" title="UnaryLexer">UnaryLexer</a>
</h5></div></div></div>
<a name="spirit.lex.reference.lexer_concepts.unarylexer.description"></a><h6>
-<a name="id1205757"></a>
+<a name="id1188040"></a>
<a class="link" href="unarylexer.html#spirit.lex.reference.lexer_concepts.unarylexer.description">Description</a>
</h6>
<p>
@@ -36,19 +36,13 @@
following the Delegate Design Pattern.
</p>
<a name="spirit.lex.reference.lexer_concepts.unarylexer.refinement_of"></a><h6>
-<a name="id1205782"></a>
+<a name="id1188065"></a>
<a class="link" href="unarylexer.html#spirit.lex.reference.lexer_concepts.unarylexer.refinement_of">Refinement
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="lexer.html" title="Lexer"><code class="computeroutput"><span class="identifier">Lexer</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="lexer.html" title="Lexer"><code class="computeroutput"><span class="identifier">Lexer</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -63,7 +57,7 @@
</dl>
</div>
<a name="spirit.lex.reference.lexer_concepts.unarylexer.valid_expressions"></a><h6>
-<a name="id1205864"></a>
+<a name="id1188143"></a>
<a class="link" href="unarylexer.html#spirit.lex.reference.lexer_concepts.unarylexer.valid_expressions">Valid
Expressions</a>
</h6>
@@ -113,7 +107,7 @@
</tr></tbody>
</table></div>
<a name="spirit.lex.reference.lexer_concepts.unarylexer.type_expressions"></a><h6>
-<a name="id1205985"></a>
+<a name="id1188265"></a>
<a class="link" href="unarylexer.html#spirit.lex.reference.lexer_concepts.unarylexer.type_expressions">Type
Expressions</a>
</h6>
@@ -166,7 +160,7 @@
</tbody>
</table></div>
<a name="spirit.lex.reference.lexer_concepts.unarylexer.invariants"></a><h6>
-<a name="id1206159"></a>
+<a name="id1188439"></a>
<a class="link" href="unarylexer.html#spirit.lex.reference.lexer_concepts.unarylexer.invariants">Invariants</a>
</h6>
<p>
@@ -174,18 +168,18 @@
the following invariant always holds:
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem">
-<code class="computeroutput"><span class="identifier">traits</span><span class="special">::</span><span class="identifier">is_lexer</span><span class="special"><</span><span class="identifier">L</span><span class="special">::</span><span class="identifier">subject_type</span><span class="special">>::</span><span class="identifier">type</span></code> evaluates to <code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">true_</span></code>
-</li></ul></div>
+ <code class="computeroutput"><span class="identifier">traits</span><span class="special">::</span><span class="identifier">is_lexer</span><span class="special"><</span><span class="identifier">L</span><span class="special">::</span><span class="identifier">subject_type</span><span class="special">>::</span><span class="identifier">type</span></code> evaluates to <code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">true_</span></code>
+ </li></ul></div>
<a name="spirit.lex.reference.lexer_concepts.unarylexer.models"></a><h6>
-<a name="id1206244"></a>
+<a name="id1188527"></a>
<a class="link" href="unarylexer.html#spirit.lex.reference.lexer_concepts.unarylexer.models">Models</a>
</h6>
<p>
The following lexer components conform to this model:
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem">
- action lexer component (allowing to attach semantic actions)
- </li></ul></div>
+ action lexer component (allowing to attach semantic actions)
+ </li></ul></div>
<p>
<span class="bold"><strong>FIXME</strong></span> Add more links to models of UnaryLexer
concept
Modified: trunk/libs/spirit/doc/html/spirit/lex/reference/primitives.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/lex/reference/primitives.html (original)
+++ trunk/libs/spirit/doc/html/spirit/lex/reference/primitives.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -36,7 +36,7 @@
and string literals.
</p>
<a name="spirit.lex.reference.primitives.module_headers"></a><h6>
-<a name="id1211962"></a>
+<a name="id1194265"></a>
<a class="link" href="primitives.html#spirit.lex.reference.primitives.module_headers">Module Headers</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/lex/primitives.hpp>
Modified: trunk/libs/spirit/doc/html/spirit/lex/reference/primitives/char_tokendef.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/lex/reference/primitives/char_tokendef.html (original)
+++ trunk/libs/spirit/doc/html/spirit/lex/reference/primitives/char_tokendef.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
Matching Single Characters</a>
</h5></div></div></div>
<a name="spirit.lex.reference.primitives.char_tokendef.description"></a><h6>
-<a name="id1212048"></a>
+<a name="id1194351"></a>
<a class="link" href="char_tokendef.html#spirit.lex.reference.primitives.char_tokendef.description">Description</a>
</h6>
<p>
@@ -42,11 +42,11 @@
forcing lower or upper case and dealing with character ranges.
</p>
<a name="spirit.lex.reference.primitives.char_tokendef.header"></a><h6>
-<a name="id1212093"></a>
+<a name="id1194396"></a>
<a class="link" href="char_tokendef.html#spirit.lex.reference.primitives.char_tokendef.header">Header</a>
</h6>
<a name="spirit.lex.reference.primitives.char_tokendef.module_headers"></a><h6>
-<a name="id1212108"></a>
+<a name="id1194411"></a>
<a class="link" href="char_tokendef.html#spirit.lex.reference.primitives.char_tokendef.module_headers">Module
Headers</a>
</h6>
@@ -57,7 +57,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.lex.reference.primitives.char_tokendef.namespace"></a><h6>
-<a name="id1212185"></a>
+<a name="id1194488"></a>
<a class="link" href="char_tokendef.html#spirit.lex.reference.primitives.char_tokendef.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -82,19 +82,13 @@
</tbody>
</table></div>
<a name="spirit.lex.reference.primitives.char_tokendef.model_of"></a><h6>
-<a name="id1212288"></a>
+<a name="id1194591"></a>
<a class="link" href="char_tokendef.html#spirit.lex.reference.primitives.char_tokendef.model_of">Model
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../lexer_concepts/primitivelexer.html" title="PrimitiveLexer"><code class="computeroutput"><span class="identifier">PrimitiveLexer</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../lexer_concepts/primitivelexer.html" title="PrimitiveLexer"><code class="computeroutput"><span class="identifier">PrimitiveLexer</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -106,7 +100,7 @@
</dl>
</div>
<a name="spirit.lex.reference.primitives.char_tokendef.expression_semantics"></a><h6>
-<a name="id1212357"></a>
+<a name="id1194656"></a>
<a class="link" href="char_tokendef.html#spirit.lex.reference.primitives.char_tokendef.expression_semantics">Expression
Semantics</a>
</h6>
@@ -171,7 +165,7 @@
</tbody>
</table></div>
<a name="spirit.lex.reference.primitives.char_tokendef.example"></a><h6>
-<a name="id1212544"></a>
+<a name="id1194843"></a>
<a class="link" href="char_tokendef.html#spirit.lex.reference.primitives.char_tokendef.example">Example</a>
</h6>
</div>
Modified: trunk/libs/spirit/doc/html/spirit/lex/tutorials/lexer_quickstart1.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/lex/tutorials/lexer_quickstart1.html (original)
+++ trunk/libs/spirit/doc/html/spirit/lex/tutorials/lexer_quickstart1.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -39,7 +39,7 @@
(for the full example code see here: word_count_functor.cpp).
</p>
<a name="spirit.lex.tutorials.lexer_quickstart1.prerequisites"></a><h6>
-<a name="id1176812"></a>
+<a name="id1159994"></a>
<a class="link" href="lexer_quickstart1.html#spirit.lex.tutorials.lexer_quickstart1.prerequisites">Prerequisites</a>
</h6>
<p>
@@ -51,34 +51,26 @@
two of the Boost headers to define <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">bind</span><span class="special">()</span></code> and <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">ref</span><span class="special">()</span></code>.
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">lex_lexertl</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">bind</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">ref</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
To make all the code below more readable we introduce the following namespaces.
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">lex</span> <span class="special">=</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">lex</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<a name="spirit.lex.tutorials.lexer_quickstart1.defining_tokens"></a><h6>
-<a name="id1177061"></a>
+<a name="id1160236"></a>
<a class="link" href="lexer_quickstart1.html#spirit.lex.tutorials.lexer_quickstart1.defining_tokens">Defining
Tokens</a>
</h6>
@@ -92,26 +84,21 @@
be done using <span class="emphasis"><em>Spirit.Lex</em></span>.
</p>
<p>
- </p>
-<p>
- The template <code class="computeroutput"><span class="identifier">word_count_tokens</span></code>
- defines three different tokens: <code class="computeroutput"><span class="identifier">ID_WORD</span></code>,
- <code class="computeroutput"><span class="identifier">ID_EOL</span></code>, and <code class="computeroutput"><span class="identifier">ID_CHAR</span></code>, representing a word (anything
- except a whitespace or a newline), a newline character, and any other
- character (<code class="computeroutput"><span class="identifier">ID_WORD</span></code>,
- <code class="computeroutput"><span class="identifier">ID_EOL</span></code>, and <code class="computeroutput"><span class="identifier">ID_CHAR</span></code> are enum values representing
- the token ids, but could be anything else convertible to an integer as
- well). The direct base class of any token definition class needs to be
- the template <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">lexer</span><span class="special"><></span></code>,
- where the corresponding template parameter (here: <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">lexertl</span><span class="special">::</span><span class="identifier">lexer</span><span class="special"><</span><span class="identifier">BaseIterator</span><span class="special">></span></code>) defines which underlying lexer engine
- has to be used to provide the required state machine functionality. In
- this example we use the Lexertl based lexer engine as the underlying
- lexer type.
- </p>
-<p>
- </p>
+ The template <code class="computeroutput"><span class="identifier">word_count_tokens</span></code>
+ defines three different tokens: <code class="computeroutput"><span class="identifier">ID_WORD</span></code>,
+ <code class="computeroutput"><span class="identifier">ID_EOL</span></code>, and <code class="computeroutput"><span class="identifier">ID_CHAR</span></code>, representing a word (anything
+ except a whitespace or a newline), a newline character, and any other character
+ (<code class="computeroutput"><span class="identifier">ID_WORD</span></code>, <code class="computeroutput"><span class="identifier">ID_EOL</span></code>, and <code class="computeroutput"><span class="identifier">ID_CHAR</span></code>
+ are enum values representing the token ids, but could be anything else
+ convertible to an integer as well). The direct base class of any token
+ definition class needs to be the template <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">lexer</span><span class="special"><></span></code>, where the corresponding template
+ parameter (here: <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">lexertl</span><span class="special">::</span><span class="identifier">lexer</span><span class="special"><</span><span class="identifier">BaseIterator</span><span class="special">></span></code>)
+ defines which underlying lexer engine has to be used to provide the required
+ state machine functionality. In this example we use the Lexertl based lexer
+ engine as the underlying lexer type.
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Lexer</span><span class="special">></span>
<span class="keyword">struct</span> <span class="identifier">word_count_tokens</span> <span class="special">:</span> <span class="identifier">lex</span><span class="special">::</span><span class="identifier">lexer</span><span class="special"><</span><span class="identifier">Lexer</span><span class="special">></span>
@@ -129,11 +116,9 @@
<span class="special">};</span>
</pre>
<p>
- </p>
-<p>
</p>
<a name="spirit.lex.tutorials.lexer_quickstart1.doing_the_useful_work"></a><h6>
-<a name="id1177398"></a>
+<a name="id1160571"></a>
<a class="link" href="lexer_quickstart1.html#spirit.lex.tutorials.lexer_quickstart1.doing_the_useful_work">Doing
the Useful Work</a>
</h6>
@@ -147,17 +132,12 @@
pointing to the matched range in the underlying input sequence.
</p>
<p>
- </p>
-<p>
- In this example the struct 'counter' is used as a functor counting the
- characters, words and lines in the analyzed input sequence by identifying
- the matched tokens as passed from the <span class="emphasis"><em>Spirit.Lex</em></span>
- library.
- </p>
-<p>
- </p>
+ In this example the struct 'counter' is used as a functor counting the
+ characters, words and lines in the analyzed input sequence by identifying
+ the matched tokens as passed from the <span class="emphasis"><em>Spirit.Lex</em></span> library.
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">struct</span> <span class="identifier">counter</span>
<span class="special">{</span>
@@ -185,8 +165,6 @@
<span class="special">};</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
All what is left is to write some boilerplate code helping to tie together
@@ -198,22 +176,18 @@
as well.
</p>
<a name="spirit.lex.tutorials.lexer_quickstart1.pulling_everything_together"></a><h6>
-<a name="id1179205"></a>
+<a name="id1161079"></a>
<a class="link" href="lexer_quickstart1.html#spirit.lex.tutorials.lexer_quickstart1.pulling_everything_together">Pulling
Everything Together</a>
</h6>
<p>
- </p>
-<p>
- The main function simply loads the given file into memory (as a <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span></code>), instantiates an instance of
- the token definition template using the correct iterator type (<code class="computeroutput"><span class="identifier">word_count_tokens</span><span class="special"><</span><span class="keyword">char</span> <span class="keyword">const</span><span class="special">*></span></code>), and finally calls <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">tokenize</span></code>, passing an instance of the
- counter function object. The return value of <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">tokenize</span><span class="special">()</span></code> will be <code class="computeroutput"><span class="keyword">true</span></code>
- if the whole input sequence has been successfully tokenized, and <code class="computeroutput"><span class="keyword">false</span></code> otherwise.
- </p>
-<p>
- </p>
+ The main function simply loads the given file into memory (as a <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span></code>), instantiates an instance of
+ the token definition template using the correct iterator type (<code class="computeroutput"><span class="identifier">word_count_tokens</span><span class="special"><</span><span class="keyword">char</span> <span class="keyword">const</span><span class="special">*></span></code>), and finally calls <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">tokenize</span></code>, passing an instance of the
+ counter function object. The return value of <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">tokenize</span><span class="special">()</span></code> will be <code class="computeroutput"><span class="keyword">true</span></code>
+ if the whole input sequence has been successfully tokenized, and <code class="computeroutput"><span class="keyword">false</span></code> otherwise.
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">main</span><span class="special">(</span><span class="keyword">int</span> <span class="identifier">argc</span><span class="special">,</span> <span class="keyword">char</span><span class="special">*</span> <span class="identifier">argv</span><span class="special">[])</span>
<span class="special">{</span>
@@ -247,11 +221,9 @@
<span class="special">}</span>
</pre>
<p>
- </p>
-<p>
</p>
<a name="spirit.lex.tutorials.lexer_quickstart1.comparing__emphasis_spirit_lex__emphasis__with__ulink_url__http___flex_sourceforge_net___flex__ulink_"></a><h6>
-<a name="id1180046"></a>
+<a name="id1161975"></a>
<a class="link" href="lexer_quickstart1.html#spirit.lex.tutorials.lexer_quickstart1.comparing__emphasis_spirit_lex__emphasis__with__ulink_url__http___flex_sourceforge_net___flex__ulink_">Comparing
<span class="emphasis"><em>Spirit.Lex</em></span> with Flex</a>
</h6>
@@ -290,9 +262,7 @@
corresponding to the example as shown above.
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="special">%{</span>
<span class="preprocessor">#define</span> <span class="identifier">ID_WORD</span> <span class="number">1000</span>
@@ -328,8 +298,6 @@
<span class="special">}</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/lex/tutorials/lexer_quickstart2.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/lex/tutorials/lexer_quickstart2.html (original)
+++ trunk/libs/spirit/doc/html/spirit/lex/tutorials/lexer_quickstart2.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -40,7 +40,7 @@
options along the lines (for the full example code see here: word_count_lexer.cpp).
</p>
<a name="spirit.lex.tutorials.lexer_quickstart2.prerequisites"></a><h6>
-<a name="id1180821"></a>
+<a name="id1162747"></a>
<a class="link" href="lexer_quickstart2.html#spirit.lex.tutorials.lexer_quickstart2.prerequisites">Prerequisites</a>
</h6>
<p>
@@ -56,9 +56,7 @@
anyway).
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">lex_lexertl</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">phoenix_operator</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
@@ -67,22 +65,16 @@
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">phoenix_core</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
To make all the code below more readable we introduce the following namespaces.
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">lex</span> <span class="special">=</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">lex</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
To give a preview at what to expect from this example, here is the flex
@@ -90,9 +82,7 @@
included inside the actions associated with each of the token definitions.
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="special">%{</span>
<span class="keyword">int</span> <span class="identifier">c</span> <span class="special">=</span> <span class="number">0</span><span class="special">,</span> <span class="identifier">w</span> <span class="special">=</span> <span class="number">0</span><span class="special">,</span> <span class="identifier">l</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span>
@@ -109,11 +99,9 @@
<span class="special">}</span>
</pre>
<p>
- </p>
-<p>
</p>
<a name="spirit.lex.tutorials.lexer_quickstart2.semantic_actions_in__emphasis_spirit_lex__emphasis_"></a><h6>
-<a name="id1182071"></a>
+<a name="id1163365"></a>
<a class="link" href="lexer_quickstart2.html#spirit.lex.tutorials.lexer_quickstart2.semantic_actions_in__emphasis_spirit_lex__emphasis_">Semantic
Actions in <span class="emphasis"><em>Spirit.Lex</em></span></a>
</h6>
@@ -126,9 +114,7 @@
an instance of a <code class="computeroutput"><span class="identifier">token_def</span><span class="special"><></span></code>.
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Lexer</span><span class="special">></span>
<span class="keyword">struct</span> <span class="identifier">word_count_tokens</span> <span class="special">:</span> <span class="identifier">lex</span><span class="special">::</span><span class="identifier">lexer</span><span class="special"><</span><span class="identifier">Lexer</span><span class="special">></span>
@@ -156,8 +142,6 @@
<span class="special">};</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
The semantics of the shown code is as follows. The code inside the <code class="computeroutput"><span class="special">[]</span></code> brackets will be executed whenever the
@@ -172,7 +156,7 @@
Semantic Actions</a>.
</p>
<a name="spirit.lex.tutorials.lexer_quickstart2.associating_token_definitions_with_the_lexer"></a><h6>
-<a name="id1182704"></a>
+<a name="id1165707"></a>
<a class="link" href="lexer_quickstart2.html#spirit.lex.tutorials.lexer_quickstart2.associating_token_definitions_with_the_lexer">Associating
Token Definitions with the Lexer</a>
</h6>
@@ -209,7 +193,7 @@
with the constant defined by <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">lex</span><span class="special">::</span><span class="identifier">min_token_id</span></code>.
</p>
<a name="spirit.lex.tutorials.lexer_quickstart2.pulling_everything_together"></a><h6>
-<a name="id1182999"></a>
+<a name="id1166002"></a>
<a class="link" href="lexer_quickstart2.html#spirit.lex.tutorials.lexer_quickstart2.pulling_everything_together">Pulling
everything together</a>
</h6>
@@ -220,29 +204,27 @@
by the lexer. This code shows how to achieve these steps:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">main</span><span class="special">(</span><span class="keyword">int</span> <span class="identifier">argc</span><span class="special">,</span> <span class="keyword">char</span><span class="special">*</span> <span class="identifier">argv</span><span class="special">[])</span>
<span class="special">{</span>
-<span class="callout_bug"><a class="co" name="spirit4co" href="lexer_quickstart2.html#spirit4"><img src="../../../../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a></span> <span class="keyword">typedef</span>
+<a class="co" name="spirit4co" href="lexer_quickstart2.html#spirit4"><img src="../../../../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a> <span class="keyword">typedef</span>
<span class="identifier">lex</span><span class="special">::</span><span class="identifier">lexertl</span><span class="special">::</span><span class="identifier">token</span><span class="special"><</span><span class="keyword">char</span> <span class="keyword">const</span><span class="special">*,</span> <span class="identifier">lex</span><span class="special">::</span><span class="identifier">omit</span><span class="special">,</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">false_</span><span class="special">></span>
<span class="identifier">token_type</span><span class="special">;</span>
-<span class="callout_bug"><a class="co" name="spirit5co" href="lexer_quickstart2.html#spirit5"><img src="../../../../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a></span> <span class="keyword">typedef</span> <span class="identifier">lex</span><span class="special">::</span><span class="identifier">lexertl</span><span class="special">::</span><span class="identifier">actor_lexer</span><span class="special"><</span><span class="identifier">token_type</span><span class="special">></span> <span class="identifier">lexer_type</span><span class="special">;</span>
+<a class="co" name="spirit5co" href="lexer_quickstart2.html#spirit5"><img src="../../../../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a> <span class="keyword">typedef</span> <span class="identifier">lex</span><span class="special">::</span><span class="identifier">lexertl</span><span class="special">::</span><span class="identifier">actor_lexer</span><span class="special"><</span><span class="identifier">token_type</span><span class="special">></span> <span class="identifier">lexer_type</span><span class="special">;</span>
-<span class="callout_bug"><a class="co" name="spirit6co" href="lexer_quickstart2.html#spirit6"><img src="../../../../../../../doc/src/images/callouts/3.png" alt="3" border="0"></a></span> <span class="identifier">word_count_tokens</span><span class="special"><</span><span class="identifier">lexer_type</span><span class="special">></span> <span class="identifier">word_count_lexer</span><span class="special">;</span>
+<a class="co" name="spirit6co" href="lexer_quickstart2.html#spirit6"><img src="../../../../../../../doc/src/images/callouts/3.png" alt="3" border="0"></a> <span class="identifier">word_count_tokens</span><span class="special"><</span><span class="identifier">lexer_type</span><span class="special">></span> <span class="identifier">word_count_lexer</span><span class="special">;</span>
-<span class="callout_bug"><a class="co" name="spirit7co" href="lexer_quickstart2.html#spirit7"><img src="../../../../../../../doc/src/images/callouts/4.png" alt="4" border="0"></a></span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">str</span> <span class="special">(</span><span class="identifier">read_from_file</span><span class="special">(</span><span class="number">1</span> <span class="special">==</span> <span class="identifier">argc</span> <span class="special">?</span> <span class="string">"word_count.input"</span> <span class="special">:</span> <span class="identifier">argv</span><span class="special">[</span><span class="number">1</span><span class="special">]));</span>
+<a class="co" name="spirit7co" href="lexer_quickstart2.html#spirit7"><img src="../../../../../../../doc/src/images/callouts/4.png" alt="4" border="0"></a> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">str</span> <span class="special">(</span><span class="identifier">read_from_file</span><span class="special">(</span><span class="number">1</span> <span class="special">==</span> <span class="identifier">argc</span> <span class="special">?</span> <span class="string">"word_count.input"</span> <span class="special">:</span> <span class="identifier">argv</span><span class="special">[</span><span class="number">1</span><span class="special">]));</span>
<span class="keyword">char</span> <span class="keyword">const</span><span class="special">*</span> <span class="identifier">first</span> <span class="special">=</span> <span class="identifier">str</span><span class="special">.</span><span class="identifier">c_str</span><span class="special">();</span>
<span class="keyword">char</span> <span class="keyword">const</span><span class="special">*</span> <span class="identifier">last</span> <span class="special">=</span> <span class="special">&</span><span class="identifier">first</span><span class="special">[</span><span class="identifier">str</span><span class="special">.</span><span class="identifier">size</span><span class="special">()];</span>
-<span class="callout_bug"><a class="co" name="spirit8co" href="lexer_quickstart2.html#spirit8"><img src="../../../../../../../doc/src/images/callouts/5.png" alt="5" border="0"></a></span> <span class="identifier">lexer_type</span><span class="special">::</span><span class="identifier">iterator_type</span> <span class="identifier">iter</span> <span class="special">=</span> <span class="identifier">word_count_lexer</span><span class="special">.</span><span class="identifier">begin</span><span class="special">(</span><span class="identifier">first</span><span class="special">,</span> <span class="identifier">last</span><span class="special">);</span>
+<a class="co" name="spirit8co" href="lexer_quickstart2.html#spirit8"><img src="../../../../../../../doc/src/images/callouts/5.png" alt="5" border="0"></a> <span class="identifier">lexer_type</span><span class="special">::</span><span class="identifier">iterator_type</span> <span class="identifier">iter</span> <span class="special">=</span> <span class="identifier">word_count_lexer</span><span class="special">.</span><span class="identifier">begin</span><span class="special">(</span><span class="identifier">first</span><span class="special">,</span> <span class="identifier">last</span><span class="special">);</span>
<span class="identifier">lexer_type</span><span class="special">::</span><span class="identifier">iterator_type</span> <span class="identifier">end</span> <span class="special">=</span> <span class="identifier">word_count_lexer</span><span class="special">.</span><span class="identifier">end</span><span class="special">();</span>
-<span class="callout_bug"><a class="co" name="spirit9co" href="lexer_quickstart2.html#spirit9"><img src="../../../../../../../doc/src/images/callouts/6.png" alt="6" border="0"></a></span> <span class="keyword">while</span> <span class="special">(</span><span class="identifier">iter</span> <span class="special">!=</span> <span class="identifier">end</span> <span class="special">&&</span> <span class="identifier">token_is_valid</span><span class="special">(*</span><span class="identifier">iter</span><span class="special">))</span>
+<a class="co" name="spirit9co" href="lexer_quickstart2.html#spirit9"><img src="../../../../../../../doc/src/images/callouts/6.png" alt="6" border="0"></a> <span class="keyword">while</span> <span class="special">(</span><span class="identifier">iter</span> <span class="special">!=</span> <span class="identifier">end</span> <span class="special">&&</span> <span class="identifier">token_is_valid</span><span class="special">(*</span><span class="identifier">iter</span><span class="special">))</span>
<span class="special">++</span><span class="identifier">iter</span><span class="special">;</span>
<span class="keyword">if</span> <span class="special">(</span><span class="identifier">iter</span> <span class="special">==</span> <span class="identifier">end</span><span class="special">)</span> <span class="special">{</span>
@@ -260,80 +242,76 @@
<span class="special">}</span>
</pre>
<p>
- </p>
+ </p>
<p>
</p>
-<p>
- </p>
<div class="calloutlist"><table border="0" summary="Callout list">
<tr>
<td width="5%" valign="top" align="left"><p><a name="spirit4"></a> </p></td>
<td valign="top" align="left">
<p> Specifying <code class="computeroutput"><span class="identifier">omit</span></code> as the
- token attribute type generates a token class not holding any token attribute
- at all (not even the iterator range of the matched input sequence), therefore
- optimizing the token, the lexer, and possibly the parser implementation
- as much as possible. Specifying <code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">false_</span></code>
- as the 3rd template parameter generates a token type and an iterator,
- both holding no lexer state, allowing for even more aggressive optimizations.
- As a result the token instances contain the token ids as the only data
- member.
- </p>
+ token attribute type generates a token class not holding any token attribute
+ at all (not even the iterator range of the matched input sequence), therefore
+ optimizing the token, the lexer, and possibly the parser implementation
+ as much as possible. Specifying <code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">false_</span></code>
+ as the 3rd template parameter generates a token type and an iterator, both
+ holding no lexer state, allowing for even more aggressive optimizations.
+ As a result the token instances contain the token ids as the only data
+ member.
+ </p>
<p>
- </p>
+ </p>
</td>
</tr>
<tr>
<td width="5%" valign="top" align="left"><p><a name="spirit5"></a> </p></td>
<td valign="top" align="left">
<p> This defines the lexer type to use
- </p>
+ </p>
<p>
- </p>
+ </p>
</td>
</tr>
<tr>
<td width="5%" valign="top" align="left"><p><a name="spirit6"></a> </p></td>
<td valign="top" align="left">
<p> Create the lexer object instance needed to invoke the lexical analysis
- </p>
+ </p>
<p>
- </p>
+ </p>
</td>
</tr>
<tr>
<td width="5%" valign="top" align="left"><p><a name="spirit7"></a> </p></td>
<td valign="top" align="left">
<p> Read input from the given file, tokenize all the input, while discarding
- all generated tokens
- </p>
+ all generated tokens
+ </p>
<p>
- </p>
+ </p>
</td>
</tr>
<tr>
<td width="5%" valign="top" align="left"><p><a name="spirit8"></a> </p></td>
<td valign="top" align="left">
<p> Create a pair of iterators returning the sequence of generated tokens
- </p>
+ </p>
<p>
- </p>
+ </p>
</td>
</tr>
<tr>
<td width="5%" valign="top" align="left"><p><a name="spirit9"></a> </p></td>
<td valign="top" align="left">
-<p> Here we simply iterate over all tokens, making sure to break the loop
- if an invalid token gets returned from the lexer
- </p>
+<p> Here we simply iterate over all tokens, making sure to break the loop if
+ an invalid token gets returned from the lexer
+ </p>
<p>
- </p>
+ </p>
</td>
</tr>
</table></div>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/lex/tutorials/lexer_quickstart3.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/lex/tutorials/lexer_quickstart3.html (original)
+++ trunk/libs/spirit/doc/html/spirit/lex/tutorials/lexer_quickstart3.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -65,7 +65,7 @@
code see here: word_count.cpp).
</p>
<a name="spirit.lex.tutorials.lexer_quickstart3.prerequisites"></a><h6>
-<a name="id1184017"></a>
+<a name="id1167002"></a>
<a class="link" href="lexer_quickstart3.html#spirit.lex.tutorials.lexer_quickstart3.prerequisites">Prerequisites</a>
</h6>
<p>
@@ -83,9 +83,7 @@
anyway).
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">qi</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">lex_lexertl</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
@@ -94,26 +92,20 @@
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">phoenix_container</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
To make all the code below more readable we introduce the following namespaces.
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">;</span>
<span class="keyword">using</span> <span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">ascii</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<a name="spirit.lex.tutorials.lexer_quickstart3.defining_tokens"></a><h6>
-<a name="id1184383"></a>
+<a name="id1167361"></a>
<a class="link" href="lexer_quickstart3.html#spirit.lex.tutorials.lexer_quickstart3.defining_tokens">Defining
Tokens</a>
</h6>
@@ -130,9 +122,7 @@
or in conjunction with a parser.
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Lexer</span><span class="special">></span>
<span class="keyword">struct</span> <span class="identifier">word_count_tokens</span> <span class="special">:</span> <span class="identifier">lex</span><span class="special">::</span><span class="identifier">lexer</span><span class="special"><</span><span class="identifier">Lexer</span><span class="special">></span>
@@ -162,11 +152,9 @@
<span class="special">};</span>
</pre>
<p>
- </p>
-<p>
</p>
<a name="spirit.lex.tutorials.lexer_quickstart3.using_token_definition_instances_as_parsers"></a><h6>
-<a name="id1184734"></a>
+<a name="id1167709"></a>
<a class="link" href="lexer_quickstart3.html#spirit.lex.tutorials.lexer_quickstart3.using_token_definition_instances_as_parsers">Using
Token Definition Instances as Parsers</a>
</h6>
@@ -178,19 +166,19 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- Using an instance of a <code class="computeroutput"><span class="identifier">token_def</span><span class="special"><></span></code>, which is handy whenever you
- need to specify a token attribute (for more information about lexer related
- attributes please look here: Lexer Attributes).
- </li>
+ Using an instance of a <code class="computeroutput"><span class="identifier">token_def</span><span class="special"><></span></code>, which is handy whenever you
+ need to specify a token attribute (for more information about lexer
+ related attributes please look here: Lexer Attributes).
+ </li>
<li class="listitem">
- Using a single character as the token, in this case the character represents
- itself as a token, where the token id is the ASCII character value.
- </li>
+ Using a single character as the token, in this case the character represents
+ itself as a token, where the token id is the ASCII character value.
+ </li>
<li class="listitem">
- Using a regular expression represented as a string, where the token id
- needs to be specified explicitly to make the token accessible from the
- grammar level.
- </li>
+ Using a regular expression represented as a string, where the token
+ id needs to be specified explicitly to make the token accessible from
+ the grammar level.
+ </li>
</ul></div>
<p>
All three token definition methods require a different method of grammar
@@ -269,9 +257,7 @@
their usage.
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Iterator</span><span class="special">></span>
<span class="keyword">struct</span> <span class="identifier">word_count_grammar</span> <span class="special">:</span> <span class="identifier">qi</span><span class="special">::</span><span class="identifier">grammar</span><span class="special"><</span><span class="identifier">Iterator</span><span class="special">></span>
@@ -296,8 +282,6 @@
<span class="special">};</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
As already described (see: <a class="link" href="../../abstracts/attributes.html" title="Attributes">Attributes</a>),
@@ -319,7 +303,7 @@
<span class="identifier">size</span><span class="special">(</span><span class="identifier">_1</span><span class="special">)</span></code>.
</p>
<a name="spirit.lex.tutorials.lexer_quickstart3.pulling_everything_together"></a><h6>
-<a name="id1185614"></a>
+<a name="id1168620"></a>
<a class="link" href="lexer_quickstart3.html#spirit.lex.tutorials.lexer_quickstart3.pulling_everything_together">Pulling
Everything Together</a>
</h6>
@@ -333,19 +317,17 @@
to initialize the lexical analysis and parsing processes.
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">main</span><span class="special">(</span><span class="keyword">int</span> <span class="identifier">argc</span><span class="special">,</span> <span class="keyword">char</span><span class="special">*</span> <span class="identifier">argv</span><span class="special">[])</span>
<span class="special">{</span>
-<span class="callout_bug"><a class="co" name="spirit10co" href="lexer_quickstart3.html#spirit10"><img src="../../../../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a></span> <span class="keyword">typedef</span> <span class="identifier">lex</span><span class="special">::</span><span class="identifier">lexertl</span><span class="special">::</span><span class="identifier">token</span><span class="special"><</span>
+<a class="co" name="spirit10co" href="lexer_quickstart3.html#spirit10"><img src="../../../../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a> <span class="keyword">typedef</span> <span class="identifier">lex</span><span class="special">::</span><span class="identifier">lexertl</span><span class="special">::</span><span class="identifier">token</span><span class="special"><</span>
<span class="keyword">char</span> <span class="keyword">const</span><span class="special">*,</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">></span>
<span class="special">></span> <span class="identifier">token_type</span><span class="special">;</span>
-<span class="callout_bug"><a class="co" name="spirit11co" href="lexer_quickstart3.html#spirit11"><img src="../../../../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a></span> <span class="keyword">typedef</span> <span class="identifier">lex</span><span class="special">::</span><span class="identifier">lexertl</span><span class="special">::</span><span class="identifier">lexer</span><span class="special"><</span><span class="identifier">token_type</span><span class="special">></span> <span class="identifier">lexer_type</span><span class="special">;</span>
+<a class="co" name="spirit11co" href="lexer_quickstart3.html#spirit11"><img src="../../../../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a> <span class="keyword">typedef</span> <span class="identifier">lex</span><span class="special">::</span><span class="identifier">lexertl</span><span class="special">::</span><span class="identifier">lexer</span><span class="special"><</span><span class="identifier">token_type</span><span class="special">></span> <span class="identifier">lexer_type</span><span class="special">;</span>
-<span class="callout_bug"><a class="co" name="spirit12co" href="lexer_quickstart3.html#spirit12"><img src="../../../../../../../doc/src/images/callouts/3.png" alt="3" border="0"></a></span> <span class="keyword">typedef</span> <span class="identifier">word_count_tokens</span><span class="special"><</span><span class="identifier">lexer_type</span><span class="special">>::</span><span class="identifier">iterator_type</span> <span class="identifier">iterator_type</span><span class="special">;</span>
+<a class="co" name="spirit12co" href="lexer_quickstart3.html#spirit12"><img src="../../../../../../../doc/src/images/callouts/3.png" alt="3" border="0"></a> <span class="keyword">typedef</span> <span class="identifier">word_count_tokens</span><span class="special"><</span><span class="identifier">lexer_type</span><span class="special">>::</span><span class="identifier">iterator_type</span> <span class="identifier">iterator_type</span><span class="special">;</span>
<span class="comment">// now we use the types defined above to create the lexer and grammar
</span> <span class="comment">// object instances needed to invoke the parsing process
@@ -357,7 +339,7 @@
<span class="keyword">char</span> <span class="keyword">const</span><span class="special">*</span> <span class="identifier">first</span> <span class="special">=</span> <span class="identifier">str</span><span class="special">.</span><span class="identifier">c_str</span><span class="special">();</span>
<span class="keyword">char</span> <span class="keyword">const</span><span class="special">*</span> <span class="identifier">last</span> <span class="special">=</span> <span class="special">&</span><span class="identifier">first</span><span class="special">[</span><span class="identifier">str</span><span class="special">.</span><span class="identifier">size</span><span class="special">()];</span>
-<span class="callout_bug"><a class="co" name="spirit13co" href="lexer_quickstart3.html#spirit13"><img src="../../../../../../../doc/src/images/callouts/4.png" alt="4" border="0"></a></span> <span class="keyword">bool</span> <span class="identifier">r</span> <span class="special">=</span> <span class="identifier">lex</span><span class="special">::</span><span class="identifier">tokenize_and_parse</span><span class="special">(</span><span class="identifier">first</span><span class="special">,</span> <span class="identifier">last</span><span class="special">,</span> <span class="identifier">word_count</span><span class="special">,</span> <span class="identifier">g</span><span class="special">);</span>
+<a class="co" name="spirit13co" href="lexer_quickstart3.html#spirit13"><img src="../../../../../../../doc/src/images/callouts/4.png" alt="4" border="0"></a> <span class="keyword">bool</span> <span class="identifier">r</span> <span class="special">=</span> <span class="identifier">lex</span><span class="special">::</span><span class="identifier">tokenize_and_parse</span><span class="special">(</span><span class="identifier">first</span><span class="special">,</span> <span class="identifier">last</span><span class="special">,</span> <span class="identifier">word_count</span><span class="special">,</span> <span class="identifier">g</span><span class="special">);</span>
<span class="keyword">if</span> <span class="special">(</span><span class="identifier">r</span><span class="special">)</span> <span class="special">{</span>
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"lines: "</span> <span class="special"><<</span> <span class="identifier">g</span><span class="special">.</span><span class="identifier">l</span> <span class="special"><<</span> <span class="string">", words: "</span> <span class="special"><<</span> <span class="identifier">g</span><span class="special">.</span><span class="identifier">w</span>
@@ -372,55 +354,51 @@
<span class="special">}</span>
</pre>
<p>
- </p>
+ </p>
<p>
</p>
-<p>
- </p>
<div class="calloutlist"><table border="0" summary="Callout list">
<tr>
<td width="5%" valign="top" align="left"><p><a name="spirit10"></a> </p></td>
<td valign="top" align="left">
<p> Define the token type to be used: <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span></code>
- is available as the type of the token attribute
- </p>
+ is available as the type of the token attribute
+ </p>
<p>
- </p>
+ </p>
</td>
</tr>
<tr>
<td width="5%" valign="top" align="left"><p><a name="spirit11"></a> </p></td>
<td valign="top" align="left">
<p> Define the lexer type to use implementing the state machine
- </p>
+ </p>
<p>
- </p>
+ </p>
</td>
</tr>
<tr>
<td width="5%" valign="top" align="left"><p><a name="spirit12"></a> </p></td>
<td valign="top" align="left">
<p> Define the iterator type exposed by the lexer type
- </p>
+ </p>
<p>
- </p>
+ </p>
</td>
</tr>
<tr>
<td width="5%" valign="top" align="left"><p><a name="spirit13"></a> </p></td>
<td valign="top" align="left">
<p> Parsing is done based on the the token stream, not the character stream
- read from the input. The function <code class="computeroutput"><span class="identifier">tokenize_and_parse</span><span class="special">()</span></code> wraps the passed iterator range <code class="computeroutput"><span class="special">[</span><span class="identifier">first</span><span class="special">,</span> <span class="identifier">last</span><span class="special">)</span></code> by the lexical analyzer and uses its
- exposed iterators to parse the toke stream.
- </p>
+ read from the input. The function <code class="computeroutput"><span class="identifier">tokenize_and_parse</span><span class="special">()</span></code> wraps the passed iterator range <code class="computeroutput"><span class="special">[</span><span class="identifier">first</span><span class="special">,</span> <span class="identifier">last</span><span class="special">)</span></code> by the lexical analyzer and uses its exposed
+ iterators to parse the toke stream.
+ </p>
<p>
- </p>
+ </p>
</td>
</tr>
</table></div>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/lex/tutorials/lexer_tutorials.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/lex/tutorials/lexer_tutorials.html (original)
+++ trunk/libs/spirit/doc/html/spirit/lex/tutorials/lexer_tutorials.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -65,24 +65,24 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- Select and customize the token type to be generated by the lexer instance.
- </li>
+ Select and customize the token type to be generated by the lexer instance.
+ </li>
<li class="listitem">
- Select and customize the token value types the generated token instances
- will be able to hold.
- </li>
+ Select and customize the token value types the generated token instances
+ will be able to hold.
+ </li>
<li class="listitem">
- Select the iterator type of the underlying input stream, which will be
- used as the source for the character stream to tokenize.
- </li>
+ Select the iterator type of the underlying input stream, which will
+ be used as the source for the character stream to tokenize.
+ </li>
<li class="listitem">
- Customize the iterator type returned by the lexer to enable debug support,
- special handling of certain input sequences, etc.
- </li>
+ Customize the iterator type returned by the lexer to enable debug support,
+ special handling of certain input sequences, etc.
+ </li>
<li class="listitem">
- Select the <span class="emphasis"><em>dynamic</em></span> or the <span class="emphasis"><em>static</em></span>
- runtime model for the lexical analyzer.
- </li>
+ Select the <span class="emphasis"><em>dynamic</em></span> or the <span class="emphasis"><em>static</em></span>
+ runtime model for the lexical analyzer.
+ </li>
</ul></div>
<p>
Special care has been taken during the development of the library that
Modified: trunk/libs/spirit/doc/html/spirit/notes/porting_from_spirit_1_8_x.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/notes/porting_from_spirit_1_8_x.html (original)
+++ trunk/libs/spirit/doc/html/spirit/notes/porting_from_spirit_1_8_x.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -41,7 +41,7 @@
<a href="http://boost-spirit.com" target="_top">Spirit</a>.
</p>
<a name="spirit.notes.porting_from_spirit_1_8_x.include_files"></a><h5>
-<a name="id1272486"></a>
+<a name="id1253797"></a>
<a class="link" href="porting_from_spirit_1_8_x.html#spirit.notes.porting_from_spirit_1_8_x.include_files">Include
Files</a>
</h5>
@@ -223,7 +223,7 @@
</tbody>
</table></div>
<a name="spirit.notes.porting_from_spirit_1_8_x.the_free_parse_functions"></a><h5>
-<a name="id1273137"></a>
+<a name="id1254447"></a>
<a class="link" href="porting_from_spirit_1_8_x.html#spirit.notes.porting_from_spirit_1_8_x.the_free_parse_functions">The
Free Parse Functions</a>
</h5>
@@ -249,9 +249,7 @@
and using directives to be inserted. For Spirit.Classic:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">classic</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">phoenix1</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
@@ -259,25 +257,19 @@
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">string</span><span class="special">></span>
</pre>
<p>
- </p>
-<p>
- </p>
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">classic</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
and for <span class="emphasis"><em>Spirit.Qi</em></span>:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">qi</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">phoenix_operator</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
@@ -286,26 +278,20 @@
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">algorithm</span><span class="special">></span>
</pre>
<p>
- </p>
-<p>
- </p>
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
The following similar examples should clearify the differences. First the
base example in Spirit.Classic:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">input</span><span class="special">(</span><span class="string">"1,1"</span><span class="special">);</span>
<span class="identifier">parse_info</span><span class="special"><</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">::</span><span class="identifier">iterator</span><span class="special">></span> <span class="identifier">pi</span> <span class="special">=</span> <span class="identifier">parse</span><span class="special">(</span><span class="identifier">input</span><span class="special">.</span><span class="identifier">begin</span><span class="special">(),</span> <span class="identifier">input</span><span class="special">.</span><span class="identifier">end</span><span class="special">(),</span> <span class="identifier">int_p</span><span class="special">);</span>
@@ -321,16 +307,12 @@
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"matched length: "</span> <span class="special"><<</span> <span class="identifier">pi</span><span class="special">.</span><span class="identifier">length</span> <span class="special"><<</span> <span class="string">"\n"</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
And here is the equivalent piece of code using <span class="emphasis"><em>Spirit.Qi</em></span>:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">input</span><span class="special">(</span><span class="string">"1,1"</span><span class="special">);</span>
<span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">::</span><span class="identifier">iterator</span> <span class="identifier">it</span> <span class="special">=</span> <span class="identifier">input</span><span class="special">.</span><span class="identifier">begin</span><span class="special">();</span>
@@ -348,17 +330,13 @@
</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"matched length: "</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">distance</span><span class="special">(</span><span class="identifier">input</span><span class="special">.</span><span class="identifier">begin</span><span class="special">(),</span> <span class="identifier">it</span><span class="special">)</span> <span class="special"><<</span> <span class="string">"\n"</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
The changes required for phrase parsing (i.e. parsing using a skipper) are
similar. Here is how phrase parsing works in Spirit.Classic:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">input</span><span class="special">(</span><span class="string">" 1, 1"</span><span class="special">);</span>
<span class="identifier">parse_info</span><span class="special"><</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">::</span><span class="identifier">iterator</span><span class="special">></span> <span class="identifier">pi</span> <span class="special">=</span> <span class="identifier">parse</span><span class="special">(</span><span class="identifier">input</span><span class="special">.</span><span class="identifier">begin</span><span class="special">(),</span> <span class="identifier">input</span><span class="special">.</span><span class="identifier">end</span><span class="special">(),</span> <span class="identifier">int_p</span><span class="special">,</span> <span class="identifier">space_p</span><span class="special">);</span>
@@ -374,16 +352,12 @@
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"matched length: "</span> <span class="special"><<</span> <span class="identifier">pi</span><span class="special">.</span><span class="identifier">length</span> <span class="special"><<</span> <span class="string">"\n"</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
And here the equivalent example in <span class="emphasis"><em>Spirit.Qi</em></span>:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">input</span><span class="special">(</span><span class="string">" 1, 1"</span><span class="special">);</span>
<span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">::</span><span class="identifier">iterator</span> <span class="identifier">it</span> <span class="special">=</span> <span class="identifier">input</span><span class="special">.</span><span class="identifier">begin</span><span class="special">();</span>
@@ -401,8 +375,6 @@
</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"matched length: "</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">distance</span><span class="special">(</span><span class="identifier">input</span><span class="special">.</span><span class="identifier">begin</span><span class="special">(),</span> <span class="identifier">it</span><span class="special">)</span> <span class="special"><<</span> <span class="string">"\n"</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Note, how character parsers are in a separate namespace (here <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">ascii</span><span class="special">::</span><span class="identifier">space</span></code>) as <span class="emphasis"><em>Spirit.Qi</em></span>
@@ -410,7 +382,7 @@
Encoding Namespace</a> for more information.
</p>
<a name="spirit.notes.porting_from_spirit_1_8_x.naming_conventions"></a><h5>
-<a name="id1276448"></a>
+<a name="id1259217"></a>
<a class="link" href="porting_from_spirit_1_8_x.html#spirit.notes.porting_from_spirit_1_8_x.naming_conventions">Naming
Conventions</a>
</h5>
@@ -430,7 +402,7 @@
parser primitives, directives and operators.
</p>
<a name="spirit.notes.porting_from_spirit_1_8_x.parser_attributes"></a><h5>
-<a name="id1276520"></a>
+<a name="id1259289"></a>
<a class="link" href="porting_from_spirit_1_8_x.html#spirit.notes.porting_from_spirit_1_8_x.parser_attributes">Parser
Attributes</a>
</h5>
@@ -448,7 +420,7 @@
underlying matched input sequence.
</p>
<a name="spirit.notes.porting_from_spirit_1_8_x.grammars_and_rules"></a><h5>
-<a name="id1276588"></a>
+<a name="id1259358"></a>
<a class="link" href="porting_from_spirit_1_8_x.html#spirit.notes.porting_from_spirit_1_8_x.grammars_and_rules">Grammars
and Rules</a>
</h5>
@@ -464,9 +436,7 @@
Here is a simple grammar and its usage in Spirit.Classic:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">struct</span> <span class="identifier">roman</span> <span class="special">:</span> <span class="keyword">public</span> <span class="identifier">grammar</span><span class="special"><</span><span class="identifier">roman</span><span class="special">></span>
<span class="special">{</span>
@@ -508,11 +478,9 @@
<span class="special">};</span>
</pre>
<p>
- </p>
-<p>
- </p>
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">input</span><span class="special">(</span><span class="string">"MMIX"</span><span class="special">);</span> <span class="comment">// MMIX == 2009
</span><span class="keyword">unsigned</span> <span class="identifier">value</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span>
@@ -522,16 +490,12 @@
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"successfully matched: "</span> <span class="special"><<</span> <span class="identifier">value</span> <span class="special"><<</span> <span class="string">"\n"</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
And here is a similar grammar and its usage in <span class="emphasis"><em>Spirit.Qi</em></span>:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Iterator</span><span class="special">></span>
<span class="keyword">struct</span> <span class="identifier">roman</span> <span class="special">:</span> <span class="identifier">qi</span><span class="special">::</span><span class="identifier">grammar</span><span class="special"><</span><span class="identifier">Iterator</span><span class="special">,</span> <span class="keyword">unsigned</span><span class="special">()></span>
@@ -566,11 +530,9 @@
<span class="special">};</span>
</pre>
<p>
- </p>
-<p>
- </p>
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">input</span><span class="special">(</span><span class="string">"MMIX"</span><span class="special">);</span> <span class="comment">// MMIX == 2009
</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">::</span><span class="identifier">iterator</span> <span class="identifier">it</span> <span class="special">=</span> <span class="identifier">input</span><span class="special">.</span><span class="identifier">begin</span><span class="special">();</span>
@@ -580,8 +542,6 @@
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"successfully matched: "</span> <span class="special"><<</span> <span class="identifier">value</span> <span class="special"><<</span> <span class="string">"\n"</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Both versions look similarily enough, but we see several differences (we
@@ -589,22 +549,22 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- Neither the grammars nor the rules depend on a scanner type anymore, both
- depend only on the underlying iterator type. That means the dreaded scanner
- business is no issue anymore!
- </li>
+ Neither the grammars nor the rules depend on a scanner type anymore,
+ both depend only on the underlying iterator type. That means the dreaded
+ scanner business is no issue anymore!
+ </li>
<li class="listitem">
- Grammars have no embedded class <code class="computeroutput"><span class="identifier">definition</span></code>
- anymore
- </li>
+ Grammars have no embedded class <code class="computeroutput"><span class="identifier">definition</span></code>
+ anymore
+ </li>
<li class="listitem">
- Grammars and rules may have an explicit attribute type specified in their
- definition
- </li>
+ Grammars and rules may have an explicit attribute type specified in their
+ definition
+ </li>
<li class="listitem">
- Grammars do not have any explicit start rules anymore. Instead one of the
- contained rules is used as a start rule by default.
- </li>
+ Grammars do not have any explicit start rules anymore. Instead one of
+ the contained rules is used as a start rule by default.
+ </li>
</ul></div>
<p>
The first two points are tightly interrelated. The scanner business (see
Modified: trunk/libs/spirit/doc/html/spirit/notes/style_guide.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/notes/style_guide.html (original)
+++ trunk/libs/spirit/doc/html/spirit/notes/style_guide.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -40,23 +40,24 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- Rule names use std C++ (Boost) convention. The rule name may be very long.
- </li>
-<li class="listitem">
- The '=' is neatly indented 4 spaces below. Like in Boost, use spaces instead
- of tabs.
- </li>
-<li class="listitem">
- Breaking the operands into separate lines puts the semantic actions neatly
- to the right.
- </li>
-<li class="listitem">
- Semicolon at the last line terminates the rule.
- </li>
-<li class="listitem">
- The adjacent parts of a sequence should be indented accordingly to have
- all, what belongs to one level, at one indentation level.
- </li>
+ Rule names use std C++ (Boost) convention. The rule name may be very
+ long.
+ </li>
+<li class="listitem">
+ The '=' is neatly indented 4 spaces below. Like in Boost, use spaces
+ instead of tabs.
+ </li>
+<li class="listitem">
+ Breaking the operands into separate lines puts the semantic actions neatly
+ to the right.
+ </li>
+<li class="listitem">
+ Semicolon at the last line terminates the rule.
+ </li>
+<li class="listitem">
+ The adjacent parts of a sequence should be indented accordingly to have
+ all, what belongs to one level, at one indentation level.
+ </li>
</ul></div>
<pre class="programlisting"><span class="identifier">program</span>
<span class="special">=</span> <span class="identifier">program_heading</span> <span class="special">[</span><span class="identifier">heading_action</span><span class="special">]</span>
@@ -68,21 +69,22 @@
</pre>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- Prefer literals in the grammar instead of identifiers. e.g. <code class="computeroutput"><span class="string">"program"</span></code> instead of <code class="computeroutput"><span class="identifier">PROGRAM</span></code>, <code class="computeroutput"><span class="char">'>='</span></code>
- instead of <code class="computeroutput"><span class="identifier">GTE</span></code> and <code class="computeroutput"><span class="char">'.'</span></code> instead of <code class="computeroutput"><span class="identifier">DOT</span></code>.
- This makes it much easier to read. If this isn't possible (for instance
- where the used tokens must be identified through integers) capitalized
- identifiers should be used instead.
- </li>
-<li class="listitem">
- Breaking the operands may not be needed for short expressions. e.g. <code class="computeroutput"><span class="special">*(</span><span class="char">','</span> <span class="special">>></span>
- <span class="identifier">file_identifier</span><span class="special">)</span></code>
- as long as the line does not exceed 80 characters.
- </li>
-<li class="listitem">
- If a sequence fits on one line, put spaces inside the parentheses to clearly
- separate them from the rules.
- </li>
+ Prefer literals in the grammar instead of identifiers. e.g. <code class="computeroutput"><span class="string">"program"</span></code> instead of <code class="computeroutput"><span class="identifier">PROGRAM</span></code>, <code class="computeroutput"><span class="char">'>='</span></code>
+ instead of <code class="computeroutput"><span class="identifier">GTE</span></code> and <code class="computeroutput"><span class="char">'.'</span></code> instead of <code class="computeroutput"><span class="identifier">DOT</span></code>.
+ This makes it much easier to read. If this isn't possible (for instance
+ where the used tokens must be identified through integers) capitalized
+ identifiers should be used instead.
+ </li>
+<li class="listitem">
+ Breaking the operands may not be needed for short expressions. e.g.
+ <code class="computeroutput"><span class="special">*(</span><span class="char">','</span>
+ <span class="special">>></span> <span class="identifier">file_identifier</span><span class="special">)</span></code> as long as the line does not exceed
+ 80 characters.
+ </li>
+<li class="listitem">
+ If a sequence fits on one line, put spaces inside the parentheses to
+ clearly separate them from the rules.
+ </li>
</ul></div>
<pre class="programlisting"><span class="identifier">program_heading</span>
<span class="special">=</span> <span class="identifier">no_case</span><span class="special">[</span><span class="string">"program"</span><span class="special">]</span>
@@ -95,11 +97,11 @@
<span class="special">;</span>
</pre>
<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem">
- Nesting directives: If a rule does not fit on one line (80 characters)
- it should be continued on the next line intended by one level. The brackets
- of directives, semantic expressions (using Phoenix or LL lambda expressions)
- or parsers should be placed as follows.
- </li></ul></div>
+ Nesting directives: If a rule does not fit on one line (80 characters)
+ it should be continued on the next line intended by one level. The brackets
+ of directives, semantic expressions (using Phoenix or LL lambda expressions)
+ or parsers should be placed as follows.
+ </li></ul></div>
<pre class="programlisting"><span class="identifier">identifier</span>
<span class="special">=</span> <span class="identifier">no_case</span>
<span class="special">[</span>
@@ -111,14 +113,14 @@
<span class="special">;</span>
</pre>
<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem">
- Nesting unary operators (e.g.Kleene star): Unary rule operators (Kleene
- star, <code class="computeroutput"><span class="char">'!'</span></code>, <code class="computeroutput"><span class="char">'+'</span></code>
- etc.) should be moved out one space before the corresponding indentation
- level, if this rule has a body or a sequence after it, which does not fit
- on on line. This makes the formatting more consistent and moves the rule
- 'body' at the same indentation level as the rule itself, highlighting the
- unary operator.
- </li></ul></div>
+ Nesting unary operators (e.g.Kleene star): Unary rule operators (Kleene
+ star, <code class="computeroutput"><span class="char">'!'</span></code>, <code class="computeroutput"><span class="char">'+'</span></code>
+ etc.) should be moved out one space before the corresponding indentation
+ level, if this rule has a body or a sequence after it, which does not
+ fit on on line. This makes the formatting more consistent and moves the
+ rule 'body' at the same indentation level as the rule itself, highlighting
+ the unary operator.
+ </li></ul></div>
<pre class="programlisting"><span class="identifier">block</span>
<span class="special">=</span> <span class="special">*(</span> <span class="identifier">label_declaration_part</span>
<span class="special">|</span> <span class="identifier">constant_definition_part</span>
Modified: trunk/libs/spirit/doc/html/spirit/preface.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/preface.html (original)
+++ trunk/libs/spirit/doc/html/spirit/preface.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -26,26 +26,20 @@
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="spirit.preface"></a><a class="link" href="preface.html" title="Preface">Preface</a>
</h2></div></div></div>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <span class="emphasis"><em><span class="quote">“<span class="quote">Examples of designs that meet most of the criteria for
- "goodness" (easy to understand, flexible, efficient) are a recursive-descent
- parser, which is traditional procedural code. Another example is the STL,
- which is a generic library of containers and algorithms depending crucially
- on both traditional procedural code and on parametric polymorphism.</span>”</span></em></span>
- <span class="bold"><strong>--Bjarne Stroustrup</strong></span>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <span class="emphasis"><em><span class="quote">“<span class="quote">Examples of designs that meet most of the criteria for "goodness"
+ (easy to understand, flexible, efficient) are a recursive-descent parser,
+ which is traditional procedural code. Another example is the STL, which is
+ a generic library of containers and algorithms depending crucially on both
+ traditional procedural code and on parametric polymorphism.</span>”</span></em></span>
+ <span class="bold"><strong>--Bjarne Stroustrup</strong></span>
+ </p></blockquote></div>
<a name="spirit.preface.history"></a><h4>
-<a name="id835220"></a>
+<a name="id820402"></a>
<a class="link" href="preface.html#spirit.preface.history">History</a>
</h4>
<a name="spirit.preface._emphasis_80s__emphasis_"></a><h4>
-<a name="id835233"></a>
+<a name="id820416"></a>
<a class="link" href="preface.html#spirit.preface._emphasis_80s__emphasis_"><span class="emphasis"><em>80s</em></span></a>
</h4>
<p>
@@ -59,7 +53,7 @@
This process worked very well.
</p>
<a name="spirit.preface._emphasis_90s__emphasis_"></a><h4>
-<a name="id835251"></a>
+<a name="id820434"></a>
<a class="link" href="preface.html#spirit.preface._emphasis_90s__emphasis_"><span class="emphasis"><em>90s</em></span></a>
</h4>
<p>
@@ -96,7 +90,7 @@
here: pre-Spirit.
</p>
<a name="spirit.preface._emphasis_2001_to_2006__emphasis_"></a><h4>
-<a name="id835293"></a>
+<a name="id820476"></a>
<a class="link" href="preface.html#spirit.preface._emphasis_2001_to_2006__emphasis_"><span class="emphasis"><em>2001
to 2006</em></span></a>
</h4>
@@ -126,7 +120,7 @@
for design and implementation quality, robustness, and reusability.
</p>
<a name="spirit.preface._emphasis_2007__emphasis_"></a><h4>
-<a name="id835328"></a>
+<a name="id820510"></a>
<a class="link" href="preface.html#spirit.preface._emphasis_2007__emphasis_"><span class="emphasis"><em>2007</em></span></a>
</h4>
<p>
@@ -163,19 +157,18 @@
gives you the right ingredients to easily create a sledgehammer.
</p>
<a name="spirit.preface.new_ideas__spirit_v2"></a><h4>
-<a name="id835403"></a>
+<a name="id820585"></a>
<a class="link" href="preface.html#spirit.preface.new_ideas__spirit_v2">New Ideas: Spirit V2</a>
</h4>
<p>
Just before the development of Spirit V2 began, Hartmut came across the StringTemplate library that is
- a part of the ANTLR parser framework.
- <sup>[<a name="id835419" href="#ftn.id835419" class="footnote">1</a>]</sup>
- The concepts presented in that library lead Hartmut to the next step in the
- evolution of Spirit. Parsing and generation are tightly connected to a formal
- notation, or a grammar. The grammar describes both input and output, and therefore,
- a parser library should have a grammar driven output. This duality is expressed
- in Spirit by the parser library <span class="emphasis"><em>Spirit.Qi</em></span> and the generator
- library <span class="emphasis"><em>Spirit.Karma</em></span> using the same component infastructure.
+ a part of the ANTLR parser framework. <sup>[<a name="id820603" href="#ftn.id820603" class="footnote">1</a>]</sup> The concepts presented in that library lead Hartmut to the next
+ step in the evolution of Spirit. Parsing and generation are tightly connected
+ to a formal notation, or a grammar. The grammar describes both input and output,
+ and therefore, a parser library should have a grammar driven output. This duality
+ is expressed in Spirit by the parser library <span class="emphasis"><em>Spirit.Qi</em></span>
+ and the generator library <span class="emphasis"><em>Spirit.Karma</em></span> using the same
+ component infastructure.
</p>
<p>
The idea of creating a lexer library well integrated with the Spirit parsers
@@ -192,7 +185,7 @@
same underlying component library as for the parser and generator libraries.
</p>
<a name="spirit.preface.how_to_use_this_manual"></a><h4>
-<a name="id835460"></a>
+<a name="id820644"></a>
<a class="link" href="preface.html#spirit.preface.how_to_use_this_manual">How to use this manual</a>
</h4>
<p>
@@ -201,28 +194,29 @@
</p>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem">
- Tutorials: A step by step guide with heavily annotated code. These are meant
- to get the user acquainted with the library as quickly as possible. The objective
- is to build the confidence of the user in using the library through abundant
- examples and detailed instructions. Examples speak volumes and we have volumes
- of examples!
- </li>
+ Tutorials: A step by step guide with heavily annotated code. These are
+ meant to get the user acquainted with the library as quickly as possible.
+ The objective is to build the confidence of the user in using the library
+ through abundant examples and detailed instructions. Examples speak volumes
+ and we have volumes of examples!
+ </li>
<li class="listitem">
- Abstracts: A high level summary of key topics. The objective is to give the
- user a high level view of the library, the key concepts, background and theories.
- </li>
+ Abstracts: A high level summary of key topics. The objective is to give
+ the user a high level view of the library, the key concepts, background
+ and theories.
+ </li>
<li class="listitem">
- Reference: Detailed formal technical reference. We start with a quick reference
- -- an easy to use table that maps into the reference proper. The reference
- proper starts with C++ concepts followed by models of the concepts.
- </li>
+ Reference: Detailed formal technical reference. We start with a quick reference
+ -- an easy to use table that maps into the reference proper. The reference
+ proper starts with C++ concepts followed by models of the concepts.
+ </li>
</ol></div>
<p>
Some icons are used to mark certain topics indicative of their relevance. These
icons precede some text to indicate:
</p>
<div class="table">
-<a name="id835508"></a><p class="title"><b>Table 1. Icons</b></p>
+<a name="id820702"></a><p class="title"><b>Table 1. Icons</b></p>
<div class="table-contents"><table class="table" summary="Icons">
<colgroup>
<col>
@@ -344,7 +338,7 @@
Tools</a>.
</p>
<a name="spirit.preface.support"></a><h4>
-<a name="id843478"></a>
+<a name="id820958"></a>
<a class="link" href="preface.html#spirit.preface.support">Support</a>
</h4>
<p>
@@ -359,11 +353,11 @@
</p>
<div class="footnotes">
<br><hr width="100" align="left">
-<div class="footnote"><p><sup>[<a name="ftn.id835419" href="#id835419" class="para">1</a>] </sup>
- Quote from http:<span class="emphasis"><em>/www.stringtemplate.org</em></span>: It is a Java
- template engine (with ports for C# and Python) for generating source code,
- web pages, emails, or any other formatted text output.
- </p></div>
+<div class="footnote"><p><sup>[<a name="ftn.id820603" href="#id820603" class="para">1</a>] </sup>
+ Quote from http:<span class="emphasis"><em>/www.stringtemplate.org</em></span>: It is a Java
+ template engine (with ports for C# and Python) for generating source code,
+ web pages, emails, or any other formatted text output.
+ </p></div>
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/qi/quick_reference/compound_attribute_rules.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/quick_reference/compound_attribute_rules.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/quick_reference/compound_attribute_rules.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
Attribute Rules</a>
</h4></div></div></div>
<a name="spirit.qi.quick_reference.compound_attribute_rules.notation"></a><h6>
-<a name="id890934"></a>
+<a name="id874955"></a>
<a class="link" href="compound_attribute_rules.html#spirit.qi.quick_reference.compound_attribute_rules.notation">Notation</a>
</h6>
<p>
@@ -72,7 +72,7 @@
</p></td></tr>
</table></div>
<a name="spirit.qi.quick_reference.compound_attribute_rules.compound_parser_attribute_types"></a><h6>
-<a name="id891417"></a>
+<a name="id875437"></a>
<a class="link" href="compound_attribute_rules.html#spirit.qi.quick_reference.compound_attribute_rules.compound_parser_attribute_types">Compound
Parser Attribute Types</a>
</h6>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/action.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/action.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/action.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -27,7 +27,7 @@
<a name="spirit.qi.reference.action"></a><a class="link" href="action.html" title="Action">Action</a>
</h4></div></div></div>
<a name="spirit.qi.reference.action.description"></a><h6>
-<a name="id917724"></a>
+<a name="id900734"></a>
<a class="link" href="action.html#spirit.qi.reference.action.description">Description</a>
</h6>
<p>
@@ -38,7 +38,7 @@
is an arbitrary parser expression.
</p>
<a name="spirit.qi.reference.action.header"></a><h6>
-<a name="id917758"></a>
+<a name="id900769"></a>
<a class="link" href="action.html#spirit.qi.reference.action.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/action.hpp>
@@ -48,18 +48,12 @@
Also, see <a class="link" href="../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.qi.reference.action.model_of"></a><h6>
-<a name="id917833"></a>
+<a name="id900843"></a>
<a class="link" href="action.html#spirit.qi.reference.action.model_of">Model of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="parser_concepts/unaryparser.html" title="UnaryParser"><code class="computeroutput"><span class="identifier">UnaryParser</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="parser_concepts/unaryparser.html" title="UnaryParser"><code class="computeroutput"><span class="identifier">UnaryParser</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -90,7 +84,7 @@
</dl>
</div>
<a name="spirit.qi.reference.action.expression_semantics"></a><h6>
-<a name="id918034"></a>
+<a name="id901041"></a>
<a class="link" href="action.html#spirit.qi.reference.action.expression_semantics">Expression
Semantics</a>
</h6>
@@ -168,7 +162,7 @@
and not generating any output.
</p>
<a name="spirit.qi.reference.action.attributes"></a><h6>
-<a name="id918484"></a>
+<a name="id901491"></a>
<a class="link" href="action.html#spirit.qi.reference.action.attributes">Attributes</a>
</h6>
<div class="informaltable"><table class="table">
@@ -205,7 +199,7 @@
</tr></tbody>
</table></div>
<a name="spirit.qi.reference.action.complexity"></a><h6>
-<a name="id918609"></a>
+<a name="id901616"></a>
<a class="link" href="action.html#spirit.qi.reference.action.complexity">Complexity</a>
</h6>
<p>
@@ -214,7 +208,7 @@
or function object used as the semantic action.
</p>
<a name="spirit.qi.reference.action.example"></a><h6>
-<a name="id918626"></a>
+<a name="id901633"></a>
<a class="link" href="action.html#spirit.qi.reference.action.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/auto.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/auto.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/auto.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -27,7 +27,7 @@
<a name="spirit.qi.reference.auto"></a><a class="link" href="auto.html" title="Auto">Auto</a>
</h4></div></div></div>
<a name="spirit.qi.reference.auto.description"></a><h6>
-<a name="id918674"></a>
+<a name="id901681"></a>
<a class="link" href="auto.html#spirit.qi.reference.auto.description">Description</a>
</h6>
<p>
@@ -36,7 +36,7 @@
on the supplied attribute type.
</p>
<a name="spirit.qi.reference.auto.header"></a><h6>
-<a name="id918698"></a>
+<a name="id901705"></a>
<a class="link" href="auto.html#spirit.qi.reference.auto.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/auto.hpp>
@@ -46,7 +46,7 @@
Also, see <a class="link" href="../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.qi.reference.auto.namespace"></a><h6>
-<a name="id918772"></a>
+<a name="id901779"></a>
<a class="link" href="auto.html#spirit.qi.reference.auto.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -64,20 +64,14 @@
</td></tr></tbody>
</table></div>
<a name="spirit.qi.reference.auto.model_of"></a><h6>
-<a name="id918850"></a>
+<a name="id901857"></a>
<a class="link" href="auto.html#spirit.qi.reference.auto.model_of">Model of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="parser_concepts/primitiveparser.html" title="PrimitiveParser"><code class="computeroutput"><span class="identifier">PrimitiveParser</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="parser_concepts/primitiveparser.html" title="PrimitiveParser"><code class="computeroutput"><span class="identifier">PrimitiveParser</span></code></a>
+ </p></blockquote></div>
<a name="spirit.qi.reference.auto.expression_semantics"></a><h6>
-<a name="id918884"></a>
+<a name="id901887"></a>
<a class="link" href="auto.html#spirit.qi.reference.auto.expression_semantics">Expression
Semantics</a>
</h6>
@@ -117,7 +111,7 @@
</tr></tbody>
</table></div>
<a name="spirit.qi.reference.auto.additional_requirements"></a><h6>
-<a name="id918973"></a>
+<a name="id901976"></a>
<a class="link" href="auto.html#spirit.qi.reference.auto.additional_requirements">Additional
Requirements</a>
</h6>
@@ -293,7 +287,7 @@
can be used also to redefined any of the predefined mappings.
</p>
<a name="spirit.qi.reference.auto.attributes"></a><h6>
-<a name="id919915"></a>
+<a name="id902646"></a>
<a class="link" href="auto.html#spirit.qi.reference.auto.attributes">Attributes</a>
</h6>
<div class="informaltable"><table class="table">
@@ -341,23 +335,17 @@
</p></td></tr>
</table></div>
<a name="spirit.qi.reference.auto.complexity"></a><h6>
-<a name="id920031"></a>
+<a name="id902761"></a>
<a class="link" href="auto.html#spirit.qi.reference.auto.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- The complexity of the <code class="computeroutput"><span class="identifier">auto_</span></code>
- parser depends on the supplied attribute type. Each attribute type
- results in a different parser type to be instantiated which defines
- the overall complexity.
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ The complexity of the <code class="computeroutput"><span class="identifier">auto_</span></code>
+ parser depends on the supplied attribute type. Each attribute type results
+ in a different parser type to be instantiated which defines the overall
+ complexity.
+ </p></blockquote></div>
<a name="spirit.qi.reference.auto.example"></a><h6>
-<a name="id920062"></a>
+<a name="id902788"></a>
<a class="link" href="auto.html#spirit.qi.reference.auto.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -374,9 +362,7 @@
Some includes:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">qi</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">phoenix_core</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
@@ -387,30 +373,22 @@
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">cstdlib</span><span class="special">></span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">auto_</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
And a class definition used in the examples:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="comment">// a simple complex number representation z = a + bi
</span><span class="keyword">struct</span> <span class="identifier">complex</span>
@@ -424,23 +402,16 @@
<span class="special">};</span>
</pre>
<p>
- </p>
-<p>
- </p>
-<p>
- The following construct is required to allow the <code class="computeroutput"><span class="identifier">complex</span></code>
- data structure to be utilized as a Boost.Fusion
- sequence. This is required as we will emit output for this data structure
- with a <span class="emphasis"><em>Spirit.Qi</em></span> sequence: <code class="computeroutput"><span class="char">'{'</span>
- <span class="special">>></span> <span class="identifier">qi</span><span class="special">::</span><span class="identifier">double_</span>
- <span class="special">>></span> <span class="char">','</span>
- <span class="special">>></span> <span class="identifier">qi</span><span class="special">::</span><span class="identifier">double_</span>
- <span class="special">>></span> <span class="char">'}'</span></code>.
- </p>
+ </p>
<p>
- </p>
+ The following construct is required to allow the <code class="computeroutput"><span class="identifier">complex</span></code>
+ data structure to be utilized as a Boost.Fusion
+ sequence. This is required as we will emit output for this data structure
+ with a <span class="emphasis"><em>Spirit.Qi</em></span> sequence: <code class="computeroutput"><span class="char">'{'</span>
+ <span class="special">>></span> <span class="identifier">qi</span><span class="special">::</span><span class="identifier">double_</span> <span class="special">>></span> <span class="char">','</span> <span class="special">>></span> <span class="identifier">qi</span><span class="special">::</span><span class="identifier">double_</span> <span class="special">>></span> <span class="char">'}'</span></code>.
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">BOOST_FUSION_ADAPT_STRUCT</span><span class="special">(</span>
<span class="identifier">complex</span><span class="special">,</span>
@@ -448,32 +419,26 @@
<span class="special">(</span><span class="keyword">double</span><span class="special">,</span> <span class="identifier">b</span><span class="special">)</span>
<span class="special">)</span></pre>
<p>
- </p>
-<p>
- </p>
-<p>
- We add a specialization for the create_parser customization point defining
- a custom output format for the complex type. Generally, any specialization
- for create_parser is expected to return the proto expression to be used
- to match input for the type the customization point has been specialized
- for.
- </p>
-<p>
- </p>
-<p>
- We need to utilize <code class="computeroutput"><span class="identifier">proto</span><span class="special">::</span><span class="identifier">deep_copy</span></code>
- as the expression contains literals (the <code class="computeroutput"><span class="char">'{'</span></code>,
- <code class="computeroutput"><span class="char">','</span></code>, and <code class="computeroutput"><span class="char">'}'</span></code>)
- which normally get embedded in the proto expression by reference only.
- The deep copy converts the proto tree to hold this by value. The deep
- copy operation can be left out for simpler proto expressions (not containing
- references to temporaries). Alternatively you could use the <code class="computeroutput"><span class="identifier">proto</span><span class="special">::</span><span class="identifier">make_expr</span></code> facility to build the required
- proto expression.
- </p>
+ </p>
<p>
- </p>
+ We add a specialization for the create_parser customization point defining
+ a custom output format for the complex type. Generally, any specialization
+ for create_parser is expected to return the proto expression to be used
+ to match input for the type the customization point has been specialized
+ for.
+ </p>
+<p>
+ We need to utilize <code class="computeroutput"><span class="identifier">proto</span><span class="special">::</span><span class="identifier">deep_copy</span></code>
+ as the expression contains literals (the <code class="computeroutput"><span class="char">'{'</span></code>,
+ <code class="computeroutput"><span class="char">','</span></code>, and <code class="computeroutput"><span class="char">'}'</span></code>)
+ which normally get embedded in the proto expression by reference only.
+ The deep copy converts the proto tree to hold this by value. The deep copy
+ operation can be left out for simpler proto expressions (not containing
+ references to temporaries). Alternatively you could use the <code class="computeroutput"><span class="identifier">proto</span><span class="special">::</span><span class="identifier">make_expr</span></code> facility to build the required
+ proto expression.
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">spirit</span> <span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">traits</span>
<span class="special">{</span>
@@ -493,47 +458,35 @@
<span class="special">}}}</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Some usage examples of <code class="computeroutput"><span class="identifier">auto_</span></code>
parsers:
</p>
<p>
- </p>
-<p>
- Parse a simple integer using the generated parser component <code class="computeroutput"><span class="identifier">int_</span></code>:
- </p>
-<p>
- </p>
+ Parse a simple integer using the generated parser component <code class="computeroutput"><span class="identifier">int_</span></code>:
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">i</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span>
<span class="identifier">test_parser_attr</span><span class="special">(</span><span class="string">"123"</span><span class="special">,</span> <span class="identifier">auto_</span><span class="special">,</span> <span class="identifier">i</span><span class="special">);</span>
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">i</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span> <span class="comment">// prints: 123</span></pre>
<p>
- </p>
-<p>
- </p>
-<p>
- Parse an instance of the <code class="computeroutput"><span class="identifier">complex</span></code>
- data type as defined above using the parser as generated by the defined
- customization point:
- </p>
+ </p>
<p>
- </p>
+ Parse an instance of the <code class="computeroutput"><span class="identifier">complex</span></code>
+ data type as defined above using the parser as generated by the defined
+ customization point:
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">complex</span> <span class="identifier">c</span><span class="special">;</span>
<span class="identifier">test_parser_attr</span><span class="special">(</span><span class="string">"{1.2,2.4}"</span><span class="special">,</span> <span class="identifier">auto_</span><span class="special">,</span> <span class="identifier">c</span><span class="special">);</span>
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">c</span><span class="special">.</span><span class="identifier">a</span> <span class="special"><<</span> <span class="string">","</span> <span class="special"><<</span> <span class="identifier">c</span><span class="special">.</span><span class="identifier">b</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span> <span class="comment">// prints: 1.2,2.4
</span></pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/auxiliary.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/auxiliary.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/auxiliary.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -43,7 +43,7 @@
<code class="computeroutput"><span class="identifier">eps</span></code>, and <code class="computeroutput"><span class="identifier">lazy</span></code> parsers.
</p>
<a name="spirit.qi.reference.auxiliary.module_header"></a><h6>
-<a name="id921399"></a>
+<a name="id904111"></a>
<a class="link" href="auxiliary.html#spirit.qi.reference.auxiliary.module_header">Module Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/auxiliary.hpp>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/auxiliary/attr.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/auxiliary/attr.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/auxiliary/attr.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -27,7 +27,7 @@
<a name="spirit.qi.reference.auxiliary.attr"></a><a class="link" href="attr.html" title="Attribute (attr)"> Attribute (<code class="computeroutput"><span class="identifier">attr</span></code>)</a>
</h5></div></div></div>
<a name="spirit.qi.reference.auxiliary.attr.description"></a><h6>
-<a name="id921490"></a>
+<a name="id904202"></a>
<a class="link" href="attr.html#spirit.qi.reference.auxiliary.attr.description">Description</a>
</h6>
<p>
@@ -36,7 +36,7 @@
its specified parameter as an attribute.
</p>
<a name="spirit.qi.reference.auxiliary.attr.header"></a><h6>
-<a name="id921507"></a>
+<a name="id904219"></a>
<a class="link" href="attr.html#spirit.qi.reference.auxiliary.attr.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/auxiliary/attr.hpp>
@@ -46,7 +46,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.qi.reference.auxiliary.attr.namespace"></a><h6>
-<a name="id921581"></a>
+<a name="id904293"></a>
<a class="link" href="attr.html#spirit.qi.reference.auxiliary.attr.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -64,18 +64,12 @@
</td></tr></tbody>
</table></div>
<a name="spirit.qi.reference.auxiliary.attr.model_of"></a><h6>
-<a name="id921659"></a>
+<a name="id904371"></a>
<a class="link" href="attr.html#spirit.qi.reference.auxiliary.attr.model_of">Model of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../parser_concepts/primitiveparser.html" title="PrimitiveParser"><code class="computeroutput"><span class="identifier">PrimitiveParser</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../parser_concepts/primitiveparser.html" title="PrimitiveParser"><code class="computeroutput"><span class="identifier">PrimitiveParser</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -94,7 +88,7 @@
</dl>
</div>
<a name="spirit.qi.reference.auxiliary.attr.expression_semantics"></a><h6>
-<a name="id921755"></a>
+<a name="id904464"></a>
<a class="link" href="attr.html#spirit.qi.reference.auxiliary.attr.expression_semantics">Expression
Semantics</a>
</h6>
@@ -134,7 +128,7 @@
</tr></tbody>
</table></div>
<a name="spirit.qi.reference.auxiliary.attr.attributes"></a><h6>
-<a name="id921859"></a>
+<a name="id905666"></a>
<a class="link" href="attr.html#spirit.qi.reference.auxiliary.attr.attributes">Attributes</a>
</h6>
<div class="informaltable"><table class="table">
@@ -168,24 +162,18 @@
</tr></tbody>
</table></div>
<a name="spirit.qi.reference.auxiliary.attr.complexity"></a><h6>
-<a name="id921963"></a>
+<a name="id905758"></a>
<a class="link" href="attr.html#spirit.qi.reference.auxiliary.attr.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- O(1)
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ O(1)
+ </p></blockquote></div>
<p>
The complexity is constant as no input is consumed and no matching is
done.
</p>
<a name="spirit.qi.reference.auxiliary.attr.example"></a><h6>
-<a name="id921991"></a>
+<a name="id905782"></a>
<a class="link" href="attr.html#spirit.qi.reference.auxiliary.attr.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -202,24 +190,18 @@
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">phx</span> <span class="special">=</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">phoenix</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">attr</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Using <code class="computeroutput"><span class="identifier">attr</span></code> with literals:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">str</span><span class="special">;</span>
<span class="identifier">test_parser_attr</span><span class="special">(</span><span class="string">""</span><span class="special">,</span> <span class="identifier">attr</span><span class="special">(</span><span class="string">"boost"</span><span class="special">),</span> <span class="identifier">str</span><span class="special">);</span>
@@ -230,16 +212,12 @@
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">d</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span> <span class="comment">// will print '1.0'
</span></pre>
<p>
- </p>
-<p>
</p>
<p>
Using <code class="computeroutput"><span class="identifier">attr</span></code> with Phoenix function objects:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">d</span> <span class="special">=</span> <span class="number">0.0</span><span class="special">;</span>
<span class="keyword">double</span> <span class="identifier">d1</span> <span class="special">=</span> <span class="number">1.2</span><span class="special">;</span>
@@ -247,8 +225,6 @@
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">d</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span> <span class="comment">// will print '1.2'
</span></pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/auxiliary/attr_cast.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/auxiliary/attr_cast.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/auxiliary/attr_cast.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
Transformation Pseudo Generator (<code class="computeroutput"><span class="identifier">attr_cast</span></code>)</a>
</h5></div></div></div>
<a name="spirit.qi.reference.auxiliary.attr_cast.description"></a><h6>
-<a name="id922507"></a>
+<a name="id906287"></a>
<a class="link" href="attr_cast.html#spirit.qi.reference.auxiliary.attr_cast.description">Description</a>
</h6>
<p>
@@ -41,7 +41,7 @@
component using the customization point <a class="link" href="../../../advanced/customize/transform.html" title="Transform an Attribute to a Different Type (Qi and Karma)"><code class="computeroutput"><span class="identifier">transform_attribute</span></code></a>.
</p>
<a name="spirit.qi.reference.auxiliary.attr_cast.header"></a><h6>
-<a name="id922574"></a>
+<a name="id906354"></a>
<a class="link" href="attr_cast.html#spirit.qi.reference.auxiliary.attr_cast.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/auxiliary/attr_cast.hpp>
@@ -51,7 +51,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.qi.reference.auxiliary.attr_cast.namespace"></a><h6>
-<a name="id922648"></a>
+<a name="id906428"></a>
<a class="link" href="attr_cast.html#spirit.qi.reference.auxiliary.attr_cast.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -69,14 +69,14 @@
</td></tr></tbody>
</table></div>
<a name="spirit.qi.reference.auxiliary.attr_cast.synopsis"></a><h6>
-<a name="id922728"></a>
+<a name="id906508"></a>
<a class="link" href="attr_cast.html#spirit.qi.reference.auxiliary.attr_cast.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="identifier">Exposed</span><span class="special">,</span> <span class="identifier">Transformed</span><span class="special">></span>
<span class="special"><</span><span class="identifier">unspecified</span><span class="special">></span> <span class="identifier">attr_cast</span><span class="special">(<</span><span class="identifier">unspecified</span><span class="special">>);</span>
</pre>
<a name="spirit.qi.reference.auxiliary.attr_cast.template_parameters"></a><h6>
-<a name="id922800"></a>
+<a name="id906580"></a>
<a class="link" href="attr_cast.html#spirit.qi.reference.auxiliary.attr_cast.template_parameters">Template
parameters</a>
</h6>
@@ -154,19 +154,13 @@
not explicitly specified.
</p>
<a name="spirit.qi.reference.auxiliary.attr_cast.model_of"></a><h6>
-<a name="id923038"></a>
+<a name="id906818"></a>
<a class="link" href="attr_cast.html#spirit.qi.reference.auxiliary.attr_cast.model_of">Model
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../parser_concepts/unaryparser.html" title="UnaryParser"><code class="computeroutput"><span class="identifier">UnaryParser</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../parser_concepts/unaryparser.html" title="UnaryParser"><code class="computeroutput"><span class="identifier">UnaryParser</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -177,7 +171,7 @@
</dl>
</div>
<a name="spirit.qi.reference.auxiliary.attr_cast.expression_semantics"></a><h6>
-<a name="id923101"></a>
+<a name="id906877"></a>
<a class="link" href="attr_cast.html#spirit.qi.reference.auxiliary.attr_cast.expression_semantics">Expression
Semantics</a>
</h6>
@@ -259,7 +253,7 @@
</tbody>
</table></div>
<a name="spirit.qi.reference.auxiliary.attr_cast.attributes"></a><h6>
-<a name="id923410"></a>
+<a name="id907187"></a>
<a class="link" href="attr_cast.html#spirit.qi.reference.auxiliary.attr_cast.attributes">Attributes</a>
</h6>
<div class="informaltable"><table class="table">
@@ -330,21 +324,15 @@
</tbody>
</table></div>
<a name="spirit.qi.reference.auxiliary.attr_cast.complexity"></a><h6>
-<a name="id923734"></a>
+<a name="id907511"></a>
<a class="link" href="attr_cast.html#spirit.qi.reference.auxiliary.attr_cast.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- The complexity of this component is fully defined by the complexity
- of the embedded parser <code class="computeroutput"><span class="identifier">p</span></code>.
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ The complexity of this component is fully defined by the complexity
+ of the embedded parser <code class="computeroutput"><span class="identifier">p</span></code>.
+ </p></blockquote></div>
<a name="spirit.qi.reference.auxiliary.attr_cast.example"></a><h6>
-<a name="id923766"></a>
+<a name="id907538"></a>
<a class="link" href="attr_cast.html#spirit.qi.reference.auxiliary.attr_cast.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -361,24 +349,18 @@
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">int_</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
The example references data structure <code class="computeroutput"><span class="identifier">int_data</span></code>
which needs a specialization of the customization point <a class="link" href="../../../advanced/customize/transform.html" title="Transform an Attribute to a Different Type (Qi and Karma)"><code class="computeroutput"><span class="identifier">transform_attribute</span></code></a>:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="comment">// this is just a test structure we want to use in place of an int
</span><span class="keyword">struct</span> <span class="identifier">int_data</span>
@@ -403,25 +385,19 @@
<span class="special">}}}</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Now we use the <code class="computeroutput"><span class="identifier">attr_cast</span></code>
pseudo parser to invoke the attribute transformation:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">int_data</span> <span class="identifier">d</span> <span class="special">=</span> <span class="special">{</span> <span class="number">0</span> <span class="special">};</span>
<span class="identifier">test_parser_attr</span><span class="special">(</span><span class="string">"1"</span><span class="special">,</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">attr_cast</span><span class="special">(</span><span class="identifier">int_</span><span class="special">),</span> <span class="identifier">d</span><span class="special">);</span>
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">d</span><span class="special">.</span><span class="identifier">i</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/auxiliary/eoi.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/auxiliary/eoi.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/auxiliary/eoi.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
(<code class="computeroutput"><span class="identifier">eoi</span></code>)</a>
</h5></div></div></div>
<a name="spirit.qi.reference.auxiliary.eoi.description"></a><h6>
-<a name="id926091"></a>
+<a name="id908678"></a>
<a class="link" href="eoi.html#spirit.qi.reference.auxiliary.eoi.description">Description</a>
</h6>
<p>
@@ -37,7 +37,7 @@
is exhausted)
</p>
<a name="spirit.qi.reference.auxiliary.eoi.header"></a><h6>
-<a name="id926115"></a>
+<a name="id908702"></a>
<a class="link" href="eoi.html#spirit.qi.reference.auxiliary.eoi.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/auxiliary/eoi.hpp>
@@ -47,7 +47,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.qi.reference.auxiliary.eoi.namespace"></a><h6>
-<a name="id926189"></a>
+<a name="id908776"></a>
<a class="link" href="eoi.html#spirit.qi.reference.auxiliary.eoi.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -65,20 +65,14 @@
</td></tr></tbody>
</table></div>
<a name="spirit.qi.reference.auxiliary.eoi.model_of"></a><h6>
-<a name="id926267"></a>
+<a name="id908854"></a>
<a class="link" href="eoi.html#spirit.qi.reference.auxiliary.eoi.model_of">Model of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../parser_concepts/primitiveparser.html" title="PrimitiveParser"><code class="computeroutput"><span class="identifier">PrimitiveParser</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../parser_concepts/primitiveparser.html" title="PrimitiveParser"><code class="computeroutput"><span class="identifier">PrimitiveParser</span></code></a>
+ </p></blockquote></div>
<a name="spirit.qi.reference.auxiliary.eoi.expression_semantics"></a><h6>
-<a name="id926301"></a>
+<a name="id908884"></a>
<a class="link" href="eoi.html#spirit.qi.reference.auxiliary.eoi.expression_semantics">Expression
Semantics</a>
</h6>
@@ -117,7 +111,7 @@
</tr></tbody>
</table></div>
<a name="spirit.qi.reference.auxiliary.eoi.attributes"></a><h6>
-<a name="id926387"></a>
+<a name="id908970"></a>
<a class="link" href="eoi.html#spirit.qi.reference.auxiliary.eoi.attributes">Attributes</a>
</h6>
<div class="informaltable"><table class="table">
@@ -151,20 +145,14 @@
</tr></tbody>
</table></div>
<a name="spirit.qi.reference.auxiliary.eoi.complexity"></a><h6>
-<a name="id926468"></a>
+<a name="id909051"></a>
<a class="link" href="eoi.html#spirit.qi.reference.auxiliary.eoi.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- O(1)
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ O(1)
+ </p></blockquote></div>
<a name="spirit.qi.reference.auxiliary.eoi.example"></a><h6>
-<a name="id926492"></a>
+<a name="id909071"></a>
<a class="link" href="eoi.html#spirit.qi.reference.auxiliary.eoi.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -181,29 +169,21 @@
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">eoi</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Using <code class="computeroutput"><span class="identifier">eoi</span></code>:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_parser</span><span class="special">(</span><span class="string">""</span><span class="special">,</span> <span class="identifier">eoi</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/auxiliary/eol.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/auxiliary/eol.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/auxiliary/eol.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -27,7 +27,7 @@
<a name="spirit.qi.reference.auxiliary.eol"></a><a class="link" href="eol.html" title="End of Line (eol)"> End of Line (<code class="computeroutput"><span class="identifier">eol</span></code>)</a>
</h5></div></div></div>
<a name="spirit.qi.reference.auxiliary.eol.description"></a><h6>
-<a name="id925552"></a>
+<a name="id908153"></a>
<a class="link" href="eol.html#spirit.qi.reference.auxiliary.eol.description">Description</a>
</h6>
<p>
@@ -35,7 +35,7 @@
the end of line (CR/LF and combinations thereof).
</p>
<a name="spirit.qi.reference.auxiliary.eol.header"></a><h6>
-<a name="id925576"></a>
+<a name="id908177"></a>
<a class="link" href="eol.html#spirit.qi.reference.auxiliary.eol.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/auxiliary/eol.hpp>
@@ -45,7 +45,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.qi.reference.auxiliary.eol.namespace"></a><h6>
-<a name="id925650"></a>
+<a name="id908252"></a>
<a class="link" href="eol.html#spirit.qi.reference.auxiliary.eol.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -63,20 +63,14 @@
</td></tr></tbody>
</table></div>
<a name="spirit.qi.reference.auxiliary.eol.model_of"></a><h6>
-<a name="id925728"></a>
+<a name="id908330"></a>
<a class="link" href="eol.html#spirit.qi.reference.auxiliary.eol.model_of">Model of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../parser_concepts/primitiveparser.html" title="PrimitiveParser"><code class="computeroutput"><span class="identifier">PrimitiveParser</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../parser_concepts/primitiveparser.html" title="PrimitiveParser"><code class="computeroutput"><span class="identifier">PrimitiveParser</span></code></a>
+ </p></blockquote></div>
<a name="spirit.qi.reference.auxiliary.eol.expression_semantics"></a><h6>
-<a name="id925762"></a>
+<a name="id908360"></a>
<a class="link" href="eol.html#spirit.qi.reference.auxiliary.eol.expression_semantics">Expression
Semantics</a>
</h6>
@@ -115,7 +109,7 @@
</tr></tbody>
</table></div>
<a name="spirit.qi.reference.auxiliary.eol.attributes"></a><h6>
-<a name="id925848"></a>
+<a name="id908446"></a>
<a class="link" href="eol.html#spirit.qi.reference.auxiliary.eol.attributes">Attributes</a>
</h6>
<div class="informaltable"><table class="table">
@@ -149,20 +143,14 @@
</tr></tbody>
</table></div>
<a name="spirit.qi.reference.auxiliary.eol.complexity"></a><h6>
-<a name="id925929"></a>
+<a name="id908526"></a>
<a class="link" href="eol.html#spirit.qi.reference.auxiliary.eol.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- O(1)
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ O(1)
+ </p></blockquote></div>
<a name="spirit.qi.reference.auxiliary.eol.example"></a><h6>
-<a name="id925953"></a>
+<a name="id908547"></a>
<a class="link" href="eol.html#spirit.qi.reference.auxiliary.eol.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -179,29 +167,21 @@
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">eol</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Using <code class="computeroutput"><span class="identifier">eol</span></code>:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_parser</span><span class="special">(</span><span class="string">"\n"</span><span class="special">,</span> <span class="identifier">eol</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/auxiliary/eps.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/auxiliary/eps.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/auxiliary/eps.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -27,7 +27,7 @@
<a name="spirit.qi.reference.auxiliary.eps"></a><a class="link" href="eps.html" title="Epsilon (eps)"> Epsilon (<code class="computeroutput"><span class="identifier">eps</span></code>)</a>
</h5></div></div></div>
<a name="spirit.qi.reference.auxiliary.eps.description"></a><h6>
-<a name="id926630"></a>
+<a name="id909202"></a>
<a class="link" href="eps.html#spirit.qi.reference.auxiliary.eps.description">Description</a>
</h6>
<p>
@@ -35,7 +35,7 @@
a multi-purpose parser that returns a zero length match.
</p>
<a name="spirit.qi.reference.auxiliary.eps.simple_form"></a><h6>
-<a name="id926654"></a>
+<a name="id909226"></a>
<a class="link" href="eps.html#spirit.qi.reference.auxiliary.eps.simple_form">Simple
Form</a>
</h6>
@@ -53,7 +53,7 @@
<pre class="programlisting"><span class="identifier">r</span> <span class="special">=</span> <span class="identifier">a</span> <span class="special">|</span> <span class="identifier">b</span> <span class="special">|</span> <span class="identifier">c</span> <span class="special">|</span> <span class="identifier">eps</span><span class="special">[</span><span class="identifier">error</span><span class="special">()];</span> <span class="comment">// Call error if a, b, and c fail to match
</span></pre>
<a name="spirit.qi.reference.auxiliary.eps.semantic_predicate"></a><h6>
-<a name="id926754"></a>
+<a name="id909327"></a>
<a class="link" href="eps.html#spirit.qi.reference.auxiliary.eps.semantic_predicate">Semantic
Predicate</a>
</h6>
@@ -78,7 +78,7 @@
touching rest.
</p>
<a name="spirit.qi.reference.auxiliary.eps.header"></a><h6>
-<a name="id926862"></a>
+<a name="id909435"></a>
<a class="link" href="eps.html#spirit.qi.reference.auxiliary.eps.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/auxiliary/eps.hpp>
@@ -88,7 +88,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.qi.reference.auxiliary.eps.namespace"></a><h6>
-<a name="id926937"></a>
+<a name="id909509"></a>
<a class="link" href="eps.html#spirit.qi.reference.auxiliary.eps.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -106,18 +106,12 @@
</td></tr></tbody>
</table></div>
<a name="spirit.qi.reference.auxiliary.eps.model_of"></a><h6>
-<a name="id927015"></a>
+<a name="id909587"></a>
<a class="link" href="eps.html#spirit.qi.reference.auxiliary.eps.model_of">Model of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../parser_concepts/primitiveparser.html" title="PrimitiveParser"><code class="computeroutput"><span class="identifier">PrimitiveParser</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../parser_concepts/primitiveparser.html" title="PrimitiveParser"><code class="computeroutput"><span class="identifier">PrimitiveParser</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -129,7 +123,7 @@
</dl>
</div>
<a name="spirit.qi.reference.auxiliary.eps.expression_semantics"></a><h6>
-<a name="id927087"></a>
+<a name="id909656"></a>
<a class="link" href="eps.html#spirit.qi.reference.auxiliary.eps.expression_semantics">Expression
Semantics</a>
</h6>
@@ -184,7 +178,7 @@
</tbody>
</table></div>
<a name="spirit.qi.reference.auxiliary.eps.attributes"></a><h6>
-<a name="id927224"></a>
+<a name="id909792"></a>
<a class="link" href="eps.html#spirit.qi.reference.auxiliary.eps.attributes">Attributes</a>
</h6>
<div class="informaltable"><table class="table">
@@ -218,22 +212,16 @@
</tr></tbody>
</table></div>
<a name="spirit.qi.reference.auxiliary.eps.complexity"></a><h6>
-<a name="id927304"></a>
+<a name="id909873"></a>
<a class="link" href="eps.html#spirit.qi.reference.auxiliary.eps.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- For plain (<code class="computeroutput"><span class="identifier">eps</span></code>) the
- complexity is O(1). For Semantic predicates (<code class="computeroutput"><span class="identifier">eps</span><span class="special">(</span><span class="identifier">f</span><span class="special">)</span></code>) the complexity is defined by the
- function <code class="computeroutput"><span class="identifier">f</span></code>.
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ For plain (<code class="computeroutput"><span class="identifier">eps</span></code>) the
+ complexity is O(1). For Semantic predicates (<code class="computeroutput"><span class="identifier">eps</span><span class="special">(</span><span class="identifier">f</span><span class="special">)</span></code>) the complexity is defined by the
+ function <code class="computeroutput"><span class="identifier">f</span></code>.
+ </p></blockquote></div>
<a name="spirit.qi.reference.auxiliary.eps.example"></a><h6>
-<a name="id927362"></a>
+<a name="id909927"></a>
<a class="link" href="eps.html#spirit.qi.reference.auxiliary.eps.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -250,9 +238,7 @@
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">eps</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">int_</span><span class="special">;</span>
@@ -260,65 +246,43 @@
<span class="keyword">namespace</span> <span class="identifier">phx</span> <span class="special">=</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">phoenix</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
- </p>
-<p>
- Basic <code class="computeroutput"><span class="identifier">eps</span></code>:
- </p>
-<p>
- </p>
+ Basic <code class="computeroutput"><span class="identifier">eps</span></code>:
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_parser</span><span class="special">(</span><span class="string">""</span><span class="special">,</span> <span class="identifier">eps</span><span class="special">);</span> <span class="comment">// always matches
</span></pre>
<p>
- </p>
-<p>
</p>
<p>
- </p>
-<p>
- This example simulates the "classic" <code class="computeroutput"><span class="identifier">if_p</span></code>
- parser. Here, <code class="computeroutput"><span class="identifier">int_</span></code>
- will be tried only if the condition, <code class="computeroutput"><span class="identifier">c</span></code>,
- is true.
- </p>
-<p>
- </p>
+ This example simulates the "classic" <code class="computeroutput"><span class="identifier">if_p</span></code>
+ parser. Here, <code class="computeroutput"><span class="identifier">int_</span></code> will
+ be tried only if the condition, <code class="computeroutput"><span class="identifier">c</span></code>,
+ is true.
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">bool</span> <span class="identifier">c</span> <span class="special">=</span> <span class="keyword">true</span><span class="special">;</span> <span class="comment">// a flag
</span><span class="identifier">test_parser</span><span class="special">(</span><span class="string">"1234"</span><span class="special">,</span> <span class="identifier">eps</span><span class="special">(</span><span class="identifier">phx</span><span class="special">::</span><span class="identifier">ref</span><span class="special">(</span><span class="identifier">c</span><span class="special">)</span> <span class="special">==</span> <span class="keyword">true</span><span class="special">)</span> <span class="special">>></span> <span class="identifier">int_</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
- </p>
-<p>
- This example simulates the "classic" <code class="computeroutput"><span class="identifier">while_p</span></code>
- parser. Here, the kleene loop will exit once the condition, <code class="computeroutput"><span class="identifier">c</span></code>, becomes true. Notice that the
- condition, <code class="computeroutput"><span class="identifier">c</span></code>, is turned
- to <code class="computeroutput"><span class="keyword">false</span></code> when we get to
- parse <code class="computeroutput"><span class="number">4</span></code>.
- </p>
-<p>
- </p>
+ This example simulates the "classic" <code class="computeroutput"><span class="identifier">while_p</span></code>
+ parser. Here, the kleene loop will exit once the condition, <code class="computeroutput"><span class="identifier">c</span></code>, becomes true. Notice that the condition,
+ <code class="computeroutput"><span class="identifier">c</span></code>, is turned to <code class="computeroutput"><span class="keyword">false</span></code> when we get to parse <code class="computeroutput"><span class="number">4</span></code>.
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_phrase_parser</span><span class="special">(</span><span class="string">"1 2 3 4"</span><span class="special">,</span>
<span class="special">*(</span><span class="identifier">eps</span><span class="special">(</span><span class="identifier">phx</span><span class="special">::</span><span class="identifier">ref</span><span class="special">(</span><span class="identifier">c</span><span class="special">)</span> <span class="special">==</span> <span class="keyword">true</span><span class="special">)</span> <span class="special">>></span> <span class="identifier">int_</span><span class="special">[</span><span class="identifier">phx</span><span class="special">::</span><span class="identifier">ref</span><span class="special">(</span><span class="identifier">c</span><span class="special">)</span> <span class="special">=</span> <span class="special">(</span><span class="identifier">_1</span> <span class="special">==</span> <span class="number">4</span><span class="special">)]));</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/auxiliary/lazy.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/auxiliary/lazy.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/auxiliary/lazy.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -27,7 +27,7 @@
<a name="spirit.qi.reference.auxiliary.lazy"></a><a class="link" href="lazy.html" title="Lazy (lazy)"> Lazy (<code class="computeroutput"><span class="identifier">lazy</span></code>)</a>
</h5></div></div></div>
<a name="spirit.qi.reference.auxiliary.lazy.description"></a><h6>
-<a name="id928049"></a>
+<a name="id911691"></a>
<a class="link" href="lazy.html#spirit.qi.reference.auxiliary.lazy.description">Description</a>
</h6>
<p>
@@ -37,7 +37,7 @@
once it is created to continue the parse.
</p>
<a name="spirit.qi.reference.auxiliary.lazy.header"></a><h6>
-<a name="id928079"></a>
+<a name="id911721"></a>
<a class="link" href="lazy.html#spirit.qi.reference.auxiliary.lazy.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/auxiliary/lazy.hpp>
@@ -47,7 +47,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.qi.reference.auxiliary.lazy.namespace"></a><h6>
-<a name="id928154"></a>
+<a name="id911796"></a>
<a class="link" href="lazy.html#spirit.qi.reference.auxiliary.lazy.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -65,18 +65,12 @@
</td></tr></tbody>
</table></div>
<a name="spirit.qi.reference.auxiliary.lazy.model_of"></a><h6>
-<a name="id928232"></a>
+<a name="id911874"></a>
<a class="link" href="lazy.html#spirit.qi.reference.auxiliary.lazy.model_of">Model of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../parser_concepts/parser.html" title="Parser"><code class="computeroutput"><span class="identifier">Parser</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../parser_concepts/parser.html" title="Parser"><code class="computeroutput"><span class="identifier">Parser</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -88,7 +82,7 @@
</dl>
</div>
<a name="spirit.qi.reference.auxiliary.lazy.expression_semantics"></a><h6>
-<a name="id928306"></a>
+<a name="id911945"></a>
<a class="link" href="lazy.html#spirit.qi.reference.auxiliary.lazy.expression_semantics">Expression
Semantics</a>
</h6>
@@ -151,7 +145,7 @@
</tbody>
</table></div>
<a name="spirit.qi.reference.auxiliary.lazy.attributes"></a><h6>
-<a name="id928501"></a>
+<a name="id912139"></a>
<a class="link" href="lazy.html#spirit.qi.reference.auxiliary.lazy.attributes">Attributes</a>
</h6>
<div class="informaltable"><table class="table">
@@ -199,7 +193,7 @@
</tbody>
</table></div>
<a name="spirit.qi.reference.auxiliary.lazy.complexity"></a><h6>
-<a name="id928624"></a>
+<a name="id912263"></a>
<a class="link" href="lazy.html#spirit.qi.reference.auxiliary.lazy.complexity">Complexity</a>
</h6>
<p>
@@ -207,7 +201,7 @@
parser is determined by the complexity of the parser returned from <code class="computeroutput"><span class="identifier">fp</span></code>.
</p>
<a name="spirit.qi.reference.auxiliary.lazy.example"></a><h6>
-<a name="id928655"></a>
+<a name="id912294"></a>
<a class="link" href="lazy.html#spirit.qi.reference.auxiliary.lazy.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -224,52 +218,38 @@
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">lazy</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">ascii</span><span class="special">::</span><span class="identifier">string</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">phoenix</span><span class="special">::</span><span class="identifier">val</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Using <code class="computeroutput"><span class="identifier">lazy</span></code>:
</p>
<p>
- </p>
-<p>
- Here, the phoenix::val expression creates a function that returns its
- argument when invoked. The lazy expression defers the invocation of
- this function at parse time. Then, this parser (string parser) is called
- into action. All this takes place at parse time.
- </p>
-<p>
- </p>
+ Here, the phoenix::val expression creates a function that returns its
+ argument when invoked. The lazy expression defers the invocation of this
+ function at parse time. Then, this parser (string parser) is called into
+ action. All this takes place at parse time.
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_parser</span><span class="special">(</span><span class="string">"Hello"</span><span class="special">,</span> <span class="identifier">lazy</span><span class="special">(</span><span class="identifier">val</span><span class="special">(</span><span class="identifier">string</span><span class="special">(</span><span class="string">"Hello"</span><span class="special">))));</span></pre>
<p>
- </p>
-<p>
- </p>
-<p>
- The above is equivalent to:
- </p>
+ </p>
<p>
- </p>
+ The above is equivalent to:
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_parser</span><span class="special">(</span><span class="string">"Hello"</span><span class="special">,</span> <span class="identifier">val</span><span class="special">(</span><span class="identifier">string</span><span class="special">(</span><span class="string">"Hello"</span><span class="special">)));</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/basics.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/basics.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/basics.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -27,7 +27,7 @@
<a name="spirit.qi.reference.basics"></a><a class="link" href="basics.html" title="Basics">Basics</a>
</h4></div></div></div>
<a name="spirit.qi.reference.basics.lazy_argument"></a><h6>
-<a name="id905198"></a>
+<a name="id888328"></a>
<a class="link" href="basics.html#spirit.qi.reference.basics.lazy_argument">Lazy Argument</a>
</h6>
<p>
@@ -51,7 +51,7 @@
second argument. This is done for uniformity with Semantic Actions).
</p>
<a name="spirit.qi.reference.basics.character_encoding_namespace"></a><h6>
-<a name="id905335"></a>
+<a name="id888464"></a>
<a class="link" href="basics.html#spirit.qi.reference.basics.character_encoding_namespace">Character
Encoding Namespace</a>
</h6>
@@ -81,17 +81,17 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- boost::spirit::ascii
- </li>
+ boost::spirit::ascii
+ </li>
<li class="listitem">
- boost::spirit::iso8859_1
- </li>
+ boost::spirit::iso8859_1
+ </li>
<li class="listitem">
- boost::spirit::standard
- </li>
+ boost::spirit::standard
+ </li>
<li class="listitem">
- boost::spirit::standard_wide
- </li>
+ boost::spirit::standard_wide
+ </li>
</ul></div>
<p>
For ease of use, the components in this namespaces are also brought into
@@ -99,20 +99,20 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- boost::spirit::qi::ascii
- </li>
+ boost::spirit::qi::ascii
+ </li>
<li class="listitem">
- boost::spirit::qi::iso8859_1
- </li>
+ boost::spirit::qi::iso8859_1
+ </li>
<li class="listitem">
- boost::spirit::qi::standard
- </li>
+ boost::spirit::qi::standard
+ </li>
<li class="listitem">
- boost::spirit::qi::standard_wide
- </li>
+ boost::spirit::qi::standard_wide
+ </li>
</ul></div>
<a name="spirit.qi.reference.basics.examples"></a><h6>
-<a name="id905518"></a>
+<a name="id888679"></a>
<a class="link" href="basics.html#spirit.qi.reference.basics.examples">Examples</a>
</h6>
<p>
@@ -124,9 +124,7 @@
Some includes:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">qi</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">phoenix_core</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
@@ -137,8 +135,6 @@
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">cstdlib</span><span class="special">></span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Our test functions:
@@ -147,9 +143,7 @@
These functions test the parsers without attributes.
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">P</span><span class="special">></span>
<span class="keyword">void</span> <span class="identifier">test_parser</span><span class="special">(</span>
@@ -181,16 +175,12 @@
<span class="special">}</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
These functions test the parsers with user supplied attributes.
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">P</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span>
<span class="keyword">void</span> <span class="identifier">test_parser_attr</span><span class="special">(</span>
@@ -222,8 +212,6 @@
<span class="special">}</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
The <code class="computeroutput"><span class="identifier">print_info</span></code> utility
@@ -231,9 +219,7 @@
class.
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">struct</span> <span class="identifier">printer</span>
<span class="special">{</span>
@@ -261,15 +247,13 @@
<span class="special">}</span>
</pre>
<p>
- </p>
-<p>
</p>
<a name="spirit.qi.reference.basics.string"></a><h6>
-<a name="id908134"></a>
+<a name="id892372"></a>
<a class="link" href="basics.html#spirit.qi.reference.basics.string">String</a>
</h6>
<a name="spirit.qi.reference.basics.header"></a><h6>
-<a name="id908147"></a>
+<a name="id892386"></a>
<a class="link" href="basics.html#spirit.qi.reference.basics.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/support/string_traits.hpp>
@@ -370,7 +354,7 @@
</tbody>
</table></div>
<a name="spirit.qi.reference.basics.models"></a><h6>
-<a name="id908627"></a>
+<a name="id892866"></a>
<a class="link" href="basics.html#spirit.qi.reference.basics.models">Models</a>
</h6>
<p>
@@ -378,14 +362,14 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- any literal string, e.g. "Hello, World",
- </li>
+ any literal string, e.g. "Hello, World",
+ </li>
<li class="listitem">
- a pointer/reference to a null-terminated array of characters
- </li>
+ a pointer/reference to a null-terminated array of characters
+ </li>
<li class="listitem">
- a <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_string</span><span class="special"><</span><span class="identifier">Char</span><span class="special">></span></code>
-</li>
+ a <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_string</span><span class="special"><</span><span class="identifier">Char</span><span class="special">></span></code>
+ </li>
</ul></div>
<p>
The namespace <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">traits</span></code> is open for users to provide their
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/binary.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/binary.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/binary.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -41,7 +41,7 @@
input.
</p>
<a name="spirit.qi.reference.binary.module_header"></a><h6>
-<a name="id928931"></a>
+<a name="id912563"></a>
<a class="link" href="binary.html#spirit.qi.reference.binary.module_header">Module Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/binary.hpp>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/binary/binary_big.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/binary/binary_big.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/binary/binary_big.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
Endian</a>
</h5></div></div></div>
<a name="spirit.qi.reference.binary.binary_big.description"></a><h6>
-<a name="id937050"></a>
+<a name="id918469"></a>
<a class="link" href="binary_big.html#spirit.qi.reference.binary.binary_big.description">Description</a>
</h6>
<p>
@@ -36,7 +36,7 @@
are laid out in big endian.
</p>
<a name="spirit.qi.reference.binary.binary_big.header"></a><h6>
-<a name="id937067"></a>
+<a name="id918486"></a>
<a class="link" href="binary_big.html#spirit.qi.reference.binary.binary_big.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/binary.hpp>
@@ -46,7 +46,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.qi.reference.binary.binary_big.namespace"></a><h6>
-<a name="id937141"></a>
+<a name="id918561"></a>
<a class="link" href="binary_big.html#spirit.qi.reference.binary.binary_big.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -90,19 +90,13 @@
</p></td></tr>
</table></div>
<a name="spirit.qi.reference.binary.binary_big.model_of"></a><h6>
-<a name="id937336"></a>
+<a name="id918755"></a>
<a class="link" href="binary_big.html#spirit.qi.reference.binary.binary_big.model_of">Model
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../parser_concepts/primitiveparser.html" title="PrimitiveParser"><code class="computeroutput"><span class="identifier">PrimitiveParser</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../parser_concepts/primitiveparser.html" title="PrimitiveParser"><code class="computeroutput"><span class="identifier">PrimitiveParser</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -127,7 +121,7 @@
</dl>
</div>
<a name="spirit.qi.reference.binary.binary_big.expression_semantics"></a><h6>
-<a name="id937451"></a>
+<a name="id918867"></a>
<a class="link" href="binary_big.html#spirit.qi.reference.binary.binary_big.expression_semantics">Expression
Semantics</a>
</h6>
@@ -228,7 +222,7 @@
</tbody>
</table></div>
<a name="spirit.qi.reference.binary.binary_big.attributes"></a><h6>
-<a name="id937698"></a>
+<a name="id919114"></a>
<a class="link" href="binary_big.html#spirit.qi.reference.binary.binary_big.attributes">Attributes</a>
</h6>
<div class="informaltable"><table class="table">
@@ -324,20 +318,14 @@
</tbody>
</table></div>
<a name="spirit.qi.reference.binary.binary_big.complexity"></a><h6>
-<a name="id937994"></a>
+<a name="id919410"></a>
<a class="link" href="binary_big.html#spirit.qi.reference.binary.binary_big.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- O(N), where N is the number of bytes parsed
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ O(N), where N is the number of bytes parsed
+ </p></blockquote></div>
<a name="spirit.qi.reference.binary.binary_big.example"></a><h6>
-<a name="id938018"></a>
+<a name="id919431"></a>
<a class="link" href="binary_big.html#spirit.qi.reference.binary.binary_big.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -351,14 +339,10 @@
</p></td></tr>
</table></div>
<p>
- </p>
-<p>
- Using declarations and variables:
- </p>
-<p>
- </p>
+ Using declarations and variables:
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">big_word</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">big_dword</span><span class="special">;</span>
@@ -369,16 +353,12 @@
<span class="identifier">boost</span><span class="special">::</span><span class="identifier">uint64_t</span> <span class="identifier">ul</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
- </p>
-<p>
- Basic usage of the big endian binary parsers:
- </p>
+ </p>
<p>
- </p>
+ Basic usage of the big endian binary parsers:
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_parser_attr</span><span class="special">(</span><span class="string">"\x01\x02"</span><span class="special">,</span> <span class="identifier">big_word</span><span class="special">,</span> <span class="identifier">us</span><span class="special">);</span> <span class="identifier">assert</span><span class="special">(</span><span class="identifier">us</span> <span class="special">==</span> <span class="number">0x0102</span><span class="special">);</span>
<span class="identifier">test_parser_attr</span><span class="special">(</span><span class="string">"\x01\x02\x03\x04"</span><span class="special">,</span> <span class="identifier">big_dword</span><span class="special">,</span> <span class="identifier">ui</span><span class="special">);</span> <span class="identifier">assert</span><span class="special">(</span><span class="identifier">ui</span> <span class="special">==</span> <span class="number">0x01020304</span><span class="special">);</span>
@@ -391,8 +371,6 @@
<span class="identifier">big_qword</span><span class="special">(</span><span class="number">0</span><span class="identifier">x0102030405060708LL</span><span class="special">));</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/binary/binary_little.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/binary/binary_little.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/binary/binary_little.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
Little Endian</a>
</h5></div></div></div>
<a name="spirit.qi.reference.binary.binary_little.description"></a><h6>
-<a name="id934487"></a>
+<a name="id915917"></a>
<a class="link" href="binary_little.html#spirit.qi.reference.binary.binary_little.description">Description</a>
</h6>
<p>
@@ -36,7 +36,7 @@
that are laid out in little endian.
</p>
<a name="spirit.qi.reference.binary.binary_little.header"></a><h6>
-<a name="id934504"></a>
+<a name="id915934"></a>
<a class="link" href="binary_little.html#spirit.qi.reference.binary.binary_little.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/binary.hpp>
@@ -46,7 +46,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.qi.reference.binary.binary_little.namespace"></a><h6>
-<a name="id934578"></a>
+<a name="id916009"></a>
<a class="link" href="binary_little.html#spirit.qi.reference.binary.binary_little.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -91,19 +91,13 @@
</p></td></tr>
</table></div>
<a name="spirit.qi.reference.binary.binary_little.model_of"></a><h6>
-<a name="id934773"></a>
+<a name="id916203"></a>
<a class="link" href="binary_little.html#spirit.qi.reference.binary.binary_little.model_of">Model
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../parser_concepts/primitiveparser.html" title="PrimitiveParser"><code class="computeroutput"><span class="identifier">PrimitiveParser</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../parser_concepts/primitiveparser.html" title="PrimitiveParser"><code class="computeroutput"><span class="identifier">PrimitiveParser</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -128,7 +122,7 @@
</dl>
</div>
<a name="spirit.qi.reference.binary.binary_little.expression_semantics"></a><h6>
-<a name="id934888"></a>
+<a name="id916315"></a>
<a class="link" href="binary_little.html#spirit.qi.reference.binary.binary_little.expression_semantics">Expression
Semantics</a>
</h6>
@@ -229,7 +223,7 @@
</tbody>
</table></div>
<a name="spirit.qi.reference.binary.binary_little.attributes"></a><h6>
-<a name="id935135"></a>
+<a name="id916562"></a>
<a class="link" href="binary_little.html#spirit.qi.reference.binary.binary_little.attributes">Attributes</a>
</h6>
<div class="informaltable"><table class="table">
@@ -325,20 +319,14 @@
</tbody>
</table></div>
<a name="spirit.qi.reference.binary.binary_little.complexity"></a><h6>
-<a name="id936524"></a>
+<a name="id917951"></a>
<a class="link" href="binary_little.html#spirit.qi.reference.binary.binary_little.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- O(N), where N is the number of bytes parsed
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ O(N), where N is the number of bytes parsed
+ </p></blockquote></div>
<a name="spirit.qi.reference.binary.binary_little.example"></a><h6>
-<a name="id936548"></a>
+<a name="id917971"></a>
<a class="link" href="binary_little.html#spirit.qi.reference.binary.binary_little.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -352,14 +340,10 @@
</p></td></tr>
</table></div>
<p>
- </p>
-<p>
- Using declarations and variables:
- </p>
-<p>
- </p>
+ Using declarations and variables:
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">little_word</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">little_dword</span><span class="special">;</span>
@@ -370,16 +354,12 @@
<span class="identifier">boost</span><span class="special">::</span><span class="identifier">uint64_t</span> <span class="identifier">ul</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
- </p>
-<p>
- Basic usage of the little endian binary parsers:
- </p>
+ </p>
<p>
- </p>
+ Basic usage of the little endian binary parsers:
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_parser_attr</span><span class="special">(</span><span class="string">"\x01\x02"</span><span class="special">,</span> <span class="identifier">little_word</span><span class="special">,</span> <span class="identifier">us</span><span class="special">);</span> <span class="identifier">assert</span><span class="special">(</span><span class="identifier">us</span> <span class="special">==</span> <span class="number">0x0201</span><span class="special">);</span>
<span class="identifier">test_parser_attr</span><span class="special">(</span><span class="string">"\x01\x02\x03\x04"</span><span class="special">,</span> <span class="identifier">little_dword</span><span class="special">,</span> <span class="identifier">ui</span><span class="special">);</span> <span class="identifier">assert</span><span class="special">(</span><span class="identifier">ui</span> <span class="special">==</span> <span class="number">0x04030201</span><span class="special">);</span>
@@ -392,8 +372,6 @@
<span class="identifier">little_qword</span><span class="special">(</span><span class="number">0</span><span class="identifier">x0807060504030201LL</span><span class="special">));</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/binary/binary_native.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/binary/binary_native.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/binary/binary_native.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
Native Endian</a>
</h5></div></div></div>
<a name="spirit.qi.reference.binary.binary_native.description"></a><h6>
-<a name="id929015"></a>
+<a name="id912647"></a>
<a class="link" href="binary_native.html#spirit.qi.reference.binary.binary_native.description">Description</a>
</h6>
<p>
@@ -37,7 +37,7 @@
of the target architecture.
</p>
<a name="spirit.qi.reference.binary.binary_native.header"></a><h6>
-<a name="id929037"></a>
+<a name="id912668"></a>
<a class="link" href="binary_native.html#spirit.qi.reference.binary.binary_native.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/binary.hpp>
@@ -47,7 +47,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.qi.reference.binary.binary_native.namespace"></a><h6>
-<a name="id929111"></a>
+<a name="id912743"></a>
<a class="link" href="binary_native.html#spirit.qi.reference.binary.binary_native.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -97,19 +97,13 @@
</p></td></tr>
</table></div>
<a name="spirit.qi.reference.binary.binary_native.model_of"></a><h6>
-<a name="id929343"></a>
+<a name="id912974"></a>
<a class="link" href="binary_native.html#spirit.qi.reference.binary.binary_native.model_of">Model
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../parser_concepts/primitiveparser.html" title="PrimitiveParser"><code class="computeroutput"><span class="identifier">PrimitiveParser</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../parser_concepts/primitiveparser.html" title="PrimitiveParser"><code class="computeroutput"><span class="identifier">PrimitiveParser</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -140,7 +134,7 @@
</dl>
</div>
<a name="spirit.qi.reference.binary.binary_native.expression_semantics"></a><h6>
-<a name="id929483"></a>
+<a name="id913111"></a>
<a class="link" href="binary_native.html#spirit.qi.reference.binary.binary_native.expression_semantics">Expression
Semantics</a>
</h6>
@@ -265,7 +259,7 @@
</tbody>
</table></div>
<a name="spirit.qi.reference.binary.binary_native.attributes"></a><h6>
-<a name="id933075"></a>
+<a name="id914512"></a>
<a class="link" href="binary_native.html#spirit.qi.reference.binary.binary_native.attributes">Attributes</a>
</h6>
<div class="informaltable"><table class="table">
@@ -385,20 +379,14 @@
</tbody>
</table></div>
<a name="spirit.qi.reference.binary.binary_native.complexity"></a><h6>
-<a name="id933454"></a>
+<a name="id914891"></a>
<a class="link" href="binary_native.html#spirit.qi.reference.binary.binary_native.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- O(N), where N is the number of bytes parsed
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ O(N), where N is the number of bytes parsed
+ </p></blockquote></div>
<a name="spirit.qi.reference.binary.binary_native.example"></a><h6>
-<a name="id933478"></a>
+<a name="id914912"></a>
<a class="link" href="binary_native.html#spirit.qi.reference.binary.binary_native.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -412,14 +400,10 @@
</p></td></tr>
</table></div>
<p>
- </p>
-<p>
- Using declarations and variables:
- </p>
-<p>
- </p>
+ Using declarations and variables:
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">byte_</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">word</span><span class="special">;</span>
@@ -432,16 +416,12 @@
<span class="identifier">boost</span><span class="special">::</span><span class="identifier">uint64_t</span> <span class="identifier">ul</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
- </p>
-<p>
- Basic usage of the native binary parsers for little endian platforms:
- </p>
+ </p>
<p>
- </p>
+ Basic usage of the native binary parsers for little endian platforms:
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_parser_attr</span><span class="special">(</span><span class="string">"\x01"</span><span class="special">,</span> <span class="identifier">byte_</span><span class="special">,</span> <span class="identifier">uc</span><span class="special">);</span> <span class="identifier">assert</span><span class="special">(</span><span class="identifier">uc</span> <span class="special">==</span> <span class="number">0x01</span><span class="special">);</span>
<span class="identifier">test_parser_attr</span><span class="special">(</span><span class="string">"\x01\x02"</span><span class="special">,</span> <span class="identifier">word</span><span class="special">,</span> <span class="identifier">us</span><span class="special">);</span> <span class="identifier">assert</span><span class="special">(</span><span class="identifier">us</span> <span class="special">==</span> <span class="number">0x0201</span><span class="special">);</span>
@@ -456,16 +436,12 @@
<span class="identifier">qword</span><span class="special">(</span><span class="number">0</span><span class="identifier">x0807060504030201LL</span><span class="special">));</span>
</pre>
<p>
- </p>
-<p>
- </p>
-<p>
- Basic usage of the native binary parsers for big endian platforms:
- </p>
+ </p>
<p>
- </p>
+ Basic usage of the native binary parsers for big endian platforms:
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_parser_attr</span><span class="special">(</span><span class="string">"\x01"</span><span class="special">,</span> <span class="identifier">byte_</span><span class="special">,</span> <span class="identifier">uc</span><span class="special">);</span> <span class="identifier">assert</span><span class="special">(</span><span class="identifier">uc</span> <span class="special">==</span> <span class="number">0x01</span><span class="special">);</span>
<span class="identifier">test_parser_attr</span><span class="special">(</span><span class="string">"\x01\x02"</span><span class="special">,</span> <span class="identifier">word</span><span class="special">,</span> <span class="identifier">us</span><span class="special">);</span> <span class="identifier">assert</span><span class="special">(</span><span class="identifier">us</span> <span class="special">==</span> <span class="number">0x0102</span><span class="special">);</span>
@@ -480,8 +456,6 @@
<span class="identifier">qword</span><span class="special">(</span><span class="number">0</span><span class="identifier">x0102030405060708LL</span><span class="special">));</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/char.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/char.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/char.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -43,7 +43,7 @@
etc.).
</p>
<a name="spirit.qi.reference.char.module_header"></a><h6>
-<a name="id938723"></a>
+<a name="id921292"></a>
<a class="link" href="char.html#spirit.qi.reference.char.module_header">Module Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/char.hpp>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/char/char.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/char/char.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/char/char.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -27,7 +27,7 @@
<a name="spirit.qi.reference.char.char"></a><a class="link" href="char.html" title="Char (char_, lit)"> Char (<code class="computeroutput"><span class="identifier">char_</span></code>, <code class="computeroutput"><span class="identifier">lit</span></code>)</a>
</h5></div></div></div>
<a name="spirit.qi.reference.char.char.description"></a><h6>
-<a name="id938822"></a>
+<a name="id921391"></a>
<a class="link" href="char.html#spirit.qi.reference.char.char.description">Description</a>
</h6>
<p>
@@ -41,7 +41,7 @@
There are various forms of <code class="computeroutput"><span class="identifier">char_</span></code>.
</p>
<a name="spirit.qi.reference.char.char.char_"></a><h6>
-<a name="id938869"></a>
+<a name="id921438"></a>
<a class="link" href="char.html#spirit.qi.reference.char.char.char_">char_</a>
</h6>
<p>
@@ -52,7 +52,7 @@
<pre class="programlisting"><span class="identifier">char_</span> <span class="comment">// matches any character
</span></pre>
<a name="spirit.qi.reference.char.char.char__ch_"></a><h6>
-<a name="id938909"></a>
+<a name="id921478"></a>
<a class="link" href="char.html#spirit.qi.reference.char.char.char__ch_">char_(ch)</a>
</h6>
<p>
@@ -64,7 +64,7 @@
</span><span class="identifier">char_</span><span class="special">(</span><span class="identifier">x</span><span class="special">)</span> <span class="comment">// matches x (a char)
</span></pre>
<a name="spirit.qi.reference.char.char.char__first__last_"></a><h6>
-<a name="id938998"></a>
+<a name="id921567"></a>
<a class="link" href="char.html#spirit.qi.reference.char.char.char__first__last_">char_(first,
last)</a>
</h6>
@@ -116,7 +116,7 @@
</td></tr>
</table></div>
<a name="spirit.qi.reference.char.char.char__def_"></a><h6>
-<a name="id939178"></a>
+<a name="id921747"></a>
<a class="link" href="char.html#spirit.qi.reference.char.char.char__def_">char_(def)</a>
</h6>
<p>
@@ -132,7 +132,7 @@
</span><span class="identifier">char_</span><span class="special">(</span><span class="string">"\x7f\x7e"</span><span class="special">)</span> <span class="comment">// Hexadecimal 0x7F and 0x7E
</span></pre>
<a name="spirit.qi.reference.char.char.lit_ch_"></a><h6>
-<a name="id939291"></a>
+<a name="id921860"></a>
<a class="link" href="char.html#spirit.qi.reference.char.char.lit_ch_">lit(ch)</a>
</h6>
<p>
@@ -168,7 +168,7 @@
<span class="identifier">lit</span><span class="special">(</span><span class="identifier">c</span><span class="special">)</span> <span class="comment">// c is a char
</span></pre>
<a name="spirit.qi.reference.char.char.header"></a><h6>
-<a name="id939454"></a>
+<a name="id922023"></a>
<a class="link" href="char.html#spirit.qi.reference.char.char.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/char/char.hpp>
@@ -178,7 +178,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.qi.reference.char.char.namespace"></a><h6>
-<a name="id939529"></a>
+<a name="id922098"></a>
<a class="link" href="char.html#spirit.qi.reference.char.char.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -208,18 +208,12 @@
Encoding Namespace</a>.
</p>
<a name="spirit.qi.reference.char.char.model_of"></a><h6>
-<a name="id939647"></a>
+<a name="id922216"></a>
<a class="link" href="char.html#spirit.qi.reference.char.char.model_of">Model of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../parser_concepts/primitiveparser.html" title="PrimitiveParser"><code class="computeroutput"><span class="identifier">PrimitiveParser</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../parser_concepts/primitiveparser.html" title="PrimitiveParser"><code class="computeroutput"><span class="identifier">PrimitiveParser</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -254,7 +248,7 @@
</dl>
</div>
<a name="spirit.qi.reference.char.char.expression_semantics"></a><h6>
-<a name="id939859"></a>
+<a name="id922424"></a>
<a class="link" href="char.html#spirit.qi.reference.char.char.expression_semantics">Expression
Semantics</a>
</h6>
@@ -374,7 +368,7 @@
</tbody>
</table></div>
<a name="spirit.qi.reference.char.char.attributes"></a><h6>
-<a name="id940275"></a>
+<a name="id922840"></a>
<a class="link" href="char.html#spirit.qi.reference.char.char.attributes">Attributes</a>
</h6>
<div class="informaltable"><table class="table">
@@ -491,23 +485,17 @@
</tbody>
</table></div>
<a name="spirit.qi.reference.char.char.complexity"></a><h6>
-<a name="id940677"></a>
+<a name="id923242"></a>
<a class="link" href="char.html#spirit.qi.reference.char.char.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <span class="bold"><strong>O(N)</strong></span>, except for char-sets with
- 16-bit (or more) characters (e.g. <code class="computeroutput"><span class="keyword">wchar_t</span></code>).
- These have <span class="bold"><strong>O(log N)</strong></span> complexity,
- where N is the number of distinct character ranges in the set.
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <span class="bold"><strong>O(N)</strong></span>, except for char-sets with 16-bit
+ (or more) characters (e.g. <code class="computeroutput"><span class="keyword">wchar_t</span></code>).
+ These have <span class="bold"><strong>O(log N)</strong></span> complexity, where
+ N is the number of distinct character ranges in the set.
+ </p></blockquote></div>
<a name="spirit.qi.reference.char.char.example"></a><h6>
-<a name="id940718"></a>
+<a name="id923280"></a>
<a class="link" href="char.html#spirit.qi.reference.char.char.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -524,71 +512,53 @@
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">lit</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">ascii</span><span class="special">::</span><span class="identifier">char_</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Basic literals:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_parser</span><span class="special">(</span><span class="string">"x"</span><span class="special">,</span> <span class="char">'x'</span><span class="special">);</span> <span class="comment">// plain literal
</span><span class="identifier">test_parser</span><span class="special">(</span><span class="string">"x"</span><span class="special">,</span> <span class="identifier">lit</span><span class="special">(</span><span class="char">'x'</span><span class="special">));</span> <span class="comment">// explicit literal
</span><span class="identifier">test_parser</span><span class="special">(</span><span class="string">"x"</span><span class="special">,</span> <span class="identifier">char_</span><span class="special">(</span><span class="char">'x'</span><span class="special">));</span> <span class="comment">// ascii::char_
</span></pre>
<p>
- </p>
-<p>
</p>
<p>
Range:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">char</span> <span class="identifier">ch</span><span class="special">;</span>
<span class="identifier">test_parser_attr</span><span class="special">(</span><span class="string">"5"</span><span class="special">,</span> <span class="identifier">char_</span><span class="special">(</span><span class="char">'0'</span><span class="special">,</span><span class="char">'9'</span><span class="special">),</span> <span class="identifier">ch</span><span class="special">);</span> <span class="comment">// ascii::char_ range
</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">ch</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span> <span class="comment">// prints '5'
</span></pre>
<p>
- </p>
-<p>
</p>
<p>
Character set:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_parser_attr</span><span class="special">(</span><span class="string">"5"</span><span class="special">,</span> <span class="identifier">char_</span><span class="special">(</span><span class="string">"0-9"</span><span class="special">),</span> <span class="identifier">ch</span><span class="special">);</span> <span class="comment">// ascii::char_ set
</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">ch</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span> <span class="comment">// prints '5'
</span></pre>
<p>
- </p>
-<p>
</p>
<p>
Lazy char_ using Phoenix
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">phx</span> <span class="special">=</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">phoenix</span><span class="special">;</span>
<span class="identifier">test_parser</span><span class="special">(</span><span class="string">"x"</span><span class="special">,</span> <span class="identifier">phx</span><span class="special">::</span><span class="identifier">val</span><span class="special">(</span><span class="char">'x'</span><span class="special">));</span> <span class="comment">// direct
@@ -596,8 +566,6 @@
<span class="identifier">char_</span><span class="special">(</span><span class="identifier">phx</span><span class="special">::</span><span class="identifier">val</span><span class="special">(</span><span class="char">'0'</span><span class="special">),</span><span class="identifier">phx</span><span class="special">::</span><span class="identifier">val</span><span class="special">(</span><span class="char">'9'</span><span class="special">)));</span> <span class="comment">// ascii::char_ range
</span></pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/char/char_class.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/char/char_class.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/char/char_class.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -29,7 +29,7 @@
etc.)</a>
</h5></div></div></div>
<a name="spirit.qi.reference.char.char_class.description"></a><h6>
-<a name="id942588"></a>
+<a name="id925003"></a>
<a class="link" href="char_class.html#spirit.qi.reference.char.char_class.description">Description</a>
</h6>
<p>
@@ -41,7 +41,7 @@
such as inhibiting case sensitivity.
</p>
<a name="spirit.qi.reference.char.char_class.header"></a><h6>
-<a name="id942639"></a>
+<a name="id925055"></a>
<a class="link" href="char_class.html#spirit.qi.reference.char.char_class.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/char/char_class.hpp>
@@ -51,7 +51,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.qi.reference.char.char_class.namespace"></a><h6>
-<a name="id942714"></a>
+<a name="id925129"></a>
<a class="link" href="char_class.html#spirit.qi.reference.char.char_class.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -130,18 +130,12 @@
Encoding Namespace</a>.
</p>
<a name="spirit.qi.reference.char.char_class.model_of"></a><h6>
-<a name="id943073"></a>
+<a name="id925488"></a>
<a class="link" href="char_class.html#spirit.qi.reference.char.char_class.model_of">Model of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../parser_concepts/primitiveparser.html" title="PrimitiveParser"><code class="computeroutput"><span class="identifier">PrimitiveParser</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../parser_concepts/primitiveparser.html" title="PrimitiveParser"><code class="computeroutput"><span class="identifier">PrimitiveParser</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -153,7 +147,7 @@
</dl>
</div>
<a name="spirit.qi.reference.char.char_class.expression_semantics"></a><h6>
-<a name="id943140"></a>
+<a name="id925552"></a>
<a class="link" href="char_class.html#spirit.qi.reference.char.char_class.expression_semantics">Expression
Semantics</a>
</h6>
@@ -326,34 +320,22 @@
</tbody>
</table></div>
<a name="spirit.qi.reference.char.char_class.attributes"></a><h6>
-<a name="id943592"></a>
+<a name="id926004"></a>
<a class="link" href="char_class.html#spirit.qi.reference.char.char_class.attributes">Attributes</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- The character type of the <a class="link" href="../basics.html#spirit.qi.reference.basics.character_encoding_namespace">Character
- Encoding Namespace</a>, <code class="computeroutput"><span class="identifier">ns</span></code>.
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ The character type of the <a class="link" href="../basics.html#spirit.qi.reference.basics.character_encoding_namespace">Character
+ Encoding Namespace</a>, <code class="computeroutput"><span class="identifier">ns</span></code>.
+ </p></blockquote></div>
<a name="spirit.qi.reference.char.char_class.complexity"></a><h6>
-<a name="id943628"></a>
+<a name="id926036"></a>
<a class="link" href="char_class.html#spirit.qi.reference.char.char_class.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- O(N)
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ O(N)
+ </p></blockquote></div>
<a name="spirit.qi.reference.char.char_class.example"></a><h6>
-<a name="id943652"></a>
+<a name="id926057"></a>
<a class="link" href="char_class.html#spirit.qi.reference.char.char_class.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -370,9 +352,7 @@
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">ascii</span><span class="special">::</span><span class="identifier">alnum</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">ascii</span><span class="special">::</span><span class="identifier">blank</span><span class="special">;</span>
@@ -380,16 +360,12 @@
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">ascii</span><span class="special">::</span><span class="identifier">lower</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Basic usage:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_parser</span><span class="special">(</span><span class="string">"1"</span><span class="special">,</span> <span class="identifier">alnum</span><span class="special">);</span>
<span class="identifier">test_parser</span><span class="special">(</span><span class="string">" "</span><span class="special">,</span> <span class="identifier">blank</span><span class="special">);</span>
@@ -397,8 +373,6 @@
<span class="identifier">test_parser</span><span class="special">(</span><span class="string">"a"</span><span class="special">,</span> <span class="identifier">lower</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/directive.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/directive.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/directive.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -53,7 +53,7 @@
directives.
</p>
<a name="spirit.qi.reference.directive.module_header"></a><h6>
-<a name="id944015"></a>
+<a name="id926412"></a>
<a class="link" href="directive.html#spirit.qi.reference.directive.module_header">Module Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/directive.hpp>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/directive/lexeme.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/directive/lexeme.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/directive/lexeme.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
Skipping (<code class="computeroutput"><span class="identifier">lexeme</span><span class="special">[]</span></code>)</a>
</h5></div></div></div>
<a name="spirit.qi.reference.directive.lexeme.description"></a><h6>
-<a name="id944109"></a>
+<a name="id926507"></a>
<a class="link" href="lexeme.html#spirit.qi.reference.directive.lexeme.description">Description</a>
</h6>
<p>
@@ -70,7 +70,7 @@
</p></td></tr>
</table></div>
<a name="spirit.qi.reference.directive.lexeme.header"></a><h6>
-<a name="id944298"></a>
+<a name="id926688"></a>
<a class="link" href="lexeme.html#spirit.qi.reference.directive.lexeme.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/directive/lexeme.hpp>
@@ -80,7 +80,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.qi.reference.directive.lexeme.namespace"></a><h6>
-<a name="id944372"></a>
+<a name="id928408"></a>
<a class="link" href="lexeme.html#spirit.qi.reference.directive.lexeme.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -98,18 +98,12 @@
</td></tr></tbody>
</table></div>
<a name="spirit.qi.reference.directive.lexeme.model_of"></a><h6>
-<a name="id944452"></a>
+<a name="id928488"></a>
<a class="link" href="lexeme.html#spirit.qi.reference.directive.lexeme.model_of">Model of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../parser_concepts/unaryparser.html" title="UnaryParser"><code class="computeroutput"><span class="identifier">UnaryParser</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../parser_concepts/unaryparser.html" title="UnaryParser"><code class="computeroutput"><span class="identifier">UnaryParser</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -120,7 +114,7 @@
</dl>
</div>
<a name="spirit.qi.reference.directive.lexeme.expression_semantics"></a><h6>
-<a name="id944524"></a>
+<a name="id928556"></a>
<a class="link" href="lexeme.html#spirit.qi.reference.directive.lexeme.expression_semantics">Expression
Semantics</a>
</h6>
@@ -161,7 +155,7 @@
</tr></tbody>
</table></div>
<a name="spirit.qi.reference.directive.lexeme.attributes"></a><h6>
-<a name="id944630"></a>
+<a name="id928663"></a>
<a class="link" href="lexeme.html#spirit.qi.reference.directive.lexeme.attributes">Attributes</a>
</h6>
<p>
@@ -203,21 +197,15 @@
</tr></tbody>
</table></div>
<a name="spirit.qi.reference.directive.lexeme.complexity"></a><h6>
-<a name="id944804"></a>
+<a name="id928837"></a>
<a class="link" href="lexeme.html#spirit.qi.reference.directive.lexeme.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- The complexity is defined by the complexity of the subject parser,
- <code class="computeroutput"><span class="identifier">a</span></code>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ The complexity is defined by the complexity of the subject parser,
+ <code class="computeroutput"><span class="identifier">a</span></code>
+ </p></blockquote></div>
<a name="spirit.qi.reference.directive.lexeme.example"></a><h6>
-<a name="id944836"></a>
+<a name="id928864"></a>
<a class="link" href="lexeme.html#spirit.qi.reference.directive.lexeme.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -234,38 +222,28 @@
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">lexeme</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">lit</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">ascii</span><span class="special">::</span><span class="identifier">digit</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Simple usage of <code class="computeroutput"><span class="identifier">lexeme</span><span class="special">[]</span></code>:
</p>
<p>
- </p>
-<p>
- The use of lexeme here will prevent skipping in between the digits
- and the sign making inputs such as <code class="computeroutput"><span class="string">"1
- 2 345"</span></code> erroneous.
- </p>
-<p>
- </p>
+ The use of lexeme here will prevent skipping in between the digits and
+ the sign making inputs such as <code class="computeroutput"><span class="string">"1 2
+ 345"</span></code> erroneous.
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_phrase_parser</span><span class="special">(</span><span class="string">"12345"</span><span class="special">,</span> <span class="identifier">lexeme</span><span class="special">[</span> <span class="special">-(</span><span class="identifier">lit</span><span class="special">(</span><span class="char">'+'</span><span class="special">)</span> <span class="special">|</span> <span class="char">'-'</span><span class="special">)</span> <span class="special">>></span> <span class="special">+</span><span class="identifier">digit</span> <span class="special">]);</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/directive/matches.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/directive/matches.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/directive/matches.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
Succeeded (<code class="computeroutput"><span class="identifier">matches</span><span class="special">[]</span></code>)</a>
</h5></div></div></div>
<a name="spirit.qi.reference.directive.matches.description"></a><h6>
-<a name="id954791"></a>
+<a name="id938266"></a>
<a class="link" href="matches.html#spirit.qi.reference.directive.matches.description">Description</a>
</h6>
<p>
@@ -37,7 +37,7 @@
matching.
</p>
<a name="spirit.qi.reference.directive.matches.header"></a><h6>
-<a name="id954818"></a>
+<a name="id938293"></a>
<a class="link" href="matches.html#spirit.qi.reference.directive.matches.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/directive/matches.hpp>
@@ -47,7 +47,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.qi.reference.directive.matches.namespace"></a><h6>
-<a name="id954893"></a>
+<a name="id938368"></a>
<a class="link" href="matches.html#spirit.qi.reference.directive.matches.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -65,19 +65,13 @@
</td></tr></tbody>
</table></div>
<a name="spirit.qi.reference.directive.matches.model_of"></a><h6>
-<a name="id954972"></a>
+<a name="id938447"></a>
<a class="link" href="matches.html#spirit.qi.reference.directive.matches.model_of">Model
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../parser_concepts/unaryparser.html" title="UnaryParser"><code class="computeroutput"><span class="identifier">UnaryParser</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../parser_concepts/unaryparser.html" title="UnaryParser"><code class="computeroutput"><span class="identifier">UnaryParser</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -88,7 +82,7 @@
</dl>
</div>
<a name="spirit.qi.reference.directive.matches.expression_semantics"></a><h6>
-<a name="id955044"></a>
+<a name="id938515"></a>
<a class="link" href="matches.html#spirit.qi.reference.directive.matches.expression_semantics">Expression
Semantics</a>
</h6>
@@ -129,7 +123,7 @@
</tr></tbody>
</table></div>
<a name="spirit.qi.reference.directive.matches.attributes"></a><h6>
-<a name="id955151"></a>
+<a name="id938622"></a>
<a class="link" href="matches.html#spirit.qi.reference.directive.matches.attributes">Attributes</a>
</h6>
<div class="informaltable"><table class="table">
@@ -163,21 +157,15 @@
</tr></tbody>
</table></div>
<a name="spirit.qi.reference.directive.matches.complexity"></a><h6>
-<a name="id955242"></a>
+<a name="id938713"></a>
<a class="link" href="matches.html#spirit.qi.reference.directive.matches.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- The complexity is defined by the complexity of the subject parser,
- <code class="computeroutput"><span class="identifier">a</span></code>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ The complexity is defined by the complexity of the subject parser,
+ <code class="computeroutput"><span class="identifier">a</span></code>
+ </p></blockquote></div>
<a name="spirit.qi.reference.directive.matches.example"></a><h6>
-<a name="id955273"></a>
+<a name="id938741"></a>
<a class="link" href="matches.html#spirit.qi.reference.directive.matches.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -194,53 +182,39 @@
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">matches</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">int_</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
- </p>
-<p>
- This parser tries to match an <code class="computeroutput"><span class="keyword">int</span></code>
- and returns <code class="computeroutput"><span class="keyword">true</span></code> a its
- attribute as it succeeded matching:
- </p>
-<p>
- </p>
+ This parser tries to match an <code class="computeroutput"><span class="keyword">int</span></code>
+ and returns <code class="computeroutput"><span class="keyword">true</span></code> a its attribute
+ as it succeeded matching:
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">bool</span> <span class="identifier">result</span> <span class="special">=</span> <span class="keyword">false</span><span class="special">;</span>
<span class="identifier">test_parser_attr</span><span class="special">(</span><span class="string">"345"</span><span class="special">,</span> <span class="identifier">matches</span><span class="special">[</span><span class="identifier">int_</span><span class="special">],</span> <span class="identifier">result</span><span class="special">);</span>
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">boolalpha</span> <span class="special"><<</span> <span class="identifier">result</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span> <span class="comment">// should print: true</span></pre>
<p>
- </p>
-<p>
- </p>
-<p>
- This parser tries to match an <code class="computeroutput"><span class="keyword">int</span></code>
- as well and returns <code class="computeroutput"><span class="keyword">false</span></code>
- as its attribute as it fails matching:
- </p>
+ </p>
<p>
- </p>
+ This parser tries to match an <code class="computeroutput"><span class="keyword">int</span></code>
+ as well and returns <code class="computeroutput"><span class="keyword">false</span></code>
+ as its attribute as it fails matching:
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">result</span> <span class="special">=</span> <span class="keyword">true</span><span class="special">;</span>
<span class="identifier">test_parser_attr</span><span class="special">(</span><span class="string">"abc"</span><span class="special">,</span> <span class="identifier">matches</span><span class="special">[</span><span class="identifier">int_</span><span class="special">],</span> <span class="identifier">result</span><span class="special">);</span>
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">boolalpha</span> <span class="special"><<</span> <span class="identifier">result</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span> <span class="comment">// should print: false
</span></pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/directive/no_case.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/directive/no_case.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/directive/no_case.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
Case Sensitivity (<code class="computeroutput"><span class="identifier">no_case</span><span class="special">[]</span></code>)</a>
</h5></div></div></div>
<a name="spirit.qi.reference.directive.no_case.description"></a><h6>
-<a name="id945998"></a>
+<a name="id930006"></a>
<a class="link" href="no_case.html#spirit.qi.reference.directive.no_case.description">Description</a>
</h6>
<p>
@@ -38,7 +38,7 @@
parser (and all its children) to be case insensitive.
</p>
<a name="spirit.qi.reference.directive.no_case.header"></a><h6>
-<a name="id946026"></a>
+<a name="id930033"></a>
<a class="link" href="no_case.html#spirit.qi.reference.directive.no_case.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/directive/no_case.hpp>
@@ -48,7 +48,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.qi.reference.directive.no_case.namespace"></a><h6>
-<a name="id946100"></a>
+<a name="id930108"></a>
<a class="link" href="no_case.html#spirit.qi.reference.directive.no_case.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -70,7 +70,7 @@
Encoding Namespace</a>.
</p>
<a name="spirit.qi.reference.directive.no_case.model_of"></a><h6>
-<a name="id946182"></a>
+<a name="id930189"></a>
<a class="link" href="no_case.html#spirit.qi.reference.directive.no_case.model_of">Model
of</a>
</h6>
@@ -93,7 +93,7 @@
</dl>
</div>
<a name="spirit.qi.reference.directive.no_case.expression_semantics"></a><h6>
-<a name="id946270"></a>
+<a name="id930277"></a>
<a class="link" href="no_case.html#spirit.qi.reference.directive.no_case.expression_semantics">Expression
Semantics</a>
</h6>
@@ -133,7 +133,7 @@
</tr></tbody>
</table></div>
<a name="spirit.qi.reference.directive.no_case.attributes"></a><h6>
-<a name="id946375"></a>
+<a name="id930382"></a>
<a class="link" href="no_case.html#spirit.qi.reference.directive.no_case.attributes">Attributes</a>
</h6>
<p>
@@ -175,21 +175,15 @@
</tr></tbody>
</table></div>
<a name="spirit.qi.reference.directive.no_case.complexity"></a><h6>
-<a name="id948892"></a>
+<a name="id930578"></a>
<a class="link" href="no_case.html#spirit.qi.reference.directive.no_case.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- The complexity is defined by the complexity of the subject parser,
- <code class="computeroutput"><span class="identifier">a</span></code>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ The complexity is defined by the complexity of the subject parser,
+ <code class="computeroutput"><span class="identifier">a</span></code>
+ </p></blockquote></div>
<a name="spirit.qi.reference.directive.no_case.example"></a><h6>
-<a name="id948924"></a>
+<a name="id931289"></a>
<a class="link" href="no_case.html#spirit.qi.reference.directive.no_case.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -206,9 +200,7 @@
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">ascii</span><span class="special">::</span><span class="identifier">no_case</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">ascii</span><span class="special">::</span><span class="identifier">char_</span><span class="special">;</span>
@@ -216,23 +208,17 @@
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">symbols</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Simple usage of <code class="computeroutput"><span class="identifier">no_case</span><span class="special">[]</span></code>:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_parser</span><span class="special">(</span><span class="string">"X"</span><span class="special">,</span> <span class="identifier">no_case</span><span class="special">[</span><span class="identifier">char_</span><span class="special">(</span><span class="char">'x'</span><span class="special">)]);</span>
<span class="identifier">test_parser</span><span class="special">(</span><span class="string">"6"</span><span class="special">,</span> <span class="identifier">no_case</span><span class="special">[</span><span class="identifier">alnum</span><span class="special">]);</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
A more sophisticated use case of <code class="computeroutput"><span class="identifier">no_case</span><span class="special">[]</span></code> in conjunction with a symbol table
@@ -240,9 +226,7 @@
for more details):
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">symbols</span><span class="special"><</span><span class="keyword">char</span><span class="special">,</span> <span class="keyword">int</span><span class="special">></span> <span class="identifier">sym</span><span class="special">;</span>
@@ -260,8 +244,6 @@
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">i</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/directive/no_skip.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/directive/no_skip.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/directive/no_skip.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
Skipping Without Pre-skip (<code class="computeroutput"><span class="identifier">no_skip</span><span class="special">[]</span></code>)</a>
</h5></div></div></div>
<a name="spirit.qi.reference.directive.no_skip.description"></a><h6>
-<a name="id945112"></a>
+<a name="id929133"></a>
<a class="link" href="no_skip.html#spirit.qi.reference.directive.no_skip.description">Description</a>
</h6>
<p>
@@ -39,7 +39,7 @@
directive.
</p>
<a name="spirit.qi.reference.directive.no_skip.header"></a><h6>
-<a name="id945158"></a>
+<a name="id929180"></a>
<a class="link" href="no_skip.html#spirit.qi.reference.directive.no_skip.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/directive/no_skip.hpp>
@@ -49,7 +49,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.qi.reference.directive.no_skip.namespace"></a><h6>
-<a name="id945233"></a>
+<a name="id929254"></a>
<a class="link" href="no_skip.html#spirit.qi.reference.directive.no_skip.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -67,19 +67,13 @@
</td></tr></tbody>
</table></div>
<a name="spirit.qi.reference.directive.no_skip.model_of"></a><h6>
-<a name="id945312"></a>
+<a name="id929334"></a>
<a class="link" href="no_skip.html#spirit.qi.reference.directive.no_skip.model_of">Model
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../parser_concepts/unaryparser.html" title="UnaryParser"><code class="computeroutput"><span class="identifier">UnaryParser</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../parser_concepts/unaryparser.html" title="UnaryParser"><code class="computeroutput"><span class="identifier">UnaryParser</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -90,7 +84,7 @@
</dl>
</div>
<a name="spirit.qi.reference.directive.no_skip.expression_semantics"></a><h6>
-<a name="id945384"></a>
+<a name="id929402"></a>
<a class="link" href="no_skip.html#spirit.qi.reference.directive.no_skip.expression_semantics">Expression
Semantics</a>
</h6>
@@ -130,7 +124,7 @@
</tr></tbody>
</table></div>
<a name="spirit.qi.reference.directive.no_skip.attributes"></a><h6>
-<a name="id945491"></a>
+<a name="id929509"></a>
<a class="link" href="no_skip.html#spirit.qi.reference.directive.no_skip.attributes">Attributes</a>
</h6>
<p>
@@ -172,21 +166,15 @@
</tr></tbody>
</table></div>
<a name="spirit.qi.reference.directive.no_skip.complexity"></a><h6>
-<a name="id945665"></a>
+<a name="id929683"></a>
<a class="link" href="no_skip.html#spirit.qi.reference.directive.no_skip.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- The complexity is defined by the complexity of the subject parser,
- <code class="computeroutput"><span class="identifier">a</span></code>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ The complexity is defined by the complexity of the subject parser,
+ <code class="computeroutput"><span class="identifier">a</span></code>
+ </p></blockquote></div>
<a name="spirit.qi.reference.directive.no_skip.example"></a><h6>
-<a name="id945696"></a>
+<a name="id929710"></a>
<a class="link" href="no_skip.html#spirit.qi.reference.directive.no_skip.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -203,31 +191,23 @@
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">no_skip</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">char_</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Simple usage of <code class="computeroutput"><span class="identifier">no_skip</span><span class="special">[]</span></code>:
</p>
<p>
- </p>
-<p>
- The use of no_skip here will prevent skipping of whitespace in front
- and in between the characters of the string <code class="computeroutput"><span class="char">'
- abc '</span></code>.
- </p>
-<p>
- </p>
+ The use of no_skip here will prevent skipping of whitespace in front
+ and in between the characters of the string <code class="computeroutput"><span class="char">'
+ abc '</span></code>.
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">str</span><span class="special">;</span>
<span class="identifier">test_phrase_parser_attr</span><span class="special">(</span><span class="string">"' abc '"</span><span class="special">,</span>
@@ -235,8 +215,6 @@
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">str</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span> <span class="comment">// will output: > abc <
</span></pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/directive/omit.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/directive/omit.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/directive/omit.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
(<code class="computeroutput"><span class="identifier">omit</span><span class="special">[]</span></code>)</a>
</h5></div></div></div>
<a name="spirit.qi.reference.directive.omit.description"></a><h6>
-<a name="id949573"></a>
+<a name="id931927"></a>
<a class="link" href="omit.html#spirit.qi.reference.directive.omit.description">Description</a>
</h6>
<p>
@@ -36,7 +36,7 @@
ignores the attribute of its subject parser replacing it with <code class="computeroutput"><span class="identifier">unused</span></code>.
</p>
<a name="spirit.qi.reference.directive.omit.header"></a><h6>
-<a name="id949608"></a>
+<a name="id931962"></a>
<a class="link" href="omit.html#spirit.qi.reference.directive.omit.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/directive/omit.hpp>
@@ -46,7 +46,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.qi.reference.directive.omit.namespace"></a><h6>
-<a name="id949682"></a>
+<a name="id932036"></a>
<a class="link" href="omit.html#spirit.qi.reference.directive.omit.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -64,18 +64,12 @@
</td></tr></tbody>
</table></div>
<a name="spirit.qi.reference.directive.omit.model_of"></a><h6>
-<a name="id949760"></a>
+<a name="id932114"></a>
<a class="link" href="omit.html#spirit.qi.reference.directive.omit.model_of">Model of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../parser_concepts/unaryparser.html" title="UnaryParser"><code class="computeroutput"><span class="identifier">UnaryParser</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../parser_concepts/unaryparser.html" title="UnaryParser"><code class="computeroutput"><span class="identifier">UnaryParser</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -86,7 +80,7 @@
</dl>
</div>
<a name="spirit.qi.reference.directive.omit.expression_semantics"></a><h6>
-<a name="id949830"></a>
+<a name="id932180"></a>
<a class="link" href="omit.html#spirit.qi.reference.directive.omit.expression_semantics">Expression
Semantics</a>
</h6>
@@ -125,7 +119,7 @@
</tr></tbody>
</table></div>
<a name="spirit.qi.reference.directive.omit.attributes"></a><h6>
-<a name="id949934"></a>
+<a name="id932285"></a>
<a class="link" href="omit.html#spirit.qi.reference.directive.omit.attributes">Attributes</a>
</h6>
<div class="informaltable"><table class="table">
@@ -159,21 +153,15 @@
</tr></tbody>
</table></div>
<a name="spirit.qi.reference.directive.omit.complexity"></a><h6>
-<a name="id950025"></a>
+<a name="id932376"></a>
<a class="link" href="omit.html#spirit.qi.reference.directive.omit.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- The complexity is defined by the complexity of the subject parser,
- <code class="computeroutput"><span class="identifier">a</span></code>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ The complexity is defined by the complexity of the subject parser,
+ <code class="computeroutput"><span class="identifier">a</span></code>
+ </p></blockquote></div>
<a name="spirit.qi.reference.directive.omit.example"></a><h6>
-<a name="id950056"></a>
+<a name="id932404"></a>
<a class="link" href="omit.html#spirit.qi.reference.directive.omit.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -190,36 +178,26 @@
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">omit</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">int_</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">ascii</span><span class="special">::</span><span class="identifier">char_</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
- </p>
-<p>
- This parser ignores the first two characters and extracts the succeeding
- <code class="computeroutput"><span class="keyword">int</span></code>:
- </p>
-<p>
- </p>
+ This parser ignores the first two characters and extracts the succeeding
+ <code class="computeroutput"><span class="keyword">int</span></code>:
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">i</span><span class="special">;</span>
<span class="identifier">test_parser_attr</span><span class="special">(</span><span class="string">"xx345"</span><span class="special">,</span> <span class="identifier">omit</span><span class="special">[</span><span class="identifier">char_</span> <span class="special">>></span> <span class="identifier">char_</span><span class="special">]</span> <span class="special">>></span> <span class="identifier">int_</span><span class="special">,</span> <span class="identifier">i</span><span class="special">);</span>
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">i</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span> <span class="comment">// should print 345
</span></pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/directive/raw.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/directive/raw.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/directive/raw.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
Parsing (<code class="computeroutput"><span class="identifier">raw</span><span class="special">[]</span></code>)</a>
</h5></div></div></div>
<a name="spirit.qi.reference.directive.raw.description"></a><h6>
-<a name="id950365"></a>
+<a name="id932705"></a>
<a class="link" href="raw.html#spirit.qi.reference.directive.raw.description">Description</a>
</h6>
<p>
@@ -39,7 +39,7 @@
transduction (un-attributed) behavior for a subject parser.
</p>
<a name="spirit.qi.reference.directive.raw.header"></a><h6>
-<a name="id950426"></a>
+<a name="id932766"></a>
<a class="link" href="raw.html#spirit.qi.reference.directive.raw.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/directive/raw.hpp>
@@ -49,7 +49,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.qi.reference.directive.raw.namespace"></a><h6>
-<a name="id950500"></a>
+<a name="id932840"></a>
<a class="link" href="raw.html#spirit.qi.reference.directive.raw.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -67,18 +67,12 @@
</td></tr></tbody>
</table></div>
<a name="spirit.qi.reference.directive.raw.model_of"></a><h6>
-<a name="id950578"></a>
+<a name="id932918"></a>
<a class="link" href="raw.html#spirit.qi.reference.directive.raw.model_of">Model of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../parser_concepts/unaryparser.html" title="UnaryParser"><code class="computeroutput"><span class="identifier">UnaryParser</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../parser_concepts/unaryparser.html" title="UnaryParser"><code class="computeroutput"><span class="identifier">UnaryParser</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -93,7 +87,7 @@
</dl>
</div>
<a name="spirit.qi.reference.directive.raw.expression_semantics"></a><h6>
-<a name="id950677"></a>
+<a name="id933013"></a>
<a class="link" href="raw.html#spirit.qi.reference.directive.raw.expression_semantics">Expression
Semantics</a>
</h6>
@@ -134,7 +128,7 @@
</tr></tbody>
</table></div>
<a name="spirit.qi.reference.directive.raw.attributes"></a><h6>
-<a name="id950805"></a>
+<a name="id933142"></a>
<a class="link" href="raw.html#spirit.qi.reference.directive.raw.attributes">Attributes</a>
</h6>
<p>
@@ -185,21 +179,15 @@
</p></td></tr>
</table></div>
<a name="spirit.qi.reference.directive.raw.complexity"></a><h6>
-<a name="id952114"></a>
+<a name="id933358"></a>
<a class="link" href="raw.html#spirit.qi.reference.directive.raw.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- The complexity is defined by the complexity of the subject parser,
- <code class="computeroutput"><span class="identifier">a</span></code>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ The complexity is defined by the complexity of the subject parser,
+ <code class="computeroutput"><span class="identifier">a</span></code>
+ </p></blockquote></div>
<a name="spirit.qi.reference.directive.raw.example"></a><h6>
-<a name="id952145"></a>
+<a name="id933385"></a>
<a class="link" href="raw.html#spirit.qi.reference.directive.raw.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -216,35 +204,25 @@
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">raw</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">ascii</span><span class="special">::</span><span class="identifier">alpha</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">ascii</span><span class="special">::</span><span class="identifier">alnum</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
- </p>
-<p>
- This parser matches and extracts C++ identifiers:
- </p>
-<p>
- </p>
+ This parser matches and extracts C++ identifiers:
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">id</span><span class="special">;</span>
<span class="identifier">test_parser_attr</span><span class="special">(</span><span class="string">"James007"</span><span class="special">,</span> <span class="identifier">raw</span><span class="special">[(</span><span class="identifier">alpha</span> <span class="special">|</span> <span class="char">'_'</span><span class="special">)</span> <span class="special">>></span> <span class="special">*(</span><span class="identifier">alnum</span> <span class="special">|</span> <span class="char">'_'</span><span class="special">)],</span> <span class="identifier">id</span><span class="special">);</span>
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">id</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span> <span class="comment">// should print James007
</span></pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/directive/repeat.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/directive/repeat.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/directive/repeat.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
(<code class="computeroutput"><span class="identifier">repeat</span><span class="special">[]</span></code>)</a>
</h5></div></div></div>
<a name="spirit.qi.reference.directive.repeat.description"></a><h6>
-<a name="id952467"></a>
+<a name="id934792"></a>
<a class="link" href="repeat.html#spirit.qi.reference.directive.repeat.description">Description</a>
</h6>
<p>
@@ -41,17 +41,17 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- A file name may have a maximum of 255 characters only.
- </li>
+ A file name may have a maximum of 255 characters only.
+ </li>
<li class="listitem">
- A specific bitmap file format has exactly 4096 RGB color information.
- </li>
+ A specific bitmap file format has exactly 4096 RGB color information.
+ </li>
<li class="listitem">
- A 256 bit binary string (1..256 1s or 0s).
- </li>
+ A 256 bit binary string (1..256 1s or 0s).
+ </li>
</ul></div>
<a name="spirit.qi.reference.directive.repeat.header"></a><h6>
-<a name="id952518"></a>
+<a name="id934855"></a>
<a class="link" href="repeat.html#spirit.qi.reference.directive.repeat.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/directive/repeat.hpp>
@@ -61,7 +61,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.qi.reference.directive.repeat.namespace"></a><h6>
-<a name="id952593"></a>
+<a name="id934929"></a>
<a class="link" href="repeat.html#spirit.qi.reference.directive.repeat.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -87,18 +87,12 @@
</tbody>
</table></div>
<a name="spirit.qi.reference.directive.repeat.model_of"></a><h6>
-<a name="id952709"></a>
+<a name="id935046"></a>
<a class="link" href="repeat.html#spirit.qi.reference.directive.repeat.model_of">Model of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../parser_concepts/unaryparser.html" title="UnaryParser"><code class="computeroutput"><span class="identifier">UnaryParser</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../parser_concepts/unaryparser.html" title="UnaryParser"><code class="computeroutput"><span class="identifier">UnaryParser</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -117,7 +111,7 @@
</dl>
</div>
<a name="spirit.qi.reference.directive.repeat.expression_semantics"></a><h6>
-<a name="id952842"></a>
+<a name="id935175"></a>
<a class="link" href="repeat.html#spirit.qi.reference.directive.repeat.expression_semantics">Expression
Semantics</a>
</h6>
@@ -204,7 +198,7 @@
</tbody>
</table></div>
<a name="spirit.qi.reference.directive.repeat.attributes"></a><h6>
-<a name="id953158"></a>
+<a name="id935491"></a>
<a class="link" href="repeat.html#spirit.qi.reference.directive.repeat.attributes">Attributes</a>
</h6>
<p>
@@ -298,22 +292,16 @@
</tbody>
</table></div>
<a name="spirit.qi.reference.directive.repeat.complexity"></a><h6>
-<a name="id953836"></a>
+<a name="id936169"></a>
<a class="link" href="repeat.html#spirit.qi.reference.directive.repeat.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- The overall complexity is defined by the complexity of its subject
- parser. The complexity of <code class="computeroutput"><span class="identifier">repeat</span></code>
- itself is O(N), where N is the number of repetitions to execute.
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ The overall complexity is defined by the complexity of its subject
+ parser. The complexity of <code class="computeroutput"><span class="identifier">repeat</span></code>
+ itself is O(N), where N is the number of repetitions to execute.
+ </p></blockquote></div>
<a name="spirit.qi.reference.directive.repeat.example"></a><h6>
-<a name="id953867"></a>
+<a name="id936196"></a>
<a class="link" href="repeat.html#spirit.qi.reference.directive.repeat.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -333,9 +321,7 @@
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">repeat</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">lit</span><span class="special">;</span>
@@ -345,33 +331,23 @@
<span class="keyword">namespace</span> <span class="identifier">phx</span> <span class="special">=</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">phoenix</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
- </p>
-<p>
- A parser for a file name with a maximum of 255 characters:
- </p>
-<p>
- </p>
+ A parser for a file name with a maximum of 255 characters:
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_parser</span><span class="special">(</span><span class="string">"batman.jpeg"</span><span class="special">,</span> <span class="identifier">repeat</span><span class="special">(</span><span class="number">1</span><span class="special">,</span> <span class="number">255</span><span class="special">)[</span><span class="identifier">char_</span><span class="special">(</span><span class="string">"a-zA-Z_./"</span><span class="special">)]);</span></pre>
<p>
- </p>
-<p>
- </p>
-<p>
- A parser for a specific bitmap file format which has exactly 4096 RGB
- color information. (for the purpose of this example, we will be testing
- only 3 RGB color information.)
- </p>
+ </p>
<p>
- </p>
+ A parser for a specific bitmap file format which has exactly 4096 RGB
+ color information. (for the purpose of this example, we will be testing
+ only 3 RGB color information.)
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">uint_parser</span><span class="special"><</span><span class="keyword">unsigned</span><span class="special">,</span> <span class="number">16</span><span class="special">,</span> <span class="number">6</span><span class="special">,</span> <span class="number">6</span><span class="special">></span> <span class="identifier">rgb</span><span class="special">;</span>
<span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">unsigned</span><span class="special">></span> <span class="identifier">colors</span><span class="special">;</span>
@@ -382,53 +358,37 @@
<span class="special"><<</span> <span class="identifier">colors</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special"><<</span> <span class="char">','</span>
<span class="special"><<</span> <span class="identifier">colors</span><span class="special">[</span><span class="number">2</span><span class="special">]</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span></pre>
<p>
- </p>
-<p>
- </p>
-<p>
- A 256 bit binary string (1..256 1s or 0s). (For the purpose of this
- example, we will be testing only 16 bits.)
- </p>
+ </p>
<p>
- </p>
+ A 256 bit binary string (1..256 1s or 0s). (For the purpose of this example,
+ we will be testing only 16 bits.)
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_parser</span><span class="special">(</span><span class="string">"1011101011110010"</span><span class="special">,</span> <span class="identifier">repeat</span><span class="special">(</span><span class="number">16</span><span class="special">)[</span><span class="identifier">lit</span><span class="special">(</span><span class="char">'1'</span><span class="special">)</span> <span class="special">|</span> <span class="char">'0'</span><span class="special">]);</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
The Loop parsers can be dynamic. Consider the parsing of a binary file
of Pascal-style length prefixed string, where the first byte determines
the length of the incoming string. Here's a sample input:
</p>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <span class="inlinemediaobject"><img src="../../../.././images/pascal_string.png" alt="pascal_string"></span>
- </p>
-<p>
- </p>
-</blockquote></div>
-<p>
- </p>
-<p>
- This trivial example cannot be practically defined in traditional EBNF.
- Although some EBNF variants allow more powerful repetition constructs
- other than the Kleene Star, we are still limited to parsing fixed strings.
- The nature of EBNF forces the repetition factor to be a constant. On
- the other hand, Spirit allows the repetition factor to be variable
- at run time. We could write a grammar that accepts the input string
- above. Example using phoenix:
- </p>
-<p>
- </p>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <span class="inlinemediaobject"><img src="../../../.././images/pascal_string.png" alt="pascal_string"></span>
+ </p></blockquote></div>
+<p>
+ This trivial example cannot be practically defined in traditional EBNF.
+ Although some EBNF variants allow more powerful repetition constructs
+ other than the Kleene Star, we are still limited to parsing fixed strings.
+ The nature of EBNF forces the repetition factor to be a constant. On
+ the other hand, Spirit allows the repetition factor to be variable at
+ run time. We could write a grammar that accepts the input string above.
+ Example using phoenix:
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">str</span><span class="special">;</span>
<span class="keyword">int</span> <span class="identifier">n</span><span class="special">;</span>
@@ -437,8 +397,6 @@
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">n</span> <span class="special"><<</span> <span class="char">','</span> <span class="special"><<</span> <span class="identifier">str</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span> <span class="comment">// will print "11,Hello World"
</span></pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/directive/skip.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/directive/skip.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/directive/skip.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
Skipping (<code class="computeroutput"><span class="identifier">skip</span><span class="special">[]</span></code>)</a>
</h5></div></div></div>
<a name="spirit.qi.reference.directive.skip.description"></a><h6>
-<a name="id955703"></a>
+<a name="id939165"></a>
<a class="link" href="skip.html#spirit.qi.reference.directive.skip.description">Description</a>
</h6>
<p>
@@ -59,16 +59,16 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- Perform localized phrase level parsing while doing character level
- parsing.
- </li>
+ Perform localized phrase level parsing while doing character level
+ parsing.
+ </li>
<li class="listitem">
- Replace the current skipper anywhere with an entirely different skipper
- while doing phrase level parsing.
- </li>
+ Replace the current skipper anywhere with an entirely different skipper
+ while doing phrase level parsing.
+ </li>
</ul></div>
<a name="spirit.qi.reference.directive.skip.header"></a><h6>
-<a name="id955959"></a>
+<a name="id939429"></a>
<a class="link" href="skip.html#spirit.qi.reference.directive.skip.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/directive/skip.hpp>
@@ -78,7 +78,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.qi.reference.directive.skip.namespace"></a><h6>
-<a name="id956034"></a>
+<a name="id939503"></a>
<a class="link" href="skip.html#spirit.qi.reference.directive.skip.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -96,18 +96,12 @@
</td></tr></tbody>
</table></div>
<a name="spirit.qi.reference.directive.skip.model_of"></a><h6>
-<a name="id956112"></a>
+<a name="id939581"></a>
<a class="link" href="skip.html#spirit.qi.reference.directive.skip.model_of">Model of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../parser_concepts/unaryparser.html" title="UnaryParser"><code class="computeroutput"><span class="identifier">UnaryParser</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../parser_concepts/unaryparser.html" title="UnaryParser"><code class="computeroutput"><span class="identifier">UnaryParser</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -118,7 +112,7 @@
</dl>
</div>
<a name="spirit.qi.reference.directive.skip.expression_semantics"></a><h6>
-<a name="id956181"></a>
+<a name="id939647"></a>
<a class="link" href="skip.html#spirit.qi.reference.directive.skip.expression_semantics">Expression
Semantics</a>
</h6>
@@ -172,7 +166,7 @@
</tbody>
</table></div>
<a name="spirit.qi.reference.directive.skip.attributes"></a><h6>
-<a name="id956336"></a>
+<a name="id939802"></a>
<a class="link" href="skip.html#spirit.qi.reference.directive.skip.attributes">Attributes</a>
</h6>
<p>
@@ -232,21 +226,15 @@
</tbody>
</table></div>
<a name="spirit.qi.reference.directive.skip.complexity"></a><h6>
-<a name="id957886"></a>
+<a name="id940122"></a>
<a class="link" href="skip.html#spirit.qi.reference.directive.skip.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- The complexity is defined by the complexity of the subject parser,
- <code class="computeroutput"><span class="identifier">a</span></code>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ The complexity is defined by the complexity of the subject parser,
+ <code class="computeroutput"><span class="identifier">a</span></code>
+ </p></blockquote></div>
<a name="spirit.qi.reference.directive.skip.example"></a><h6>
-<a name="id957917"></a>
+<a name="id940150"></a>
<a class="link" href="skip.html#spirit.qi.reference.directive.skip.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -263,37 +251,27 @@
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">skip</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">int_</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">ascii</span><span class="special">::</span><span class="identifier">space</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Simple usage of <code class="computeroutput"><span class="identifier">skip</span><span class="special">[]</span></code>:
</p>
<p>
- </p>
-<p>
- Explicitly specify a skip parser. This parser parses comma delimited
- numbers, ignoring spaces.
- </p>
-<p>
- </p>
+ Explicitly specify a skip parser. This parser parses comma delimited
+ numbers, ignoring spaces.
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_parser</span><span class="special">(</span><span class="string">"1, 2, 3, 4, 5"</span><span class="special">,</span> <span class="identifier">skip</span><span class="special">(</span><span class="identifier">space</span><span class="special">)[</span><span class="identifier">int_</span> <span class="special">>></span> <span class="special">*(</span><span class="char">','</span> <span class="special">>></span> <span class="identifier">int_</span><span class="special">)]);</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/nonterminal.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/nonterminal.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/nonterminal.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -31,7 +31,7 @@
<dt><span class="section">Grammar</span></dt>
</dl></div>
<a name="spirit.qi.reference.nonterminal.module_headers"></a><h6>
-<a name="id958163"></a>
+<a name="id940389"></a>
<a class="link" href="nonterminal.html#spirit.qi.reference.nonterminal.module_headers">Module Headers</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/nonterminal.hpp>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/nonterminal/grammar.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/nonterminal/grammar.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/nonterminal/grammar.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -27,7 +27,7 @@
<a name="spirit.qi.reference.nonterminal.grammar"></a><a class="link" href="grammar.html" title="Grammar">Grammar</a>
</h5></div></div></div>
<a name="spirit.qi.reference.nonterminal.grammar.description"></a><h6>
-<a name="id960684"></a>
+<a name="id944255"></a>
<a class="link" href="grammar.html#spirit.qi.reference.nonterminal.grammar.description">Description</a>
</h6>
<p>
@@ -37,7 +37,7 @@
Grammars can be composed to form more complex grammars.
</p>
<a name="spirit.qi.reference.nonterminal.grammar.header"></a><h6>
-<a name="id960715"></a>
+<a name="id944286"></a>
<a class="link" href="grammar.html#spirit.qi.reference.nonterminal.grammar.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/nonterminal/grammar.hpp>
@@ -47,7 +47,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.qi.reference.nonterminal.grammar.namespace"></a><h6>
-<a name="id960790"></a>
+<a name="id944361"></a>
<a class="link" href="grammar.html#spirit.qi.reference.nonterminal.grammar.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -64,14 +64,14 @@
</td></tr></tbody>
</table></div>
<a name="spirit.qi.reference.nonterminal.grammar.synopsis"></a><h6>
-<a name="id960870"></a>
+<a name="id944441"></a>
<a class="link" href="grammar.html#spirit.qi.reference.nonterminal.grammar.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Iterator</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">A1</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">A2</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">A3</span><span class="special">></span>
<span class="keyword">struct</span> <span class="identifier">grammar</span><span class="special">;</span>
</pre>
<a name="spirit.qi.reference.nonterminal.grammar.template_parameters"></a><h6>
-<a name="id960964"></a>
+<a name="id944535"></a>
<a class="link" href="grammar.html#spirit.qi.reference.nonterminal.grammar.template_parameters">Template
parameters</a>
</h6>
@@ -226,19 +226,13 @@
</tbody>
</table></div>
<a name="spirit.qi.reference.nonterminal.grammar.model_of"></a><h6>
-<a name="id961343"></a>
+<a name="id944914"></a>
<a class="link" href="grammar.html#spirit.qi.reference.nonterminal.grammar.model_of">Model
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../parser_concepts/nonterminal.html" title="Nonterminal"><code class="computeroutput"><span class="identifier">Nonterminal</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../parser_concepts/nonterminal.html" title="Nonterminal"><code class="computeroutput"><span class="identifier">Nonterminal</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -249,7 +243,7 @@
</dl>
</div>
<a name="spirit.qi.reference.nonterminal.grammar.expression_semantics"></a><h6>
-<a name="id961405"></a>
+<a name="id944973"></a>
<a class="link" href="grammar.html#spirit.qi.reference.nonterminal.grammar.expression_semantics">Expression
Semantics</a>
</h6>
@@ -316,34 +310,22 @@
</p></td></tr>
</table></div>
<a name="spirit.qi.reference.nonterminal.grammar.attributes"></a><h6>
-<a name="id961721"></a>
+<a name="id945288"></a>
<a class="link" href="grammar.html#spirit.qi.reference.nonterminal.grammar.attributes">Attributes</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- The parser attribute of the grammar is <code class="computeroutput"><span class="identifier">T</span></code>,
- its synthesized attribute. See <a class="link" href="../parser_concepts/nonterminal.html#spirit.qi.reference.parser_concepts.nonterminal.attributes"><code class="computeroutput"><span class="identifier">Attribute</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ The parser attribute of the grammar is <code class="computeroutput"><span class="identifier">T</span></code>,
+ its synthesized attribute. See <a class="link" href="../parser_concepts/nonterminal.html#spirit.qi.reference.parser_concepts.nonterminal.attributes"><code class="computeroutput"><span class="identifier">Attribute</span></code></a>
+ </p></blockquote></div>
<a name="spirit.qi.reference.nonterminal.grammar.complexity"></a><h6>
-<a name="id961765"></a>
+<a name="id945328"></a>
<a class="link" href="grammar.html#spirit.qi.reference.nonterminal.grammar.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- The complexity is defined by the complexity of the its definition.
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ The complexity is defined by the complexity of the its definition.
+ </p></blockquote></div>
<a name="spirit.qi.reference.nonterminal.grammar.example"></a><h6>
-<a name="id961789"></a>
+<a name="id945348"></a>
<a class="link" href="grammar.html#spirit.qi.reference.nonterminal.grammar.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -357,14 +339,10 @@
</p></td></tr>
</table></div>
<p>
- </p>
-<p>
- Some using declarations:
- </p>
-<p>
- </p>
+ Some using declarations:
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">ascii</span><span class="special">::</span><span class="identifier">space_type</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">int_</span><span class="special">;</span>
@@ -372,18 +350,12 @@
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">rule</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
- </p>
-<p>
- Basic grammar usage:
- </p>
-<p>
- </p>
+ Basic grammar usage:
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">struct</span> <span class="identifier">num_list</span> <span class="special">:</span> <span class="identifier">grammar</span><span class="special"><</span><span class="keyword">char</span> <span class="keyword">const</span><span class="special">*,</span> <span class="identifier">space_type</span><span class="special">></span>
<span class="special">{</span>
@@ -398,25 +370,17 @@
<span class="special">};</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
- </p>
-<p>
- How to use the example grammar:
- </p>
-<p>
- </p>
+ How to use the example grammar:
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">num_list</span> <span class="identifier">nlist</span><span class="special">;</span>
<span class="identifier">test_phrase_parser</span><span class="special">(</span><span class="string">"123, 456, 789"</span><span class="special">,</span> <span class="identifier">nlist</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/nonterminal/rule.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/nonterminal/rule.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/nonterminal/rule.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -27,7 +27,7 @@
<a name="spirit.qi.reference.nonterminal.rule"></a><a class="link" href="rule.html" title="Rule">Rule</a>
</h5></div></div></div>
<a name="spirit.qi.reference.nonterminal.rule.description"></a><h6>
-<a name="id958247"></a>
+<a name="id940473"></a>
<a class="link" href="rule.html#spirit.qi.reference.nonterminal.rule.description">Description</a>
</h6>
<p>
@@ -40,7 +40,7 @@
in recursive descent parsing.
</p>
<a name="spirit.qi.reference.nonterminal.rule.header"></a><h6>
-<a name="id958274"></a>
+<a name="id940499"></a>
<a class="link" href="rule.html#spirit.qi.reference.nonterminal.rule.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/nonterminal/rule.hpp>
@@ -50,7 +50,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.qi.reference.nonterminal.rule.namespace"></a><h6>
-<a name="id958348"></a>
+<a name="id940574"></a>
<a class="link" href="rule.html#spirit.qi.reference.nonterminal.rule.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -67,14 +67,14 @@
</td></tr></tbody>
</table></div>
<a name="spirit.qi.reference.nonterminal.rule.synopsis"></a><h6>
-<a name="id958428"></a>
+<a name="id940654"></a>
<a class="link" href="rule.html#spirit.qi.reference.nonterminal.rule.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Iterator</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">A1</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">A2</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">A3</span><span class="special">></span>
<span class="keyword">struct</span> <span class="identifier">rule</span><span class="special">;</span>
</pre>
<a name="spirit.qi.reference.nonterminal.rule.template_parameters"></a><h6>
-<a name="id958522"></a>
+<a name="id940748"></a>
<a class="link" href="rule.html#spirit.qi.reference.nonterminal.rule.template_parameters">Template
parameters</a>
</h6>
@@ -233,18 +233,12 @@
</tbody>
</table></div>
<a name="spirit.qi.reference.nonterminal.rule.model_of"></a><h6>
-<a name="id958901"></a>
+<a name="id941127"></a>
<a class="link" href="rule.html#spirit.qi.reference.nonterminal.rule.model_of">Model of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../parser_concepts/nonterminal.html" title="Nonterminal"><code class="computeroutput"><span class="identifier">Nonterminal</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../parser_concepts/nonterminal.html" title="Nonterminal"><code class="computeroutput"><span class="identifier">Nonterminal</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -270,7 +264,7 @@
</dl>
</div>
<a name="spirit.qi.reference.nonterminal.rule.expression_semantics"></a><h6>
-<a name="id959066"></a>
+<a name="id941288"></a>
<a class="link" href="rule.html#spirit.qi.reference.nonterminal.rule.expression_semantics">Expression
Semantics</a>
</h6>
@@ -408,34 +402,22 @@
</tbody>
</table></div>
<a name="spirit.qi.reference.nonterminal.rule.attributes"></a><h6>
-<a name="id959614"></a>
+<a name="id941836"></a>
<a class="link" href="rule.html#spirit.qi.reference.nonterminal.rule.attributes">Attributes</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- The parser attribute of the rule is <code class="computeroutput"><span class="identifier">T</span></code>,
- its synthesized attribute. See <a class="link" href="../parser_concepts/nonterminal.html#spirit.qi.reference.parser_concepts.nonterminal.attributes"><code class="computeroutput"><span class="identifier">Attribute</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ The parser attribute of the rule is <code class="computeroutput"><span class="identifier">T</span></code>,
+ its synthesized attribute. See <a class="link" href="../parser_concepts/nonterminal.html#spirit.qi.reference.parser_concepts.nonterminal.attributes"><code class="computeroutput"><span class="identifier">Attribute</span></code></a>
+ </p></blockquote></div>
<a name="spirit.qi.reference.nonterminal.rule.complexity"></a><h6>
-<a name="id959657"></a>
+<a name="id941876"></a>
<a class="link" href="rule.html#spirit.qi.reference.nonterminal.rule.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- The complexity is defined by the complexity of the RHS parser, <code class="computeroutput"><span class="identifier">p</span></code>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ The complexity is defined by the complexity of the RHS parser, <code class="computeroutput"><span class="identifier">p</span></code>
+ </p></blockquote></div>
<a name="spirit.qi.reference.nonterminal.rule.example"></a><h6>
-<a name="id959688"></a>
+<a name="id941903"></a>
<a class="link" href="rule.html#spirit.qi.reference.nonterminal.rule.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -449,14 +431,10 @@
</p></td></tr>
</table></div>
<p>
- </p>
-<p>
- Some using declarations:
- </p>
-<p>
- </p>
+ Some using declarations:
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">rule</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">int_</span><span class="special">;</span>
@@ -467,31 +445,23 @@
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">ascii</span><span class="special">::</span><span class="identifier">char_</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">ascii</span><span class="special">::</span><span class="identifier">space_type</span><span class="special">;</span></pre>
<p>
- </p>
-<p>
- </p>
-<p>
- Basic rule:
- </p>
+ </p>
<p>
- </p>
+ Basic rule:
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">rule</span><span class="special"><</span><span class="keyword">char</span> <span class="keyword">const</span><span class="special">*></span> <span class="identifier">r</span><span class="special">;</span>
<span class="identifier">r</span> <span class="special">=</span> <span class="identifier">int_</span><span class="special">;</span>
<span class="identifier">test_parser</span><span class="special">(</span><span class="string">"123"</span><span class="special">,</span> <span class="identifier">r</span><span class="special">);</span></pre>
<p>
- </p>
-<p>
- </p>
-<p>
- Rule with synthesized attribute:
- </p>
+ </p>
<p>
- </p>
+ Rule with synthesized attribute:
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">rule</span><span class="special"><</span><span class="keyword">char</span> <span class="keyword">const</span><span class="special">*,</span> <span class="keyword">int</span><span class="special">()></span> <span class="identifier">ra</span><span class="special">;</span>
<span class="identifier">ra</span> <span class="special">=</span> <span class="identifier">int_</span><span class="special">;</span>
@@ -499,16 +469,12 @@
<span class="identifier">test_parser_attr</span><span class="special">(</span><span class="string">"123"</span><span class="special">,</span> <span class="identifier">ra</span><span class="special">,</span> <span class="identifier">i</span><span class="special">);</span>
<span class="identifier">assert</span><span class="special">(</span><span class="identifier">i</span> <span class="special">==</span> <span class="number">123</span><span class="special">);</span></pre>
<p>
- </p>
-<p>
- </p>
-<p>
- Rule with skipper and synthesized attribute:
- </p>
+ </p>
<p>
- </p>
+ Rule with skipper and synthesized attribute:
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">rule</span><span class="special"><</span><span class="keyword">char</span> <span class="keyword">const</span><span class="special">*,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">int</span><span class="special">>(),</span> <span class="identifier">space_type</span><span class="special">></span> <span class="identifier">rs</span><span class="special">;</span>
<span class="identifier">rs</span> <span class="special">=</span> <span class="special">*</span><span class="identifier">int_</span><span class="special">;</span>
@@ -518,16 +484,12 @@
<span class="identifier">assert</span><span class="special">(</span><span class="identifier">v</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">==</span> <span class="number">456</span><span class="special">);</span>
<span class="identifier">assert</span><span class="special">(</span><span class="identifier">v</span><span class="special">[</span><span class="number">2</span><span class="special">]</span> <span class="special">==</span> <span class="number">789</span><span class="special">);</span></pre>
<p>
- </p>
-<p>
- </p>
-<p>
- Rule with one local variable:
- </p>
+ </p>
<p>
- </p>
+ Rule with one local variable:
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">rule</span><span class="special"><</span><span class="keyword">char</span> <span class="keyword">const</span><span class="special">*,</span> <span class="identifier">locals</span><span class="special"><</span><span class="keyword">char</span><span class="special">></span> <span class="special">></span> <span class="identifier">rl</span><span class="special">;</span>
<span class="identifier">rl</span> <span class="special">=</span> <span class="identifier">alpha</span><span class="special">[</span><span class="identifier">_a</span> <span class="special">=</span> <span class="identifier">_1</span><span class="special">]</span> <span class="special">>></span> <span class="identifier">char_</span><span class="special">(</span><span class="identifier">_a</span><span class="special">);</span> <span class="comment">// get two identical characters
@@ -535,8 +497,6 @@
</span><span class="identifier">test_parser</span><span class="special">(</span><span class="string">"ax"</span><span class="special">,</span> <span class="identifier">rl</span><span class="special">);</span> <span class="comment">// fail
</span></pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/numeric.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/numeric.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/numeric.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -56,7 +56,7 @@
write extremely tight generic C++ code that rivals, if not surpasses C.
</p>
<a name="spirit.qi.reference.numeric.module_header"></a><h6>
-<a name="id963529"></a>
+<a name="id946267"></a>
<a class="link" href="numeric.html#spirit.qi.reference.numeric.module_header">Module Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/numeric.hpp>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/numeric/boolean.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/numeric/boolean.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/numeric/boolean.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
(<code class="computeroutput"><span class="identifier">bool_</span></code>)</a>
</h5></div></div></div>
<a name="spirit.qi.reference.numeric.boolean.description"></a><h6>
-<a name="id975960"></a>
+<a name="id959435"></a>
<a class="link" href="boolean.html#spirit.qi.reference.numeric.boolean.description">Description</a>
</h6>
<p>
@@ -39,7 +39,7 @@
expression requirements (documented below).
</p>
<a name="spirit.qi.reference.numeric.boolean.header"></a><h6>
-<a name="id975998"></a>
+<a name="id959473"></a>
<a class="link" href="boolean.html#spirit.qi.reference.numeric.boolean.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/numeric/bool.hpp>
@@ -49,7 +49,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.qi.reference.numeric.boolean.namespace"></a><h6>
-<a name="id976073"></a>
+<a name="id959548"></a>
<a class="link" href="boolean.html#spirit.qi.reference.numeric.boolean.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -81,14 +81,14 @@
</tbody>
</table></div>
<a name="spirit.qi.reference.numeric.boolean.synopsis"></a><h6>
-<a name="id976229"></a>
+<a name="id959704"></a>
<a class="link" href="boolean.html#spirit.qi.reference.numeric.boolean.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">BooleanPolicies</span><span class="special">></span>
<span class="keyword">struct</span> <span class="identifier">bool_parser</span><span class="special">;</span>
</pre>
<a name="spirit.qi.reference.numeric.boolean.template_parameters"></a><h6>
-<a name="id976294"></a>
+<a name="id959768"></a>
<a class="link" href="boolean.html#spirit.qi.reference.numeric.boolean.template_parameters">Template
parameters</a>
</h6>
@@ -153,18 +153,12 @@
</tbody>
</table></div>
<a name="spirit.qi.reference.numeric.boolean.model_of"></a><h6>
-<a name="id976439"></a>
+<a name="id959914"></a>
<a class="link" href="boolean.html#spirit.qi.reference.numeric.boolean.model_of">Model of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../parser_concepts/primitiveparser.html" title="PrimitiveParser"><code class="computeroutput"><span class="identifier">PrimitiveParser</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../parser_concepts/primitiveparser.html" title="PrimitiveParser"><code class="computeroutput"><span class="identifier">PrimitiveParser</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -204,7 +198,7 @@
</dl>
</div>
<a name="spirit.qi.reference.numeric.boolean.expression_semantics"></a><h6>
-<a name="id976672"></a>
+<a name="id960143"></a>
<a class="link" href="boolean.html#spirit.qi.reference.numeric.boolean.expression_semantics">Expression
Semantics</a>
</h6>
@@ -293,34 +287,22 @@
</p></td></tr>
</table></div>
<a name="spirit.qi.reference.numeric.boolean.attributes"></a><h6>
-<a name="id977005"></a>
+<a name="id960475"></a>
<a class="link" href="boolean.html#spirit.qi.reference.numeric.boolean.attributes">Attributes</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <code class="computeroutput"><span class="identifier">B</span></code>, The boolean type
- of the booelan parser.
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <code class="computeroutput"><span class="identifier">B</span></code>, The boolean type
+ of the booelan parser.
+ </p></blockquote></div>
<a name="spirit.qi.reference.numeric.boolean.complexity"></a><h6>
-<a name="id977036"></a>
+<a name="id960503"></a>
<a class="link" href="boolean.html#spirit.qi.reference.numeric.boolean.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- O(N), where N is the number of characters being parsed.
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ O(N), where N is the number of characters being parsed.
+ </p></blockquote></div>
<a name="spirit.qi.reference.numeric.boolean.minimum_expression_requirements_for__code__phrase_role__identifier__b__phrase___code_"></a><h6>
-<a name="id977060"></a>
+<a name="id960523"></a>
<a class="link" href="boolean.html#spirit.qi.reference.numeric.boolean.minimum_expression_requirements_for__code__phrase_role__identifier__b__phrase___code_">Minimum
Expression Requirements for <code class="computeroutput"><span class="identifier">B</span></code></a>
</h6>
@@ -360,7 +342,7 @@
</tr></tbody>
</table></div>
<a name="spirit.qi.reference.numeric.boolean.boolean__code__phrase_role__identifier__policies__phrase___code_"></a><h6>
-<a name="id977168"></a>
+<a name="id960631"></a>
<a class="link" href="boolean.html#spirit.qi.reference.numeric.boolean.boolean__code__phrase_role__identifier__policies__phrase___code_">Boolean
<code class="computeroutput"><span class="identifier">Policies</span></code></a>
</h6>
@@ -378,7 +360,7 @@
and <code class="computeroutput"><span class="string">"false"</span></code>.
</p>
<a name="spirit.qi.reference.numeric.boolean.boolean__code__phrase_role__identifier__policies__phrase___code__expression_requirements"></a><h6>
-<a name="id977234"></a>
+<a name="id960703"></a>
<a class="link" href="boolean.html#spirit.qi.reference.numeric.boolean.boolean__code__phrase_role__identifier__policies__phrase___code__expression_requirements">Boolean
<code class="computeroutput"><span class="identifier">Policies</span></code> Expression Requirements</a>
</h6>
@@ -445,7 +427,7 @@
or <code class="computeroutput"><span class="keyword">false</span></code>).
</p>
<a name="spirit.qi.reference.numeric.boolean.boolean__code__phrase_role__identifier__policies__phrase___code__specializations"></a><h6>
-<a name="id977492"></a>
+<a name="id960961"></a>
<a class="link" href="boolean.html#spirit.qi.reference.numeric.boolean.boolean__code__phrase_role__identifier__policies__phrase___code__specializations">Boolean
<code class="computeroutput"><span class="identifier">Policies</span></code> Specializations</a>
</h6>
@@ -475,7 +457,7 @@
<span class="special">};</span>
</pre>
<a name="spirit.qi.reference.numeric.boolean.example"></a><h6>
-<a name="id977944"></a>
+<a name="id961414"></a>
<a class="link" href="boolean.html#spirit.qi.reference.numeric.boolean.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -492,39 +474,29 @@
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">bool_</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">bool_parser</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Basic real number parsing:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_parser</span><span class="special">(</span><span class="string">"true"</span><span class="special">,</span> <span class="identifier">bool_</span><span class="special">);</span>
<span class="identifier">test_parser</span><span class="special">(</span><span class="string">"false"</span><span class="special">,</span> <span class="identifier">bool_</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
A custom real number policy:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="comment">///////////////////////////////////////////////////////////////////////////////
</span><span class="comment">// These policies can be used to parse "eurt" (i.e. "true" spelled backwards)
@@ -549,24 +521,18 @@
<span class="special">};</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
And its use:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">bool_parser</span><span class="special"><</span><span class="keyword">bool</span><span class="special">,</span> <span class="identifier">backwards_bool_policies</span><span class="special">></span> <span class="identifier">backwards_bool</span><span class="special">;</span>
<span class="identifier">test_parser</span><span class="special">(</span><span class="string">"true"</span><span class="special">,</span> <span class="identifier">backwards_bool</span><span class="special">);</span>
<span class="identifier">test_parser</span><span class="special">(</span><span class="string">"eurt"</span><span class="special">,</span> <span class="identifier">backwards_bool</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/numeric/int.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/numeric/int.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/numeric/int.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
(<code class="computeroutput"><span class="identifier">int_</span></code>, etc.)</a>
</h5></div></div></div>
<a name="spirit.qi.reference.numeric.int.description"></a><h6>
-<a name="id967151"></a>
+<a name="id949852"></a>
<a class="link" href="int.html#spirit.qi.reference.numeric.int.description">Description</a>
</h6>
<p>
@@ -46,7 +46,7 @@
type follows certain expression requirements (documented below).
</p>
<a name="spirit.qi.reference.numeric.int.header"></a><h6>
-<a name="id967214"></a>
+<a name="id949916"></a>
<a class="link" href="int.html#spirit.qi.reference.numeric.int.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/numeric/int.hpp>
@@ -56,7 +56,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.qi.reference.numeric.int.namespace"></a><h6>
-<a name="id967289"></a>
+<a name="id949990"></a>
<a class="link" href="int.html#spirit.qi.reference.numeric.int.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -107,7 +107,7 @@
</p></td></tr>
</table></div>
<a name="spirit.qi.reference.numeric.int.synopsis"></a><h6>
-<a name="id967522"></a>
+<a name="id950223"></a>
<a class="link" href="int.html#spirit.qi.reference.numeric.int.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span>
@@ -118,7 +118,7 @@
<span class="keyword">struct</span> <span class="identifier">int_parser</span><span class="special">;</span>
</pre>
<a name="spirit.qi.reference.numeric.int.template_parameters"></a><h6>
-<a name="id967618"></a>
+<a name="id950319"></a>
<a class="link" href="int.html#spirit.qi.reference.numeric.int.template_parameters">Template
parameters</a>
</h6>
@@ -219,18 +219,12 @@
</tbody>
</table></div>
<a name="spirit.qi.reference.numeric.int.model_of"></a><h6>
-<a name="id967802"></a>
+<a name="id950504"></a>
<a class="link" href="int.html#spirit.qi.reference.numeric.int.model_of">Model of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../parser_concepts/primitiveparser.html" title="PrimitiveParser"><code class="computeroutput"><span class="identifier">PrimitiveParser</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../parser_concepts/primitiveparser.html" title="PrimitiveParser"><code class="computeroutput"><span class="identifier">PrimitiveParser</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -247,7 +241,7 @@
</dl>
</div>
<a name="spirit.qi.reference.numeric.int.expression_semantics"></a><h6>
-<a name="id967897"></a>
+<a name="id950595"></a>
<a class="link" href="int.html#spirit.qi.reference.numeric.int.expression_semantics">Expression
Semantics</a>
</h6>
@@ -355,34 +349,22 @@
</p></td></tr>
</table></div>
<a name="spirit.qi.reference.numeric.int.attributes"></a><h6>
-<a name="id968321"></a>
+<a name="id951019"></a>
<a class="link" href="int.html#spirit.qi.reference.numeric.int.attributes">Attributes</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <code class="computeroutput"><span class="identifier">T</span></code>, The numeric base
- type of the numeric parser.
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <code class="computeroutput"><span class="identifier">T</span></code>, The numeric base
+ type of the numeric parser.
+ </p></blockquote></div>
<a name="spirit.qi.reference.numeric.int.complexity"></a><h6>
-<a name="id968352"></a>
+<a name="id951046"></a>
<a class="link" href="int.html#spirit.qi.reference.numeric.int.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- O(N), where N is the number of digits being parsed plus the sign.
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ O(N), where N is the number of digits being parsed plus the sign.
+ </p></blockquote></div>
<a name="spirit.qi.reference.numeric.int.minimum_expression_requirements_for__code__phrase_role__identifier__t__phrase___code_"></a><h6>
-<a name="id968376"></a>
+<a name="id951067"></a>
<a class="link" href="int.html#spirit.qi.reference.numeric.int.minimum_expression_requirements_for__code__phrase_role__identifier__t__phrase___code_">Minimum
Expression Requirements for <code class="computeroutput"><span class="identifier">T</span></code></a>
</h6>
@@ -543,7 +525,7 @@
</tbody>
</table></div>
<a name="spirit.qi.reference.numeric.int.example"></a><h6>
-<a name="id969151"></a>
+<a name="id951632"></a>
<a class="link" href="int.html#spirit.qi.reference.numeric.int.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -560,30 +542,22 @@
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">int_</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Basic signed integers:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_parser</span><span class="special">(</span><span class="string">"+12345"</span><span class="special">,</span> <span class="identifier">int_</span><span class="special">);</span>
<span class="identifier">test_parser</span><span class="special">(</span><span class="string">"-12345"</span><span class="special">,</span> <span class="identifier">int_</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/numeric/real.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/numeric/real.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/numeric/real.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
etc.)</a>
</h5></div></div></div>
<a name="spirit.qi.reference.numeric.real.description"></a><h6>
-<a name="id969313"></a>
+<a name="id952885"></a>
<a class="link" href="real.html#spirit.qi.reference.numeric.real.description">Description</a>
</h6>
<p>
@@ -41,7 +41,7 @@
(documented below).
</p>
<a name="spirit.qi.reference.numeric.real.header"></a><h6>
-<a name="id969352"></a>
+<a name="id952923"></a>
<a class="link" href="real.html#spirit.qi.reference.numeric.real.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/numeric/real.hpp>
@@ -51,7 +51,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.qi.reference.numeric.real.namespace"></a><h6>
-<a name="id969426"></a>
+<a name="id952997"></a>
<a class="link" href="real.html#spirit.qi.reference.numeric.real.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -83,14 +83,14 @@
</tbody>
</table></div>
<a name="spirit.qi.reference.numeric.real.synopsis"></a><h6>
-<a name="id969582"></a>
+<a name="id953153"></a>
<a class="link" href="real.html#spirit.qi.reference.numeric.real.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">RealPolicies</span><span class="special">></span>
<span class="keyword">struct</span> <span class="identifier">real_parser</span><span class="special">;</span>
</pre>
<a name="spirit.qi.reference.numeric.real.template_parameters"></a><h6>
-<a name="id969647"></a>
+<a name="id953218"></a>
<a class="link" href="real.html#spirit.qi.reference.numeric.real.template_parameters">Template
parameters</a>
</h6>
@@ -155,18 +155,12 @@
</tbody>
</table></div>
<a name="spirit.qi.reference.numeric.real.model_of"></a><h6>
-<a name="id969785"></a>
+<a name="id953356"></a>
<a class="link" href="real.html#spirit.qi.reference.numeric.real.model_of">Model of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../parser_concepts/primitiveparser.html" title="PrimitiveParser"><code class="computeroutput"><span class="identifier">PrimitiveParser</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../parser_concepts/primitiveparser.html" title="PrimitiveParser"><code class="computeroutput"><span class="identifier">PrimitiveParser</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -201,7 +195,7 @@
</dl>
</div>
<a name="spirit.qi.reference.numeric.real.expression_semantics"></a><h6>
-<a name="id969996"></a>
+<a name="id953564"></a>
<a class="link" href="real.html#spirit.qi.reference.numeric.real.expression_semantics">Expression
Semantics</a>
</h6>
@@ -281,35 +275,23 @@
</tbody>
</table></div>
<a name="spirit.qi.reference.numeric.real.attributes"></a><h6>
-<a name="id970290"></a>
+<a name="id953858"></a>
<a class="link" href="real.html#spirit.qi.reference.numeric.real.attributes">Attributes</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <code class="computeroutput"><span class="identifier">T</span></code>, The numeric base
- type of the numeric parser.
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <code class="computeroutput"><span class="identifier">T</span></code>, The numeric base
+ type of the numeric parser.
+ </p></blockquote></div>
<a name="spirit.qi.reference.numeric.real.complexity"></a><h6>
-<a name="id970321"></a>
+<a name="id953885"></a>
<a class="link" href="real.html#spirit.qi.reference.numeric.real.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- O(N), where N is the number of characters (including the digits,
- exponent, sign, etc.) being parsed.
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ O(N), where N is the number of characters (including the digits, exponent,
+ sign, etc.) being parsed.
+ </p></blockquote></div>
<a name="spirit.qi.reference.numeric.real.minimum_expression_requirements_for__code__phrase_role__identifier__t__phrase___code_"></a><h6>
-<a name="id970345"></a>
+<a name="id953906"></a>
<a class="link" href="real.html#spirit.qi.reference.numeric.real.minimum_expression_requirements_for__code__phrase_role__identifier__t__phrase___code_">Minimum
Expression Requirements for <code class="computeroutput"><span class="identifier">T</span></code></a>
</h6>
@@ -531,7 +513,7 @@
</p></td></tr>
</table></div>
<a name="spirit.qi.reference.numeric.real._code__phrase_role__identifier__realpolicies__phrase___code_"></a><h6>
-<a name="id972348"></a>
+<a name="id954815"></a>
<a class="link" href="real.html#spirit.qi.reference.numeric.real._code__phrase_role__identifier__realpolicies__phrase___code_"><code class="computeroutput"><span class="identifier">RealPolicies</span></code></a>
</h6>
<p>
@@ -593,7 +575,7 @@
pre-defined for immediate use:
</p>
<div class="table">
-<a name="id972949"></a><p class="title"><b>Table 4. Predefined Policies</b></p>
+<a name="id955427"></a><p class="title"><b>Table 4. Predefined Policies</b></p>
<div class="table-contents"><table class="table" summary="Predefined Policies">
<colgroup>
<col>
@@ -679,7 +661,7 @@
</p></td></tr>
</table></div>
<a name="spirit.qi.reference.numeric.real._code__phrase_role__identifier__realpolicies__phrase___code__expression_requirements"></a><h6>
-<a name="id973184"></a>
+<a name="id955663"></a>
<a class="link" href="real.html#spirit.qi.reference.numeric.real._code__phrase_role__identifier__realpolicies__phrase___code__expression_requirements"><code class="computeroutput"><span class="identifier">RealPolicies</span></code> Expression Requirements</a>
</h6>
<p>
@@ -868,29 +850,17 @@
<p>
The <code class="computeroutput"><span class="identifier">parse_nan</span></code> and <code class="computeroutput"><span class="identifier">parse_inf</span></code> functions get called whenever:
</p>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- a number to parse does not start with a digit (after having successfully
- parsed an optional sign)
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ a number to parse does not start with a digit (after having successfully
+ parsed an optional sign)
+ </p></blockquote></div>
<p>
or
</p>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- after a real number of the value 1 (having no exponential part and
- a fractional part value of 0) has been parsed.
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ after a real number of the value 1 (having no exponential part and
+ a fractional part value of 0) has been parsed.
+ </p></blockquote></div>
<p>
The first call recognizes representations of NaN or Inf starting with
a non-digit character (such as NaN, Inf, QNaN etc.). The second call
@@ -905,7 +875,7 @@
be automatically applied afterwards.
</p>
<a name="spirit.qi.reference.numeric.real._code__phrase_role__identifier__realpolicies__phrase___code__specializations"></a><h6>
-<a name="id974042"></a>
+<a name="id956513"></a>
<a class="link" href="real.html#spirit.qi.reference.numeric.real._code__phrase_role__identifier__realpolicies__phrase___code__specializations"><code class="computeroutput"><span class="identifier">RealPolicies</span></code> Specializations</a>
</h6>
<p>
@@ -921,7 +891,7 @@
<span class="special">};</span>
</pre>
<a name="spirit.qi.reference.numeric.real.example"></a><h6>
-<a name="id974177"></a>
+<a name="id956648"></a>
<a class="link" href="real.html#spirit.qi.reference.numeric.real.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -938,38 +908,28 @@
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">double_</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">real_parser</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Basic real number parsing:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_parser</span><span class="special">(</span><span class="string">"+12345e6"</span><span class="special">,</span> <span class="identifier">double_</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
A custom real number policy:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="comment">///////////////////////////////////////////////////////////////////////////////
</span><span class="comment">// These policies can be used to parse thousand separated
@@ -1039,23 +999,17 @@
<span class="special">};</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
And its use:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">real_parser</span><span class="special"><</span><span class="keyword">double</span><span class="special">,</span> <span class="identifier">ts_real_policies</span><span class="special"><</span><span class="keyword">double</span><span class="special">></span> <span class="special">></span> <span class="identifier">ts_real</span><span class="special">;</span>
<span class="identifier">test_parser</span><span class="special">(</span><span class="string">"123,456,789.01"</span><span class="special">,</span> <span class="identifier">ts_real</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/numeric/uint.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/numeric/uint.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/numeric/uint.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
(<code class="computeroutput"><span class="identifier">uint_</span></code>, etc.)</a>
</h5></div></div></div>
<a name="spirit.qi.reference.numeric.uint.description"></a><h6>
-<a name="id963620"></a>
+<a name="id946358"></a>
<a class="link" href="uint.html#spirit.qi.reference.numeric.uint.description">Description</a>
</h6>
<p>
@@ -42,7 +42,7 @@
is a template class. Template parameters fine tune its behavior.
</p>
<a name="spirit.qi.reference.numeric.uint.header"></a><h6>
-<a name="id963666"></a>
+<a name="id946404"></a>
<a class="link" href="uint.html#spirit.qi.reference.numeric.uint.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/numeric/uint.hpp>
@@ -52,7 +52,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.qi.reference.numeric.uint.namespace"></a><h6>
-<a name="id963740"></a>
+<a name="id946478"></a>
<a class="link" href="uint.html#spirit.qi.reference.numeric.uint.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -121,7 +121,7 @@
</p></td></tr>
</table></div>
<a name="spirit.qi.reference.numeric.uint.synopsis"></a><h6>
-<a name="id964086"></a>
+<a name="id946824"></a>
<a class="link" href="uint.html#spirit.qi.reference.numeric.uint.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span>
@@ -132,7 +132,7 @@
<span class="keyword">struct</span> <span class="identifier">uint_parser</span><span class="special">;</span>
</pre>
<a name="spirit.qi.reference.numeric.uint.template_parameters"></a><h6>
-<a name="id964182"></a>
+<a name="id946920"></a>
<a class="link" href="uint.html#spirit.qi.reference.numeric.uint.template_parameters">Template
parameters</a>
</h6>
@@ -233,18 +233,12 @@
</tbody>
</table></div>
<a name="spirit.qi.reference.numeric.uint.model_of"></a><h6>
-<a name="id964366"></a>
+<a name="id947105"></a>
<a class="link" href="uint.html#spirit.qi.reference.numeric.uint.model_of">Model of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../parser_concepts/primitiveparser.html" title="PrimitiveParser"><code class="computeroutput"><span class="identifier">PrimitiveParser</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../parser_concepts/primitiveparser.html" title="PrimitiveParser"><code class="computeroutput"><span class="identifier">PrimitiveParser</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -261,7 +255,7 @@
</dl>
</div>
<a name="spirit.qi.reference.numeric.uint.expression_semantics"></a><h6>
-<a name="id964461"></a>
+<a name="id947196"></a>
<a class="link" href="uint.html#spirit.qi.reference.numeric.uint.expression_semantics">Expression
Semantics</a>
</h6>
@@ -414,34 +408,22 @@
</p></td></tr>
</table></div>
<a name="spirit.qi.reference.numeric.uint.attributes"></a><h6>
-<a name="id965120"></a>
+<a name="id947855"></a>
<a class="link" href="uint.html#spirit.qi.reference.numeric.uint.attributes">Attributes</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <code class="computeroutput"><span class="identifier">T</span></code>, The numeric base
- type of the numeric parser.
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <code class="computeroutput"><span class="identifier">T</span></code>, The numeric base
+ type of the numeric parser.
+ </p></blockquote></div>
<a name="spirit.qi.reference.numeric.uint.complexity"></a><h6>
-<a name="id965151"></a>
+<a name="id947882"></a>
<a class="link" href="uint.html#spirit.qi.reference.numeric.uint.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- O(N), where N is the number of digits being parsed.
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ O(N), where N is the number of digits being parsed.
+ </p></blockquote></div>
<a name="spirit.qi.reference.numeric.uint.minimum_expression_requirements_for__code__phrase_role__identifier__t__phrase___code_"></a><h6>
-<a name="id965175"></a>
+<a name="id947903"></a>
<a class="link" href="uint.html#spirit.qi.reference.numeric.uint.minimum_expression_requirements_for__code__phrase_role__identifier__t__phrase___code_">Minimum
Expression Requirements for <code class="computeroutput"><span class="identifier">T</span></code></a>
</h6>
@@ -589,7 +571,7 @@
</tbody>
</table></div>
<a name="spirit.qi.reference.numeric.uint.example"></a><h6>
-<a name="id966817"></a>
+<a name="id948432"></a>
<a class="link" href="uint.html#spirit.qi.reference.numeric.uint.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -606,48 +588,34 @@
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">uint_</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">uint_parser</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Basic unsigned integers:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_parser</span><span class="special">(</span><span class="string">"12345"</span><span class="special">,</span> <span class="identifier">uint_</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
- </p>
-<p>
- Thousand separated number parser:
- </p>
-<p>
- </p>
+ Thousand separated number parser:
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">uint_parser</span><span class="special"><</span><span class="keyword">unsigned</span><span class="special">,</span> <span class="number">10</span><span class="special">,</span> <span class="number">1</span><span class="special">,</span> <span class="number">3</span><span class="special">></span> <span class="identifier">uint3_p</span><span class="special">;</span> <span class="comment">// 1..3 digits
</span><span class="identifier">uint_parser</span><span class="special"><</span><span class="keyword">unsigned</span><span class="special">,</span> <span class="number">10</span><span class="special">,</span> <span class="number">3</span><span class="special">,</span> <span class="number">3</span><span class="special">></span> <span class="identifier">uint3_3_p</span><span class="special">;</span> <span class="comment">// exactly 3 digits
</span><span class="identifier">test_parser</span><span class="special">(</span><span class="string">"12,345,678"</span><span class="special">,</span> <span class="identifier">uint3_p</span> <span class="special">>></span> <span class="special">*(</span><span class="char">','</span> <span class="special">>></span> <span class="identifier">uint3_3_p</span><span class="special">));</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/operator.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/operator.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/operator.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -78,7 +78,7 @@
(<code class="computeroutput"><span class="special">||</span></code>).
</p>
<a name="spirit.qi.reference.operator.module_header"></a><h6>
-<a name="id978779"></a>
+<a name="id962235"></a>
<a class="link" href="operator.html#spirit.qi.reference.operator.module_header">Module Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/operator.hpp>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/operator/alternative.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/operator/alternative.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/operator/alternative.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -29,7 +29,7 @@
<span class="identifier">b</span></code>)</a>
</h5></div></div></div>
<a name="spirit.qi.reference.operator.alternative.description"></a><h6>
-<a name="id978880"></a>
+<a name="id962335"></a>
<a class="link" href="alternative.html#spirit.qi.reference.operator.alternative.description">Description</a>
</h6>
<p>
@@ -60,7 +60,7 @@
to put the (expected) most common choice first for maximum efficiency.
</p>
<a name="spirit.qi.reference.operator.alternative.header"></a><h6>
-<a name="id979045"></a>
+<a name="id962500"></a>
<a class="link" href="alternative.html#spirit.qi.reference.operator.alternative.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/operator/alternative.hpp>
@@ -70,19 +70,13 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.qi.reference.operator.alternative.model_of"></a><h6>
-<a name="id981862"></a>
+<a name="id962574"></a>
<a class="link" href="alternative.html#spirit.qi.reference.operator.alternative.model_of">Model
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../parser_concepts/naryparser.html" title="NaryParser"><code class="computeroutput"><span class="identifier">NaryParser</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../parser_concepts/naryparser.html" title="NaryParser"><code class="computeroutput"><span class="identifier">NaryParser</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -93,7 +87,7 @@
</dl>
</div>
<a name="spirit.qi.reference.operator.alternative.expression_semantics"></a><h6>
-<a name="id981942"></a>
+<a name="id962650"></a>
<a class="link" href="alternative.html#spirit.qi.reference.operator.alternative.expression_semantics">Expression
Semantics</a>
</h6>
@@ -134,7 +128,7 @@
</tr></tbody>
</table></div>
<a name="spirit.qi.reference.operator.alternative.attributes"></a><h6>
-<a name="id982054"></a>
+<a name="id962763"></a>
<a class="link" href="alternative.html#spirit.qi.reference.operator.alternative.attributes">Attributes</a>
</h6>
<p>
@@ -181,22 +175,16 @@
</tr></tbody>
</table></div>
<a name="spirit.qi.reference.operator.alternative.complexity"></a><h6>
-<a name="id982616"></a>
+<a name="id964970"></a>
<a class="link" href="alternative.html#spirit.qi.reference.operator.alternative.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- The overall complexity of the alternative parser is defined by the
- sum of the complexities of its elements. The complexity of the alternative
- parser itself is O(N), where N is the number of alternatives.
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ The overall complexity of the alternative parser is defined by the
+ sum of the complexities of its elements. The complexity of the alternative
+ parser itself is O(N), where N is the number of alternatives.
+ </p></blockquote></div>
<a name="spirit.qi.reference.operator.alternative.example"></a><h6>
-<a name="id982640"></a>
+<a name="id964990"></a>
<a class="link" href="alternative.html#spirit.qi.reference.operator.alternative.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -213,9 +201,7 @@
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">ascii</span><span class="special">::</span><span class="identifier">string</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">int_</span><span class="special">;</span>
@@ -223,72 +209,52 @@
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">variant</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
- </p>
-<p>
- Simple usage:
- </p>
-<p>
- </p>
+ Simple usage:
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_parser</span><span class="special">(</span><span class="string">"Hello"</span><span class="special">,</span> <span class="identifier">string</span><span class="special">(</span><span class="string">"Hello"</span><span class="special">)</span> <span class="special">|</span> <span class="identifier">int_</span><span class="special">);</span>
<span class="identifier">test_parser</span><span class="special">(</span><span class="string">"123"</span><span class="special">,</span> <span class="identifier">string</span><span class="special">(</span><span class="string">"Hello"</span><span class="special">)</span> <span class="special">|</span> <span class="identifier">int_</span><span class="special">);</span></pre>
<p>
- </p>
-<p>
- </p>
-<p>
- Extracting the attribute variant (using Boost.Variant):
- </p>
+ </p>
<p>
- </p>
+ Extracting the attribute variant (using Boost.Variant):
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">variant</span><span class="special"><</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">,</span> <span class="keyword">int</span><span class="special">></span> <span class="identifier">attr</span><span class="special">;</span>
<span class="identifier">test_parser_attr</span><span class="special">(</span><span class="string">"Hello"</span><span class="special">,</span> <span class="identifier">string</span><span class="special">(</span><span class="string">"Hello"</span><span class="special">)</span> <span class="special">|</span> <span class="identifier">int_</span><span class="special">,</span> <span class="identifier">attr</span><span class="special">);</span></pre>
<p>
- </p>
-<p>
- </p>
-<p>
- This should print <code class="computeroutput"><span class="string">"Hello"</span></code>.
- Note: There are better ways to extract the value from the variant.
- See Boost.Variant
- visitation. This code is solely for demonstration.
- </p>
+ </p>
<p>
- </p>
+ This should print <code class="computeroutput"><span class="string">"Hello"</span></code>.
+ Note: There are better ways to extract the value from the variant. See
+ Boost.Variant
+ visitation. This code is solely for demonstration.
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">if</span> <span class="special">(</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">get</span><span class="special"><</span><span class="keyword">int</span><span class="special">>(&</span><span class="identifier">attr</span><span class="special">))</span>
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">get</span><span class="special"><</span><span class="keyword">int</span><span class="special">>(</span><span class="identifier">attr</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span>
<span class="keyword">else</span>
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">get</span><span class="special"><</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">>(</span><span class="identifier">attr</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span></pre>
<p>
- </p>
-<p>
- </p>
-<p>
- Extracting the attributes using Semantic Actions with Phoenix
- (this should print <code class="computeroutput"><span class="number">123</span></code>):
- </p>
+ </p>
<p>
- </p>
+ Extracting the attributes using Semantic Actions with Phoenix
+ (this should print <code class="computeroutput"><span class="number">123</span></code>):
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_parser</span><span class="special">(</span><span class="string">"123"</span><span class="special">,</span> <span class="special">(</span><span class="identifier">string</span><span class="special">(</span><span class="string">"Hello"</span><span class="special">)</span> <span class="special">|</span> <span class="identifier">int_</span><span class="special">)[</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">_1</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">]);</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/operator/and_predicate.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/operator/and_predicate.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/operator/and_predicate.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
(<code class="computeroutput"><span class="special">&</span><span class="identifier">a</span></code>)</a>
</h5></div></div></div>
<a name="spirit.qi.reference.operator.and_predicate.description"></a><h6>
-<a name="id983353"></a>
+<a name="id965696"></a>
<a class="link" href="and_predicate.html#spirit.qi.reference.operator.and_predicate.description">Description</a>
</h6>
<p>
@@ -41,7 +41,7 @@
if its predicate matches.
</p>
<a name="spirit.qi.reference.operator.and_predicate.header"></a><h6>
-<a name="id983394"></a>
+<a name="id965737"></a>
<a class="link" href="and_predicate.html#spirit.qi.reference.operator.and_predicate.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/operator/and_predicate.hpp>
@@ -51,19 +51,13 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.qi.reference.operator.and_predicate.model_of"></a><h6>
-<a name="id983468"></a>
+<a name="id965811"></a>
<a class="link" href="and_predicate.html#spirit.qi.reference.operator.and_predicate.model_of">Model
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../parser_concepts/unaryparser.html" title="UnaryParser"><code class="computeroutput"><span class="identifier">UnaryParser</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../parser_concepts/unaryparser.html" title="UnaryParser"><code class="computeroutput"><span class="identifier">UnaryParser</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -74,7 +68,7 @@
</dl>
</div>
<a name="spirit.qi.reference.operator.and_predicate.expression_semantics"></a><h6>
-<a name="id983540"></a>
+<a name="id965879"></a>
<a class="link" href="and_predicate.html#spirit.qi.reference.operator.and_predicate.expression_semantics">Expression
Semantics</a>
</h6>
@@ -114,7 +108,7 @@
</tr></tbody>
</table></div>
<a name="spirit.qi.reference.operator.and_predicate.attributes"></a><h6>
-<a name="id983640"></a>
+<a name="id965979"></a>
<a class="link" href="and_predicate.html#spirit.qi.reference.operator.and_predicate.attributes">Attributes</a>
</h6>
<p>
@@ -152,20 +146,14 @@
</tr></tbody>
</table></div>
<a name="spirit.qi.reference.operator.and_predicate.complexity"></a><h6>
-<a name="id983734"></a>
+<a name="id966074"></a>
<a class="link" href="and_predicate.html#spirit.qi.reference.operator.and_predicate.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- The complexity is defined by the complexity of the predicate, <code class="computeroutput"><span class="identifier">a</span></code>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ The complexity is defined by the complexity of the predicate, <code class="computeroutput"><span class="identifier">a</span></code>
+ </p></blockquote></div>
<a name="spirit.qi.reference.operator.and_predicate.example"></a><h6>
-<a name="id983766"></a>
+<a name="id966101"></a>
<a class="link" href="and_predicate.html#spirit.qi.reference.operator.and_predicate.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -179,34 +167,24 @@
</p></td></tr>
</table></div>
<p>
- </p>
-<p>
- Some using declarations:
- </p>
-<p>
- </p>
+ Some using declarations:
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">lit</span><span class="special">;</span></pre>
<p>
- </p>
-<p>
- </p>
-<p>
- Basic look-ahead example: make sure that the last character is a semicolon,
- but don't consume it, just peek at the next character:
- </p>
+ </p>
<p>
- </p>
+ Basic look-ahead example: make sure that the last character is a semicolon,
+ but don't consume it, just peek at the next character:
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_phrase_parser</span><span class="special">(</span><span class="string">"Hello ;"</span><span class="special">,</span> <span class="identifier">lit</span><span class="special">(</span><span class="string">"Hello"</span><span class="special">)</span> <span class="special">>></span> <span class="special">&</span><span class="identifier">lit</span><span class="special">(</span><span class="char">';'</span><span class="special">),</span> <span class="keyword">false</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/operator/difference.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/operator/difference.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/operator/difference.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -29,18 +29,17 @@
<span class="identifier">b</span></code>)</a>
</h5></div></div></div>
<a name="spirit.qi.reference.operator.difference.description"></a><h6>
-<a name="id983934"></a>
+<a name="id966266"></a>
<a class="link" href="difference.html#spirit.qi.reference.operator.difference.description">Description</a>
</h6>
<p>
The difference operator, <code class="computeroutput"><span class="identifier">a</span>
<span class="special">-</span> <span class="identifier">b</span></code>,
is a binary operator that matches the first (LHS) operand but not the
- second (RHS).
- <sup>[<a name="id983962" href="#ftn.id983962" class="footnote">8</a>]</sup>
+ second (RHS). <sup>[<a name="id966295" href="#ftn.id966295" class="footnote">8</a>]</sup>
</p>
<a name="spirit.qi.reference.operator.difference.header"></a><h6>
-<a name="id984002"></a>
+<a name="id966334"></a>
<a class="link" href="difference.html#spirit.qi.reference.operator.difference.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/operator/difference.hpp>
@@ -50,19 +49,13 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.qi.reference.operator.difference.model_of"></a><h6>
-<a name="id984623"></a>
+<a name="id966409"></a>
<a class="link" href="difference.html#spirit.qi.reference.operator.difference.model_of">Model
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../parser_concepts/binaryparser.html" title="BinaryParser"><code class="computeroutput"><span class="identifier">BinaryParser</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../parser_concepts/binaryparser.html" title="BinaryParser"><code class="computeroutput"><span class="identifier">BinaryParser</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -73,7 +66,7 @@
</dl>
</div>
<a name="spirit.qi.reference.operator.difference.expression_semantics"></a><h6>
-<a name="id984702"></a>
+<a name="id966484"></a>
<a class="link" href="difference.html#spirit.qi.reference.operator.difference.expression_semantics">Expression
Semantics</a>
</h6>
@@ -114,7 +107,7 @@
</tr></tbody>
</table></div>
<a name="spirit.qi.reference.operator.difference.attributes"></a><h6>
-<a name="id984815"></a>
+<a name="id966597"></a>
<a class="link" href="difference.html#spirit.qi.reference.operator.difference.attributes">Attributes</a>
</h6>
<p>
@@ -157,21 +150,15 @@
</tr></tbody>
</table></div>
<a name="spirit.qi.reference.operator.difference.complexity"></a><h6>
-<a name="id985034"></a>
+<a name="id972722"></a>
<a class="link" href="difference.html#spirit.qi.reference.operator.difference.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- The complexity of the difference parser is defined by the sum of
- the complexities of both operands.
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ The complexity of the difference parser is defined by the sum of the
+ complexities of both operands.
+ </p></blockquote></div>
<a name="spirit.qi.reference.operator.difference.example"></a><h6>
-<a name="id985058"></a>
+<a name="id972742"></a>
<a class="link" href="difference.html#spirit.qi.reference.operator.difference.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -185,44 +172,34 @@
</p></td></tr>
</table></div>
<p>
- </p>
-<p>
- Some using declarations:
- </p>
-<p>
- </p>
+ Some using declarations:
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">ascii</span><span class="special">::</span><span class="identifier">char_</span><span class="special">;</span></pre>
<p>
- </p>
-<p>
- </p>
-<p>
- Parse a C/C++ style comment:
- </p>
+ </p>
<p>
- </p>
+ Parse a C/C++ style comment:
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_parser</span><span class="special">(</span><span class="string">"/*A Comment*/"</span><span class="special">,</span> <span class="string">"/*"</span> <span class="special">>></span> <span class="special">*(</span><span class="identifier">char_</span> <span class="special">-</span> <span class="string">"*/"</span><span class="special">)</span> <span class="special">>></span> <span class="string">"*/"</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
<div class="footnotes">
<br><hr width="100" align="left">
-<div class="footnote"><p><sup>[<a name="ftn.id983962" href="#id983962" class="para">8</a>] </sup>
- Unlike classic Spirit, with Spirit2, the expression will always fail
- if the RHS is a successful match regardless if the RHS matches less
- characters. For example, the rule <code class="computeroutput"><span class="identifier">lit</span><span class="special">(</span><span class="string">"policeman"</span><span class="special">)</span> <span class="special">-</span> <span class="string">"police"</span></code> will always fail
- to match. Spirit2 does not count the matching chars while parsing
- and there is no reliable and fast way to check if the LHS matches
- more than the RHS.
- </p></div>
+<div class="footnote"><p><sup>[<a name="ftn.id966295" href="#id966295" class="para">8</a>] </sup>
+ Unlike classic Spirit, with Spirit2, the expression will always fail
+ if the RHS is a successful match regardless if the RHS matches less
+ characters. For example, the rule <code class="computeroutput"><span class="identifier">lit</span><span class="special">(</span><span class="string">"policeman"</span><span class="special">)</span> <span class="special">-</span> <span class="string">"police"</span></code> will always fail to
+ match. Spirit2 does not count the matching chars while parsing and
+ there is no reliable and fast way to check if the LHS matches more
+ than the RHS.
+ </p></div>
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/operator/expect.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/operator/expect.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/operator/expect.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -29,7 +29,7 @@
<span class="identifier">b</span></code>)</a>
</h5></div></div></div>
<a name="spirit.qi.reference.operator.expect.description"></a><h6>
-<a name="id985230"></a>
+<a name="id972910"></a>
<a class="link" href="expect.html#spirit.qi.reference.operator.expect.description">Description</a>
</h6>
<p>
@@ -49,7 +49,7 @@
(all operands except the first) fail to match.
</p>
<a name="spirit.qi.reference.operator.expect.header"></a><h6>
-<a name="id985358"></a>
+<a name="id973037"></a>
<a class="link" href="expect.html#spirit.qi.reference.operator.expect.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/operator/expect.hpp>
@@ -59,18 +59,12 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.qi.reference.operator.expect.model_of"></a><h6>
-<a name="id985432"></a>
+<a name="id973112"></a>
<a class="link" href="expect.html#spirit.qi.reference.operator.expect.model_of">Model of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../parser_concepts/naryparser.html" title="NaryParser"><code class="computeroutput"><span class="identifier">NaryParser</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../parser_concepts/naryparser.html" title="NaryParser"><code class="computeroutput"><span class="identifier">NaryParser</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -85,7 +79,7 @@
</dl>
</div>
<a name="spirit.qi.reference.operator.expect.expectation_failure"></a><h6>
-<a name="id985538"></a>
+<a name="id973214"></a>
<a class="link" href="expect.html#spirit.qi.reference.operator.expect.expectation_failure">Expectation
Failure</a>
</h6>
@@ -101,7 +95,7 @@
</span><span class="special">};</span>
</pre>
<a name="spirit.qi.reference.operator.expect.expression_semantics"></a><h6>
-<a name="id985691"></a>
+<a name="id973367"></a>
<a class="link" href="expect.html#spirit.qi.reference.operator.expect.expression_semantics">Expression
Semantics</a>
</h6>
@@ -142,7 +136,7 @@
</tr></tbody>
</table></div>
<a name="spirit.qi.reference.operator.expect.attributes"></a><h6>
-<a name="id985836"></a>
+<a name="id973512"></a>
<a class="link" href="expect.html#spirit.qi.reference.operator.expect.attributes">Attributes</a>
</h6>
<p>
@@ -192,23 +186,16 @@
</tr></tbody>
</table></div>
<a name="spirit.qi.reference.operator.expect.complexity"></a><h6>
-<a name="id986520"></a>
+<a name="id974196"></a>
<a class="link" href="expect.html#spirit.qi.reference.operator.expect.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- The overall complexity of the expectation parser is defined by the
- sum of the complexities of its elements. The complexity of the expectation
- operator itself is O(N), where N is the number of elements in the
- sequence.
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ The overall complexity of the expectation parser is defined by the
+ sum of the complexities of its elements. The complexity of the expectation
+ operator itself is O(N), where N is the number of elements in the sequence.
+ </p></blockquote></div>
<a name="spirit.qi.reference.operator.expect.example"></a><h6>
-<a name="id986544"></a>
+<a name="id974217"></a>
<a class="link" href="expect.html#spirit.qi.reference.operator.expect.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -225,32 +212,24 @@
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">ascii</span><span class="special">::</span><span class="identifier">char_</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">expectation_failure</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
- </p>
-<p>
- The code below uses an expectation operator to throw an <a class="link" href="expect.html#spirit.qi.reference.operator.expect.expectation_failure"><code class="computeroutput"><span class="identifier">expectation_failure</span></code></a> with a
- deliberate parsing error when <code class="computeroutput"><span class="string">"o"</span></code>
- is expected and <code class="computeroutput"><span class="string">"i"</span></code>
- is what is found in the input. The <code class="computeroutput"><span class="keyword">catch</span></code>
- block prints the information related to the error. Note: This is low
- level code that demonstrates the <span class="emphasis"><em>bare-metal</em></span>. Typically,
- you use an Error Handler to deal with the error.
- </p>
-<p>
- </p>
+ The code below uses an expectation operator to throw an <a class="link" href="expect.html#spirit.qi.reference.operator.expect.expectation_failure"><code class="computeroutput"><span class="identifier">expectation_failure</span></code></a> with a deliberate
+ parsing error when <code class="computeroutput"><span class="string">"o"</span></code>
+ is expected and <code class="computeroutput"><span class="string">"i"</span></code>
+ is what is found in the input. The <code class="computeroutput"><span class="keyword">catch</span></code>
+ block prints the information related to the error. Note: This is low
+ level code that demonstrates the <span class="emphasis"><em>bare-metal</em></span>. Typically,
+ you use an Error Handler to deal with the error.
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">try</span>
<span class="special">{</span>
@@ -262,20 +241,13 @@
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"got: \""</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">(</span><span class="identifier">x</span><span class="special">.</span><span class="identifier">first</span><span class="special">,</span> <span class="identifier">x</span><span class="special">.</span><span class="identifier">last</span><span class="special">)</span> <span class="special"><<</span> <span class="char">'"'</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span>
<span class="special">}</span></pre>
<p>
- </p>
-<p>
- </p>
-<p>
- The code above will print:
- </p>
+ </p>
<p>
-
-</p>
+ The code above will print:
+ </p>
<pre class="programlisting">expected: tag: literal-char, value: o
got: "i"
</pre>
-<p>
- </p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/operator/kleene.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/operator/kleene.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/operator/kleene.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -27,7 +27,7 @@
<a name="spirit.qi.reference.operator.kleene"></a><a class="link" href="kleene.html" title="Kleene (*a)"> Kleene (<code class="computeroutput"><span class="special">*</span><span class="identifier">a</span></code>)</a>
</h5></div></div></div>
<a name="spirit.qi.reference.operator.kleene.description"></a><h6>
-<a name="id992503"></a>
+<a name="id974672"></a>
<a class="link" href="kleene.html#spirit.qi.reference.operator.kleene.description">Description</a>
</h6>
<p>
@@ -35,7 +35,7 @@
is a unary operator that matches its operand zero or more times.
</p>
<a name="spirit.qi.reference.operator.kleene.header"></a><h6>
-<a name="id992530"></a>
+<a name="id974699"></a>
<a class="link" href="kleene.html#spirit.qi.reference.operator.kleene.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/operator/kleene.hpp>
@@ -45,18 +45,12 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.qi.reference.operator.kleene.model_of"></a><h6>
-<a name="id992605"></a>
+<a name="id974774"></a>
<a class="link" href="kleene.html#spirit.qi.reference.operator.kleene.model_of">Model of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../parser_concepts/unaryparser.html" title="UnaryParser"><code class="computeroutput"><span class="identifier">UnaryParser</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../parser_concepts/unaryparser.html" title="UnaryParser"><code class="computeroutput"><span class="identifier">UnaryParser</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -67,7 +61,7 @@
</dl>
</div>
<a name="spirit.qi.reference.operator.kleene.expression_semantics"></a><h6>
-<a name="id992677"></a>
+<a name="id975116"></a>
<a class="link" href="kleene.html#spirit.qi.reference.operator.kleene.expression_semantics">Expression
Semantics</a>
</h6>
@@ -107,7 +101,7 @@
</tr></tbody>
</table></div>
<a name="spirit.qi.reference.operator.kleene.attributes"></a><h6>
-<a name="id992778"></a>
+<a name="id975216"></a>
<a class="link" href="kleene.html#spirit.qi.reference.operator.kleene.attributes">Attributes</a>
</h6>
<p>
@@ -149,23 +143,17 @@
</tr></tbody>
</table></div>
<a name="spirit.qi.reference.operator.kleene.complexity"></a><h6>
-<a name="id992948"></a>
+<a name="id975387"></a>
<a class="link" href="kleene.html#spirit.qi.reference.operator.kleene.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- The overall complexity of the Kleene star is defined by the complexity
- of its subject, <code class="computeroutput"><span class="identifier">a</span></code>,
- multiplied by the number of repetitions. The complexity of the Kleene
- star itself is O(N), where N is the number successful repetitions.
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ The overall complexity of the Kleene star is defined by the complexity
+ of its subject, <code class="computeroutput"><span class="identifier">a</span></code>,
+ multiplied by the number of repetitions. The complexity of the Kleene
+ star itself is O(N), where N is the number successful repetitions.
+ </p></blockquote></div>
<a name="spirit.qi.reference.operator.kleene.example"></a><h6>
-<a name="id992979"></a>
+<a name="id975414"></a>
<a class="link" href="kleene.html#spirit.qi.reference.operator.kleene.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -179,27 +167,19 @@
</p></td></tr>
</table></div>
<p>
- </p>
-<p>
- Some using declarations:
- </p>
-<p>
- </p>
+ Some using declarations:
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">int_</span><span class="special">;</span></pre>
<p>
- </p>
-<p>
- </p>
-<p>
- Parse a comma separated list of numbers and put them in a vector:
- </p>
+ </p>
<p>
- </p>
+ Parse a comma separated list of numbers and put them in a vector:
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">attr</span><span class="special">;</span>
<span class="identifier">test_phrase_parser_attr</span><span class="special">(</span>
@@ -210,8 +190,6 @@
<span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/operator/list.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/operator/list.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/operator/list.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -27,7 +27,7 @@
<a name="spirit.qi.reference.operator.list"></a><a class="link" href="list.html" title="List (a % b)"> List (<code class="computeroutput"><span class="identifier">a</span> <span class="special">%</span> <span class="identifier">b</span></code>)</a>
</h5></div></div></div>
<a name="spirit.qi.reference.operator.list.description"></a><h6>
-<a name="id993351"></a>
+<a name="id975783"></a>
<a class="link" href="list.html#spirit.qi.reference.operator.list.description">Description</a>
</h6>
<p>
@@ -40,7 +40,7 @@
<span class="special">>></span> <span class="identifier">a</span><span class="special">)</span></code>.
</p>
<a name="spirit.qi.reference.operator.list.header"></a><h6>
-<a name="id993433"></a>
+<a name="id975864"></a>
<a class="link" href="list.html#spirit.qi.reference.operator.list.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/operator/list.hpp>
@@ -50,18 +50,12 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.qi.reference.operator.list.model_of"></a><h6>
-<a name="id993507"></a>
+<a name="id975939"></a>
<a class="link" href="list.html#spirit.qi.reference.operator.list.model_of">Model of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../parser_concepts/binaryparser.html" title="BinaryParser"><code class="computeroutput"><span class="identifier">BinaryParser</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../parser_concepts/binaryparser.html" title="BinaryParser"><code class="computeroutput"><span class="identifier">BinaryParser</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -72,7 +66,7 @@
</dl>
</div>
<a name="spirit.qi.reference.operator.list.expression_semantics"></a><h6>
-<a name="id993584"></a>
+<a name="id976012"></a>
<a class="link" href="list.html#spirit.qi.reference.operator.list.expression_semantics">Expression
Semantics</a>
</h6>
@@ -116,7 +110,7 @@
</tr></tbody>
</table></div>
<a name="spirit.qi.reference.operator.list.attributes"></a><h6>
-<a name="id993728"></a>
+<a name="id976156"></a>
<a class="link" href="list.html#spirit.qi.reference.operator.list.attributes">Attributes</a>
</h6>
<p>
@@ -159,23 +153,17 @@
</tr></tbody>
</table></div>
<a name="spirit.qi.reference.operator.list.complexity"></a><h6>
-<a name="id993957"></a>
+<a name="id976385"></a>
<a class="link" href="list.html#spirit.qi.reference.operator.list.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- The overall complexity of the List is defined by the complexity of
- its subject, <code class="computeroutput"><span class="identifier">a</span></code>, multiplied
- by the number of repetitions. The complexity of the List itself is
- O(N), where N is the number successful repetitions.
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ The overall complexity of the List is defined by the complexity of
+ its subject, <code class="computeroutput"><span class="identifier">a</span></code>, multiplied
+ by the number of repetitions. The complexity of the List itself is
+ O(N), where N is the number successful repetitions.
+ </p></blockquote></div>
<a name="spirit.qi.reference.operator.list.example"></a><h6>
-<a name="id993988"></a>
+<a name="id976413"></a>
<a class="link" href="list.html#spirit.qi.reference.operator.list.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -189,27 +177,19 @@
</p></td></tr>
</table></div>
<p>
- </p>
-<p>
- Some using declarations:
- </p>
-<p>
- </p>
+ Some using declarations:
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">int_</span><span class="special">;</span></pre>
<p>
- </p>
-<p>
- </p>
-<p>
- Parse a comma separated list of numbers and put them in a vector:
- </p>
+ </p>
<p>
- </p>
+ Parse a comma separated list of numbers and put them in a vector:
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">attr</span><span class="special">;</span>
<span class="identifier">test_phrase_parser_attr</span><span class="special">(</span>
@@ -220,8 +200,6 @@
<span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/operator/not_predicate.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/operator/not_predicate.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/operator/not_predicate.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
(<code class="computeroutput"><span class="special">!</span><span class="identifier">a</span></code>)</a>
</h5></div></div></div>
<a name="spirit.qi.reference.operator.not_predicate.description"></a><h6>
-<a name="id994341"></a>
+<a name="id976762"></a>
<a class="link" href="not_predicate.html#spirit.qi.reference.operator.not_predicate.description">Description</a>
</h6>
<p>
@@ -41,7 +41,7 @@
if its predicate fails to match.
</p>
<a name="spirit.qi.reference.operator.not_predicate.header"></a><h6>
-<a name="id994382"></a>
+<a name="id976803"></a>
<a class="link" href="not_predicate.html#spirit.qi.reference.operator.not_predicate.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/operator/not_predicate.hpp>
@@ -51,19 +51,13 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.qi.reference.operator.not_predicate.model_of"></a><h6>
-<a name="id994457"></a>
+<a name="id976877"></a>
<a class="link" href="not_predicate.html#spirit.qi.reference.operator.not_predicate.model_of">Model
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../parser_concepts/unaryparser.html" title="UnaryParser"><code class="computeroutput"><span class="identifier">UnaryParser</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../parser_concepts/unaryparser.html" title="UnaryParser"><code class="computeroutput"><span class="identifier">UnaryParser</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -74,7 +68,7 @@
</dl>
</div>
<a name="spirit.qi.reference.operator.not_predicate.expression_semantics"></a><h6>
-<a name="id994529"></a>
+<a name="id976946"></a>
<a class="link" href="not_predicate.html#spirit.qi.reference.operator.not_predicate.expression_semantics">Expression
Semantics</a>
</h6>
@@ -114,7 +108,7 @@
</tr></tbody>
</table></div>
<a name="spirit.qi.reference.operator.not_predicate.attributes"></a><h6>
-<a name="id994629"></a>
+<a name="id977045"></a>
<a class="link" href="not_predicate.html#spirit.qi.reference.operator.not_predicate.attributes">Attributes</a>
</h6>
<p>
@@ -152,20 +146,14 @@
</tr></tbody>
</table></div>
<a name="spirit.qi.reference.operator.not_predicate.complexity"></a><h6>
-<a name="id994723"></a>
+<a name="id977140"></a>
<a class="link" href="not_predicate.html#spirit.qi.reference.operator.not_predicate.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- The complexity is defined by the complexity of the predicate, <code class="computeroutput"><span class="identifier">a</span></code>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ The complexity is defined by the complexity of the predicate, <code class="computeroutput"><span class="identifier">a</span></code>
+ </p></blockquote></div>
<a name="spirit.qi.reference.operator.not_predicate.example"></a><h6>
-<a name="id994755"></a>
+<a name="id977168"></a>
<a class="link" href="not_predicate.html#spirit.qi.reference.operator.not_predicate.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -179,47 +167,35 @@
</p></td></tr>
</table></div>
<p>
- </p>
-<p>
- Some using declarations:
- </p>
-<p>
- </p>
+ Some using declarations:
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">ascii</span><span class="special">::</span><span class="identifier">char_</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">ascii</span><span class="special">::</span><span class="identifier">alpha</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">lit</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">symbols</span><span class="special">;</span></pre>
<p>
- </p>
-<p>
- </p>
-<p>
- Here's an alternative to the <code class="computeroutput"><span class="special">*(</span><span class="identifier">r</span> <span class="special">-</span> <span class="identifier">x</span><span class="special">)</span> <span class="special">>></span> <span class="identifier">x</span></code>
- idiom using the not-predicate instead. This parses a list of characters
- terminated by a ';':
- </p>
+ </p>
<p>
- </p>
+ Here's an alternative to the <code class="computeroutput"><span class="special">*(</span><span class="identifier">r</span> <span class="special">-</span> <span class="identifier">x</span><span class="special">)</span> <span class="special">>></span> <span class="identifier">x</span></code>
+ idiom using the not-predicate instead. This parses a list of characters
+ terminated by a ';':
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_parser</span><span class="special">(</span><span class="string">"abcdef;"</span><span class="special">,</span> <span class="special">*(!</span><span class="identifier">lit</span><span class="special">(</span><span class="char">';'</span><span class="special">)</span> <span class="special">>></span> <span class="identifier">char_</span><span class="special">)</span> <span class="special">>></span> <span class="char">';'</span><span class="special">);</span></pre>
<p>
- </p>
-<p>
- </p>
-<p>
- The following parser ensures that we match distinct keywords (stored
- in a symbol table). To do this, we make sure that the keyword does
- not follow an alpha or an underscore:
- </p>
+ </p>
<p>
- </p>
+ The following parser ensures that we match distinct keywords (stored
+ in a symbol table). To do this, we make sure that the keyword does not
+ follow an alpha or an underscore:
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">symbols</span><span class="special"><</span><span class="keyword">char</span><span class="special">,</span> <span class="keyword">int</span><span class="special">></span> <span class="identifier">keywords</span><span class="special">;</span>
<span class="identifier">keywords</span> <span class="special">=</span> <span class="string">"begin"</span><span class="special">,</span> <span class="string">"end"</span><span class="special">,</span> <span class="string">"for"</span><span class="special">;</span>
@@ -234,8 +210,6 @@
</span><span class="identifier">test_parser</span><span class="special">(</span><span class="string">"for()"</span><span class="special">,</span> <span class="identifier">keywords</span> <span class="special">>></span> <span class="special">!(</span><span class="identifier">alpha</span> <span class="special">|</span> <span class="char">'_'</span><span class="special">),</span> <span class="keyword">false</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/operator/optional.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/operator/optional.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/operator/optional.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
(<code class="computeroutput"><span class="special">-</span><span class="identifier">a</span></code>)</a>
</h5></div></div></div>
<a name="spirit.qi.reference.operator.optional.description"></a><h6>
-<a name="id995304"></a>
+<a name="id978806"></a>
<a class="link" href="optional.html#spirit.qi.reference.operator.optional.description">Description</a>
</h6>
<p>
@@ -36,7 +36,7 @@
its operand zero or one time.
</p>
<a name="spirit.qi.reference.operator.optional.header"></a><h6>
-<a name="id995332"></a>
+<a name="id978834"></a>
<a class="link" href="optional.html#spirit.qi.reference.operator.optional.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/operator/optional.hpp>
@@ -46,19 +46,13 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.qi.reference.operator.optional.model_of"></a><h6>
-<a name="id995406"></a>
+<a name="id978908"></a>
<a class="link" href="optional.html#spirit.qi.reference.operator.optional.model_of">Model
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../parser_concepts/unaryparser.html" title="UnaryParser"><code class="computeroutput"><span class="identifier">UnaryParser</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../parser_concepts/unaryparser.html" title="UnaryParser"><code class="computeroutput"><span class="identifier">UnaryParser</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -69,7 +63,7 @@
</dl>
</div>
<a name="spirit.qi.reference.operator.optional.expression_semantics"></a><h6>
-<a name="id995478"></a>
+<a name="id978977"></a>
<a class="link" href="optional.html#spirit.qi.reference.operator.optional.expression_semantics">Expression
Semantics</a>
</h6>
@@ -109,7 +103,7 @@
</tr></tbody>
</table></div>
<a name="spirit.qi.reference.operator.optional.attributes"></a><h6>
-<a name="id995579"></a>
+<a name="id979078"></a>
<a class="link" href="optional.html#spirit.qi.reference.operator.optional.attributes">Attributes</a>
</h6>
<p>
@@ -151,20 +145,14 @@
</tr></tbody>
</table></div>
<a name="spirit.qi.reference.operator.optional.complexity"></a><h6>
-<a name="id995749"></a>
+<a name="id979248"></a>
<a class="link" href="optional.html#spirit.qi.reference.operator.optional.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- The complexity is defined by the complexity of the operand, <code class="computeroutput"><span class="identifier">a</span></code>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ The complexity is defined by the complexity of the operand, <code class="computeroutput"><span class="identifier">a</span></code>
+ </p></blockquote></div>
<a name="spirit.qi.reference.operator.optional.example"></a><h6>
-<a name="id995781"></a>
+<a name="id979276"></a>
<a class="link" href="optional.html#spirit.qi.reference.operator.optional.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -178,14 +166,10 @@
</p></td></tr>
</table></div>
<p>
- </p>
-<p>
- Some using declarations:
- </p>
-<p>
- </p>
+ Some using declarations:
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">ascii</span><span class="special">::</span><span class="identifier">char_</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">lexeme</span><span class="special">;</span>
@@ -194,18 +178,12 @@
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">fusion</span><span class="special">::</span><span class="identifier">at_c</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">optional</span><span class="special">;</span></pre>
<p>
- </p>
-<p>
- </p>
-<p>
- Parse a person info with name (in quotes) optional age
- <sup>[<a name="id995997" href="#ftn.id995997" class="footnote">9</a>]</sup>
- and optional sex, all separated by comma.
- </p>
+ </p>
<p>
- </p>
+ Parse a person info with name (in quotes) optional age <sup>[<a name="id979489" href="#ftn.id979489" class="footnote">9</a>]</sup> and optional sex, all separated by comma.
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">vector</span><span class="special"><</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">,</span> <span class="identifier">optional</span><span class="special"><</span><span class="keyword">int</span><span class="special">>,</span> <span class="identifier">optional</span><span class="special"><</span><span class="keyword">char</span><span class="special">></span> <span class="special">></span> <span class="identifier">attr</span><span class="special">;</span>
@@ -225,14 +203,12 @@
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<div class="footnotes">
<br><hr width="100" align="left">
-<div class="footnote"><p><sup>[<a name="ftn.id995997" href="#id995997" class="para">9</a>] </sup>
- James Bond is shy about his age :-)
- </p></div>
+<div class="footnote"><p><sup>[<a name="ftn.id979489" href="#id979489" class="para">9</a>] </sup>
+ James Bond is shy about his age :-)
+ </p></div>
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/operator/permutation.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/operator/permutation.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/operator/permutation.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -29,7 +29,7 @@
<span class="identifier">b</span></code>)</a>
</h5></div></div></div>
<a name="spirit.qi.reference.operator.permutation.description"></a><h6>
-<a name="id996519"></a>
+<a name="id980011"></a>
<a class="link" href="permutation.html#spirit.qi.reference.operator.permutation.description">Description</a>
</h6>
<p>
@@ -57,7 +57,7 @@
<pre class="programlisting"><span class="string">"a"</span><span class="special">,</span> <span class="string">"ab"</span><span class="special">,</span> <span class="string">"abc"</span><span class="special">,</span> <span class="string">"cba"</span><span class="special">,</span> <span class="string">"bca"</span> <span class="special">...</span> <span class="identifier">etc</span><span class="special">.</span>
</pre>
<a name="spirit.qi.reference.operator.permutation.header"></a><h6>
-<a name="id997797"></a>
+<a name="id980191"></a>
<a class="link" href="permutation.html#spirit.qi.reference.operator.permutation.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/operator/permutation.hpp>
@@ -67,19 +67,13 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.qi.reference.operator.permutation.model_of"></a><h6>
-<a name="id997871"></a>
+<a name="id980266"></a>
<a class="link" href="permutation.html#spirit.qi.reference.operator.permutation.model_of">Model
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../parser_concepts/naryparser.html" title="NaryParser"><code class="computeroutput"><span class="identifier">NaryParser</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../parser_concepts/naryparser.html" title="NaryParser"><code class="computeroutput"><span class="identifier">NaryParser</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -90,7 +84,7 @@
</dl>
</div>
<a name="spirit.qi.reference.operator.permutation.expression_semantics"></a><h6>
-<a name="id997951"></a>
+<a name="id980341"></a>
<a class="link" href="permutation.html#spirit.qi.reference.operator.permutation.expression_semantics">Expression
Semantics</a>
</h6>
@@ -133,7 +127,7 @@
</tr></tbody>
</table></div>
<a name="spirit.qi.reference.operator.permutation.attributes"></a><h6>
-<a name="id998063"></a>
+<a name="id980454"></a>
<a class="link" href="permutation.html#spirit.qi.reference.operator.permutation.attributes">Attributes</a>
</h6>
<p>
@@ -178,23 +172,17 @@
</tr></tbody>
</table></div>
<a name="spirit.qi.reference.operator.permutation.complexity"></a><h6>
-<a name="id998464"></a>
+<a name="id981172"></a>
<a class="link" href="permutation.html#spirit.qi.reference.operator.permutation.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- The overall complexity of the permutation parser is defined by the
- sum of the complexities of its elements, s, multiplied by log s.
- The complexity of the permutation parser itself is O(N log N), where
- N is the number of elements.
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ The overall complexity of the permutation parser is defined by the
+ sum of the complexities of its elements, s, multiplied by log s. The
+ complexity of the permutation parser itself is O(N log N), where N
+ is the number of elements.
+ </p></blockquote></div>
<a name="spirit.qi.reference.operator.permutation.example"></a><h6>
-<a name="id998488"></a>
+<a name="id981193"></a>
<a class="link" href="permutation.html#spirit.qi.reference.operator.permutation.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -211,31 +199,21 @@
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">ascii</span><span class="special">::</span><span class="identifier">char_</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
- </p>
-<p>
- Parse a string containing DNA codes (ACTG)
- </p>
-<p>
- </p>
+ Parse a string containing DNA codes (ACTG)
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_parser</span><span class="special">(</span><span class="string">"ACTGGCTAGACT"</span><span class="special">,</span> <span class="special">*(</span><span class="identifier">char_</span><span class="special">(</span><span class="char">'A'</span><span class="special">)</span> <span class="special">^</span> <span class="char">'C'</span> <span class="special">^</span> <span class="char">'T'</span> <span class="special">^</span> <span class="char">'G'</span><span class="special">));</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/operator/plus.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/operator/plus.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/operator/plus.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -27,7 +27,7 @@
<a name="spirit.qi.reference.operator.plus"></a><a class="link" href="plus.html" title="Plus (+a)"> Plus (<code class="computeroutput"><span class="special">+</span><span class="identifier">a</span></code>)</a>
</h5></div></div></div>
<a name="spirit.qi.reference.operator.plus.description"></a><h6>
-<a name="id998666"></a>
+<a name="id981363"></a>
<a class="link" href="plus.html#spirit.qi.reference.operator.plus.description">Description</a>
</h6>
<p>
@@ -35,7 +35,7 @@
is a unary operator that matches its operand one or more times.
</p>
<a name="spirit.qi.reference.operator.plus.header"></a><h6>
-<a name="id998693"></a>
+<a name="id981391"></a>
<a class="link" href="plus.html#spirit.qi.reference.operator.plus.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/operator/plus.hpp>
@@ -45,18 +45,12 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.qi.reference.operator.plus.model_of"></a><h6>
-<a name="id998768"></a>
+<a name="id981465"></a>
<a class="link" href="plus.html#spirit.qi.reference.operator.plus.model_of">Model of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../parser_concepts/unaryparser.html" title="UnaryParser"><code class="computeroutput"><span class="identifier">UnaryParser</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../parser_concepts/unaryparser.html" title="UnaryParser"><code class="computeroutput"><span class="identifier">UnaryParser</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -67,7 +61,7 @@
</dl>
</div>
<a name="spirit.qi.reference.operator.plus.expression_semantics"></a><h6>
-<a name="id998837"></a>
+<a name="id981531"></a>
<a class="link" href="plus.html#spirit.qi.reference.operator.plus.expression_semantics">Expression
Semantics</a>
</h6>
@@ -107,7 +101,7 @@
</tr></tbody>
</table></div>
<a name="spirit.qi.reference.operator.plus.attributes"></a><h6>
-<a name="id998936"></a>
+<a name="id981629"></a>
<a class="link" href="plus.html#spirit.qi.reference.operator.plus.attributes">Attributes</a>
</h6>
<p>
@@ -149,23 +143,17 @@
</tr></tbody>
</table></div>
<a name="spirit.qi.reference.operator.plus.complexity"></a><h6>
-<a name="id999106"></a>
+<a name="id981800"></a>
<a class="link" href="plus.html#spirit.qi.reference.operator.plus.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- The overall complexity of the Plus is defined by the complexity of
- its subject, <code class="computeroutput"><span class="identifier">a</span></code>, multiplied
- by the number of repetitions. The complexity of the Plus itself is
- O(N), where N is the number successful repetitions.
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ The overall complexity of the Plus is defined by the complexity of
+ its subject, <code class="computeroutput"><span class="identifier">a</span></code>, multiplied
+ by the number of repetitions. The complexity of the Plus itself is
+ O(N), where N is the number successful repetitions.
+ </p></blockquote></div>
<a name="spirit.qi.reference.operator.plus.example"></a><h6>
-<a name="id999137"></a>
+<a name="id981827"></a>
<a class="link" href="plus.html#spirit.qi.reference.operator.plus.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -179,37 +167,27 @@
</p></td></tr>
</table></div>
<p>
- </p>
-<p>
- Some using declarations:
- </p>
-<p>
- </p>
+ Some using declarations:
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">ascii</span><span class="special">::</span><span class="identifier">alpha</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">lexeme</span><span class="special">;</span></pre>
<p>
- </p>
-<p>
- </p>
-<p>
- Parse one or more strings containing one or more alphabetic characters
- and put them in a vector:
- </p>
+ </p>
<p>
- </p>
+ Parse one or more strings containing one or more alphabetic characters
+ and put them in a vector:
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">></span> <span class="identifier">attr</span><span class="special">;</span>
<span class="identifier">test_phrase_parser_attr</span><span class="special">(</span><span class="string">"yaba daba doo"</span><span class="special">,</span> <span class="special">+</span><span class="identifier">lexeme</span><span class="special">[+</span><span class="identifier">alpha</span><span class="special">],</span> <span class="identifier">attr</span><span class="special">);</span>
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">attr</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special"><<</span> <span class="char">','</span> <span class="special"><<</span> <span class="identifier">attr</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special"><<</span> <span class="char">','</span> <span class="special"><<</span> <span class="identifier">attr</span><span class="special">[</span><span class="number">2</span><span class="special">]</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/operator/sequence.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/operator/sequence.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/operator/sequence.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -29,7 +29,7 @@
<span class="identifier">b</span></code>)</a>
</h5></div></div></div>
<a name="spirit.qi.reference.operator.sequence.description"></a><h6>
-<a name="id999478"></a>
+<a name="id982165"></a>
<a class="link" href="sequence.html#spirit.qi.reference.operator.sequence.description">Description</a>
</h6>
<p>
@@ -40,7 +40,7 @@
<pre class="programlisting"><span class="identifier">a</span> <span class="special">>></span> <span class="identifier">b</span> <span class="special">>></span> <span class="special">...</span>
</pre>
<a name="spirit.qi.reference.operator.sequence.header"></a><h6>
-<a name="id999554"></a>
+<a name="id982240"></a>
<a class="link" href="sequence.html#spirit.qi.reference.operator.sequence.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/operator/sequence.hpp>
@@ -50,19 +50,13 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.qi.reference.operator.sequence.model_of"></a><h6>
-<a name="id999628"></a>
+<a name="id982315"></a>
<a class="link" href="sequence.html#spirit.qi.reference.operator.sequence.model_of">Model
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../parser_concepts/naryparser.html" title="NaryParser"><code class="computeroutput"><span class="identifier">NaryParser</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../parser_concepts/naryparser.html" title="NaryParser"><code class="computeroutput"><span class="identifier">NaryParser</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -73,7 +67,7 @@
</dl>
</div>
<a name="spirit.qi.reference.operator.sequence.expression_semantics"></a><h6>
-<a name="id999707"></a>
+<a name="id982390"></a>
<a class="link" href="sequence.html#spirit.qi.reference.operator.sequence.expression_semantics">Expression
Semantics</a>
</h6>
@@ -114,7 +108,7 @@
</tr></tbody>
</table></div>
<a name="spirit.qi.reference.operator.sequence.attributes"></a><h6>
-<a name="id999820"></a>
+<a name="id982503"></a>
<a class="link" href="sequence.html#spirit.qi.reference.operator.sequence.attributes">Attributes</a>
</h6>
<p>
@@ -164,31 +158,23 @@
</tr></tbody>
</table></div>
<a name="spirit.qi.reference.operator.sequence.complexity"></a><h6>
-<a name="id1001051"></a>
+<a name="id984826"></a>
<a class="link" href="sequence.html#spirit.qi.reference.operator.sequence.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- The overall complexity of the sequence parser is defined by the sum
- of the complexities of its elements. The complexity of the sequence
- itself is O(N), where N is the number of elements in the sequence.
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ The overall complexity of the sequence parser is defined by the sum
+ of the complexities of its elements. The complexity of the sequence
+ itself is O(N), where N is the number of elements in the sequence.
+ </p></blockquote></div>
<a name="spirit.qi.reference.operator.sequence.example"></a><h6>
-<a name="id1001075"></a>
+<a name="id984846"></a>
<a class="link" href="sequence.html#spirit.qi.reference.operator.sequence.example">Example</a>
</h6>
<p>
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">ascii</span><span class="special">::</span><span class="identifier">char_</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">_1</span><span class="special">;</span>
@@ -196,8 +182,6 @@
<span class="keyword">namespace</span> <span class="identifier">bf</span> <span class="special">=</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">fusion</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<div class="note"><table border="0" summary="Note">
<tr>
@@ -210,63 +194,45 @@
</p></td></tr>
</table></div>
<p>
- </p>
-<p>
- Simple usage:
- </p>
-<p>
- </p>
+ Simple usage:
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_parser</span><span class="special">(</span><span class="string">"xy"</span><span class="special">,</span> <span class="identifier">char_</span> <span class="special">>></span> <span class="identifier">char_</span><span class="special">);</span></pre>
<p>
- </p>
-<p>
- </p>
-<p>
- Extracting the attribute tuple (using Boost.Fusion):
- </p>
+ </p>
<p>
- </p>
+ Extracting the attribute tuple (using Boost.Fusion):
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">bf</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">char</span><span class="special">,</span> <span class="keyword">char</span><span class="special">></span> <span class="identifier">attr</span><span class="special">;</span>
<span class="identifier">test_parser_attr</span><span class="special">(</span><span class="string">"xy"</span><span class="special">,</span> <span class="identifier">char_</span> <span class="special">>></span> <span class="identifier">char_</span><span class="special">,</span> <span class="identifier">attr</span><span class="special">);</span>
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">bf</span><span class="special">::</span><span class="identifier">at_c</span><span class="special"><</span><span class="number">0</span><span class="special">>(</span><span class="identifier">attr</span><span class="special">)</span> <span class="special"><<</span> <span class="char">','</span> <span class="special"><<</span> <span class="identifier">bf</span><span class="special">::</span><span class="identifier">at_c</span><span class="special"><</span><span class="number">1</span><span class="special">>(</span><span class="identifier">attr</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span></pre>
<p>
- </p>
-<p>
- </p>
-<p>
- Extracting the attribute vector (using STL):
- </p>
+ </p>
<p>
- </p>
+ Extracting the attribute vector (using STL):
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">char</span><span class="special">></span> <span class="identifier">vec</span><span class="special">;</span>
<span class="identifier">test_parser_attr</span><span class="special">(</span><span class="string">"xy"</span><span class="special">,</span> <span class="identifier">char_</span> <span class="special">>></span> <span class="identifier">char_</span><span class="special">,</span> <span class="identifier">vec</span><span class="special">);</span>
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">vec</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special"><<</span> <span class="char">','</span> <span class="special"><<</span> <span class="identifier">vec</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span></pre>
<p>
- </p>
-<p>
- </p>
-<p>
- Extracting the attributes using Semantic Actions (using Phoenix):
- </p>
+ </p>
<p>
- </p>
+ Extracting the attributes using Semantic Actions (using Phoenix):
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_parser</span><span class="special">(</span><span class="string">"xy"</span><span class="special">,</span> <span class="special">(</span><span class="identifier">char_</span> <span class="special">>></span> <span class="identifier">char_</span><span class="special">)[</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">_1</span> <span class="special"><<</span> <span class="char">','</span> <span class="special"><<</span> <span class="identifier">_2</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">]);</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/operator/sequential_or.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/operator/sequential_or.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/operator/sequential_or.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -29,7 +29,7 @@
<span class="identifier">b</span></code>)</a>
</h5></div></div></div>
<a name="spirit.qi.reference.operator.sequential_or.description"></a><h6>
-<a name="id1001814"></a>
+<a name="id985578"></a>
<a class="link" href="sequential_or.html#spirit.qi.reference.operator.sequential_or.description">Description</a>
</h6>
<p>
@@ -45,7 +45,7 @@
<pre class="programlisting"><span class="identifier">a</span> <span class="special">||</span> <span class="identifier">b</span> <span class="special">||</span> <span class="special">...</span>
</pre>
<a name="spirit.qi.reference.operator.sequential_or.header"></a><h6>
-<a name="id1001948"></a>
+<a name="id985713"></a>
<a class="link" href="sequential_or.html#spirit.qi.reference.operator.sequential_or.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/operator/sequential_or.hpp>
@@ -55,19 +55,13 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.qi.reference.operator.sequential_or.model_of"></a><h6>
-<a name="id1002023"></a>
+<a name="id985787"></a>
<a class="link" href="sequential_or.html#spirit.qi.reference.operator.sequential_or.model_of">Model
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../parser_concepts/naryparser.html" title="NaryParser"><code class="computeroutput"><span class="identifier">NaryParser</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../parser_concepts/naryparser.html" title="NaryParser"><code class="computeroutput"><span class="identifier">NaryParser</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -78,7 +72,7 @@
</dl>
</div>
<a name="spirit.qi.reference.operator.sequential_or.expression_semantics"></a><h6>
-<a name="id1002102"></a>
+<a name="id985863"></a>
<a class="link" href="sequential_or.html#spirit.qi.reference.operator.sequential_or.expression_semantics">Expression
Semantics</a>
</h6>
@@ -121,7 +115,7 @@
</tr></tbody>
</table></div>
<a name="spirit.qi.reference.operator.sequential_or.attributes"></a><h6>
-<a name="id1002245"></a>
+<a name="id986006"></a>
<a class="link" href="sequential_or.html#spirit.qi.reference.operator.sequential_or.attributes">Attributes</a>
</h6>
<p>
@@ -192,23 +186,16 @@
</td></tr>
</table></div>
<a name="spirit.qi.reference.operator.sequential_or.complexity"></a><h6>
-<a name="id1003758"></a>
+<a name="id986634"></a>
<a class="link" href="sequential_or.html#spirit.qi.reference.operator.sequential_or.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- The overall complexity of the sequential-or parser is defined by
- the sum of the complexities of its elements. The complexity of the
- sequential-or itself is O(N), where N is the number of elements in
- the sequence.
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ The overall complexity of the sequential-or parser is defined by the
+ sum of the complexities of its elements. The complexity of the sequential-or
+ itself is O(N), where N is the number of elements in the sequence.
+ </p></blockquote></div>
<a name="spirit.qi.reference.operator.sequential_or.example"></a><h6>
-<a name="id1003782"></a>
+<a name="id986655"></a>
<a class="link" href="sequential_or.html#spirit.qi.reference.operator.sequential_or.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -225,46 +212,30 @@
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">int_</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
- </p>
-<p>
- Correctly parsing a number with optional fractional digits:
- </p>
-<p>
- </p>
+ Correctly parsing a number with optional fractional digits:
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_parser</span><span class="special">(</span><span class="string">"123.456"</span><span class="special">,</span> <span class="identifier">int_</span> <span class="special">||</span> <span class="special">(</span><span class="char">'.'</span> <span class="special">>></span> <span class="identifier">int_</span><span class="special">));</span> <span class="comment">// full
</span><span class="identifier">test_parser</span><span class="special">(</span><span class="string">"123"</span><span class="special">,</span> <span class="identifier">int_</span> <span class="special">||</span> <span class="special">(</span><span class="char">'.'</span> <span class="special">>></span> <span class="identifier">int_</span><span class="special">));</span> <span class="comment">// just the whole number
</span><span class="identifier">test_parser</span><span class="special">(</span><span class="string">".456"</span><span class="special">,</span> <span class="identifier">int_</span> <span class="special">||</span> <span class="special">(</span><span class="char">'.'</span> <span class="special">>></span> <span class="identifier">int_</span><span class="special">));</span> <span class="comment">// just the fraction</span></pre>
<p>
- </p>
-<p>
- </p>
-<p>
- A naive but incorrect solution would try to do this using optionals
- (e.g.):
- </p>
+ </p>
<p>
-
-</p>
+ A naive but incorrect solution would try to do this using optionals (e.g.):
+ </p>
<pre class="programlisting"><span class="identifier">int_</span> <span class="special">>></span> <span class="special">-(</span><span class="char">'.'</span> <span class="special">>></span> <span class="identifier">int_</span><span class="special">)</span> <span class="comment">// will not match ".456"
</span><span class="special">-</span><span class="identifier">int_</span> <span class="special">>></span> <span class="special">(</span><span class="char">'.'</span> <span class="special">>></span> <span class="identifier">int_</span><span class="special">)</span> <span class="comment">// will not match "123"
</span><span class="special">-</span><span class="identifier">int_</span> <span class="special">>></span> <span class="special">-(</span><span class="char">'.'</span> <span class="special">>></span> <span class="identifier">int_</span><span class="special">)</span> <span class="comment">// will match empty strings! Ooops.
</span></pre>
-<p>
- </p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/parse_api/create_parser.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/parse_api/create_parser.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/parse_api/create_parser.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
for Automatic Parser Creation</a>
</h5></div></div></div>
<a name="spirit.qi.reference.parse_api.create_parser.description"></a><h6>
-<a name="id914294"></a>
+<a name="id898411"></a>
<a class="link" href="create_parser.html#spirit.qi.reference.parse_api.create_parser.description">Description</a>
</h6>
<p>
@@ -39,7 +39,7 @@
parser can be utilized to match input for the provided attribute.
</p>
<a name="spirit.qi.reference.parse_api.create_parser.header"></a><h6>
-<a name="id914311"></a>
+<a name="id898428"></a>
<a class="link" href="create_parser.html#spirit.qi.reference.parse_api.create_parser.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/auto.hpp>
@@ -49,7 +49,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.qi.reference.parse_api.create_parser.namespace"></a><h6>
-<a name="id914385"></a>
+<a name="id898502"></a>
<a class="link" href="create_parser.html#spirit.qi.reference.parse_api.create_parser.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -73,7 +73,7 @@
</tbody>
</table></div>
<a name="spirit.qi.reference.parse_api.create_parser.synopsis"></a><h6>
-<a name="id914505"></a>
+<a name="id898622"></a>
<a class="link" href="create_parser.html#spirit.qi.reference.parse_api.create_parser.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">spirit</span> <span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">qi</span>
@@ -281,7 +281,7 @@
</p></td></tr>
</table></div>
<a name="spirit.qi.reference.parse_api.create_parser.template_parameters"></a><h6>
-<a name="id917636"></a>
+<a name="id900646"></a>
<a class="link" href="create_parser.html#spirit.qi.reference.parse_api.create_parser.template_parameters">Template
parameters</a>
</h6>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/parse_api/iterator_api.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/parse_api/iterator_api.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/parse_api/iterator_api.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
Based Parser API</a>
</h5></div></div></div>
<a name="spirit.qi.reference.parse_api.iterator_api.description"></a><h6>
-<a name="id908737"></a>
+<a name="id892987"></a>
<a class="link" href="iterator_api.html#spirit.qi.reference.parse_api.iterator_api.description">Description</a>
</h6>
<p>
@@ -40,7 +40,7 @@
successful parse.
</p>
<a name="spirit.qi.reference.parse_api.iterator_api.header"></a><h6>
-<a name="id908769"></a>
+<a name="id893018"></a>
<a class="link" href="iterator_api.html#spirit.qi.reference.parse_api.iterator_api.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/parse.hpp>
@@ -70,7 +70,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.qi.reference.parse_api.iterator_api.namespace"></a><h6>
-<a name="id908964"></a>
+<a name="id893214"></a>
<a class="link" href="iterator_api.html#spirit.qi.reference.parse_api.iterator_api.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -104,7 +104,7 @@
</tbody>
</table></div>
<a name="spirit.qi.reference.parse_api.iterator_api.synopsis"></a><h6>
-<a name="id909178"></a>
+<a name="id893428"></a>
<a class="link" href="iterator_api.html#spirit.qi.reference.parse_api.iterator_api.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">spirit</span> <span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">qi</span>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/parse_api/stream_api.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/parse_api/stream_api.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/parse_api/stream_api.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
Based Parser API</a>
</h5></div></div></div>
<a name="spirit.qi.reference.parse_api.stream_api.description"></a><h6>
-<a name="id911984"></a>
+<a name="id895141"></a>
<a class="link" href="stream_api.html#spirit.qi.reference.parse_api.stream_api.description">Description</a>
</h6>
<p>
@@ -42,7 +42,7 @@
successful parse.
</p>
<a name="spirit.qi.reference.parse_api.stream_api.header"></a><h6>
-<a name="id912026"></a>
+<a name="id895183"></a>
<a class="link" href="stream_api.html#spirit.qi.reference.parse_api.stream_api.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/stream/match_manip.hpp>
@@ -72,7 +72,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.qi.reference.parse_api.stream_api.namespace"></a><h6>
-<a name="id912222"></a>
+<a name="id895379"></a>
<a class="link" href="stream_api.html#spirit.qi.reference.parse_api.stream_api.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -106,7 +106,7 @@
</tbody>
</table></div>
<a name="spirit.qi.reference.parse_api.stream_api.synopsis"></a><h6>
-<a name="id912435"></a>
+<a name="id896963"></a>
<a class="link" href="stream_api.html#spirit.qi.reference.parse_api.stream_api.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">spirit</span> <span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">qi</span>
@@ -204,7 +204,7 @@
to the corresponding argument.
</p>
<a name="spirit.qi.reference.parse_api.stream_api.template_parameters"></a><h6>
-<a name="id914118"></a>
+<a name="id898235"></a>
<a class="link" href="stream_api.html#spirit.qi.reference.parse_api.stream_api.template_parameters">Template
parameters</a>
</h6>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/parser_concepts/binaryparser.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/parser_concepts/binaryparser.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/parser_concepts/binaryparser.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -27,7 +27,7 @@
<a name="spirit.qi.reference.parser_concepts.binaryparser"></a><a class="link" href="binaryparser.html" title="BinaryParser">BinaryParser</a>
</h5></div></div></div>
<a name="spirit.qi.reference.parser_concepts.binaryparser.description"></a><h6>
-<a name="id900257"></a>
+<a name="id884360"></a>
<a class="link" href="binaryparser.html#spirit.qi.reference.parser_concepts.binaryparser.description">Description</a>
</h6>
<p>
@@ -37,19 +37,13 @@
following the Composite Design Pattern.
</p>
<a name="spirit.qi.reference.parser_concepts.binaryparser.refinement_of"></a><h6>
-<a name="id900309"></a>
+<a name="id884411"></a>
<a class="link" href="binaryparser.html#spirit.qi.reference.parser_concepts.binaryparser.refinement_of">Refinement
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="parser.html" title="Parser"><code class="computeroutput"><span class="identifier">Parser</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="parser.html" title="Parser"><code class="computeroutput"><span class="identifier">Parser</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -64,7 +58,7 @@
</dl>
</div>
<a name="spirit.qi.reference.parser_concepts.binaryparser.valid_expressions"></a><h6>
-<a name="id902052"></a>
+<a name="id885110"></a>
<a class="link" href="binaryparser.html#spirit.qi.reference.parser_concepts.binaryparser.valid_expressions">Valid
Expressions</a>
</h6>
@@ -133,7 +127,7 @@
</tbody>
</table></div>
<a name="spirit.qi.reference.parser_concepts.binaryparser.type_expressions"></a><h6>
-<a name="id902223"></a>
+<a name="id885280"></a>
<a class="link" href="binaryparser.html#spirit.qi.reference.parser_concepts.binaryparser.type_expressions">Type
Expressions</a>
</h6>
@@ -198,7 +192,7 @@
</tbody>
</table></div>
<a name="spirit.qi.reference.parser_concepts.binaryparser.invariants"></a><h6>
-<a name="id902427"></a>
+<a name="id885484"></a>
<a class="link" href="binaryparser.html#spirit.qi.reference.parser_concepts.binaryparser.invariants">Invariants</a>
</h6>
<p>
@@ -207,19 +201,23 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
-<code class="computeroutput"><span class="identifier">traits</span><span class="special">::</span><span class="identifier">is_parser</span><span class="special"><</span><span class="identifier">P</span><span class="special">::</span><span class="identifier">left_type</span><span class="special">>::</span><span class="identifier">type</span></code> evaluates to <code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">true_</span></code>
-</li>
+ <code class="computeroutput"><span class="identifier">traits</span><span class="special">::</span><span class="identifier">is_parser</span><span class="special"><</span><span class="identifier">P</span><span class="special">::</span><span class="identifier">left_type</span><span class="special">>::</span><span class="identifier">type</span></code> evaluates to <code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">true_</span></code>
+ </li>
<li class="listitem">
-<code class="computeroutput"><span class="identifier">traits</span><span class="special">::</span><span class="identifier">is_parser</span><span class="special"><</span><span class="identifier">P</span><span class="special">::</span><span class="identifier">right_type</span><span class="special">>::</span><span class="identifier">type</span></code> evaluates to <code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">true_</span></code>
-</li>
+ <code class="computeroutput"><span class="identifier">traits</span><span class="special">::</span><span class="identifier">is_parser</span><span class="special"><</span><span class="identifier">P</span><span class="special">::</span><span class="identifier">right_type</span><span class="special">>::</span><span class="identifier">type</span></code> evaluates to <code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">true_</span></code>
+ </li>
</ul></div>
<a name="spirit.qi.reference.parser_concepts.binaryparser.models"></a><h6>
-<a name="id902566"></a>
+<a name="id885631"></a>
<a class="link" href="binaryparser.html#spirit.qi.reference.parser_concepts.binaryparser.models">Models</a>
</h6>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
-<li class="listitem"><a class="link" href="../operator/difference.html" title="Difference (a - b)">Difference</a></li>
-<li class="listitem"><a class="link" href="../operator/list.html" title="List (a % b)">List</a></li>
+<li class="listitem">
+ <a class="link" href="../operator/difference.html" title="Difference (a - b)">Difference</a>
+ </li>
+<li class="listitem">
+ <a class="link" href="../operator/list.html" title="List (a % b)">List</a>
+ </li>
</ul></div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/parser_concepts/naryparser.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/parser_concepts/naryparser.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/parser_concepts/naryparser.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -27,7 +27,7 @@
<a name="spirit.qi.reference.parser_concepts.naryparser"></a><a class="link" href="naryparser.html" title="NaryParser">NaryParser</a>
</h5></div></div></div>
<a name="spirit.qi.reference.parser_concepts.naryparser.description"></a><h6>
-<a name="id902613"></a>
+<a name="id885685"></a>
<a class="link" href="naryparser.html#spirit.qi.reference.parser_concepts.naryparser.description">Description</a>
</h6>
<p>
@@ -37,19 +37,13 @@
Design Pattern.
</p>
<a name="spirit.qi.reference.parser_concepts.naryparser.refinement_of"></a><h6>
-<a name="id902649"></a>
+<a name="id885721"></a>
<a class="link" href="naryparser.html#spirit.qi.reference.parser_concepts.naryparser.refinement_of">Refinement
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="parser.html" title="Parser"><code class="computeroutput"><span class="identifier">Parser</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="parser.html" title="Parser"><code class="computeroutput"><span class="identifier">Parser</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -64,7 +58,7 @@
</dl>
</div>
<a name="spirit.qi.reference.parser_concepts.naryparser.valid_expressions"></a><h6>
-<a name="id902730"></a>
+<a name="id885799"></a>
<a class="link" href="naryparser.html#spirit.qi.reference.parser_concepts.naryparser.valid_expressions">Valid
Expressions</a>
</h6>
@@ -115,7 +109,7 @@
</tr></tbody>
</table></div>
<a name="spirit.qi.reference.parser_concepts.naryparser.type_expressions"></a><h6>
-<a name="id902856"></a>
+<a name="id885925"></a>
<a class="link" href="naryparser.html#spirit.qi.reference.parser_concepts.naryparser.type_expressions">Type
Expressions</a>
</h6>
@@ -168,7 +162,7 @@
</tbody>
</table></div>
<a name="spirit.qi.reference.parser_concepts.naryparser.invariants"></a><h6>
-<a name="id903030"></a>
+<a name="id886099"></a>
<a class="link" href="naryparser.html#spirit.qi.reference.parser_concepts.naryparser.invariants">Invariants</a>
</h6>
<p>
@@ -177,19 +171,29 @@
the following invariant always holds:
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem">
-<code class="computeroutput"><span class="identifier">traits</span><span class="special">::</span><span class="identifier">is_parser</span><span class="special"><</span><span class="identifier">E</span><span class="special">>::</span><span class="identifier">type</span></code> evaluates to <code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">true_</span></code>
-</li></ul></div>
+ <code class="computeroutput"><span class="identifier">traits</span><span class="special">::</span><span class="identifier">is_parser</span><span class="special"><</span><span class="identifier">E</span><span class="special">>::</span><span class="identifier">type</span></code> evaluates to <code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">true_</span></code>
+ </li></ul></div>
<a name="spirit.qi.reference.parser_concepts.naryparser.models"></a><h6>
-<a name="id903116"></a>
+<a name="id886188"></a>
<a class="link" href="naryparser.html#spirit.qi.reference.parser_concepts.naryparser.models">Models</a>
</h6>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
-<li class="listitem"><a class="link" href="../operator/alternative.html" title="Alternative (a | b)">Alternative</a></li>
-<li class="listitem"><a class="link" href="../operator/expect.html" title="Expectation (a > b)">Expect</a></li>
-<li class="listitem"><a class="link" href="../operator/permutation.html" title="Permutation (a ^ b)">Permutation</a></li>
-<li class="listitem"><a class="link" href="../operator/sequence.html" title="Sequence (a >> b)">Sequence</a></li>
-<li class="listitem"><a class="link" href="../operator/sequential_or.html" title="Sequential Or (a || b)">Sequential
- Or</a></li>
+<li class="listitem">
+ <a class="link" href="../operator/alternative.html" title="Alternative (a | b)">Alternative</a>
+ </li>
+<li class="listitem">
+ <a class="link" href="../operator/expect.html" title="Expectation (a > b)">Expect</a>
+ </li>
+<li class="listitem">
+ <a class="link" href="../operator/permutation.html" title="Permutation (a ^ b)">Permutation</a>
+ </li>
+<li class="listitem">
+ <a class="link" href="../operator/sequence.html" title="Sequence (a >> b)">Sequence</a>
+ </li>
+<li class="listitem">
+ <a class="link" href="../operator/sequential_or.html" title="Sequential Or (a || b)">Sequential
+ Or</a>
+ </li>
</ul></div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/parser_concepts/nonterminal.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/parser_concepts/nonterminal.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/parser_concepts/nonterminal.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -27,7 +27,7 @@
<a name="spirit.qi.reference.parser_concepts.nonterminal"></a><a class="link" href="nonterminal.html" title="Nonterminal">Nonterminal</a>
</h5></div></div></div>
<a name="spirit.qi.reference.parser_concepts.nonterminal.description"></a><h6>
-<a name="id903188"></a>
+<a name="id886278"></a>
<a class="link" href="nonterminal.html#spirit.qi.reference.parser_concepts.nonterminal.description">Description</a>
</h6>
<p>
@@ -38,21 +38,15 @@
in recursive descent parsing.
</p>
<a name="spirit.qi.reference.parser_concepts.nonterminal.refinement_of"></a><h6>
-<a name="id903214"></a>
+<a name="id886304"></a>
<a class="link" href="nonterminal.html#spirit.qi.reference.parser_concepts.nonterminal.refinement_of">Refinement
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="parser.html" title="Parser"><code class="computeroutput"><span class="identifier">Parser</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="parser.html" title="Parser"><code class="computeroutput"><span class="identifier">Parser</span></code></a>
+ </p></blockquote></div>
<a name="spirit.qi.reference.parser_concepts.nonterminal.signature"></a><h6>
-<a name="id903252"></a>
+<a name="id886339"></a>
<a class="link" href="nonterminal.html#spirit.qi.reference.parser_concepts.nonterminal.signature">Signature</a>
</h6>
<p>
@@ -70,7 +64,7 @@
inherited attributes.
</p>
<a name="spirit.qi.reference.parser_concepts.nonterminal.attributes"></a><h6>
-<a name="id903353"></a>
+<a name="id886440"></a>
<a class="link" href="nonterminal.html#spirit.qi.reference.parser_concepts.nonterminal.attributes">Attributes</a>
</h6>
<p>
@@ -83,7 +77,7 @@
<pre class="programlisting"><span class="identifier">r</span><span class="special">(</span><span class="identifier">expr</span><span class="special">)</span> <span class="comment">// Evaluate expr at parse time and pass the result to the Nonterminal r
</span></pre>
<a name="spirit.qi.reference.parser_concepts.nonterminal._code__phrase_role__identifier___val__phrase___code_"></a><h6>
-<a name="id903400"></a>
+<a name="id886486"></a>
<a class="link" href="nonterminal.html#spirit.qi.reference.parser_concepts.nonterminal._code__phrase_role__identifier___val__phrase___code_"><code class="computeroutput"><span class="identifier">_val</span></code></a>
</h6>
<p>
@@ -94,7 +88,7 @@
like a mutable reference to the Nonterminal's attribute.
</p>
<a name="spirit.qi.reference.parser_concepts.nonterminal._code__phrase_role__identifier___r1__phrase___code_______code__phrase_role__identifier__r10__phrase___code_"></a><h6>
-<a name="id903467"></a>
+<a name="id886554"></a>
<a class="link" href="nonterminal.html#spirit.qi.reference.parser_concepts.nonterminal._code__phrase_role__identifier___r1__phrase___code_______code__phrase_role__identifier__r10__phrase___code_"><code class="computeroutput"><span class="identifier">_r1</span></code> ... <code class="computeroutput"><span class="identifier">r10</span></code></a>
</h6>
<p>
@@ -104,7 +98,7 @@
refer to the Nonterminal's inherited attributes.
</p>
<a name="spirit.qi.reference.parser_concepts.nonterminal.locals"></a><h6>
-<a name="id903549"></a>
+<a name="id886635"></a>
<a class="link" href="nonterminal.html#spirit.qi.reference.parser_concepts.nonterminal.locals">Locals</a>
</h6>
<p>
@@ -121,16 +115,36 @@
semantic actions using the placeholders:
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
-<li class="listitem"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">_a</span></code></li>
-<li class="listitem"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">_b</span></code></li>
-<li class="listitem"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">_c</span></code></li>
-<li class="listitem"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">_d</span></code></li>
-<li class="listitem"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">_e</span></code></li>
-<li class="listitem"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">_f</span></code></li>
-<li class="listitem"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">_g</span></code></li>
-<li class="listitem"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">_h</span></code></li>
-<li class="listitem"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">_i</span></code></li>
-<li class="listitem"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">_j</span></code></li>
+<li class="listitem">
+ <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">_a</span></code>
+ </li>
+<li class="listitem">
+ <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">_b</span></code>
+ </li>
+<li class="listitem">
+ <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">_c</span></code>
+ </li>
+<li class="listitem">
+ <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">_d</span></code>
+ </li>
+<li class="listitem">
+ <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">_e</span></code>
+ </li>
+<li class="listitem">
+ <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">_f</span></code>
+ </li>
+<li class="listitem">
+ <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">_g</span></code>
+ </li>
+<li class="listitem">
+ <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">_h</span></code>
+ </li>
+<li class="listitem">
+ <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">_i</span></code>
+ </li>
+<li class="listitem">
+ <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">_j</span></code>
+ </li>
</ul></div>
<p>
which correspond to the Nonterminal's local variables <code class="computeroutput"><span class="identifier">T0</span></code>
@@ -155,7 +169,7 @@
</dl>
</div>
<a name="spirit.qi.reference.parser_concepts.nonterminal.valid_expressions"></a><h6>
-<a name="id904029"></a>
+<a name="id887151"></a>
<a class="link" href="nonterminal.html#spirit.qi.reference.parser_concepts.nonterminal.valid_expressions">Valid
Expressions</a>
</h6>
@@ -279,7 +293,7 @@
</tbody>
</table></div>
<a name="spirit.qi.reference.parser_concepts.nonterminal.type_expressions"></a><h6>
-<a name="id905013"></a>
+<a name="id888136"></a>
<a class="link" href="nonterminal.html#spirit.qi.reference.parser_concepts.nonterminal.type_expressions">Type
Expressions</a>
</h6>
@@ -334,12 +348,16 @@
</tbody>
</table></div>
<a name="spirit.qi.reference.parser_concepts.nonterminal.models"></a><h6>
-<a name="id905152"></a>
+<a name="id888275"></a>
<a class="link" href="nonterminal.html#spirit.qi.reference.parser_concepts.nonterminal.models">Models</a>
</h6>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
-<li class="listitem"><a class="link" href="../nonterminal/rule.html" title="Rule">rule</a></li>
-<li class="listitem"><a class="link" href="../nonterminal/grammar.html" title="Grammar">grammar</a></li>
+<li class="listitem">
+ <a class="link" href="../nonterminal/rule.html" title="Rule">rule</a>
+ </li>
+<li class="listitem">
+ <a class="link" href="../nonterminal/grammar.html" title="Grammar">grammar</a>
+ </li>
</ul></div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/parser_concepts/parser.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/parser_concepts/parser.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/parser_concepts/parser.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -27,7 +27,7 @@
<a name="spirit.qi.reference.parser_concepts.parser"></a><a class="link" href="parser.html" title="Parser">Parser</a>
</h5></div></div></div>
<a name="spirit.qi.reference.parser_concepts.parser.description"></a><h6>
-<a name="id898309"></a>
+<a name="id882346"></a>
<a class="link" href="parser.html#spirit.qi.reference.parser_concepts.parser.description">Description</a>
</h6>
<p>
@@ -80,7 +80,7 @@
</dl>
</div>
<a name="spirit.qi.reference.parser_concepts.parser.valid_expressions"></a><h6>
-<a name="id898588"></a>
+<a name="id882626"></a>
<a class="link" href="parser.html#spirit.qi.reference.parser_concepts.parser.valid_expressions">Valid
Expressions</a>
</h6>
@@ -160,7 +160,7 @@
</tbody>
</table></div>
<a name="spirit.qi.reference.parser_concepts.parser.type_expressions"></a><h6>
-<a name="id898863"></a>
+<a name="id882900"></a>
<a class="link" href="parser.html#spirit.qi.reference.parser_concepts.parser.type_expressions">Type
Expressions</a>
</h6>
@@ -213,7 +213,7 @@
</tbody>
</table></div>
<a name="spirit.qi.reference.parser_concepts.parser.postcondition"></a><h6>
-<a name="id899065"></a>
+<a name="id883102"></a>
<a class="link" href="parser.html#spirit.qi.reference.parser_concepts.parser.postcondition">Postcondition</a>
</h6>
<p>
@@ -222,32 +222,32 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- On a successful match, <code class="computeroutput"><span class="identifier">f</span></code>
- is positioned one past the last matching character/token.
- </li>
+ On a successful match, <code class="computeroutput"><span class="identifier">f</span></code>
+ is positioned one past the last matching character/token.
+ </li>
<li class="listitem">
- On a failed match, if a <code class="computeroutput"><span class="identifier">skip</span></code>
- parser is <code class="computeroutput"><span class="identifier">unused</span></code>,
- <code class="computeroutput"><span class="identifier">f</span></code> is restored to its
- original position prior to entry.
- </li>
+ On a failed match, if a <code class="computeroutput"><span class="identifier">skip</span></code>
+ parser is <code class="computeroutput"><span class="identifier">unused</span></code>,
+ <code class="computeroutput"><span class="identifier">f</span></code> is restored to
+ its original position prior to entry.
+ </li>
<li class="listitem">
- On a failed match, if a <code class="computeroutput"><span class="identifier">skip</span></code>
- parser is not <code class="computeroutput"><span class="identifier">unused</span></code>,
- <code class="computeroutput"><span class="identifier">f</span></code> is positioned one
- past the last character/token matching <code class="computeroutput"><span class="identifier">skip</span></code>.
- </li>
+ On a failed match, if a <code class="computeroutput"><span class="identifier">skip</span></code>
+ parser is not <code class="computeroutput"><span class="identifier">unused</span></code>,
+ <code class="computeroutput"><span class="identifier">f</span></code> is positioned one
+ past the last character/token matching <code class="computeroutput"><span class="identifier">skip</span></code>.
+ </li>
<li class="listitem">
- On a failed match, <code class="computeroutput"><span class="identifier">attrib</span></code>
- is left untouched.
- </li>
+ On a failed match, <code class="computeroutput"><span class="identifier">attrib</span></code>
+ is left untouched.
+ </li>
<li class="listitem">
- No post-skips: trailing <code class="computeroutput"><span class="identifier">skip</span></code>
- characters/tokens will not be skipped.
- </li>
+ No post-skips: trailing <code class="computeroutput"><span class="identifier">skip</span></code>
+ characters/tokens will not be skipped.
+ </li>
</ul></div>
<a name="spirit.qi.reference.parser_concepts.parser.models"></a><h6>
-<a name="id899192"></a>
+<a name="id883247"></a>
<a class="link" href="parser.html#spirit.qi.reference.parser_concepts.parser.models">Models</a>
</h6>
<p>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/parser_concepts/primitiveparser.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/parser_concepts/primitiveparser.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/parser_concepts/primitiveparser.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -27,7 +27,7 @@
<a name="spirit.qi.reference.parser_concepts.primitiveparser"></a><a class="link" href="primitiveparser.html" title="PrimitiveParser">PrimitiveParser</a>
</h5></div></div></div>
<a name="spirit.qi.reference.parser_concepts.primitiveparser.description"></a><h6>
-<a name="id899227"></a>
+<a name="id883282"></a>
<a class="link" href="primitiveparser.html#spirit.qi.reference.parser_concepts.primitiveparser.description">Description</a>
</h6>
<p>
@@ -35,21 +35,15 @@
that the client uses to build more complex parsers.
</p>
<a name="spirit.qi.reference.parser_concepts.primitiveparser.refinement_of"></a><h6>
-<a name="id899249"></a>
+<a name="id883305"></a>
<a class="link" href="primitiveparser.html#spirit.qi.reference.parser_concepts.primitiveparser.refinement_of">Refinement
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="parser.html" title="Parser"><code class="computeroutput"><span class="identifier">Parser</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="parser.html" title="Parser"><code class="computeroutput"><span class="identifier">Parser</span></code></a>
+ </p></blockquote></div>
<a name="spirit.qi.reference.parser_concepts.primitiveparser.pre_skip"></a><h6>
-<a name="id899285"></a>
+<a name="id883337"></a>
<a class="link" href="primitiveparser.html#spirit.qi.reference.parser_concepts.primitiveparser.pre_skip">Pre-skip</a>
</h6>
<p>
@@ -63,7 +57,7 @@
<pre class="programlisting"><span class="identifier">qi</span><span class="special">::</span><span class="identifier">skip_over</span><span class="special">(</span><span class="identifier">f</span><span class="special">,</span> <span class="identifier">l</span><span class="special">,</span> <span class="identifier">skip</span><span class="special">);</span>
</pre>
<a name="spirit.qi.reference.parser_concepts.primitiveparser.type_expressions"></a><h6>
-<a name="id899377"></a>
+<a name="id883428"></a>
<a class="link" href="primitiveparser.html#spirit.qi.reference.parser_concepts.primitiveparser.type_expressions">Type
Expressions</a>
</h6>
@@ -102,15 +96,25 @@
</tr></tbody>
</table></div>
<a name="spirit.qi.reference.parser_concepts.primitiveparser.models"></a><h6>
-<a name="id899516"></a>
+<a name="id883568"></a>
<a class="link" href="primitiveparser.html#spirit.qi.reference.parser_concepts.primitiveparser.models">Models</a>
</h6>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
-<li class="listitem"><a class="link" href="../auxiliary/attr.html" title="Attribute (attr)"><code class="computeroutput"><span class="identifier">attr</span><span class="special">(</span><span class="identifier">attrib</span><span class="special">)</span></code></a></li>
-<li class="listitem"><a class="link" href="../auxiliary/eoi.html" title="End of Input (eoi)"><code class="computeroutput"><span class="identifier">eoi</span></code></a></li>
-<li class="listitem"><a class="link" href="../auxiliary/eol.html" title="End of Line (eol)"><code class="computeroutput"><span class="identifier">eol</span></code></a></li>
-<li class="listitem"><a class="link" href="../auxiliary/eps.html" title="Epsilon (eps)"><code class="computeroutput"><span class="identifier">eps</span></code></a></li>
-<li class="listitem"><a class="link" href="../string/symbols.html" title="Symbols (symbols)"><code class="computeroutput"><span class="identifier">symbols</span><span class="special"><</span><span class="identifier">Ch</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span></code></a></li>
+<li class="listitem">
+ <a class="link" href="../auxiliary/attr.html" title="Attribute (attr)"><code class="computeroutput"><span class="identifier">attr</span><span class="special">(</span><span class="identifier">attrib</span><span class="special">)</span></code></a>
+ </li>
+<li class="listitem">
+ <a class="link" href="../auxiliary/eoi.html" title="End of Input (eoi)"><code class="computeroutput"><span class="identifier">eoi</span></code></a>
+ </li>
+<li class="listitem">
+ <a class="link" href="../auxiliary/eol.html" title="End of Line (eol)"><code class="computeroutput"><span class="identifier">eol</span></code></a>
+ </li>
+<li class="listitem">
+ <a class="link" href="../auxiliary/eps.html" title="Epsilon (eps)"><code class="computeroutput"><span class="identifier">eps</span></code></a>
+ </li>
+<li class="listitem">
+ <a class="link" href="../string/symbols.html" title="Symbols (symbols)"><code class="computeroutput"><span class="identifier">symbols</span><span class="special"><</span><span class="identifier">Ch</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span></code></a>
+ </li>
</ul></div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/parser_concepts/unaryparser.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/parser_concepts/unaryparser.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/parser_concepts/unaryparser.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -27,7 +27,7 @@
<a name="spirit.qi.reference.parser_concepts.unaryparser"></a><a class="link" href="unaryparser.html" title="UnaryParser">UnaryParser</a>
</h5></div></div></div>
<a name="spirit.qi.reference.parser_concepts.unaryparser.description"></a><h6>
-<a name="id899644"></a>
+<a name="id883714"></a>
<a class="link" href="unaryparser.html#spirit.qi.reference.parser_concepts.unaryparser.description">Description</a>
</h6>
<p>
@@ -36,19 +36,13 @@
the Delegate Design Pattern.
</p>
<a name="spirit.qi.reference.parser_concepts.unaryparser.refinement_of"></a><h6>
-<a name="id899669"></a>
+<a name="id883739"></a>
<a class="link" href="unaryparser.html#spirit.qi.reference.parser_concepts.unaryparser.refinement_of">Refinement
of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="parser.html" title="Parser"><code class="computeroutput"><span class="identifier">Parser</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="parser.html" title="Parser"><code class="computeroutput"><span class="identifier">Parser</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -63,7 +57,7 @@
</dl>
</div>
<a name="spirit.qi.reference.parser_concepts.unaryparser.valid_expressions"></a><h6>
-<a name="id899751"></a>
+<a name="id883817"></a>
<a class="link" href="unaryparser.html#spirit.qi.reference.parser_concepts.unaryparser.valid_expressions">Valid
Expressions</a>
</h6>
@@ -113,7 +107,7 @@
</tr></tbody>
</table></div>
<a name="spirit.qi.reference.parser_concepts.unaryparser.type_expressions"></a><h6>
-<a name="id899871"></a>
+<a name="id883937"></a>
<a class="link" href="unaryparser.html#spirit.qi.reference.parser_concepts.unaryparser.type_expressions">Type
Expressions</a>
</h6>
@@ -166,7 +160,7 @@
</tbody>
</table></div>
<a name="spirit.qi.reference.parser_concepts.unaryparser.invariants"></a><h6>
-<a name="id900043"></a>
+<a name="id884109"></a>
<a class="link" href="unaryparser.html#spirit.qi.reference.parser_concepts.unaryparser.invariants">Invariants</a>
</h6>
<p>
@@ -174,22 +168,40 @@
the following invariant always holds:
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem">
-<code class="computeroutput"><span class="identifier">traits</span><span class="special">::</span><span class="identifier">is_parser</span><span class="special"><</span><span class="identifier">P</span><span class="special">::</span><span class="identifier">subject_type</span><span class="special">>::</span><span class="identifier">type</span></code> evaluates to <code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">true_</span></code>
-</li></ul></div>
+ <code class="computeroutput"><span class="identifier">traits</span><span class="special">::</span><span class="identifier">is_parser</span><span class="special"><</span><span class="identifier">P</span><span class="special">::</span><span class="identifier">subject_type</span><span class="special">>::</span><span class="identifier">type</span></code> evaluates to <code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">true_</span></code>
+ </li></ul></div>
<a name="spirit.qi.reference.parser_concepts.unaryparser.models"></a><h6>
-<a name="id900128"></a>
+<a name="id884198"></a>
<a class="link" href="unaryparser.html#spirit.qi.reference.parser_concepts.unaryparser.models">Models</a>
</h6>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
-<li class="listitem"><a class="link" href="../operator/and_predicate.html" title="And-Predicate (&a)">And Predicate</a></li>
-<li class="listitem"><a class="link" href="../operator/kleene.html" title="Kleene (*a)">Kleene</a></li>
-<li class="listitem"><a class="link" href="../directive/lexeme.html" title="Inhibiting Skipping (lexeme[])"><code class="computeroutput"><span class="identifier">lexeme</span></code></a></li>
-<li class="listitem"><a class="link" href="../operator/not_predicate.html" title="Not-Predicate (!a)">Not Predicate</a></li>
-<li class="listitem"><a class="link" href="../directive/omit.html" title="Ignoring Attribute (omit[])"><code class="computeroutput"><span class="identifier">omit</span></code></a></li>
-<li class="listitem"><a class="link" href="../operator/plus.html" title="Plus (+a)">Plus</a></li>
-<li class="listitem"><a class="link" href="../directive/raw.html" title="Transduction Parsing (raw[])"><code class="computeroutput"><span class="identifier">raw</span></code></a></li>
-<li class="listitem"><a class="link" href="../directive/repeat.html" title="Repetition (repeat[])"><code class="computeroutput"><span class="identifier">repeat</span></code></a></li>
-<li class="listitem"><a class="link" href="../directive/skip.html" title="Re-Establish Skipping (skip[])"><code class="computeroutput"><span class="identifier">skip</span></code></a></li>
+<li class="listitem">
+ <a class="link" href="../operator/and_predicate.html" title="And-Predicate (&a)">And Predicate</a>
+ </li>
+<li class="listitem">
+ <a class="link" href="../operator/kleene.html" title="Kleene (*a)">Kleene</a>
+ </li>
+<li class="listitem">
+ <a class="link" href="../directive/lexeme.html" title="Inhibiting Skipping (lexeme[])"><code class="computeroutput"><span class="identifier">lexeme</span></code></a>
+ </li>
+<li class="listitem">
+ <a class="link" href="../operator/not_predicate.html" title="Not-Predicate (!a)">Not Predicate</a>
+ </li>
+<li class="listitem">
+ <a class="link" href="../directive/omit.html" title="Ignoring Attribute (omit[])"><code class="computeroutput"><span class="identifier">omit</span></code></a>
+ </li>
+<li class="listitem">
+ <a class="link" href="../operator/plus.html" title="Plus (+a)">Plus</a>
+ </li>
+<li class="listitem">
+ <a class="link" href="../directive/raw.html" title="Transduction Parsing (raw[])"><code class="computeroutput"><span class="identifier">raw</span></code></a>
+ </li>
+<li class="listitem">
+ <a class="link" href="../directive/repeat.html" title="Repetition (repeat[])"><code class="computeroutput"><span class="identifier">repeat</span></code></a>
+ </li>
+<li class="listitem">
+ <a class="link" href="../directive/skip.html" title="Re-Establish Skipping (skip[])"><code class="computeroutput"><span class="identifier">skip</span></code></a>
+ </li>
</ul></div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/stream.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/stream.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/stream.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -35,7 +35,7 @@
for input parsing.
</p>
<a name="spirit.qi.reference.stream.header"></a><h6>
-<a name="id1004193"></a>
+<a name="id987879"></a>
<a class="link" href="stream.html#spirit.qi.reference.stream.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/stream.hpp>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/stream/stream.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/stream/stream.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/stream/stream.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -28,7 +28,7 @@
etc.)</a>
</h5></div></div></div>
<a name="spirit.qi.reference.stream.stream.description"></a><h6>
-<a name="id1004292"></a>
+<a name="id987977"></a>
<a class="link" href="stream.html#spirit.qi.reference.stream.stream.description">Description</a>
</h6>
<p>
@@ -45,7 +45,7 @@
<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">istream</span><span class="special">&</span> <span class="keyword">operator</span><span class="special">>></span> <span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">istream</span><span class="special">&,</span> <span class="identifier">A</span><span class="special">&);</span>
</pre>
<a name="spirit.qi.reference.stream.stream.header"></a><h6>
-<a name="id1004396"></a>
+<a name="id988082"></a>
<a class="link" href="stream.html#spirit.qi.reference.stream.stream.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/stream.hpp>
@@ -55,7 +55,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.qi.reference.stream.stream.namespace"></a><h6>
-<a name="id1004470"></a>
+<a name="id988156"></a>
<a class="link" href="stream.html#spirit.qi.reference.stream.stream.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -81,14 +81,14 @@
</tbody>
</table></div>
<a name="spirit.qi.reference.stream.stream.synopsis"></a><h6>
-<a name="id1004588"></a>
+<a name="id988274"></a>
<a class="link" href="stream.html#spirit.qi.reference.stream.stream.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Char</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Attrib</span><span class="special">></span>
<span class="keyword">struct</span> <span class="identifier">stream_parser</span><span class="special">;</span>
</pre>
<a name="spirit.qi.reference.stream.stream.template_parameters"></a><h6>
-<a name="id1004653"></a>
+<a name="id988338"></a>
<a class="link" href="stream.html#spirit.qi.reference.stream.stream.template_parameters">Template
parameters</a>
</h6>
@@ -156,18 +156,12 @@
</tbody>
</table></div>
<a name="spirit.qi.reference.stream.stream.model_of"></a><h6>
-<a name="id1004802"></a>
+<a name="id988487"></a>
<a class="link" href="stream.html#spirit.qi.reference.stream.stream.model_of">Model of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../parser_concepts/primitiveparser.html" title="PrimitiveParser"><code class="computeroutput"><span class="identifier">PrimitiveParser</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../parser_concepts/primitiveparser.html" title="PrimitiveParser"><code class="computeroutput"><span class="identifier">PrimitiveParser</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -182,7 +176,7 @@
</dl>
</div>
<a name="spirit.qi.reference.stream.stream.expression_semantics"></a><h6>
-<a name="id1004888"></a>
+<a name="id988570"></a>
<a class="link" href="stream.html#spirit.qi.reference.stream.stream.expression_semantics">Expression
Semantics</a>
</h6>
@@ -292,7 +286,7 @@
</tr></tbody>
</table></div>
<a name="spirit.qi.reference.stream.stream.additional_requirements"></a><h6>
-<a name="id1005193"></a>
+<a name="id988875"></a>
<a class="link" href="stream.html#spirit.qi.reference.stream.stream.additional_requirements">Additional
Requirements</a>
</h6>
@@ -330,7 +324,7 @@
</p></td></tr>
</table></div>
<a name="spirit.qi.reference.stream.stream.attributes"></a><h6>
-<a name="id1005408"></a>
+<a name="id989090"></a>
<a class="link" href="stream.html#spirit.qi.reference.stream.stream.attributes">Attributes</a>
</h6>
<div class="informaltable"><table class="table">
@@ -403,21 +397,14 @@
</p></td></tr>
</table></div>
<a name="spirit.qi.reference.stream.stream.complexity"></a><h6>
-<a name="id1005621"></a>
+<a name="id989303"></a>
<a class="link" href="stream.html#spirit.qi.reference.stream.stream.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- O(N), where N is the number of characters consumed by the stream
- parser
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ O(N), where N is the number of characters consumed by the stream parser
+ </p></blockquote></div>
<a name="spirit.qi.reference.stream.stream.example"></a><h6>
-<a name="id1005645"></a>
+<a name="id989324"></a>
<a class="link" href="stream.html#spirit.qi.reference.stream.stream.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -434,9 +421,7 @@
A class definition used in the examples:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="comment">// a simple complex number representation z = a + bi
</span><span class="keyword">struct</span> <span class="identifier">complex</span>
@@ -450,11 +435,9 @@
<span class="special">};</span>
</pre>
<p>
- </p>
-<p>
- </p>
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="comment">// define streaming operator for the type complex
</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">istream</span><span class="special">&</span>
@@ -468,55 +451,39 @@
<span class="special">}</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
- </p>
-<p>
- Using declarations and variables:
- </p>
-<p>
- </p>
+ Using declarations and variables:
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">stream</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">stream_parser</span><span class="special">;</span></pre>
<p>
- </p>
-<p>
- </p>
-<p>
- Parse a simple string using the operator>>(istream&, std::string&);
- </p>
+ </p>
<p>
- </p>
+ Parse a simple string using the operator>>(istream&, std::string&);
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">str</span><span class="special">;</span>
<span class="identifier">test_parser_attr</span><span class="special">(</span><span class="string">"abc"</span><span class="special">,</span> <span class="identifier">stream</span><span class="special">,</span> <span class="identifier">str</span><span class="special">);</span>
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">str</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span> <span class="comment">// prints: abc</span></pre>
<p>
- </p>
-<p>
- </p>
-<p>
- Parse our complex type using the operator>>(istream&, complex&);
- </p>
+ </p>
<p>
- </p>
+ Parse our complex type using the operator>>(istream&, complex&);
+ </p>
<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">complex</span> <span class="identifier">c</span><span class="special">;</span>
<span class="identifier">test_parser_attr</span><span class="special">(</span><span class="string">"{1.0,2.5}"</span><span class="special">,</span> <span class="identifier">stream_parser</span><span class="special"><</span><span class="keyword">char</span><span class="special">,</span> <span class="identifier">complex</span><span class="special">>(),</span> <span class="identifier">c</span><span class="special">);</span>
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">c</span><span class="special">.</span><span class="identifier">a</span> <span class="special"><<</span> <span class="string">","</span> <span class="special"><<</span> <span class="identifier">c</span><span class="special">.</span><span class="identifier">b</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span> <span class="comment">// prints: 1.0,2.5
</span></pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/string.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/string.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/string.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -35,7 +35,7 @@
the literal and string parsers and the symbol table.
</p>
<a name="spirit.qi.reference.string.module_header"></a><h6>
-<a name="id1007683"></a>
+<a name="id990194"></a>
<a class="link" href="string.html#spirit.qi.reference.string.module_header">Module Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/string.hpp>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/string/string.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/string/string.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/string/string.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -27,7 +27,7 @@
<a name="spirit.qi.reference.string.string"></a><a class="link" href="string.html" title="String (string, lit)"> String (<code class="computeroutput"><span class="identifier">string</span></code>, <code class="computeroutput"><span class="identifier">lit</span></code>)</a>
</h5></div></div></div>
<a name="spirit.qi.reference.string.string.description"></a><h6>
-<a name="id1007782"></a>
+<a name="id990293"></a>
<a class="link" href="string.html#spirit.qi.reference.string.string.description">Description</a>
</h6>
<p>
@@ -54,14 +54,14 @@
<span class="identifier">lit</span><span class="special">(</span><span class="identifier">s</span><span class="special">)</span> <span class="comment">// s is a std::string
</span></pre>
<a name="spirit.qi.reference.string.string.header"></a><h6>
-<a name="id1008007"></a>
+<a name="id990518"></a>
<a class="link" href="string.html#spirit.qi.reference.string.string.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/string/lit.hpp>
</span><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">qi_lit</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
<a name="spirit.qi.reference.string.string.namespace"></a><h6>
-<a name="id1008073"></a>
+<a name="id990584"></a>
<a class="link" href="string.html#spirit.qi.reference.string.string.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -91,18 +91,12 @@
Encoding Namespace</a>.
</p>
<a name="spirit.qi.reference.string.string.model_of"></a><h6>
-<a name="id1008192"></a>
+<a name="id990703"></a>
<a class="link" href="string.html#spirit.qi.reference.string.string.model_of">Model of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../parser_concepts/primitiveparser.html" title="PrimitiveParser"><code class="computeroutput"><span class="identifier">PrimitiveParser</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../parser_concepts/primitiveparser.html" title="PrimitiveParser"><code class="computeroutput"><span class="identifier">PrimitiveParser</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -120,7 +114,7 @@
</dl>
</div>
<a name="spirit.qi.reference.string.string.expression_semantics"></a><h6>
-<a name="id1008291"></a>
+<a name="id990798"></a>
<a class="link" href="string.html#spirit.qi.reference.string.string.expression_semantics">Expression
Semantics</a>
</h6>
@@ -186,7 +180,7 @@
</tbody>
</table></div>
<a name="spirit.qi.reference.string.string.attributes"></a><h6>
-<a name="id1008487"></a>
+<a name="id990995"></a>
<a class="link" href="string.html#spirit.qi.reference.string.string.attributes">Attributes</a>
</h6>
<div class="informaltable"><table class="table">
@@ -248,24 +242,18 @@
</tbody>
</table></div>
<a name="spirit.qi.reference.string.string.complexity"></a><h6>
-<a name="id1008695"></a>
+<a name="id991202"></a>
<a class="link" href="string.html#spirit.qi.reference.string.string.complexity">Complexity</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- O(N)
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ O(N)
+ </p></blockquote></div>
<p>
where <code class="computeroutput"><span class="identifier">N</span></code> is the number
of characters in the string to be parsed.
</p>
<a name="spirit.qi.reference.string.string.example"></a><h6>
-<a name="id1008730"></a>
+<a name="id991233"></a>
<a class="link" href="string.html#spirit.qi.reference.string.string.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -282,40 +270,30 @@
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">lit</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">ascii</span><span class="special">::</span><span class="identifier">string</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Basic literals:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">test_parser</span><span class="special">(</span><span class="string">"boost"</span><span class="special">,</span> <span class="string">"boost"</span><span class="special">);</span> <span class="comment">// plain literal
</span><span class="identifier">test_parser</span><span class="special">(</span><span class="string">"boost"</span><span class="special">,</span> <span class="identifier">lit</span><span class="special">(</span><span class="string">"boost"</span><span class="special">));</span> <span class="comment">// explicit literal
</span><span class="identifier">test_parser</span><span class="special">(</span><span class="string">"boost"</span><span class="special">,</span> <span class="identifier">string</span><span class="special">(</span><span class="string">"boost"</span><span class="special">));</span> <span class="comment">// ascii::string
</span></pre>
<p>
- </p>
-<p>
</p>
<p>
From a <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span></code>
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">s</span><span class="special">(</span><span class="string">"boost"</span><span class="special">);</span>
<span class="identifier">test_parser</span><span class="special">(</span><span class="string">"boost"</span><span class="special">,</span> <span class="identifier">s</span><span class="special">);</span> <span class="comment">// direct
@@ -323,16 +301,12 @@
</span><span class="identifier">test_parser</span><span class="special">(</span><span class="string">"boost"</span><span class="special">,</span> <span class="identifier">string</span><span class="special">(</span><span class="identifier">s</span><span class="special">));</span> <span class="comment">// ascii::string
</span></pre>
<p>
- </p>
-<p>
</p>
<p>
Lazy strings using Phoenix
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">phx</span> <span class="special">=</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">phoenix</span><span class="special">;</span>
<span class="identifier">test_parser</span><span class="special">(</span><span class="string">"boost"</span><span class="special">,</span> <span class="identifier">phx</span><span class="special">::</span><span class="identifier">val</span><span class="special">(</span><span class="string">"boost"</span><span class="special">));</span> <span class="comment">// direct
@@ -340,8 +314,6 @@
</span><span class="identifier">test_parser</span><span class="special">(</span><span class="string">"boost"</span><span class="special">,</span> <span class="identifier">string</span><span class="special">(</span><span class="identifier">phx</span><span class="special">::</span><span class="identifier">val</span><span class="special">(</span><span class="string">"boost"</span><span class="special">)));</span> <span class="comment">// ascii::string
</span></pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/qi/reference/string/symbols.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/reference/string/symbols.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/reference/string/symbols.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -27,7 +27,7 @@
<a name="spirit.qi.reference.string.symbols"></a><a class="link" href="symbols.html" title="Symbols (symbols)"> Symbols (<code class="computeroutput"><span class="identifier">symbols</span></code>)</a>
</h5></div></div></div>
<a name="spirit.qi.reference.string.symbols.description"></a><h6>
-<a name="id1009312"></a>
+<a name="id991801"></a>
<a class="link" href="symbols.html#spirit.qi.reference.string.symbols.description">Description</a>
</h6>
<p>
@@ -47,7 +47,7 @@
added, thus, dynamically altering its behavior.
</p>
<a name="spirit.qi.reference.string.symbols.header"></a><h6>
-<a name="id1009354"></a>
+<a name="id991843"></a>
<a class="link" href="symbols.html#spirit.qi.reference.string.symbols.header">Header</a>
</h6>
<pre class="programlisting"><span class="comment">// forwards to <boost/spirit/home/qi/string/symbols.hpp>
@@ -57,7 +57,7 @@
Also, see <a class="link" href="../../../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.qi.reference.string.symbols.namespace"></a><h6>
-<a name="id1009429"></a>
+<a name="id991917"></a>
<a class="link" href="symbols.html#spirit.qi.reference.string.symbols.namespace">Namespace</a>
</h6>
<div class="informaltable"><table class="table">
@@ -86,14 +86,14 @@
</tbody>
</table></div>
<a name="spirit.qi.reference.string.symbols.synopsis"></a><h6>
-<a name="id1009588"></a>
+<a name="id993177"></a>
<a class="link" href="symbols.html#spirit.qi.reference.string.symbols.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Char</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Lookup</span><span class="special">></span>
<span class="keyword">struct</span> <span class="identifier">symbols</span><span class="special">;</span>
</pre>
<a name="spirit.qi.reference.string.symbols.template_parameters"></a><h6>
-<a name="id1009666"></a>
+<a name="id993255"></a>
<a class="link" href="symbols.html#spirit.qi.reference.string.symbols.template_parameters">Template
parameters</a>
</h6>
@@ -176,18 +176,12 @@
</tbody>
</table></div>
<a name="spirit.qi.reference.string.symbols.model_of"></a><h6>
-<a name="id1009860"></a>
+<a name="id993448"></a>
<a class="link" href="symbols.html#spirit.qi.reference.string.symbols.model_of">Model of</a>
</h6>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- <a class="link" href="../parser_concepts/primitiveparser.html" title="PrimitiveParser"><code class="computeroutput"><span class="identifier">PrimitiveParser</span></code></a>
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <a class="link" href="../parser_concepts/primitiveparser.html" title="PrimitiveParser"><code class="computeroutput"><span class="identifier">PrimitiveParser</span></code></a>
+ </p></blockquote></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
@@ -238,7 +232,7 @@
</dl>
</div>
<a name="spirit.qi.reference.string.symbols.expression_semantics"></a><h6>
-<a name="id1010180"></a>
+<a name="id993765"></a>
<a class="link" href="symbols.html#spirit.qi.reference.string.symbols.expression_semantics">Expression
Semantics</a>
</h6>
@@ -500,28 +494,22 @@
</tbody>
</table></div>
<a name="spirit.qi.reference.string.symbols.attributes"></a><h6>
-<a name="id1013594"></a>
+<a name="id994994"></a>
<a class="link" href="symbols.html#spirit.qi.reference.string.symbols.attributes">Attributes</a>
</h6>
<p>
The attribute of <code class="computeroutput"><span class="identifier">symbol</span><span class="special"><</span><span class="identifier">Char</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span></code> is <code class="computeroutput"><span class="identifier">T</span></code>.
</p>
<a name="spirit.qi.reference.string.symbols.complexity"></a><h6>
-<a name="id1013644"></a>
+<a name="id995044"></a>
<a class="link" href="symbols.html#spirit.qi.reference.string.symbols.complexity">Complexity</a>
</h6>
<p>
The default implementation uses a Ternary Search Tree (TST) with complexity:
</p>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- O(log n+k)
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ O(log n+k)
+ </p></blockquote></div>
<p>
Where k is the length of the string to be searched in a TST with n strings.
</p>
@@ -537,15 +525,9 @@
first character) plus a TST: <code class="computeroutput"><span class="identifier">tst_map</span></code>.
This gives us a complexity of
</p>
-<div class="blockquote"><blockquote class="blockquote">
-<p>
- </p>
-<p>
- O(1 + log n+k-1)
- </p>
-<p>
- </p>
-</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ O(1 + log n+k-1)
+ </p></blockquote></div>
<p>
This is found to be significantly faster than plain TST, albeit with
a bit more memory usage requirements (each slot in the hash-map is a
@@ -556,7 +538,7 @@
<pre class="programlisting"><span class="identifier">symbols</span><span class="special"><</span><span class="identifier">Char</span><span class="special">,</span> <span class="identifier">T</span><span class="special">,</span> <span class="identifier">tst_map</span><span class="special"><</span><span class="identifier">Char</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span> <span class="special">></span> <span class="identifier">sym</span><span class="special">;</span>
</pre>
<a name="spirit.qi.reference.string.symbols.example"></a><h6>
-<a name="id1013783"></a>
+<a name="id995176"></a>
<a class="link" href="symbols.html#spirit.qi.reference.string.symbols.example">Example</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -573,23 +555,17 @@
Some using declarations:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">::</span><span class="identifier">symbols</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Symbols with data:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">symbols</span><span class="special"><</span><span class="keyword">char</span><span class="special">,</span> <span class="keyword">int</span><span class="special">></span> <span class="identifier">sym</span><span class="special">;</span>
@@ -604,8 +580,6 @@
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">i</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
When <code class="computeroutput"><span class="identifier">symbols</span></code> is used
@@ -615,9 +589,7 @@
a <code class="computeroutput"><span class="identifier">no_case</span></code> directive.
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">symbols</span><span class="special"><</span><span class="keyword">char</span><span class="special">,</span> <span class="keyword">int</span><span class="special">></span> <span class="identifier">sym</span><span class="special">;</span>
@@ -635,8 +607,6 @@
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">i</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/qi/tutorials/complex___our_first_complex_parser.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/tutorials/complex___our_first_complex_parser.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/tutorials/complex___our_first_complex_parser.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -43,25 +43,25 @@
</p>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem">
- Alternates: e.g. <code class="computeroutput"><span class="identifier">a</span> <span class="special">|</span>
- <span class="identifier">b</span></code>. Try <code class="computeroutput"><span class="identifier">a</span></code>
- first. If it succeeds, good. If not, try the next alternative, <code class="computeroutput"><span class="identifier">b</span></code>.
- </li>
+ Alternates: e.g. <code class="computeroutput"><span class="identifier">a</span> <span class="special">|</span> <span class="identifier">b</span></code>.
+ Try <code class="computeroutput"><span class="identifier">a</span></code> first. If it
+ succeeds, good. If not, try the next alternative, <code class="computeroutput"><span class="identifier">b</span></code>.
+ </li>
<li class="listitem">
- Optionals: e.g. -p. Match the parser p zero or one time.
- </li>
+ Optionals: e.g. -p. Match the parser p zero or one time.
+ </li>
</ol></div>
<p>
The complex parser presented above reads as:
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- One or two real numbers in parantheses, separated by comma (the second
- number is optional)
- </li>
+ One or two real numbers in parantheses, separated by comma (the second
+ number is optional)
+ </li>
<li class="listitem">
-<span class="bold"><strong>OR</strong></span> a single real number.
- </li>
+ <span class="bold"><strong>OR</strong></span> a single real number.
+ </li>
</ul></div>
<p>
This parser can parse complex numbers of the form:
@@ -74,9 +74,7 @@
Here goes, this time with actions:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">client</span>
<span class="special">{</span>
@@ -111,8 +109,6 @@
<span class="special">}</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
The full cpp file for this example can be found here: ../../example/qi/complex_number.cpp
Modified: trunk/libs/spirit/doc/html/spirit/qi/tutorials/employee___parsing_into_structs.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/tutorials/employee___parsing_into_structs.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/tutorials/employee___parsing_into_structs.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -37,25 +37,23 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- More about attributes
- </li>
+ More about attributes
+ </li>
<li class="listitem">
- Auto rules
- </li>
+ Auto rules
+ </li>
<li class="listitem">
- Some more built-in parsers
- </li>
+ Some more built-in parsers
+ </li>
<li class="listitem">
- Directives
- </li>
+ Directives
+ </li>
</ul></div>
<p>
First, let's create a struct representing an employee:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">struct</span> <span class="identifier">employee</span>
<span class="special">{</span>
@@ -66,8 +64,6 @@
<span class="special">};</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Then, we need to tell Boost.Fusion
@@ -81,9 +77,7 @@
struct to be a fully conforming fusion tuple:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">BOOST_FUSION_ADAPT_STRUCT</span><span class="special">(</span>
<span class="identifier">client</span><span class="special">::</span><span class="identifier">employee</span><span class="special">,</span>
@@ -94,8 +88,6 @@
<span class="special">)</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Now we'll write a parser for our employee. Inputs will be of the form:
@@ -106,9 +98,7 @@
Here goes:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Iterator</span><span class="special">></span>
<span class="keyword">struct</span> <span class="identifier">employee_parser</span> <span class="special">:</span> <span class="identifier">qi</span><span class="special">::</span><span class="identifier">grammar</span><span class="special"><</span><span class="identifier">Iterator</span><span class="special">,</span> <span class="identifier">employee</span><span class="special">(),</span> <span class="identifier">ascii</span><span class="special">::</span><span class="identifier">space_type</span><span class="special">></span>
@@ -139,8 +129,6 @@
<span class="special">};</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
The full cpp file for this example can be found here: ../../example/qi/employee.cpp
@@ -179,7 +167,7 @@
has a <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span></code> attribute.
</p>
<a name="spirit.qi.tutorials.employee___parsing_into_structs.lexeme"></a><h6>
-<a name="id871576"></a>
+<a name="id854319"></a>
<a class="link" href="employee___parsing_into_structs.html#spirit.qi.tutorials.employee___parsing_into_structs.lexeme">Lexeme</a>
</h6>
<pre class="programlisting"><span class="identifier">lexeme</span><span class="special">[</span><span class="char">'"'</span> <span class="special">>></span> <span class="special">+(</span><span class="identifier">char_</span> <span class="special">-</span> <span class="char">'"'</span><span class="special">)</span> <span class="special">>></span> <span class="char">'"'</span><span class="special">];</span>
@@ -196,7 +184,7 @@
a double quote.
</p>
<a name="spirit.qi.tutorials.employee___parsing_into_structs.difference"></a><h6>
-<a name="id871689"></a>
+<a name="id854432"></a>
<a class="link" href="employee___parsing_into_structs.html#spirit.qi.tutorials.employee___parsing_into_structs.difference">Difference</a>
</h6>
<p>
@@ -215,7 +203,7 @@
is just <code class="computeroutput"><span class="keyword">char</span></code>.
</p>
<a name="spirit.qi.tutorials.employee___parsing_into_structs.plus"></a><h6>
-<a name="id871797"></a>
+<a name="id854540"></a>
<a class="link" href="employee___parsing_into_structs.html#spirit.qi.tutorials.employee___parsing_into_structs.plus">Plus</a>
</h6>
<pre class="programlisting"><span class="special">+</span><span class="identifier">a</span>
@@ -236,7 +224,7 @@
<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">char</span><span class="special">></span>
</pre>
<a name="spirit.qi.tutorials.employee___parsing_into_structs.sequence_attribute"></a><h6>
-<a name="id871934"></a>
+<a name="id854677"></a>
<a class="link" href="employee___parsing_into_structs.html#spirit.qi.tutorials.employee___parsing_into_structs.sequence_attribute">Sequence
Attribute</a>
</h6>
@@ -277,7 +265,7 @@
</p></td></tr>
</table></div>
<a name="spirit.qi.tutorials.employee___parsing_into_structs.attribute_collapsing"></a><h6>
-<a name="id873248"></a>
+<a name="id854899"></a>
<a class="link" href="employee___parsing_into_structs.html#spirit.qi.tutorials.employee___parsing_into_structs.attribute_collapsing">Attribute
Collapsing</a>
</h6>
@@ -309,7 +297,7 @@
<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">char</span><span class="special">></span>
</pre>
<a name="spirit.qi.tutorials.employee___parsing_into_structs.auto_rules"></a><h6>
-<a name="id873487"></a>
+<a name="id856312"></a>
<a class="link" href="employee___parsing_into_structs.html#spirit.qi.tutorials.employee___parsing_into_structs.auto_rules">Auto
Rules</a>
</h6>
@@ -359,7 +347,7 @@
</p></td></tr>
</table></div>
<a name="spirit.qi.tutorials.employee___parsing_into_structs.finally"></a><h6>
-<a name="id873854"></a>
+<a name="id856679"></a>
<a class="link" href="employee___parsing_into_structs.html#spirit.qi.tutorials.employee___parsing_into_structs.finally">Finally</a>
</h6>
<p>
@@ -384,10 +372,18 @@
These nodes do not have an attribute:
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
-<li class="listitem"><code class="computeroutput"><span class="identifier">lit</span><span class="special">(</span><span class="string">"employee"</span><span class="special">)</span></code></li>
-<li class="listitem"><code class="computeroutput"><span class="char">'{'</span></code></li>
-<li class="listitem"><code class="computeroutput"><span class="char">','</span></code></li>
-<li class="listitem"><code class="computeroutput"><span class="char">'}'</span></code></li>
+<li class="listitem">
+ <code class="computeroutput"><span class="identifier">lit</span><span class="special">(</span><span class="string">"employee"</span><span class="special">)</span></code>
+ </li>
+<li class="listitem">
+ <code class="computeroutput"><span class="char">'{'</span></code>
+ </li>
+<li class="listitem">
+ <code class="computeroutput"><span class="char">','</span></code>
+ </li>
+<li class="listitem">
+ <code class="computeroutput"><span class="char">'}'</span></code>
+ </li>
</ul></div>
<div class="note"><table border="0" summary="Note">
<tr>
@@ -408,9 +404,7 @@
is the <code class="computeroutput"><span class="identifier">employee</span></code> struct:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">struct</span> <span class="identifier">employee</span>
<span class="special">{</span>
@@ -421,8 +415,6 @@
<span class="special">};</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Now everything is clear, right? The <code class="computeroutput"><span class="keyword">struct</span>
Modified: trunk/libs/spirit/doc/html/spirit/qi/tutorials/mini_xml___asts_.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/tutorials/mini_xml___asts_.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/tutorials/mini_xml___asts_.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -45,20 +45,20 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- Inherited attributes
- </li>
+ Inherited attributes
+ </li>
<li class="listitem">
- Variant attributes
- </li>
+ Variant attributes
+ </li>
<li class="listitem">
- Local Variables
- </li>
+ Local Variables
+ </li>
<li class="listitem">
- Not Predicate
- </li>
+ Not Predicate
+ </li>
<li class="listitem">
- Lazy Lit
- </li>
+ Lazy Lit
+ </li>
</ul></div>
<p>
The full cpp files for these examples can be found here: ../../example/qi/mini_xml1.cpp
@@ -73,16 +73,14 @@
has an error in it.
</p>
<a name="spirit.qi.tutorials.mini_xml___asts_.first_cut"></a><h6>
-<a name="id874526"></a>
+<a name="id857380"></a>
<a class="link" href="mini_xml___asts_.html#spirit.qi.tutorials.mini_xml___asts_.first_cut">First Cut</a>
</h6>
<p>
Without further delay, here's the first version of the XML grammar:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Iterator</span><span class="special">></span>
<span class="keyword">struct</span> <span class="identifier">mini_xml_grammar</span> <span class="special">:</span> <span class="identifier">qi</span><span class="special">::</span><span class="identifier">grammar</span><span class="special"><</span><span class="identifier">Iterator</span><span class="special">,</span> <span class="identifier">mini_xml</span><span class="special">(),</span> <span class="identifier">ascii</span><span class="special">::</span><span class="identifier">space_type</span><span class="special">></span>
@@ -130,8 +128,6 @@
<span class="special">};</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Going bottom up, let's examine the <code class="computeroutput"><span class="identifier">text</span></code>
@@ -150,7 +146,7 @@
by the placeholder <code class="computeroutput"><span class="identifier">_val</span></code>).
</p>
<a name="spirit.qi.tutorials.mini_xml___asts_.alternates"></a><h6>
-<a name="id876253"></a>
+<a name="id860195"></a>
<a class="link" href="mini_xml___asts_.html#spirit.qi.tutorials.mini_xml___asts_.alternates">Alternates</a>
</h6>
<pre class="programlisting"><span class="identifier">rule</span><span class="special"><</span><span class="identifier">Iterator</span><span class="special">,</span> <span class="identifier">mini_xml_node</span><span class="special">(),</span> <span class="identifier">space_type</span><span class="special">></span> <span class="identifier">node</span><span class="special">;</span>
@@ -180,7 +176,7 @@
<span class="special">;</span>
</pre>
<a name="spirit.qi.tutorials.mini_xml___asts_.not_predicate"></a><h6>
-<a name="id876580"></a>
+<a name="id860523"></a>
<a class="link" href="mini_xml___asts_.html#spirit.qi.tutorials.mini_xml___asts_.not_predicate">Not
Predicate</a>
</h6>
@@ -207,7 +203,7 @@
at this point.
</p>
<a name="spirit.qi.tutorials.mini_xml___asts_.inherited_attribute"></a><h6>
-<a name="id876735"></a>
+<a name="id860678"></a>
<a class="link" href="mini_xml___asts_.html#spirit.qi.tutorials.mini_xml___asts_.inherited_attribute">Inherited
Attribute</a>
</h6>
@@ -233,7 +229,7 @@
<code class="computeroutput"><span class="identifier">_r3</span></code>, etc. if you have more).
</p>
<a name="spirit.qi.tutorials.mini_xml___asts_.a_lazy_lit"></a><h6>
-<a name="id876929"></a>
+<a name="id860872"></a>
<a class="link" href="mini_xml___asts_.html#spirit.qi.tutorials.mini_xml___asts_.a_lazy_lit">A Lazy
Lit</a>
</h6>
@@ -267,7 +263,7 @@
accessors, provided by Phoenix.
</p>
<a name="spirit.qi.tutorials.mini_xml___asts_.how_it_all_works"></a><h6>
-<a name="id877261"></a>
+<a name="id861203"></a>
<a class="link" href="mini_xml___asts_.html#spirit.qi.tutorials.mini_xml___asts_.how_it_all_works">How
it all works</a>
</h6>
@@ -276,23 +272,23 @@
</p>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem">
- Upon parsing <code class="computeroutput"><span class="identifier">start_tag</span></code>,
- the parsed start-tag string is placed in <code class="computeroutput"><span class="identifier">at_c</span><span class="special"><</span><span class="number">0</span><span class="special">>(</span><span class="identifier">_val</span><span class="special">)</span></code>.
- </li>
-<li class="listitem">
- Then we parse zero or more <code class="computeroutput"><span class="identifier">node</span></code>s.
- At each step, we <code class="computeroutput"><span class="identifier">push_back</span></code>
- the result into <code class="computeroutput"><span class="identifier">at_c</span><span class="special"><</span><span class="number">1</span><span class="special">>(</span><span class="identifier">_val</span><span class="special">)</span></code>.
- </li>
-<li class="listitem">
- Finally, we parse the <code class="computeroutput"><span class="identifier">end_tag</span></code>
- giving it an inherited attribute: <code class="computeroutput"><span class="identifier">at_c</span><span class="special"><</span><span class="number">0</span><span class="special">>(</span><span class="identifier">_val</span><span class="special">)</span></code>.
- This is the string we obtained from the <code class="computeroutput"><span class="identifier">start_tag</span></code>.
- Investigate <code class="computeroutput"><span class="identifier">end_tag</span></code> above.
- It will fail to parse if it gets something different from what we got
- from the <code class="computeroutput"><span class="identifier">start_tag</span></code>. This
- ensures that our tags are balanced.
- </li>
+ Upon parsing <code class="computeroutput"><span class="identifier">start_tag</span></code>,
+ the parsed start-tag string is placed in <code class="computeroutput"><span class="identifier">at_c</span><span class="special"><</span><span class="number">0</span><span class="special">>(</span><span class="identifier">_val</span><span class="special">)</span></code>.
+ </li>
+<li class="listitem">
+ Then we parse zero or more <code class="computeroutput"><span class="identifier">node</span></code>s.
+ At each step, we <code class="computeroutput"><span class="identifier">push_back</span></code>
+ the result into <code class="computeroutput"><span class="identifier">at_c</span><span class="special"><</span><span class="number">1</span><span class="special">>(</span><span class="identifier">_val</span><span class="special">)</span></code>.
+ </li>
+<li class="listitem">
+ Finally, we parse the <code class="computeroutput"><span class="identifier">end_tag</span></code>
+ giving it an inherited attribute: <code class="computeroutput"><span class="identifier">at_c</span><span class="special"><</span><span class="number">0</span><span class="special">>(</span><span class="identifier">_val</span><span class="special">)</span></code>. This is the string we obtained from
+ the <code class="computeroutput"><span class="identifier">start_tag</span></code>. Investigate
+ <code class="computeroutput"><span class="identifier">end_tag</span></code> above. It will
+ fail to parse if it gets something different from what we got from
+ the <code class="computeroutput"><span class="identifier">start_tag</span></code>. This
+ ensures that our tags are balanced.
+ </li>
</ol></div>
<p>
To give the last item some more light, what happens is this:
@@ -314,7 +310,7 @@
as <code class="computeroutput"><span class="identifier">_r1</span></code>.
</p>
<a name="spirit.qi.tutorials.mini_xml___asts_.the_structures"></a><h6>
-<a name="id877557"></a>
+<a name="id861513"></a>
<a class="link" href="mini_xml___asts_.html#spirit.qi.tutorials.mini_xml___asts_.the_structures">The
Structures</a>
</h6>
@@ -323,9 +319,7 @@
It will also be recursive: xml is recursive.
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">struct</span> <span class="identifier">mini_xml</span><span class="special">;</span>
@@ -343,11 +337,9 @@
</span><span class="special">};</span>
</pre>
<p>
- </p>
-<p>
</p>
<a name="spirit.qi.tutorials.mini_xml___asts_.of_alternates_and_variants"></a><h6>
-<a name="id877753"></a>
+<a name="id861705"></a>
<a class="link" href="mini_xml___asts_.html#spirit.qi.tutorials.mini_xml___asts_.of_alternates_and_variants">Of
Alternates and Variants</a>
</h6>
@@ -374,7 +366,7 @@
of <code class="computeroutput"><span class="identifier">a</span></code> and <code class="computeroutput"><span class="identifier">B</span></code> is the attribute of <code class="computeroutput"><span class="identifier">b</span></code>.
</p>
<a name="spirit.qi.tutorials.mini_xml___asts_.adapting_structs_again"></a><h6>
-<a name="id877917"></a>
+<a name="id861869"></a>
<a class="link" href="mini_xml___asts_.html#spirit.qi.tutorials.mini_xml___asts_.adapting_structs_again">Adapting
structs again</a>
</h6>
@@ -385,9 +377,7 @@
sequence:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">BOOST_FUSION_ADAPT_STRUCT</span><span class="special">(</span>
<span class="identifier">client</span><span class="special">::</span><span class="identifier">mini_xml</span><span class="special">,</span>
@@ -396,11 +386,9 @@
<span class="special">)</span>
</pre>
<p>
- </p>
-<p>
</p>
<a name="spirit.qi.tutorials.mini_xml___asts_.one_more_take"></a><h6>
-<a name="id878057"></a>
+<a name="id862006"></a>
<a class="link" href="mini_xml___asts_.html#spirit.qi.tutorials.mini_xml___asts_.one_more_take">One
More Take</a>
</h6>
@@ -410,9 +398,7 @@
Here it is:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Iterator</span><span class="special">></span>
<span class="keyword">struct</span> <span class="identifier">mini_xml_grammar</span>
@@ -458,8 +444,6 @@
<span class="special">};</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
This one shouldn't be any more difficult to understand after going through
@@ -468,7 +452,7 @@
if you missed that). There is some new stuff though. It's all in the <code class="computeroutput"><span class="identifier">xml</span></code> rule:
</p>
<a name="spirit.qi.tutorials.mini_xml___asts_.local_variables"></a><h6>
-<a name="id880066"></a>
+<a name="id862987"></a>
<a class="link" href="mini_xml___asts_.html#spirit.qi.tutorials.mini_xml___asts_.local_variables">Local
Variables</a>
</h6>
@@ -488,20 +472,21 @@
</pre>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem">
- Upon parsing <code class="computeroutput"><span class="identifier">start_tag</span></code>,
- the parsed start-tag string is placed in the local variable specified
- by (yet another) Phoenix
- placeholder: <code class="computeroutput"><span class="identifier">_a</span></code>. We have
- only one local variable. If we had more, these are designated by <code class="computeroutput"><span class="identifier">_b</span></code>..<code class="computeroutput"><span class="identifier">_z</span></code>.
- </li>
-<li class="listitem">
- Then we parse zero or more <code class="computeroutput"><span class="identifier">node</span></code>s.
- </li>
-<li class="listitem">
- Finally, we parse the <code class="computeroutput"><span class="identifier">end_tag</span></code>
- giving it an inherited attribute: <code class="computeroutput"><span class="identifier">_a</span></code>,
- our local variable.
- </li>
+ Upon parsing <code class="computeroutput"><span class="identifier">start_tag</span></code>,
+ the parsed start-tag string is placed in the local variable specified
+ by (yet another) Phoenix
+ placeholder: <code class="computeroutput"><span class="identifier">_a</span></code>. We
+ have only one local variable. If we had more, these are designated
+ by <code class="computeroutput"><span class="identifier">_b</span></code>..<code class="computeroutput"><span class="identifier">_z</span></code>.
+ </li>
+<li class="listitem">
+ Then we parse zero or more <code class="computeroutput"><span class="identifier">node</span></code>s.
+ </li>
+<li class="listitem">
+ Finally, we parse the <code class="computeroutput"><span class="identifier">end_tag</span></code>
+ giving it an inherited attribute: <code class="computeroutput"><span class="identifier">_a</span></code>,
+ our local variable.
+ </li>
</ol></div>
<p>
There are no actions involved in stuffing data into our <code class="computeroutput"><span class="identifier">xml</span></code>
Modified: trunk/libs/spirit/doc/html/spirit/qi/tutorials/mini_xml___error_handling.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/tutorials/mini_xml___error_handling.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/tutorials/mini_xml___error_handling.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -40,9 +40,7 @@
Here's the grammar:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Iterator</span><span class="special">></span>
<span class="keyword">struct</span> <span class="identifier">mini_xml_grammar</span>
@@ -111,14 +109,12 @@
<span class="special">};</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
What's new?
</p>
<a name="spirit.qi.tutorials.mini_xml___error_handling.readable_names"></a><h6>
-<a name="id882198"></a>
+<a name="id866218"></a>
<a class="link" href="mini_xml___error_handling.html#spirit.qi.tutorials.mini_xml___error_handling.readable_names">Readable
Names</a>
</h6>
@@ -137,7 +133,7 @@
<span class="identifier">end_tag</span><span class="special">.</span><span class="identifier">name</span><span class="special">(</span><span class="string">"end_tag"</span><span class="special">);</span>
</pre>
<a name="spirit.qi.tutorials.mini_xml___error_handling.on_error"></a><h6>
-<a name="id882378"></a>
+<a name="id866398"></a>
<a class="link" href="mini_xml___error_handling.html#spirit.qi.tutorials.mini_xml___error_handling.on_error">On
Error</a>
</h6>
@@ -315,7 +311,7 @@
</tbody>
</table></div>
<a name="spirit.qi.tutorials.mini_xml___error_handling.expectation_points"></a><h6>
-<a name="id882901"></a>
+<a name="id866921"></a>
<a class="link" href="mini_xml___error_handling.html#spirit.qi.tutorials.mini_xml___error_handling.expectation_points">Expectation
Points</a>
</h6>
Modified: trunk/libs/spirit/doc/html/spirit/qi/tutorials/number_list___stuffing_numbers_into_a_std__vector.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/tutorials/number_list___stuffing_numbers_into_a_std__vector.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/tutorials/number_list___stuffing_numbers_into_a_std__vector.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -32,9 +32,7 @@
The numbers are inserted in a vector using phoenix.
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Iterator</span><span class="special">></span>
<span class="keyword">bool</span> <span class="identifier">parse_numbers</span><span class="special">(</span><span class="identifier">Iterator</span> <span class="identifier">first</span><span class="special">,</span> <span class="identifier">Iterator</span> <span class="identifier">last</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">double</span><span class="special">>&</span> <span class="identifier">v</span><span class="special">)</span>
@@ -64,8 +62,6 @@
<span class="special">}</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
The full cpp file for this example can be found here: ../../example/qi/num_list2.cpp
Modified: trunk/libs/spirit/doc/html/spirit/qi/tutorials/number_list_attribute___one_more__with_style.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/tutorials/number_list_attribute___one_more__with_style.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/tutorials/number_list_attribute___one_more__with_style.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -54,28 +54,26 @@
</p>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem">
- An iterator pointing to the start of the input
- </li>
+ An iterator pointing to the start of the input
+ </li>
<li class="listitem">
- An iterator pointing to one past the end of the input
- </li>
+ An iterator pointing to one past the end of the input
+ </li>
<li class="listitem">
- The parser object
- </li>
+ The parser object
+ </li>
<li class="listitem">
- Another parser called the skip parser
- </li>
+ Another parser called the skip parser
+ </li>
<li class="listitem">
- The parser's attribute
- </li>
+ The parser's attribute
+ </li>
</ol></div>
<p>
our parser now is further simplified to:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Iterator</span><span class="special">></span>
<span class="keyword">bool</span> <span class="identifier">parse_numbers</span><span class="special">(</span><span class="identifier">Iterator</span> <span class="identifier">first</span><span class="special">,</span> <span class="identifier">Iterator</span> <span class="identifier">last</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">double</span><span class="special">>&</span> <span class="identifier">v</span><span class="special">)</span>
@@ -102,8 +100,6 @@
<span class="special">}</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
The full cpp file for this example can be found here: ../../example/qi/num_list4.cpp
Modified: trunk/libs/spirit/doc/html/spirit/qi/tutorials/number_list_redux___list_syntax.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/tutorials/number_list_redux___list_syntax.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/tutorials/number_list_redux___list_syntax.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -47,9 +47,7 @@
that:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Iterator</span><span class="special">></span>
<span class="keyword">bool</span> <span class="identifier">parse_numbers</span><span class="special">(</span><span class="identifier">Iterator</span> <span class="identifier">first</span><span class="special">,</span> <span class="identifier">Iterator</span> <span class="identifier">last</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">double</span><span class="special">>&</span> <span class="identifier">v</span><span class="special">)</span>
@@ -78,8 +76,6 @@
<span class="special">}</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
The full cpp file for this example can be found here: ../../example/qi/num_list3.cpp
Modified: trunk/libs/spirit/doc/html/spirit/qi/tutorials/quick_start.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/tutorials/quick_start.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/tutorials/quick_start.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -27,7 +27,7 @@
<a name="spirit.qi.tutorials.quick_start"></a><a class="link" href="quick_start.html" title="Quick Start">Quick Start</a>
</h4></div></div></div>
<a name="spirit.qi.tutorials.quick_start.why_would_you_want_to_use_spirit_qi_"></a><h6>
-<a name="id857887"></a>
+<a name="id840932"></a>
<a class="link" href="quick_start.html#spirit.qi.tutorials.quick_start.why_would_you_want_to_use_spirit_qi_">Why
would you want to use Spirit.Qi?</a>
</h6>
Modified: trunk/libs/spirit/doc/html/spirit/qi/tutorials/roman_numerals.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/tutorials/roman_numerals.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/tutorials/roman_numerals.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -31,17 +31,17 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- symbol table
- </li>
+ symbol table
+ </li>
<li class="listitem">
- rule
- </li>
+ rule
+ </li>
<li class="listitem">
- grammar
- </li>
+ grammar
+ </li>
</ul></div>
<a name="spirit.qi.tutorials.roman_numerals.symbol_table"></a><h6>
-<a name="id867661"></a>
+<a name="id848815"></a>
<a class="link" href="roman_numerals.html#spirit.qi.tutorials.roman_numerals.symbol_table">Symbol
Table</a>
</h6>
@@ -78,9 +78,7 @@
(which is passed to attached semantic actions).
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">struct</span> <span class="identifier">hundreds_</span> <span class="special">:</span> <span class="identifier">qi</span><span class="special">::</span><span class="identifier">symbols</span><span class="special"><</span><span class="keyword">char</span><span class="special">,</span> <span class="keyword">unsigned</span><span class="special">></span>
<span class="special">{</span>
@@ -102,16 +100,12 @@
<span class="special">}</span> <span class="identifier">hundreds</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Here's a parser for roman tens (10..90):
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">struct</span> <span class="identifier">tens_</span> <span class="special">:</span> <span class="identifier">qi</span><span class="special">::</span><span class="identifier">symbols</span><span class="special"><</span><span class="keyword">char</span><span class="special">,</span> <span class="keyword">unsigned</span><span class="special">></span>
<span class="special">{</span>
@@ -133,16 +127,12 @@
<span class="special">}</span> <span class="identifier">tens</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
and, finally, for ones (1..9):
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">struct</span> <span class="identifier">ones_</span> <span class="special">:</span> <span class="identifier">qi</span><span class="special">::</span><span class="identifier">symbols</span><span class="special"><</span><span class="keyword">char</span><span class="special">,</span> <span class="keyword">unsigned</span><span class="special">></span>
<span class="special">{</span>
@@ -164,8 +154,6 @@
<span class="special">}</span> <span class="identifier">ones</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Now we can use <code class="computeroutput"><span class="identifier">hundreds</span></code>,
@@ -173,7 +161,7 @@
They are all parsers.
</p>
<a name="spirit.qi.tutorials.roman_numerals.rules"></a><h6>
-<a name="id868644"></a>
+<a name="id850334"></a>
<a class="link" href="roman_numerals.html#spirit.qi.tutorials.roman_numerals.rules">Rules</a>
</h6>
<p>
@@ -253,7 +241,7 @@
<pre class="programlisting"><span class="identifier">r</span> <span class="special">=</span> <span class="identifier">double_</span> <span class="special">>></span> <span class="special">*(</span><span class="char">','</span> <span class="special">>></span> <span class="identifier">double_</span><span class="special">);</span>
</pre>
<a name="spirit.qi.tutorials.roman_numerals.grammars"></a><h6>
-<a name="id869036"></a>
+<a name="id850726"></a>
<a class="link" href="roman_numerals.html#spirit.qi.tutorials.roman_numerals.grammars">Grammars</a>
</h6>
<p>
@@ -262,27 +250,25 @@
</p>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem">
- deriving a struct (or class) from the <code class="computeroutput"><span class="identifier">grammar</span></code>
- class template
- </li>
-<li class="listitem">
- declare one or more rules as member variables
- </li>
-<li class="listitem">
- initialize the base grammar class by giving it the start rule (its the
- first rule that gets called when the grammar starts parsing)
- </li>
+ deriving a struct (or class) from the <code class="computeroutput"><span class="identifier">grammar</span></code>
+ class template
+ </li>
+<li class="listitem">
+ declare one or more rules as member variables
+ </li>
+<li class="listitem">
+ initialize the base grammar class by giving it the start rule (its
+ the first rule that gets called when the grammar starts parsing)
+ </li>
<li class="listitem">
- initialize your rules in your constructor
- </li>
+ initialize your rules in your constructor
+ </li>
</ol></div>
<p>
The roman numeral grammar is a very nice and simple example of a grammar:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Iterator</span><span class="special">></span>
<span class="keyword">struct</span> <span class="identifier">roman</span> <span class="special">:</span> <span class="identifier">qi</span><span class="special">::</span><span class="identifier">grammar</span><span class="special"><</span><span class="identifier">Iterator</span><span class="special">,</span> <span class="keyword">unsigned</span><span class="special">()></span>
@@ -309,62 +295,58 @@
<span class="special">};</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Things to take notice of:
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- The grammar and start rule signature is <code class="computeroutput"><span class="keyword">unsigned</span><span class="special">()</span></code>. It has a synthesized attribute (return
- value) of type <code class="computeroutput"><span class="keyword">unsigned</span></code>
- with no inherited attributes (arguments).
- </li>
-<li class="listitem">
- We did not specify a skip-parser. We don't want to skip in between the
- numerals.
- </li>
-<li class="listitem">
-<code class="computeroutput"><span class="identifier">roman</span><span class="special">::</span><span class="identifier">base_type</span></code> is a typedef for <code class="computeroutput"><span class="identifier">grammar</span><span class="special"><</span><span class="identifier">Iterator</span><span class="special">,</span>
- <span class="keyword">unsigned</span><span class="special">()></span></code>.
- If <code class="computeroutput"><span class="identifier">roman</span></code> was not a template,
- you could simply write: base_type(start)
- </li>
-<li class="listitem">
- It's best to make your grammar templates such that they can be reused
- for different iterator types.
- </li>
-<li class="listitem">
-<code class="computeroutput"><span class="identifier">_val</span></code> is another Phoenix placeholder representing
- the rule's synthesized attribute.
- </li>
-<li class="listitem">
-<code class="computeroutput"><span class="identifier">eps</span></code> is a special spirit
- parser that consumes no input but is always successful. We use it to
- initialize <code class="computeroutput"><span class="identifier">_val</span></code>, the
- rule's synthesized attribute, to zero before anything else. The actual
- parser starts at <code class="computeroutput"><span class="special">+</span><span class="identifier">char_</span><span class="special">(</span><span class="char">'M'</span><span class="special">)</span></code>,
- parsing roman thousands. Using <code class="computeroutput"><span class="identifier">eps</span></code>
- this way is good for doing pre and post initializations.
- </li>
-<li class="listitem">
- The expression <code class="computeroutput"><span class="identifier">a</span> <span class="special">||</span>
- <span class="identifier">b</span></code> reads: match a or b and in
- sequence. That is, if both <code class="computeroutput"><span class="identifier">a</span></code>
- and <code class="computeroutput"><span class="identifier">b</span></code> match, it must
- be in sequence; this is equivalent to <code class="computeroutput"><span class="identifier">a</span>
- <span class="special">>></span> <span class="special">-</span><span class="identifier">b</span> <span class="special">|</span> <span class="identifier">b</span></code>, but more efficient.
- </li>
+ The grammar and start rule signature is <code class="computeroutput"><span class="keyword">unsigned</span><span class="special">()</span></code>. It has a synthesized attribute (return
+ value) of type <code class="computeroutput"><span class="keyword">unsigned</span></code>
+ with no inherited attributes (arguments).
+ </li>
+<li class="listitem">
+ We did not specify a skip-parser. We don't want to skip in between
+ the numerals.
+ </li>
+<li class="listitem">
+ <code class="computeroutput"><span class="identifier">roman</span><span class="special">::</span><span class="identifier">base_type</span></code> is a typedef for <code class="computeroutput"><span class="identifier">grammar</span><span class="special"><</span><span class="identifier">Iterator</span><span class="special">,</span>
+ <span class="keyword">unsigned</span><span class="special">()></span></code>.
+ If <code class="computeroutput"><span class="identifier">roman</span></code> was not a
+ template, you could simply write: base_type(start)
+ </li>
+<li class="listitem">
+ It's best to make your grammar templates such that they can be reused
+ for different iterator types.
+ </li>
+<li class="listitem">
+ <code class="computeroutput"><span class="identifier">_val</span></code> is another Phoenix placeholder
+ representing the rule's synthesized attribute.
+ </li>
+<li class="listitem">
+ <code class="computeroutput"><span class="identifier">eps</span></code> is a special spirit
+ parser that consumes no input but is always successful. We use it to
+ initialize <code class="computeroutput"><span class="identifier">_val</span></code>, the
+ rule's synthesized attribute, to zero before anything else. The actual
+ parser starts at <code class="computeroutput"><span class="special">+</span><span class="identifier">char_</span><span class="special">(</span><span class="char">'M'</span><span class="special">)</span></code>,
+ parsing roman thousands. Using <code class="computeroutput"><span class="identifier">eps</span></code>
+ this way is good for doing pre and post initializations.
+ </li>
+<li class="listitem">
+ The expression <code class="computeroutput"><span class="identifier">a</span> <span class="special">||</span>
+ <span class="identifier">b</span></code> reads: match a or b and
+ in sequence. That is, if both <code class="computeroutput"><span class="identifier">a</span></code>
+ and <code class="computeroutput"><span class="identifier">b</span></code> match, it must
+ be in sequence; this is equivalent to <code class="computeroutput"><span class="identifier">a</span>
+ <span class="special">>></span> <span class="special">-</span><span class="identifier">b</span> <span class="special">|</span> <span class="identifier">b</span></code>, but more efficient.
+ </li>
</ul></div>
<a name="spirit.qi.tutorials.roman_numerals.let_s_parse_"></a><h6>
-<a name="id869912"></a>
+<a name="id851490"></a>
<a class="link" href="roman_numerals.html#spirit.qi.tutorials.roman_numerals.let_s_parse_">Let's Parse!</a>
</h6>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">bool</span> <span class="identifier">r</span> <span class="special">=</span> <span class="identifier">parse</span><span class="special">(</span><span class="identifier">iter</span><span class="special">,</span> <span class="identifier">end</span><span class="special">,</span> <span class="identifier">roman_parser</span><span class="special">,</span> <span class="identifier">result</span><span class="special">);</span>
@@ -385,8 +367,6 @@
<span class="special">}</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
<code class="computeroutput"><span class="identifier">roman_parser</span></code> is an object
Modified: trunk/libs/spirit/doc/html/spirit/qi/tutorials/semantic_actions.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/tutorials/semantic_actions.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/tutorials/semantic_actions.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -65,7 +65,7 @@
simply ignored.
</p>
<a name="spirit.qi.tutorials.semantic_actions.examples_of_semantic_actions"></a><h6>
-<a name="id859043"></a>
+<a name="id842088"></a>
<a class="link" href="semantic_actions.html#spirit.qi.tutorials.semantic_actions.examples_of_semantic_actions">Examples
of Semantic Actions</a>
</h6>
@@ -74,30 +74,28 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- Using plain function pointer
- </li>
+ Using plain function pointer
+ </li>
<li class="listitem">
- Using simple function object
- </li>
+ Using simple function object
+ </li>
<li class="listitem">
- Using Boost.Bind with
- a plain function
- </li>
+ Using Boost.Bind with
+ a plain function
+ </li>
<li class="listitem">
- Using Boost.Bind with
- a member function
- </li>
+ Using Boost.Bind with
+ a member function
+ </li>
<li class="listitem">
- Using Boost.Lambda
-</li>
+ Using Boost.Lambda
+ </li>
</ul></div>
<p>
Given:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">client</span>
<span class="special">{</span>
@@ -129,8 +127,6 @@
<span class="special">}</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Take note that with function objects, we need to have an <code class="computeroutput"><span class="keyword">operator</span><span class="special">()</span></code>
@@ -152,15 +148,11 @@
The first example shows how to attach a plain function:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">parse</span><span class="special">(</span><span class="identifier">first</span><span class="special">,</span> <span class="identifier">last</span><span class="special">,</span> <span class="char">'{'</span> <span class="special">>></span> <span class="identifier">int_</span><span class="special">[&</span><span class="identifier">print</span><span class="special">]</span> <span class="special">>></span> <span class="char">'}'</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
What's new? Well <code class="computeroutput"><span class="identifier">int_</span></code> is
@@ -171,60 +163,44 @@
The next example shows how to attach a simple function object:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">parse</span><span class="special">(</span><span class="identifier">first</span><span class="special">,</span> <span class="identifier">last</span><span class="special">,</span> <span class="char">'{'</span> <span class="special">>></span> <span class="identifier">int_</span><span class="special">[</span><span class="identifier">print_action</span><span class="special">()]</span> <span class="special">>></span> <span class="char">'}'</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
We can use Boost.Bind
to 'bind' member functions:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">writer</span> <span class="identifier">w</span><span class="special">;</span>
<span class="identifier">parse</span><span class="special">(</span><span class="identifier">first</span><span class="special">,</span> <span class="identifier">last</span><span class="special">,</span> <span class="char">'{'</span> <span class="special">>></span> <span class="identifier">int_</span><span class="special">[</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">bind</span><span class="special">(&</span><span class="identifier">writer</span><span class="special">::</span><span class="identifier">print</span><span class="special">,</span> <span class="special">&</span><span class="identifier">w</span><span class="special">,</span> <span class="identifier">_1</span><span class="special">)]</span> <span class="special">>></span> <span class="char">'}'</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Likewise, we can also use Boost.Bind
to 'bind' plain functions:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">parse</span><span class="special">(</span><span class="identifier">first</span><span class="special">,</span> <span class="identifier">last</span><span class="special">,</span> <span class="char">'{'</span> <span class="special">>></span> <span class="identifier">int_</span><span class="special">[</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">bind</span><span class="special">(&</span><span class="identifier">print</span><span class="special">,</span> <span class="identifier">_1</span><span class="special">)]</span> <span class="special">>></span> <span class="char">'}'</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Yep, we can also use Boost.Lambda:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="identifier">parse</span><span class="special">(</span><span class="identifier">first</span><span class="special">,</span> <span class="identifier">last</span><span class="special">,</span> <span class="char">'{'</span> <span class="special">>></span> <span class="identifier">int_</span><span class="special">[</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">_1</span> <span class="special"><<</span> <span class="char">'\n'</span><span class="special">]</span> <span class="special">>></span> <span class="char">'}'</span><span class="special">);</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
There are more ways to bind semantic action functions, but the examples
@@ -237,7 +213,7 @@
The examples above can be found here: ../../example/qi/actions.cpp
</p>
<a name="spirit.qi.tutorials.semantic_actions.phoenix"></a><h6>
-<a name="id861439"></a>
+<a name="id844794"></a>
<a class="link" href="semantic_actions.html#spirit.qi.tutorials.semantic_actions.phoenix">Phoenix</a>
</h6>
<p>
Modified: trunk/libs/spirit/doc/html/spirit/qi/tutorials/sum___adding_numbers.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/tutorials/sum___adding_numbers.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/tutorials/sum___adding_numbers.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -35,9 +35,7 @@
includes:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">qi</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">phoenix_core</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
@@ -46,16 +44,12 @@
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">string</span><span class="special">></span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
Then some using directives:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">qi</span> <span class="special">=</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span><span class="special">;</span>
<span class="keyword">namespace</span> <span class="identifier">ascii</span> <span class="special">=</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">ascii</span><span class="special">;</span>
@@ -67,8 +61,6 @@
<span class="keyword">using</span> <span class="identifier">phoenix</span><span class="special">::</span><span class="identifier">ref</span><span class="special">;</span>
</pre>
<p>
- </p>
-<p>
</p>
<div class="informaltable"><table class="table">
<colgroup>
@@ -171,9 +163,7 @@
Now the actual parser:
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Iterator</span><span class="special">></span>
<span class="keyword">bool</span> <span class="identifier">adder</span><span class="special">(</span><span class="identifier">Iterator</span> <span class="identifier">first</span><span class="special">,</span> <span class="identifier">Iterator</span> <span class="identifier">last</span><span class="special">,</span> <span class="keyword">double</span><span class="special">&</span> <span class="identifier">n</span><span class="special">)</span>
@@ -195,8 +185,6 @@
<span class="special">}</span>
</pre>
<p>
- </p>
-<p>
</p>
<p>
The full cpp file for this example can be found here: ../../example/qi/sum.cpp
Modified: trunk/libs/spirit/doc/html/spirit/qi/tutorials/warming_up.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/qi/tutorials/warming_up.html (original)
+++ trunk/libs/spirit/doc/html/spirit/qi/tutorials/warming_up.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -34,7 +34,7 @@
heavily uses operator overloading to accomplish its magic.
</p>
<a name="spirit.qi.tutorials.warming_up.trivial_example__1_parsing_a_number"></a><h6>
-<a name="id857942"></a>
+<a name="id840988"></a>
<a class="link" href="warming_up.html#spirit.qi.tutorials.warming_up.trivial_example__1_parsing_a_number">Trivial
Example #1 Parsing a number</a>
</h6>
@@ -49,7 +49,7 @@
parsers and consistent naming conventions help you keep from going insane!
</p>
<a name="spirit.qi.tutorials.warming_up.trivial_example__2_parsing_two_numbers"></a><h6>
-<a name="id857971"></a>
+<a name="id841016"></a>
<a class="link" href="warming_up.html#spirit.qi.tutorials.warming_up.trivial_example__2_parsing_two_numbers">Trivial
Example #2 Parsing two numbers</a>
</h6>
@@ -82,7 +82,7 @@
</p></td></tr>
</table></div>
<a name="spirit.qi.tutorials.warming_up.trivial_example__3_parsing_zero_or_more_numbers"></a><h6>
-<a name="id858032"></a>
+<a name="id841078"></a>
<a class="link" href="warming_up.html#spirit.qi.tutorials.warming_up.trivial_example__3_parsing_zero_or_more_numbers">Trivial
Example #3 Parsing zero or more numbers</a>
</h6>
@@ -105,7 +105,7 @@
also known as a Kleene Closure, but we call it the Star in most places.
</p>
<a name="spirit.qi.tutorials.warming_up.trivial_example__4_parsing_a_comma_delimited_list_of_numbers"></a><h6>
-<a name="id858077"></a>
+<a name="id841122"></a>
<a class="link" href="warming_up.html#spirit.qi.tutorials.warming_up.trivial_example__4_parsing_a_comma_delimited_list_of_numbers">Trivial
Example #4 Parsing a comma-delimited list of numbers</a>
</h6>
@@ -128,7 +128,7 @@
star encloses the complete expression above.
</p>
<a name="spirit.qi.tutorials.warming_up.let_s_parse_"></a><h6>
-<a name="id858207"></a>
+<a name="id841253"></a>
<a class="link" href="warming_up.html#spirit.qi.tutorials.warming_up.let_s_parse_">Let's Parse!</a>
</h6>
<p>
@@ -139,17 +139,17 @@
</p>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem">
- An iterator pointing to the start of the input
- </li>
+ An iterator pointing to the start of the input
+ </li>
<li class="listitem">
- An iterator pointing to one past the end of the input
- </li>
+ An iterator pointing to one past the end of the input
+ </li>
<li class="listitem">
- The parser object
- </li>
+ The parser object
+ </li>
<li class="listitem">
- Another parser called the skip parser
- </li>
+ Another parser called the skip parser
+ </li>
</ol></div>
<p>
In our example, we wish to skip spaces and tabs. Another parser named
@@ -164,9 +164,7 @@
Ok, so now let's parse!
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Iterator</span><span class="special">></span>
<span class="keyword">bool</span> <span class="identifier">parse_numbers</span><span class="special">(</span><span class="identifier">Iterator</span> <span class="identifier">first</span><span class="special">,</span> <span class="identifier">Iterator</span> <span class="identifier">last</span><span class="special">)</span>
@@ -176,10 +174,10 @@
<span class="keyword">using</span> <span class="identifier">ascii</span><span class="special">::</span><span class="identifier">space</span><span class="special">;</span>
<span class="keyword">bool</span> <span class="identifier">r</span> <span class="special">=</span> <span class="identifier">phrase_parse</span><span class="special">(</span>
- <span class="identifier">first</span><span class="special">,</span> <span class="callout_bug"><a class="co" name="spirit0co" href="warming_up.html#spirit0"><img src="../../../../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a></span>
- <span class="identifier">last</span><span class="special">,</span> <span class="callout_bug"><a class="co" name="spirit1co" href="warming_up.html#spirit1"><img src="../../../../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a></span>
- <span class="identifier">double_</span> <span class="special">>></span> <span class="special">*(</span><span class="char">','</span> <span class="special">>></span> <span class="identifier">double_</span><span class="special">),</span> <span class="callout_bug"><a class="co" name="spirit2co" href="warming_up.html#spirit2"><img src="../../../../../../../doc/src/images/callouts/3.png" alt="3" border="0"></a></span>
- <span class="identifier">space</span> <span class="callout_bug"><a class="co" name="spirit3co" href="warming_up.html#spirit3"><img src="../../../../../../../doc/src/images/callouts/4.png" alt="4" border="0"></a></span>
+ <span class="identifier">first</span><span class="special">,</span> <a class="co" name="spirit0co" href="warming_up.html#spirit0"><img src="../../../../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a>
+ <span class="identifier">last</span><span class="special">,</span> <a class="co" name="spirit1co" href="warming_up.html#spirit1"><img src="../../../../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a>
+ <span class="identifier">double_</span> <span class="special">>></span> <span class="special">*(</span><span class="char">','</span> <span class="special">>></span> <span class="identifier">double_</span><span class="special">),</span> <a class="co" name="spirit2co" href="warming_up.html#spirit2"><img src="../../../../../../../doc/src/images/callouts/3.png" alt="3" border="0"></a>
+ <span class="identifier">space</span> <a class="co" name="spirit3co" href="warming_up.html#spirit3"><img src="../../../../../../../doc/src/images/callouts/4.png" alt="4" border="0"></a>
<span class="special">);</span>
<span class="keyword">if</span> <span class="special">(</span><span class="identifier">first</span> <span class="special">!=</span> <span class="identifier">last</span><span class="special">)</span> <span class="comment">// fail if we did not get a full match
</span> <span class="keyword">return</span> <span class="keyword">false</span><span class="special">;</span>
@@ -187,11 +185,9 @@
<span class="special">}</span>
</pre>
<p>
- </p>
+ </p>
<p>
</p>
-<p>
- </p>
<div class="calloutlist"><table border="0" summary="Callout list">
<tr>
<td width="5%" valign="top" align="left"><p><a name="spirit0"></a> </p></td>
@@ -211,8 +207,6 @@
</tr>
</table></div>
<p>
- </p>
-<p>
</p>
<p>
The parse function returns <code class="computeroutput"><span class="keyword">true</span></code>
Modified: trunk/libs/spirit/doc/html/spirit/references.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/references.html (original)
+++ trunk/libs/spirit/doc/html/spirit/references.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -33,8 +33,6 @@
</colgroup>
<thead><tr>
<th>
- <p>
- </p>
</th>
<th>
<p>
Modified: trunk/libs/spirit/doc/html/spirit/structure/include.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/structure/include.html (original)
+++ trunk/libs/spirit/doc/html/spirit/structure/include.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -36,23 +36,23 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- Classic
- </li>
+ Classic
+ </li>
<li class="listitem">
- Qi
- </li>
+ Qi
+ </li>
<li class="listitem">
- Karma
- </li>
+ Karma
+ </li>
<li class="listitem">
- Lex
- </li>
+ Lex
+ </li>
<li class="listitem">
- Phoenix
- </li>
+ Phoenix
+ </li>
<li class="listitem">
- Support
- </li>
+ Support
+ </li>
</ul></div>
<p>
The top Spirit directory is:
@@ -108,26 +108,26 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- classic_
- </li>
+ classic_
+ </li>
<li class="listitem">
- karma_
- </li>
+ karma_
+ </li>
<li class="listitem">
- lex_
- </li>
+ lex_
+ </li>
<li class="listitem">
- phoenix1_
- </li>
+ phoenix1_
+ </li>
<li class="listitem">
- phoenix_
- </li>
+ phoenix_
+ </li>
<li class="listitem">
- qi_
- </li>
+ qi_
+ </li>
<li class="listitem">
- support_
- </li>
+ support_
+ </li>
</ul></div>
<p>
For example, if you used to include <boost/spirit/actor.hpp>, which
@@ -138,26 +138,26 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- <boost/spirit/include/classic.hpp>
- </li>
+ <boost/spirit/include/classic.hpp>
+ </li>
<li class="listitem">
- <boost/spirit/include/karma.hpp>
- </li>
+ <boost/spirit/include/karma.hpp>
+ </li>
<li class="listitem">
- <boost/spirit/include/lex.hpp>
- </li>
+ <boost/spirit/include/lex.hpp>
+ </li>
<li class="listitem">
- <boost/spirit/include/phoenix1.hpp>
- </li>
+ <boost/spirit/include/phoenix1.hpp>
+ </li>
<li class="listitem">
- <boost/spirit/include/phoenix.hpp>
- </li>
+ <boost/spirit/include/phoenix.hpp>
+ </li>
<li class="listitem">
- <boost/spirit/include/qi.hpp>
- </li>
+ <boost/spirit/include/qi.hpp>
+ </li>
<li class="listitem">
- <boost/spirit/include/support.hpp>
- </li>
+ <boost/spirit/include/support.hpp>
+ </li>
</ul></div>
<p>
The home directory:
@@ -176,23 +176,23 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- <boost/spirit/home/classic.hpp>
- </li>
+ <boost/spirit/home/classic.hpp>
+ </li>
<li class="listitem">
- <boost/spirit/home/karma.hpp>
- </li>
+ <boost/spirit/home/karma.hpp>
+ </li>
<li class="listitem">
- <boost/spirit/home/lex.hpp>
- </li>
+ <boost/spirit/home/lex.hpp>
+ </li>
<li class="listitem">
- <boost/spirit/home/phoenix.hpp>
- </li>
+ <boost/spirit/home/phoenix.hpp>
+ </li>
<li class="listitem">
- <boost/spirit/home/qi.hpp>
- </li>
+ <boost/spirit/home/qi.hpp>
+ </li>
<li class="listitem">
- <boost/spirit/home/support.hpp>
- </li>
+ <boost/spirit/home/support.hpp>
+ </li>
</ul></div>
<p>
The various sub-libraries include files can be found in each sub-directory
Modified: trunk/libs/spirit/doc/html/spirit/support/multi_pass.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/support/multi_pass.html (original)
+++ trunk/libs/spirit/doc/html/spirit/support/multi_pass.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -61,7 +61,7 @@
iterator was created.
</p>
<a name="spirit.support.multi_pass.using_the_multi_pass"></a><h5>
-<a name="id1262184"></a>
+<a name="id1244651"></a>
<a class="link" href="multi_pass.html#spirit.support.multi_pass.using_the_multi_pass">Using the
multi_pass</a>
</h5>
@@ -166,9 +166,7 @@
For the complete source code of this example please refer to multi_pass.cpp.
</p>
<p>
- </p>
-<p>
-
+
</p>
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">main</span><span class="special">()</span>
<span class="special">{</span>
@@ -205,11 +203,9 @@
<span class="special">}</span>
</pre>
<p>
- </p>
-<p>
</p>
<a name="spirit.support.multi_pass.using_the_flush_multi_pass_parser"></a><h5>
-<a name="id1263463"></a>
+<a name="id1245918"></a>
<a class="link" href="multi_pass.html#spirit.support.multi_pass.using_the_flush_multi_pass_parser">Using
the flush_multi_pass parser</a>
</h5>
@@ -231,7 +227,7 @@
thrown.
</p>
<a name="spirit.support.multi_pass.the_multi_pass_policies"></a><h5>
-<a name="id1263556"></a>
+<a name="id1246011"></a>
<a class="link" href="multi_pass.html#spirit.support.multi_pass.the_multi_pass_policies">The multi_pass
Policies</a>
</h5>
@@ -272,7 +268,7 @@
the functionality groups:
</p>
<div class="table">
-<a name="id1263664"></a><p class="title"><b>Table 12. Policies needed for default_policy template</b></p>
+<a name="id1246119"></a><p class="title"><b>Table 12. Policies needed for default_policy template</b></p>
<div class="table-contents"><table class="table" summary="Policies needed for default_policy template">
<colgroup>
<col>
@@ -354,7 +350,7 @@
we will give some guidelines how you can write your own policy implementations.
</p>
<a name="spirit.support.multi_pass.predefined_policies"></a><h5>
-<a name="id1263861"></a>
+<a name="id1246316"></a>
<a class="link" href="multi_pass.html#spirit.support.multi_pass.predefined_policies">Predefined
policies</a>
</h5>
@@ -363,7 +359,7 @@
policies are defined in the namespace <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">iterator_policies</span></code>.
</p>
<div class="table">
-<a name="id1263903"></a><p class="title"><b>Table 13. Predefined policy classes</b></p>
+<a name="id1246358"></a><p class="title"><b>Table 13. Predefined policy classes</b></p>
<div class="table-contents"><table class="table" summary="Predefined policy classes">
<colgroup>
<col>
@@ -634,7 +630,7 @@
</table></div>
</div>
<br class="table-break"><a name="spirit.support.multi_pass.combinations__how_to_specify_your_own_custom_multi_pass"></a><h5>
-<a name="id1264694"></a>
+<a name="id1248250"></a>
<a class="link" href="multi_pass.html#spirit.support.multi_pass.combinations__how_to_specify_your_own_custom_multi_pass">Combinations:
How to specify your own custom multi_pass</a>
</h5>
@@ -662,18 +658,18 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
-<code class="computeroutput"><span class="identifier">iterator_policies</span><span class="special">::</span><span class="identifier">ref_counted</span></code> OwnershipPolicy
- </li>
+ <code class="computeroutput"><span class="identifier">iterator_policies</span><span class="special">::</span><span class="identifier">ref_counted</span></code> OwnershipPolicy
+ </li>
<li class="listitem">
-<code class="computeroutput"><span class="identifier">iterator_policies</span><span class="special">::</span><span class="identifier">no_check</span></code> CheckingPolicy, if <code class="computeroutput"><span class="identifier">BOOST_SPIRIT_DEBUG</span></code> is defined: <code class="computeroutput"><span class="identifier">iterator_policies</span><span class="special">::</span><span class="identifier">buf_id_check</span></code> CheckingPolicy
- </li>
+ <code class="computeroutput"><span class="identifier">iterator_policies</span><span class="special">::</span><span class="identifier">no_check</span></code> CheckingPolicy, if <code class="computeroutput"><span class="identifier">BOOST_SPIRIT_DEBUG</span></code> is defined: <code class="computeroutput"><span class="identifier">iterator_policies</span><span class="special">::</span><span class="identifier">buf_id_check</span></code> CheckingPolicy
+ </li>
<li class="listitem">
-<code class="computeroutput"><span class="identifier">iterator_policies</span><span class="special">::</span><span class="identifier">buffering_input_iterator</span></code> InputPolicy,
- and
- </li>
+ <code class="computeroutput"><span class="identifier">iterator_policies</span><span class="special">::</span><span class="identifier">buffering_input_iterator</span></code> InputPolicy,
+ and
+ </li>
<li class="listitem">
-<code class="computeroutput"><span class="identifier">iterator_policies</span><span class="special">::</span><span class="identifier">split_std_deque</span></code> StoragePolicy.
- </li>
+ <code class="computeroutput"><span class="identifier">iterator_policies</span><span class="special">::</span><span class="identifier">split_std_deque</span></code> StoragePolicy.
+ </li>
</ul></div>
<p>
So if you use <code class="computeroutput"><span class="identifier">multi_pass</span><span class="special"><</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">istream_iterator</span><span class="special"><</span><span class="keyword">char</span><span class="special">></span>
@@ -681,7 +677,7 @@
behaviors while wrapping an <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">istream_iterator</span><span class="special"><</span><span class="keyword">char</span><span class="special">></span></code>.
</p>
<a name="spirit.support.multi_pass.dealing_with_constant_look_ahead"></a><h5>
-<a name="id1265116"></a>
+<a name="id1248687"></a>
<a class="link" href="multi_pass.html#spirit.support.multi_pass.dealing_with_constant_look_ahead">Dealing
with constant look ahead</a>
</h5>
@@ -709,7 +705,7 @@
Also, see <a class="link" href="../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.support.multi_pass.reading_from_standard_input_streams"></a><h5>
-<a name="id1265316"></a>
+<a name="id1248886"></a>
<a class="link" href="multi_pass.html#spirit.support.multi_pass.reading_from_standard_input_streams">Reading
from standard input streams</a>
</h5>
@@ -741,7 +737,7 @@
Also, see <a class="link" href="../structure/include.html" title="Include">Include Structure</a>.
</p>
<a name="spirit.support.multi_pass.how_to_write_a_functor_for_use_with_the__code__phrase_role__identifier__functor_input__phrase___code__inputpolicy"></a><h5>
-<a name="id1265808"></a>
+<a name="id1249164"></a>
<a class="link" href="multi_pass.html#spirit.support.multi_pass.how_to_write_a_functor_for_use_with_the__code__phrase_role__identifier__functor_input__phrase___code__inputpolicy">How
to write a functor for use with the <code class="computeroutput"><span class="identifier">functor_input</span></code>
InputPolicy</a>
@@ -800,7 +796,7 @@
<span class="special">}</span>
</pre>
<a name="spirit.support.multi_pass.how_to_write_policies_for_use_with_multi_pass"></a><h5>
-<a name="id1266394"></a>
+<a name="id1249751"></a>
<a class="link" href="multi_pass.html#spirit.support.multi_pass.how_to_write_policies_for_use_with_multi_pass">How
to write policies for use with multi_pass</a>
</h5>
@@ -817,7 +813,7 @@
copies of a particular <code class="computeroutput"><span class="identifier">multi_pass</span></code>.
</p>
<a name="spirit.support.multi_pass.inputpolicy"></a><h5>
-<a name="id1266469"></a>
+<a name="id1249825"></a>
<a class="link" href="multi_pass.html#spirit.support.multi_pass.inputpolicy">InputPolicy</a>
</h5>
<p>
@@ -919,7 +915,7 @@
constructor of <code class="computeroutput"><span class="identifier">shared</span></code>.
</p>
<a name="spirit.support.multi_pass.ownershippolicy"></a><h5>
-<a name="id1267390"></a>
+<a name="id1250892"></a>
<a class="link" href="multi_pass.html#spirit.support.multi_pass.ownershippolicy">OwnershipPolicy</a>
</h5>
<p>
@@ -986,7 +982,7 @@
constructor of <code class="computeroutput"><span class="identifier">shared</span></code>.
</p>
<a name="spirit.support.multi_pass.checkingpolicy"></a><h5>
-<a name="id1269017"></a>
+<a name="id1251426"></a>
<a class="link" href="multi_pass.html#spirit.support.multi_pass.checkingpolicy">CheckingPolicy</a>
</h5>
<p>
@@ -1045,7 +1041,7 @@
constructor of <code class="computeroutput"><span class="identifier">shared</span></code>.
</p>
<a name="spirit.support.multi_pass.storagepolicy"></a><h5>
-<a name="id1269468"></a>
+<a name="id1251877"></a>
<a class="link" href="multi_pass.html#spirit.support.multi_pass.storagepolicy">StoragePolicy</a>
</h5>
<p>
Modified: trunk/libs/spirit/doc/html/spirit/what_s_new/spirit_2_1.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/what_s_new/spirit_2_1.html (original)
+++ trunk/libs/spirit/doc/html/spirit/what_s_new/spirit_2_1.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -27,165 +27,167 @@
<a name="spirit.what_s_new.spirit_2_1"></a><a class="link" href="spirit_2_1.html" title="Spirit V2.1"> Spirit V2.1</a>
</h3></div></div></div>
<a name="spirit.what_s_new.spirit_2_1.what_s_changed_in__emphasis_spirit_qi__emphasis__and__emphasis_spirit_karma__emphasis__from_v2_0__boost_v1_37_0__to_v2_1__boost_v1_41_0_"></a><h5>
-<a name="id845412"></a>
+<a name="id827992"></a>
<a class="link" href="spirit_2_1.html#spirit.what_s_new.spirit_2_1.what_s_changed_in__emphasis_spirit_qi__emphasis__and__emphasis_spirit_karma__emphasis__from_v2_0__boost_v1_37_0__to_v2_1__boost_v1_41_0_">What's
changed in <span class="emphasis"><em>Spirit.Qi</em></span> and <span class="emphasis"><em>Spirit.Karma</em></span>
from V2.0 (Boost V1.37.0) to V2.1 (Boost V1.41.0)</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
-Spirit is now based on the
- newest version of Boost.Proto
-</li>
-<li class="listitem">
-<code class="computeroutput"><span class="identifier">qi</span><span class="special">::</span><span class="identifier">phrase_parse</span></code>, <code class="computeroutput"><span class="identifier">qi</span><span class="special">::</span><span class="identifier">phrase_format</span></code>
- now post-skip by default.
- </li>
-<li class="listitem">
-<code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span><span class="identifier">generate_delimited</span></code> and <code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span><span class="identifier">format_delimited</span></code> now don't do pre- delimiting
- by default.
- </li>
-<li class="listitem">
- Changed parameter sequence of <code class="computeroutput"><span class="identifier">qi</span><span class="special">::</span><span class="identifier">phrase_parse</span></code>,
- <code class="computeroutput"><span class="identifier">qi</span><span class="special">::</span><span class="identifier">phrase_match</span></code>, <code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span><span class="identifier">generate_delimited</span></code>,
- and <code class="computeroutput"><span class="identifier">match_delimited</span></code>. The
- attribute is now always the last parameter.
- </li>
-<li class="listitem">
- Added new overloads of those functions allowing to explicitely specify
- the post-skipping and pre-delimiting behavior.
- </li>
-<li class="listitem">
- Added multi attribute API functions
- </li>
-<li class="listitem">
- Removed <code class="computeroutput"><span class="identifier">grammar_def</span><span class="special"><></span></code>
-</li>
-<li class="listitem">
- Removed functions <code class="computeroutput"><span class="identifier">make_parser</span><span class="special">()</span></code> and <code class="computeroutput"><span class="identifier">make_generator</span><span class="special">()</span></code>
-</li>
-<li class="listitem">
- Removed <code class="computeroutput"><span class="identifier">qi</span><span class="special">::</span><span class="identifier">none</span></code> and <code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span><span class="identifier">none</span></code>
-</li>
-<li class="listitem">
- Sequences and lists now accept a standard container as their attribute
- </li>
-<li class="listitem">
- The string placeholder terminal now can take other strings as its parameter
- (i.e. std::string)
- </li>
-<li class="listitem">
- All terminals taking literals now accept a (lazy) function object as well
- </li>
-<li class="listitem">
- All placeholders for terminals and directives (such as <code class="computeroutput"><span class="identifier">int_</span></code>,
- <code class="computeroutput"><span class="identifier">double_</span></code>, <code class="computeroutput"><span class="identifier">verbatim</span></code>, etc.) were previously defined
- in the namespace <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span></code>
- only. Now these are additionally imported into the namespaces <code class="computeroutput"><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span></code>, <code class="computeroutput"><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span></code>,
- and <code class="computeroutput"><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">lex</span></code> (if they are supported by the corresponding
- sub-library).
- </li>
-<li class="listitem">
- The terminal placeholders <code class="computeroutput"><span class="identifier">char_</span></code>
- and <code class="computeroutput"><span class="identifier">string</span></code> are not defined
- in the namespace <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span></code>
- anymore as they have been moved to the character set namespaces, allowing
- to do proper character set handling based on the used namespace (as <code class="computeroutput"><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">ascii</span></code>, etc.)
- </li>
-<li class="listitem">
- The <code class="computeroutput"><span class="identifier">uint</span></code>, <code class="computeroutput"><span class="identifier">ushort</span></code>, <code class="computeroutput"><span class="identifier">ulong</span></code>,
- and <code class="computeroutput"><span class="identifier">byte</span></code> terminal placeholders
- have been renamed to <code class="computeroutput"><span class="identifier">uint_</span></code>,
- <code class="computeroutput"><span class="identifier">ushort_</span></code>, <code class="computeroutput"><span class="identifier">ulong_</span></code>, and <code class="computeroutput"><span class="identifier">byte_</span></code>.
- </li>
-<li class="listitem">
-<code class="computeroutput"><span class="identifier">qi</span><span class="special">::</span><span class="identifier">skip</span><span class="special">[]</span></code>
- now re-enables outer skipper if used inside <code class="computeroutput"><span class="identifier">lexeme</span><span class="special">[]</span></code>
-</li>
-<li class="listitem">
- Added <code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span><span class="identifier">maxwidth</span><span class="special">[]</span></code>
- directive (see <a class="link" href="../karma/reference/directive/maxwidth.html" title="Controlling the Maximum Field Width (maxwidth[])"><code class="computeroutput"><span class="identifier">maxwidth</span></code></a>)
- </li>
-<li class="listitem">
- Added <code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span><span class="identifier">omit</span><span class="special">[]</span></code>
- allowing to consume the attribute of subject generator without emitting
- any output (see <a class="link" href="../karma/reference/directive/omit.html" title="Consume Attribute (omit[] and skip[])"><code class="computeroutput"><span class="identifier">omit</span></code></a>).
- </li>
-<li class="listitem">
- Added <code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span><span class="identifier">buffer</span><span class="special">[]</span></code>
- allowing to avoid unwanted output to be generated in case of a generator
- failing in the middle of a sequence (see <a class="link" href="../karma/reference/directive/buffer.html" title="Temporary Output Buffering (buffer[])"><code class="computeroutput"><span class="identifier">buffer</span></code></a>).
- </li>
-<li class="listitem">
-<code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span><span class="identifier">delimit</span><span class="special">[]</span></code>
- now re-enables outer delimiter if used inside <code class="computeroutput"><span class="identifier">verbatim</span><span class="special">[]</span></code>
-</li>
-<li class="listitem">
- Karma: added and-predicate (<code class="computeroutput"><span class="keyword">operator</span><span class="special">&()</span></code>) and not-predicate (<code class="computeroutput"><span class="keyword">operator</span><span class="special">!()</span></code>)
- Both now always consume an attribute.
- </li>
-<li class="listitem">
- Karma: changed semantics of <code class="computeroutput"><span class="identifier">char_</span><span class="special">()</span></code>, <code class="computeroutput"><span class="identifier">string</span><span class="special">()</span></code>, <code class="computeroutput"><span class="identifier">int_</span><span class="special">()</span></code> et.al., and <code class="computeroutput"><span class="identifier">double_</span><span class="special">()</span></code> et.al.: all of these generators now always
- expose an attribute. If they do not have an associated attribute, they
- generate their immediate literal. If they have an associated attribute,
- the generators first test if the attribute value is equal to the immediate
- literal. They fail and do not generate anything if those are not equal.
- Otherwise they generate their immediate literal. For more information see
- for instance <a class="link" href="../karma/reference/numeric/signed_int.html" title="Signed Integer Number Generators (int_, etc.)"><code class="computeroutput"><span class="identifier">int_</span></code></a>.
- </li>
-<li class="listitem">
-<code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span><span class="identifier">lit</span><span class="special">()</span></code>
- can now be used to generate integer and floating point numbers
- </li>
-<li class="listitem">
-<code class="computeroutput"><span class="identifier">qi</span><span class="special">::</span><span class="identifier">rule</span></code> and <code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span><span class="identifier">rule</span></code>
- now can be directly initialized using their copy constructor. I.e. this
- works now: <code class="computeroutput"><span class="identifier">qi</span><span class="special">::</span><span class="identifier">rule</span><span class="special"><...></span>
- <span class="identifier">r</span> <span class="special">=</span>
- <span class="special">...</span><span class="identifier">some</span>
- <span class="identifier">parser</span><span class="special">...;</span></code>.
- </li>
-<li class="listitem">
- Added <code class="computeroutput"><span class="identifier">qi</span><span class="special">::</span><span class="identifier">attr</span><span class="special">()</span></code>
- exposing its immediate parameter as its attribute.
- </li>
-<li class="listitem">
- Added boolean parsers and generators (<code class="computeroutput"><span class="identifier">bool_</span></code>,
- <code class="computeroutput"><span class="identifier">true_</span></code>, <code class="computeroutput"><span class="identifier">false_</span></code>).
- </li>
-<li class="listitem">
- Added <code class="computeroutput"><span class="identifier">attr_cast</span><span class="special"><></span></code>
- enabling in place attribute type conversion in Qi and Karma grammars.
- </li>
-<li class="listitem">
- Almost all Karma generators now accept <code class="computeroutput"><span class="identifier">optional</span><span class="special"><></span></code> attributes and will fail generating
- if this is not initialized.
- </li>
-<li class="listitem">
- Qi and Karma rules now automatically detect whether to apply auto-rule
- semantics or not (no need for using <code class="computeroutput"><span class="keyword">operator</span><span class="special">%=()</span></code> anymore, even if it's still existing).
- Auto-rule semantics are applied if the right hand side has no semantic
- actions attached to any of the elements. This works for rule initialization
- and assignment.
- </li>
-<li class="listitem">
- Qi and Karma rules now do intrinsic attribute transformation based on the
- attribute customization point <a class="link" href="../advanced/customize/transform.html" title="Transform an Attribute to a Different Type (Qi and Karma)"><code class="computeroutput"><span class="identifier">transform_attribute</span></code></a>.
- </li>
-<li class="listitem">
- All char_ parsers now always expose an attribute. Earlier <code class="computeroutput"><span class="identifier">char_</span><span class="special">(...)</span></code>
- didn't expose an attribute while <code class="computeroutput"><span class="identifier">char_</span></code>
- did. If you need a literal parser not exposing any attribute use <code class="computeroutput"><span class="identifier">lit</span><span class="special">(...)</span></code>
- instead.
- </li>
-<li class="listitem">
- The qi::int_spec, qi::real_spec, karma::int_spec, and karma real_spec types
- do not exist anymore. These have been replaced with qi::int_parser, qi::real_parser,
- karma::int_generator, and karma::real_generator.
- </li>
+ Spirit is now based on the
+ newest version of Boost.Proto
+ </li>
+<li class="listitem">
+ <code class="computeroutput"><span class="identifier">qi</span><span class="special">::</span><span class="identifier">phrase_parse</span></code>, <code class="computeroutput"><span class="identifier">qi</span><span class="special">::</span><span class="identifier">phrase_format</span></code>
+ now post-skip by default.
+ </li>
+<li class="listitem">
+ <code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span><span class="identifier">generate_delimited</span></code> and <code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span><span class="identifier">format_delimited</span></code> now don't do pre-
+ delimiting by default.
+ </li>
+<li class="listitem">
+ Changed parameter sequence of <code class="computeroutput"><span class="identifier">qi</span><span class="special">::</span><span class="identifier">phrase_parse</span></code>,
+ <code class="computeroutput"><span class="identifier">qi</span><span class="special">::</span><span class="identifier">phrase_match</span></code>, <code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span><span class="identifier">generate_delimited</span></code>,
+ and <code class="computeroutput"><span class="identifier">match_delimited</span></code>.
+ The attribute is now always the last parameter.
+ </li>
+<li class="listitem">
+ Added new overloads of those functions allowing to explicitely specify
+ the post-skipping and pre-delimiting behavior.
+ </li>
+<li class="listitem">
+ Added multi attribute API functions
+ </li>
+<li class="listitem">
+ Removed <code class="computeroutput"><span class="identifier">grammar_def</span><span class="special"><></span></code>
+ </li>
+<li class="listitem">
+ Removed functions <code class="computeroutput"><span class="identifier">make_parser</span><span class="special">()</span></code> and <code class="computeroutput"><span class="identifier">make_generator</span><span class="special">()</span></code>
+ </li>
+<li class="listitem">
+ Removed <code class="computeroutput"><span class="identifier">qi</span><span class="special">::</span><span class="identifier">none</span></code> and <code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span><span class="identifier">none</span></code>
+ </li>
+<li class="listitem">
+ Sequences and lists now accept a standard container as their attribute
+ </li>
+<li class="listitem">
+ The string placeholder terminal now can take other strings as its parameter
+ (i.e. std::string)
+ </li>
+<li class="listitem">
+ All terminals taking literals now accept a (lazy) function object as
+ well
+ </li>
+<li class="listitem">
+ All placeholders for terminals and directives (such as <code class="computeroutput"><span class="identifier">int_</span></code>, <code class="computeroutput"><span class="identifier">double_</span></code>,
+ <code class="computeroutput"><span class="identifier">verbatim</span></code>, etc.) were
+ previously defined in the namespace <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span></code>
+ only. Now these are additionally imported into the namespaces <code class="computeroutput"><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">qi</span></code>, <code class="computeroutput"><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">karma</span></code>,
+ and <code class="computeroutput"><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">lex</span></code> (if they are supported by the corresponding
+ sub-library).
+ </li>
+<li class="listitem">
+ The terminal placeholders <code class="computeroutput"><span class="identifier">char_</span></code>
+ and <code class="computeroutput"><span class="identifier">string</span></code> are not defined
+ in the namespace <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">spirit</span></code>
+ anymore as they have been moved to the character set namespaces, allowing
+ to do proper character set handling based on the used namespace (as
+ <code class="computeroutput"><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">ascii</span></code>, etc.)
+ </li>
+<li class="listitem">
+ The <code class="computeroutput"><span class="identifier">uint</span></code>, <code class="computeroutput"><span class="identifier">ushort</span></code>, <code class="computeroutput"><span class="identifier">ulong</span></code>,
+ and <code class="computeroutput"><span class="identifier">byte</span></code> terminal placeholders
+ have been renamed to <code class="computeroutput"><span class="identifier">uint_</span></code>,
+ <code class="computeroutput"><span class="identifier">ushort_</span></code>, <code class="computeroutput"><span class="identifier">ulong_</span></code>, and <code class="computeroutput"><span class="identifier">byte_</span></code>.
+ </li>
+<li class="listitem">
+ <code class="computeroutput"><span class="identifier">qi</span><span class="special">::</span><span class="identifier">skip</span><span class="special">[]</span></code>
+ now re-enables outer skipper if used inside <code class="computeroutput"><span class="identifier">lexeme</span><span class="special">[]</span></code>
+ </li>
+<li class="listitem">
+ Added <code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span><span class="identifier">maxwidth</span><span class="special">[]</span></code>
+ directive (see <a class="link" href="../karma/reference/directive/maxwidth.html" title="Controlling the Maximum Field Width (maxwidth[])"><code class="computeroutput"><span class="identifier">maxwidth</span></code></a>)
+ </li>
+<li class="listitem">
+ Added <code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span><span class="identifier">omit</span><span class="special">[]</span></code>
+ allowing to consume the attribute of subject generator without emitting
+ any output (see <a class="link" href="../karma/reference/directive/omit.html" title="Consume Attribute (omit[] and skip[])"><code class="computeroutput"><span class="identifier">omit</span></code></a>).
+ </li>
+<li class="listitem">
+ Added <code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span><span class="identifier">buffer</span><span class="special">[]</span></code>
+ allowing to avoid unwanted output to be generated in case of a generator
+ failing in the middle of a sequence (see <a class="link" href="../karma/reference/directive/buffer.html" title="Temporary Output Buffering (buffer[])"><code class="computeroutput"><span class="identifier">buffer</span></code></a>).
+ </li>
+<li class="listitem">
+ <code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span><span class="identifier">delimit</span><span class="special">[]</span></code>
+ now re-enables outer delimiter if used inside <code class="computeroutput"><span class="identifier">verbatim</span><span class="special">[]</span></code>
+ </li>
+<li class="listitem">
+ Karma: added and-predicate (<code class="computeroutput"><span class="keyword">operator</span><span class="special">&()</span></code>) and not-predicate (<code class="computeroutput"><span class="keyword">operator</span><span class="special">!()</span></code>)
+ Both now always consume an attribute.
+ </li>
+<li class="listitem">
+ Karma: changed semantics of <code class="computeroutput"><span class="identifier">char_</span><span class="special">()</span></code>, <code class="computeroutput"><span class="identifier">string</span><span class="special">()</span></code>, <code class="computeroutput"><span class="identifier">int_</span><span class="special">()</span></code> et.al., and <code class="computeroutput"><span class="identifier">double_</span><span class="special">()</span></code> et.al.: all of these generators now
+ always expose an attribute. If they do not have an associated attribute,
+ they generate their immediate literal. If they have an associated attribute,
+ the generators first test if the attribute value is equal to the immediate
+ literal. They fail and do not generate anything if those are not equal.
+ Otherwise they generate their immediate literal. For more information
+ see for instance <a class="link" href="../karma/reference/numeric/signed_int.html" title="Signed Integer Number Generators (int_, etc.)"><code class="computeroutput"><span class="identifier">int_</span></code></a>.
+ </li>
+<li class="listitem">
+ <code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span><span class="identifier">lit</span><span class="special">()</span></code>
+ can now be used to generate integer and floating point numbers
+ </li>
+<li class="listitem">
+ <code class="computeroutput"><span class="identifier">qi</span><span class="special">::</span><span class="identifier">rule</span></code> and <code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span><span class="identifier">rule</span></code>
+ now can be directly initialized using their copy constructor. I.e. this
+ works now: <code class="computeroutput"><span class="identifier">qi</span><span class="special">::</span><span class="identifier">rule</span><span class="special"><...></span>
+ <span class="identifier">r</span> <span class="special">=</span>
+ <span class="special">...</span><span class="identifier">some</span>
+ <span class="identifier">parser</span><span class="special">...;</span></code>.
+ </li>
+<li class="listitem">
+ Added <code class="computeroutput"><span class="identifier">qi</span><span class="special">::</span><span class="identifier">attr</span><span class="special">()</span></code>
+ exposing its immediate parameter as its attribute.
+ </li>
+<li class="listitem">
+ Added boolean parsers and generators (<code class="computeroutput"><span class="identifier">bool_</span></code>,
+ <code class="computeroutput"><span class="identifier">true_</span></code>, <code class="computeroutput"><span class="identifier">false_</span></code>).
+ </li>
+<li class="listitem">
+ Added <code class="computeroutput"><span class="identifier">attr_cast</span><span class="special"><></span></code>
+ enabling in place attribute type conversion in Qi and Karma grammars.
+ </li>
+<li class="listitem">
+ Almost all Karma generators now accept <code class="computeroutput"><span class="identifier">optional</span><span class="special"><></span></code> attributes and will fail generating
+ if this is not initialized.
+ </li>
+<li class="listitem">
+ Qi and Karma rules now automatically detect whether to apply auto-rule
+ semantics or not (no need for using <code class="computeroutput"><span class="keyword">operator</span><span class="special">%=()</span></code> anymore, even if it's still existing).
+ Auto-rule semantics are applied if the right hand side has no semantic
+ actions attached to any of the elements. This works for rule initialization
+ and assignment.
+ </li>
+<li class="listitem">
+ Qi and Karma rules now do intrinsic attribute transformation based on
+ the attribute customization point <a class="link" href="../advanced/customize/transform.html" title="Transform an Attribute to a Different Type (Qi and Karma)"><code class="computeroutput"><span class="identifier">transform_attribute</span></code></a>.
+ </li>
+<li class="listitem">
+ All char_ parsers now always expose an attribute. Earlier <code class="computeroutput"><span class="identifier">char_</span><span class="special">(...)</span></code>
+ didn't expose an attribute while <code class="computeroutput"><span class="identifier">char_</span></code>
+ did. If you need a literal parser not exposing any attribute use <code class="computeroutput"><span class="identifier">lit</span><span class="special">(...)</span></code>
+ instead.
+ </li>
+<li class="listitem">
+ The qi::int_spec, qi::real_spec, karma::int_spec, and karma real_spec
+ types do not exist anymore. These have been replaced with qi::int_parser,
+ qi::real_parser, karma::int_generator, and karma::real_generator.
+ </li>
</ul></div>
<a name="spirit.what_s_new.spirit_2_1.what_s_changed_in__emphasis_spirit_lex__emphasis__from_v2_0__boost_v1_37_0__to_v2_1__boost_v1_41_0_"></a><h5>
-<a name="id846333"></a>
+<a name="id830122"></a>
<a class="link" href="spirit_2_1.html#spirit.what_s_new.spirit_2_1.what_s_changed_in__emphasis_spirit_lex__emphasis__from_v2_0__boost_v1_37_0__to_v2_1__boost_v1_41_0_">What's
changed in <span class="emphasis"><em>Spirit.Lex</em></span> from V2.0 (Boost V1.37.0) to V2.1
(Boost V1.41.0)</a>
@@ -200,14 +202,14 @@
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- The lex::lexer_def class has been renamed to lex::lexer, while the original
- class lex::lexer does not exist anymore. This simplifies the creation of
- lexers.
- </li>
-<li class="listitem">
- The lex::lexer class does not have the function <code class="computeroutput"><span class="identifier">def</span><span class="special">(</span><span class="identifier">Self</span><span class="special">&</span> <span class="identifier">self</span><span class="special">)</span></code> anymore, token definitions can be added
- to the lexer at any time, usually in the constructor of the user defined
- lexer class:
+ The lex::lexer_def class has been renamed to lex::lexer, while the original
+ class lex::lexer does not exist anymore. This simplifies the creation
+ of lexers.
+ </li>
+<li class="listitem">
+ The lex::lexer class does not have the function <code class="computeroutput"><span class="identifier">def</span><span class="special">(</span><span class="identifier">Self</span><span class="special">&</span> <span class="identifier">self</span><span class="special">)</span></code> anymore, token definitions can be added
+ to the lexer at any time, usually in the constructor of the user defined
+ lexer class:
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Lexer</span><span class="special">></span>
<span class="keyword">struct</span> <span class="identifier">example_tokens</span> <span class="special">:</span> <span class="identifier">lex</span><span class="special">::</span><span class="identifier">lexer</span><span class="special"><</span><span class="identifier">Lexer</span><span class="special">></span>
<span class="special">{</span>
@@ -218,76 +220,78 @@
<span class="special">}</span>
<span class="special">};</span>
</pre>
-</li>
+ </li>
<li class="listitem">
- The new lexer class can now be used directly. The function <code class="computeroutput"><span class="identifier">make_lexer</span><span class="special">()</span></code>
- has been removed.
- </li>
-<li class="listitem">
- The <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">tokenize_and_parse</span><span class="special">()</span></code>
- and <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">tokenize_and_phrase_parse</span><span class="special">()</span></code>
- functions have been changed to match the parameter sequence as implemented
- by the <code class="computeroutput"><span class="identifier">qi</span><span class="special">::</span><span class="identifier">parse</span><span class="special">()</span></code>
- and <code class="computeroutput"><span class="identifier">qi</span><span class="special">::</span><span class="identifier">phrase_parse</span><span class="special">()</span></code>
- functions. Both take an arbitrary number of attribute arguments as the
- last parameters. This argument list is limited by the macro <code class="computeroutput"><span class="identifier">SPIRIT_ARGUMENTS_LIMIT</span></code>.
- </li>
-<li class="listitem">
- The <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">lexertl_lexer</span></code>, and <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">lexertl_token</span></code>
- classes have been moved to the <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">lexertl</span></code>
- namespace and the names have been changed to <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">lexertl</span><span class="special">::</span><span class="identifier">lexer</span></code>,
- <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">lexertl</span><span class="special">::</span><span class="identifier">token</span></code>. This also applies to the <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">lexert_actor_lexer</span></code>, and the <code class="computeroutput"><span class="identifier">static_lexertl_</span><span class="special">*</span></code>
- family of types.
- </li>
-<li class="listitem">
- The class <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">lexertl_token_set</span></code> has been removed. This
- functionality is now available from the lexer class.
- </li>
-<li class="listitem">
- The <span class="emphasis"><em>Spirit.Lex</em></span> library has been updated to use the
- newest version of Ben Hansons Lexertl
- lexer construction library (Boost review pending).
- </li>
-<li class="listitem">
- The <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">lexer</span><span class="special"><</span><span class="identifier">Lexer</span><span class="special">></span></code>
- template constructor now takes an optional parameter specifying the <code class="computeroutput"><span class="identifier">match_flags</span></code> to be used for table generation.
- Currently, there are the following flags available:
+ The new lexer class can now be used directly. The function <code class="computeroutput"><span class="identifier">make_lexer</span><span class="special">()</span></code>
+ has been removed.
+ </li>
+<li class="listitem">
+ The <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">tokenize_and_parse</span><span class="special">()</span></code>
+ and <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">tokenize_and_phrase_parse</span><span class="special">()</span></code>
+ functions have been changed to match the parameter sequence as implemented
+ by the <code class="computeroutput"><span class="identifier">qi</span><span class="special">::</span><span class="identifier">parse</span><span class="special">()</span></code>
+ and <code class="computeroutput"><span class="identifier">qi</span><span class="special">::</span><span class="identifier">phrase_parse</span><span class="special">()</span></code>
+ functions. Both take an arbitrary number of attribute arguments as the
+ last parameters. This argument list is limited by the macro <code class="computeroutput"><span class="identifier">SPIRIT_ARGUMENTS_LIMIT</span></code>.
+ </li>
+<li class="listitem">
+ The <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">lexertl_lexer</span></code>, and <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">lexertl_token</span></code>
+ classes have been moved to the <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">lexertl</span></code>
+ namespace and the names have been changed to <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">lexertl</span><span class="special">::</span><span class="identifier">lexer</span></code>,
+ <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">lexertl</span><span class="special">::</span><span class="identifier">token</span></code>. This also applies to the <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">lexert_actor_lexer</span></code>, and the <code class="computeroutput"><span class="identifier">static_lexertl_</span><span class="special">*</span></code>
+ family of types.
+ </li>
+<li class="listitem">
+ The class <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">lexertl_token_set</span></code> has been removed.
+ This functionality is now available from the lexer class.
+ </li>
+<li class="listitem">
+ The <span class="emphasis"><em>Spirit.Lex</em></span> library has been updated to use the
+ newest version of Ben Hansons Lexertl
+ lexer construction library (Boost review pending).
+ </li>
+<li class="listitem">
+ The <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">lexer</span><span class="special"><</span><span class="identifier">Lexer</span><span class="special">></span></code>
+ template constructor now takes an optional parameter specifying the
+ <code class="computeroutput"><span class="identifier">match_flags</span></code> to be used
+ for table generation. Currently, there are the following flags available:
+
<pre class="programlisting"><span class="identifier">match_flags</span><span class="special">::</span><span class="identifier">match_default</span><span class="special">,</span> <span class="comment">// no flags
</span><span class="identifier">match_flags</span><span class="special">::</span><span class="identifier">match_not_dot_newline</span><span class="special">,</span> <span class="comment">// the regex '.' doesn't match newlines
</span><span class="identifier">match_flags</span><span class="special">::</span><span class="identifier">match_icase</span> <span class="comment">// all matching operations are case insensitive
</span></pre>
- If no parameter is passed to the constructor, <code class="computeroutput"><span class="identifier">match_flags</span><span class="special">::</span><span class="identifier">match_default</span></code>
- is used, i.e. the <code class="computeroutput"><span class="special">.</span></code> matches
- newlines and matching is case sensitive.
- </li>
-<li class="listitem">
- The <code class="computeroutput"><span class="identifier">char_</span><span class="special">()</span></code>
- and <code class="computeroutput"><span class="identifier">string</span><span class="special">()</span></code>
- placeholders can now be used for token definitions and are synonymous with
- <code class="computeroutput"><span class="identifier">token_def</span></code>.
- </li>
-<li class="listitem">
- Lexer semantic actions now have to conform to a changed interface (see
- <a class="link" href="../lex/abstracts/lexer_semantic_actions.html" title="Lexer Semantic Actions">Lexer Semantic
- Actions</a> for details).
- </li>
-<li class="listitem">
- Added placeholder symbols usable from the inside of lexer semantic actions
- while using Phoenix: <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">_start</span></code>,
- <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">_end</span></code>, <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">_eoi</span></code>,
- <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">_state</span></code>, <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">_val</span></code>,
- and <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">_pass</span></code> (see <a class="link" href="../lex/abstracts/lexer_semantic_actions.html" title="Lexer Semantic Actions">Lexer
- Semantic Actions</a> for more details).
- </li>
-<li class="listitem">
- Added (lazy) support functions usable from the inside of lexer semantic
- actions while using Phoenix: <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">more</span><span class="special">()</span></code>, <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">less</span><span class="special">()</span></code>, and <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">lookahead</span><span class="special">()</span></code> (see <a class="link" href="../lex/abstracts/lexer_semantic_actions.html" title="Lexer Semantic Actions">Lexer
- Semantic Actions</a> for more details).
- </li>
-<li class="listitem">
- Removed <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">omitted</span></code> in favor of <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">omit</span></code>
- to unify the overall interface.
- </li>
+ If no parameter is passed to the constructor, <code class="computeroutput"><span class="identifier">match_flags</span><span class="special">::</span><span class="identifier">match_default</span></code>
+ is used, i.e. the <code class="computeroutput"><span class="special">.</span></code> matches
+ newlines and matching is case sensitive.
+ </li>
+<li class="listitem">
+ The <code class="computeroutput"><span class="identifier">char_</span><span class="special">()</span></code>
+ and <code class="computeroutput"><span class="identifier">string</span><span class="special">()</span></code>
+ placeholders can now be used for token definitions and are synonymous
+ with <code class="computeroutput"><span class="identifier">token_def</span></code>.
+ </li>
+<li class="listitem">
+ Lexer semantic actions now have to conform to a changed interface (see
+ <a class="link" href="../lex/abstracts/lexer_semantic_actions.html" title="Lexer Semantic Actions">Lexer Semantic
+ Actions</a> for details).
+ </li>
+<li class="listitem">
+ Added placeholder symbols usable from the inside of lexer semantic actions
+ while using Phoenix: <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">_start</span></code>,
+ <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">_end</span></code>, <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">_eoi</span></code>,
+ <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">_state</span></code>, <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">_val</span></code>,
+ and <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">_pass</span></code> (see <a class="link" href="../lex/abstracts/lexer_semantic_actions.html" title="Lexer Semantic Actions">Lexer
+ Semantic Actions</a> for more details).
+ </li>
+<li class="listitem">
+ Added (lazy) support functions usable from the inside of lexer semantic
+ actions while using Phoenix: <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">more</span><span class="special">()</span></code>, <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">less</span><span class="special">()</span></code>, and <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">lookahead</span><span class="special">()</span></code> (see <a class="link" href="../lex/abstracts/lexer_semantic_actions.html" title="Lexer Semantic Actions">Lexer
+ Semantic Actions</a> for more details).
+ </li>
+<li class="listitem">
+ Removed <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">omitted</span></code> in favor of <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">omit</span></code>
+ to unify the overall interface.
+ </li>
</ul></div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/what_s_new/spirit_2_2.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/what_s_new/spirit_2_2.html (original)
+++ trunk/libs/spirit/doc/html/spirit/what_s_new/spirit_2_2.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -27,112 +27,110 @@
<a name="spirit.what_s_new.spirit_2_2"></a><a class="link" href="spirit_2_2.html" title="Spirit V2.2"> Spirit V2.2</a>
</h3></div></div></div>
<a name="spirit.what_s_new.spirit_2_2.what_s_changed_in__emphasis_spirit_qi__emphasis__and__emphasis_spirit_karma__emphasis__from_v2_1__boost_v1_41_0__to_v2_2__boost_v1_42_0_"></a><h5>
-<a name="id844795"></a>
+<a name="id827308"></a>
<a class="link" href="spirit_2_2.html#spirit.what_s_new.spirit_2_2.what_s_changed_in__emphasis_spirit_qi__emphasis__and__emphasis_spirit_karma__emphasis__from_v2_1__boost_v1_41_0__to_v2_2__boost_v1_42_0_">What's
changed in <span class="emphasis"><em>Spirit.Qi</em></span> and <span class="emphasis"><em>Spirit.Karma</em></span>
from V2.1 (Boost V1.41.0) to V2.2 (Boost V1.42.0)</a>
</h5>
<a name="spirit.what_s_new.spirit_2_2.new_features"></a><h5>
-<a name="id844816"></a>
+<a name="id827329"></a>
<a class="link" href="spirit_2_2.html#spirit.what_s_new.spirit_2_2.new_features">New Features</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- Added <code class="computeroutput"><span class="identifier">auto_</span></code> component in
- <span class="emphasis"><em>Spirit.Qi</em></span> and <span class="emphasis"><em>Spirit.Karma</em></span>, added
- API functions <code class="computeroutput"><span class="identifier">qi</span><span class="special">::</span></code><a class="link" href="../qi/reference/parse_api/create_parser.html" title="API for Automatic Parser Creation"><code class="computeroutput"><span class="identifier">create_parser</span></code></a>
- and <code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span></code><a class="link" href="../karma/reference/generate_api/create_generator.html" title="API for Automatic Generator Creation"><code class="computeroutput"><span class="identifier">create_generator</span></code></a>.
- </li>
-<li class="listitem">
- Added <code class="computeroutput"><span class="identifier">auto_</span></code> based overloads
- for all API functions taking no attributes (see <a class="link" href="../qi/reference/parse_api.html" title="Parser API"><span class="emphasis"><em>Qi</em></span>
- API</a> and <a class="link" href="../karma/reference/generate_api.html" title="Generator API"><span class="emphasis"><em>Karma</em></span>
- API</a>).
- </li>
-<li class="listitem">
- Added <a class="link" href="../karma/reference/directive/columns.html" title="Separate Output Into Columns (columns[])"><code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span><span class="identifier">columns</span></code></a> directive.
- </li>
-<li class="listitem">
- Added <code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span></code><a class="link" href="../karma/reference/string/symbols.html" title="Symbols (symbols)"><code class="computeroutput"><span class="identifier">symbols</span></code></a>
- generator.
- </li>
-<li class="listitem">
- The <span class="emphasis"><em>Spirit.Qi</em></span> customization point <a class="link" href="../advanced/customize/store_value/push_back.html" title="Store a Parsed Attribute Value into a Container (Qi)"><code class="computeroutput"><span class="identifier">push_back_container</span></code></a> now returns
- a <code class="computeroutput"><span class="keyword">bool</span></code> to report whether the
- item has been added to the container.
- </li>
-<li class="listitem">
- Added an overload for <a class="link" href="../karma/reference/directive/maxwidth.html" title="Controlling the Maximum Field Width (maxwidth[])"><code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span><span class="identifier">maxwidth</span></code></a> directive allowing to
- specify an additional parameter (any compatible output iterator) receiving
- the 'overspilled' output (output not fitting into the maxwidth limit).
- </li>
-<li class="listitem">
- It is now possible to use Phoenix expressions as <span class="emphasis"><em>Spirit.Karma</em></span>
- attributes.
- </li>
-<li class="listitem">
- Added <a class="link" href="../support/multi_pass.html#spirit.support.multi_pass.reading_from_standard_input_streams"><code class="computeroutput"><span class="identifier">basic_istream_iterator</span><span class="special"><</span><span class="identifier">Char</span><span class="special">,</span> <span class="identifier">Traits</span><span class="special">></span></code></a>
- usable as an equivalent for <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">istream_iterator</span></code>
- except its a ForwardIterator
allowing to parse
- directly from any <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_istream</span></code>.
- </li>
-<li class="listitem">
- Added <code class="computeroutput"><span class="identifier">qi</span><span class="special">::</span></code><a class="link" href="../qi/reference/directive/matches.html" title="Test if Parser Succeeded (matches[])"><code class="computeroutput"><span class="identifier">matches</span></code></a>
- directive.
- </li>
+ Added <code class="computeroutput"><span class="identifier">auto_</span></code> component
+ in <span class="emphasis"><em>Spirit.Qi</em></span> and <span class="emphasis"><em>Spirit.Karma</em></span>,
+ added API functions <code class="computeroutput"><span class="identifier">qi</span><span class="special">::</span></code><a class="link" href="../qi/reference/parse_api/create_parser.html" title="API for Automatic Parser Creation"><code class="computeroutput"><span class="identifier">create_parser</span></code></a> and <code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span></code><a class="link" href="../karma/reference/generate_api/create_generator.html" title="API for Automatic Generator Creation"><code class="computeroutput"><span class="identifier">create_generator</span></code></a>.
+ </li>
+<li class="listitem">
+ Added <code class="computeroutput"><span class="identifier">auto_</span></code> based overloads
+ for all API functions taking no attributes (see <a class="link" href="../qi/reference/parse_api.html" title="Parser API"><span class="emphasis"><em>Qi</em></span>
+ API</a> and <a class="link" href="../karma/reference/generate_api.html" title="Generator API"><span class="emphasis"><em>Karma</em></span>
+ API</a>).
+ </li>
+<li class="listitem">
+ Added <a class="link" href="../karma/reference/directive/columns.html" title="Separate Output Into Columns (columns[])"><code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span><span class="identifier">columns</span></code></a> directive.
+ </li>
+<li class="listitem">
+ Added <code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span></code><a class="link" href="../karma/reference/string/symbols.html" title="Symbols (symbols)"><code class="computeroutput"><span class="identifier">symbols</span></code></a>
+ generator.
+ </li>
+<li class="listitem">
+ The <span class="emphasis"><em>Spirit.Qi</em></span> customization point <a class="link" href="../advanced/customize/store_value/push_back.html" title="Store a Parsed Attribute Value into a Container (Qi)"><code class="computeroutput"><span class="identifier">push_back_container</span></code></a> now returns
+ a <code class="computeroutput"><span class="keyword">bool</span></code> to report whether
+ the item has been added to the container.
+ </li>
+<li class="listitem">
+ Added an overload for <a class="link" href="../karma/reference/directive/maxwidth.html" title="Controlling the Maximum Field Width (maxwidth[])"><code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span><span class="identifier">maxwidth</span></code></a> directive allowing
+ to specify an additional parameter (any compatible output iterator) receiving
+ the 'overspilled' output (output not fitting into the maxwidth limit).
+ </li>
+<li class="listitem">
+ It is now possible to use Phoenix expressions as <span class="emphasis"><em>Spirit.Karma</em></span>
+ attributes.
+ </li>
+<li class="listitem">
+ Added <a class="link" href="../support/multi_pass.html#spirit.support.multi_pass.reading_from_standard_input_streams"><code class="computeroutput"><span class="identifier">basic_istream_iterator</span><span class="special"><</span><span class="identifier">Char</span><span class="special">,</span> <span class="identifier">Traits</span><span class="special">></span></code></a>
+ usable as an equivalent for <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">istream_iterator</span></code>
+ except its a ForwardIterator
allowing to
+ parse directly from any <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_istream</span></code>.
+ </li>
+<li class="listitem">
+ Added <code class="computeroutput"><span class="identifier">qi</span><span class="special">::</span></code><a class="link" href="../qi/reference/directive/matches.html" title="Test if Parser Succeeded (matches[])"><code class="computeroutput"><span class="identifier">matches</span></code></a>
+ directive.
+ </li>
</ul></div>
<a name="spirit.what_s_new.spirit_2_2.bug_fixes"></a><h5>
-<a name="id845107"></a>
+<a name="id827652"></a>
<a class="link" href="spirit_2_2.html#spirit.what_s_new.spirit_2_2.bug_fixes">Bug Fixes</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- Fixed karma::alternatives to work with embedded containers of hold_any
- (i.e. constructs like <code class="computeroutput"><span class="special">*</span><span class="identifier">stream</span>
- <span class="special">|</span> <span class="string">"empty"</span></code>
- (which fixes the Karma example basic_facilities.cpp).
- </li>
-<li class="listitem">
- Fixed numeric <span class="emphasis"><em>Spirit.Karma</em></span> generators for character
- types.
- </li>
-<li class="listitem">
- Fixed <code class="computeroutput"><span class="identifier">qi</span><span class="special">::</span><span class="identifier">repeat</span><span class="special">[]</span></code>
- for unused attributes.
- </li>
-<li class="listitem">
- Fixed rare compilation problem in <code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span><span class="identifier">repeat</span><span class="special">[]</span></code>.
- </li>
-<li class="listitem">
- Fixed sequences in <span class="emphasis"><em>Spirit.Qi</em></span> and <span class="emphasis"><em>Spirit.Karma</em></span>
- to compile properly if the attribute is a (STL) container of (STL) containers.
- </li>
-<li class="listitem">
- Fixed a problem in <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">token_def</span><span class="special">::</span><span class="identifier">what</span></code>.
- </li>
-<li class="listitem">
- Fixed <span class="emphasis"><em>Spirit.Qi</em></span> symbols not to match substrings anymore.
- Added <code class="computeroutput"><span class="identifier">qi</span><span class="special">::</span><span class="identifier">symbols</span><span class="special">::</span><span class="identifier">prefix_find</span></code> to allow matching of (prefix-)
- substrings.
- </li>
-<li class="listitem">
- Inherited parameters for rule's usually have to be wrapped in function
- objects (i.e. <code class="computeroutput"><span class="identifier">phoenix</span><span class="special">::</span><span class="identifier">val</span></code>), for integral values this was not
- necessary. Now all string types can be passed without being wrapped as
- well (i.e. <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span></code>, <code class="computeroutput"><span class="keyword">char</span>
- <span class="keyword">const</span><span class="special">*</span></code>,
- etc.).
- </li>
-<li class="listitem">
- Added concept checks to all relevant <span class="emphasis"><em>Spirit.Qi</em></span> API
- functions enforcing the iterator to be at least of the type <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">forward_iterator_tag</span></code>.
- </li>
-<li class="listitem">
- Fixed the <code class="computeroutput"><span class="identifier">qi</span><span class="special">::</span><span class="identifier">match</span></code> and <code class="computeroutput"><span class="identifier">qi</span><span class="special">::</span><span class="identifier">phrase_match</span></code>
- set of API functions not to internally utilize a <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">stream_iterator</span></code>
- anymore as this iterator is of the type <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">input_iterator_tag</span></code>
- only, which is not sufficient for <span class="emphasis"><em>Spirit.Qi</em></span>.
- </li>
+ Fixed karma::alternatives to work with embedded containers of hold_any
+ (i.e. constructs like <code class="computeroutput"><span class="special">*</span><span class="identifier">stream</span> <span class="special">|</span>
+ <span class="string">"empty"</span></code> (which fixes
+ the Karma example basic_facilities.cpp).
+ </li>
+<li class="listitem">
+ Fixed numeric <span class="emphasis"><em>Spirit.Karma</em></span> generators for character
+ types.
+ </li>
+<li class="listitem">
+ Fixed <code class="computeroutput"><span class="identifier">qi</span><span class="special">::</span><span class="identifier">repeat</span><span class="special">[]</span></code>
+ for unused attributes.
+ </li>
+<li class="listitem">
+ Fixed rare compilation problem in <code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span><span class="identifier">repeat</span><span class="special">[]</span></code>.
+ </li>
+<li class="listitem">
+ Fixed sequences in <span class="emphasis"><em>Spirit.Qi</em></span> and <span class="emphasis"><em>Spirit.Karma</em></span>
+ to compile properly if the attribute is a (STL) container of (STL) containers.
+ </li>
+<li class="listitem">
+ Fixed a problem in <code class="computeroutput"><span class="identifier">lex</span><span class="special">::</span><span class="identifier">token_def</span><span class="special">::</span><span class="identifier">what</span></code>.
+ </li>
+<li class="listitem">
+ Fixed <span class="emphasis"><em>Spirit.Qi</em></span> symbols not to match substrings
+ anymore. Added <code class="computeroutput"><span class="identifier">qi</span><span class="special">::</span><span class="identifier">symbols</span><span class="special">::</span><span class="identifier">prefix_find</span></code> to allow matching of (prefix-)
+ substrings.
+ </li>
+<li class="listitem">
+ Inherited parameters for rule's usually have to be wrapped in function
+ objects (i.e. <code class="computeroutput"><span class="identifier">phoenix</span><span class="special">::</span><span class="identifier">val</span></code>),
+ for integral values this was not necessary. Now all string types can
+ be passed without being wrapped as well (i.e. <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span></code>,
+ <code class="computeroutput"><span class="keyword">char</span> <span class="keyword">const</span><span class="special">*</span></code>, etc.).
+ </li>
+<li class="listitem">
+ Added concept checks to all relevant <span class="emphasis"><em>Spirit.Qi</em></span> API
+ functions enforcing the iterator to be at least of the type <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">forward_iterator_tag</span></code>.
+ </li>
+<li class="listitem">
+ Fixed the <code class="computeroutput"><span class="identifier">qi</span><span class="special">::</span><span class="identifier">match</span></code> and <code class="computeroutput"><span class="identifier">qi</span><span class="special">::</span><span class="identifier">phrase_match</span></code>
+ set of API functions not to internally utilize a <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">stream_iterator</span></code>
+ anymore as this iterator is of the type <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">input_iterator_tag</span></code>
+ only, which is not sufficient for <span class="emphasis"><em>Spirit.Qi</em></span>.
+ </li>
</ul></div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/what_s_new/spirit_2_3.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/what_s_new/spirit_2_3.html (original)
+++ trunk/libs/spirit/doc/html/spirit/what_s_new/spirit_2_3.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -27,125 +27,126 @@
<a name="spirit.what_s_new.spirit_2_3"></a><a class="link" href="spirit_2_3.html" title="Spirit V2.3"> Spirit V2.3</a>
</h3></div></div></div>
<a name="spirit.what_s_new.spirit_2_3.what_s_changed_in__emphasis_spirit_qi__emphasis__and__emphasis_spirit_karma__emphasis__from_v2_2__boost_v1_42_0__to_v2_3__boost_v1_43_0_"></a><h5>
-<a name="id844108"></a>
+<a name="id826560"></a>
<a class="link" href="spirit_2_3.html#spirit.what_s_new.spirit_2_3.what_s_changed_in__emphasis_spirit_qi__emphasis__and__emphasis_spirit_karma__emphasis__from_v2_2__boost_v1_42_0__to_v2_3__boost_v1_43_0_">What's
changed in <span class="emphasis"><em>Spirit.Qi</em></span> and <span class="emphasis"><em>Spirit.Karma</em></span>
from V2.2 (Boost V1.42.0) to V2.3 (Boost V1.43.0)</a>
</h5>
<a name="spirit.what_s_new.spirit_2_3.new_features"></a><h5>
-<a name="id844130"></a>
+<a name="id826582"></a>
<a class="link" href="spirit_2_3.html#spirit.what_s_new.spirit_2_3.new_features">New Features</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- The customization point <code class="computeroutput"><span class="identifier">transform_attribute</span></code>
- now has to implement a third function: <code class="computeroutput"><span class="keyword">void</span>
- <span class="identifier">fail</span><span class="special">(</span><span class="identifier">Exposed</span><span class="special">&)</span></code>,
- which normally will do nothing. This function will be called whenever the
- right hand side of the <code class="computeroutput"><span class="identifier">rule</span></code>
- (or the embedded parser of <code class="computeroutput"><span class="identifier">attr_cast</span></code>)
- fail parsing. This change affects <span class="emphasis"><em>Qi</em></span> only. See the
- desciption of the <a class="link" href="../advanced/customize/transform.html" title="Transform an Attribute to a Different Type (Qi and Karma)"><code class="computeroutput"><span class="identifier">transform_attribute</span></code></a> for more details.
- </li>
-<li class="listitem">
- Added support for attribute sequences created with <code class="computeroutput"><span class="identifier">BOOST_FUSION_ADAPT_CLASS</span></code>
- and <code class="computeroutput"><span class="identifier">BOOST_FUSION_ADAPT_CLASS_NAMED</span></code>.
- This support requires to include the new header file: <code class="computeroutput"><span class="preprocessor">#include</span>
- <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">inlcude</span><span class="special">/</span><span class="identifier">support_adapt_class_attributes</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code>.
- </li>
-<li class="listitem">
- Added <code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span><span class="identifier">ostream_iterator</span></code> as a counterpart to
- <code class="computeroutput"><span class="identifier">qi</span><span class="special">::</span><span class="identifier">istream_iterator</span></code> (see new header file:
- <code class="computeroutput"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">home</span><span class="special">/</span><span class="identifier">support</span><span class="special">/</span><span class="identifier">iterators</span><span class="special">/</span><span class="identifier">ostream_iterator</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code>).
- </li>
-<li class="listitem">
- Added <code class="computeroutput"><span class="identifier">qi</span><span class="special">::</span><span class="identifier">hold</span></code> allowing to make sure the embedded
- parser does not touch the passed attribute in case it fails parsing.
- </li>
-<li class="listitem">
- Added <a class="link" href="../qi/reference/directive/no_skip.html" title="Inhibiting Skipping Without Pre-skip (no_skip[])"><code class="computeroutput"><span class="identifier">qi</span><span class="special">::</span><span class="identifier">no_skip</span></code></a> directive, which is equivalent
- to <code class="computeroutput"><span class="identifier">qi</span><span class="special">::</span></code><a class="link" href="../qi/reference/directive/lexeme.html" title="Inhibiting Skipping (lexeme[])"><code class="computeroutput"><span class="identifier">lexeme</span></code></a>,
- except that it does not pre-skip.
- </li>
-<li class="listitem">
- Added <a class="link" href="../karma/reference/directive/delimit.html" title="Directives Controlling Automatic Delimiting (verbatim[], no_delimit[], delimit[])"><code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span><span class="identifier">no_delimit</span></code></a> directive, which is
- equivalent to <code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span></code><a class="link" href="../karma/reference/directive/delimit.html" title="Directives Controlling Automatic Delimiting (verbatim[], no_delimit[], delimit[])"><code class="computeroutput"><span class="identifier">verbatim</span></code></a>,
- except that it does not perform a post-delimiting step.
- </li>
-<li class="listitem">
- Added a new input_iterator policy for the <code class="computeroutput"><span class="identifier">multi_pass</span></code>
- iterator framework (named <code class="computeroutput"><span class="identifier">buffering_input_iterator</span></code>)
- allowing to wrap underlying input iterators which do not store the last
- character read from the input (such as <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">istream_iterator</span></code>).
- This is now used as the default input policy.
- </li>
+ The customization point <code class="computeroutput"><span class="identifier">transform_attribute</span></code>
+ now has to implement a third function: <code class="computeroutput"><span class="keyword">void</span>
+ <span class="identifier">fail</span><span class="special">(</span><span class="identifier">Exposed</span><span class="special">&)</span></code>,
+ which normally will do nothing. This function will be called whenever
+ the right hand side of the <code class="computeroutput"><span class="identifier">rule</span></code>
+ (or the embedded parser of <code class="computeroutput"><span class="identifier">attr_cast</span></code>)
+ fail parsing. This change affects <span class="emphasis"><em>Qi</em></span> only. See the
+ desciption of the <a class="link" href="../advanced/customize/transform.html" title="Transform an Attribute to a Different Type (Qi and Karma)"><code class="computeroutput"><span class="identifier">transform_attribute</span></code></a> for more
+ details.
+ </li>
+<li class="listitem">
+ Added support for attribute sequences created with <code class="computeroutput"><span class="identifier">BOOST_FUSION_ADAPT_CLASS</span></code>
+ and <code class="computeroutput"><span class="identifier">BOOST_FUSION_ADAPT_CLASS_NAMED</span></code>.
+ This support requires to include the new header file: <code class="computeroutput"><span class="preprocessor">#include</span>
+ <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">inlcude</span><span class="special">/</span><span class="identifier">support_adapt_class_attributes</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code>.
+ </li>
+<li class="listitem">
+ Added <code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span><span class="identifier">ostream_iterator</span></code> as a counterpart to
+ <code class="computeroutput"><span class="identifier">qi</span><span class="special">::</span><span class="identifier">istream_iterator</span></code> (see new header file:
+ <code class="computeroutput"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">spirit</span><span class="special">/</span><span class="identifier">home</span><span class="special">/</span><span class="identifier">support</span><span class="special">/</span><span class="identifier">iterators</span><span class="special">/</span><span class="identifier">ostream_iterator</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code>).
+ </li>
+<li class="listitem">
+ Added <code class="computeroutput"><span class="identifier">qi</span><span class="special">::</span><span class="identifier">hold</span></code> allowing to make sure the embedded
+ parser does not touch the passed attribute in case it fails parsing.
+ </li>
+<li class="listitem">
+ Added <a class="link" href="../qi/reference/directive/no_skip.html" title="Inhibiting Skipping Without Pre-skip (no_skip[])"><code class="computeroutput"><span class="identifier">qi</span><span class="special">::</span><span class="identifier">no_skip</span></code></a> directive, which is
+ equivalent to <code class="computeroutput"><span class="identifier">qi</span><span class="special">::</span></code><a class="link" href="../qi/reference/directive/lexeme.html" title="Inhibiting Skipping (lexeme[])"><code class="computeroutput"><span class="identifier">lexeme</span></code></a>,
+ except that it does not pre-skip.
+ </li>
+<li class="listitem">
+ Added <a class="link" href="../karma/reference/directive/delimit.html" title="Directives Controlling Automatic Delimiting (verbatim[], no_delimit[], delimit[])"><code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span><span class="identifier">no_delimit</span></code></a> directive, which
+ is equivalent to <code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span></code><a class="link" href="../karma/reference/directive/delimit.html" title="Directives Controlling Automatic Delimiting (verbatim[], no_delimit[], delimit[])"><code class="computeroutput"><span class="identifier">verbatim</span></code></a>, except that it does
+ not perform a post-delimiting step.
+ </li>
+<li class="listitem">
+ Added a new input_iterator policy for the <code class="computeroutput"><span class="identifier">multi_pass</span></code>
+ iterator framework (named <code class="computeroutput"><span class="identifier">buffering_input_iterator</span></code>)
+ allowing to wrap underlying input iterators which do not store the last
+ character read from the input (such as <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">istream_iterator</span></code>).
+ This is now used as the default input policy.
+ </li>
</ul></div>
<a name="spirit.what_s_new.spirit_2_3.bug_fixes"></a><h5>
-<a name="id844500"></a>
+<a name="id826976"></a>
<a class="link" href="spirit_2_3.html#spirit.what_s_new.spirit_2_3.bug_fixes">Bug Fixes</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- Sequences (in <span class="emphasis"><em>Qi</em></span> and <span class="emphasis"><em>Karma</em></span>) may
- now have a component having no attribute even as their last element.
- </li>
-<li class="listitem">
- Sequences (in <span class="emphasis"><em>Qi</em></span> and <span class="emphasis"><em>Karma</em></span>) can
- now take one element attribute sequences as their attribute.
- </li>
-<li class="listitem">
- Constructs like <code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span><span class="identifier">buffer</span><span class="special">[</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">buffer</span><span class="special">[...]]</span></code>
- don't result in performing double buffering anymore. The same is true if
- an alternative is wrapped into a <code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span><span class="identifier">buffer</span><span class="special">[]</span></code> directive (as for instance: <code class="computeroutput"><span class="identifier">buffer</span><span class="special">[</span><span class="identifier">a</span><span class="special">]</span> <span class="special">|</span>
- <span class="identifier">b</span></code>).
- </li>
-<li class="listitem">
- The <span class="emphasis"><em>Spirit.Karma</em></span> output iterator (which is used internally,
- but also is exposed when using the stream based API) is now properly copyable
- (thanks to Jonas Persson for reporting this issue).
- </li>
-<li class="listitem">
- The default <code class="computeroutput"><span class="identifier">multi_pass</span></code>
- iterator is now usable with underlying input iterators which do not store
- the last character read from the input (such as <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">istream_iterator</span></code>).
- Thanks to Larry Evans and Peter Schueller for independently reporting this
- problem.
- </li>
-<li class="listitem">
- The directive <code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span><span class="identifier">omit</span><span class="special">[]</span></code>
- now does not accept an arbitrary attribute type anymore.
- </li>
-<li class="listitem">
- The <span class="emphasis"><em>Spirit.Karma</em></span> predicates (the and-predicate and
- the not-predicate) and the directive <code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span><span class="identifier">omit</span><span class="special">[]</span></code> now disable output alltogether instead
- of intercepting the output into a buffer which got discarded as before.
- </li>
+ Sequences (in <span class="emphasis"><em>Qi</em></span> and <span class="emphasis"><em>Karma</em></span>)
+ may now have a component having no attribute even as their last element.
+ </li>
+<li class="listitem">
+ Sequences (in <span class="emphasis"><em>Qi</em></span> and <span class="emphasis"><em>Karma</em></span>)
+ can now take one element attribute sequences as their attribute.
+ </li>
+<li class="listitem">
+ Constructs like <code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span><span class="identifier">buffer</span><span class="special">[</span><span class="identifier">karma</span><span class="special">::</span><span class="identifier">buffer</span><span class="special">[...]]</span></code> don't result in performing double
+ buffering anymore. The same is true if an alternative is wrapped into
+ a <code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span><span class="identifier">buffer</span><span class="special">[]</span></code>
+ directive (as for instance: <code class="computeroutput"><span class="identifier">buffer</span><span class="special">[</span><span class="identifier">a</span><span class="special">]</span> <span class="special">|</span> <span class="identifier">b</span></code>).
+ </li>
+<li class="listitem">
+ The <span class="emphasis"><em>Spirit.Karma</em></span> output iterator (which is used
+ internally, but also is exposed when using the stream based API) is now
+ properly copyable (thanks to Jonas Persson for reporting this issue).
+ </li>
+<li class="listitem">
+ The default <code class="computeroutput"><span class="identifier">multi_pass</span></code>
+ iterator is now usable with underlying input iterators which do not store
+ the last character read from the input (such as <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">istream_iterator</span></code>).
+ Thanks to Larry Evans and Peter Schueller for independently reporting
+ this problem.
+ </li>
+<li class="listitem">
+ The directive <code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span><span class="identifier">omit</span><span class="special">[]</span></code>
+ now does not accept an arbitrary attribute type anymore.
+ </li>
+<li class="listitem">
+ The <span class="emphasis"><em>Spirit.Karma</em></span> predicates (the and-predicate and
+ the not-predicate) and the directive <code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span><span class="identifier">omit</span><span class="special">[]</span></code> now disable output alltogether instead
+ of intercepting the output into a buffer which got discarded as before.
+ </li>
<li class="listitem">
- Fixed <code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span><span class="identifier">rule</span></code> to properly handles optional attributes.
- </li>
+ Fixed <code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span><span class="identifier">rule</span></code> to properly handles optional attributes.
+ </li>
</ul></div>
<a name="spirit.what_s_new.spirit_2_3.what_s_changed_in__emphasis_spirit_lex__emphasis__from_v2_2__boost_v1_42_0__to_v2_3__boost_v1_43_0_"></a><h5>
-<a name="id844717"></a>
+<a name="id827222"></a>
<a class="link" href="spirit_2_3.html#spirit.what_s_new.spirit_2_3.what_s_changed_in__emphasis_spirit_lex__emphasis__from_v2_2__boost_v1_42_0__to_v2_3__boost_v1_43_0_">What's
changed in <span class="emphasis"><em>Spirit.Lex</em></span> from V2.2 (Boost V1.42.0) to V2.3
(Boost V1.43.0)</a>
</h5>
<a name="spirit.what_s_new.spirit_2_3.new_lexer_features"></a><h5>
-<a name="id844735"></a>
+<a name="id827240"></a>
<a class="link" href="spirit_2_3.html#spirit.what_s_new.spirit_2_3.new_lexer_features">New Lexer
Features</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- The library does not minimize the generated lexer tables for dynamic lexers
- by default anymore. The generated tables will now be minimized for static
- lexers only.
- </li>
-<li class="listitem">
- The function <code class="computeroutput"><span class="identifier">lexer</span><span class="special"><>::</span><span class="identifier">init_dfa</span><span class="special">()</span></code>
- now takes a single boolean parameter (which defaults to <code class="computeroutput"><span class="keyword">false</span></code>)
- allowing to force minimization of the generated lexer tables.
- </li>
+ The library does not minimize the generated lexer tables for dynamic
+ lexers by default anymore. The generated tables will now be minimized
+ for static lexers only.
+ </li>
+<li class="listitem">
+ The function <code class="computeroutput"><span class="identifier">lexer</span><span class="special"><>::</span><span class="identifier">init_dfa</span><span class="special">()</span></code>
+ now takes a single boolean parameter (which defaults to <code class="computeroutput"><span class="keyword">false</span></code>) allowing to force minimization
+ of the generated lexer tables.
+ </li>
</ul></div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/html/spirit/what_s_new/spirit_2_4.html
==============================================================================
--- trunk/libs/spirit/doc/html/spirit/what_s_new/spirit_2_4.html (original)
+++ trunk/libs/spirit/doc/html/spirit/what_s_new/spirit_2_4.html 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -27,20 +27,20 @@
<a name="spirit.what_s_new.spirit_2_4"></a><a class="link" href="spirit_2_4.html" title="Spirit V2.4"> Spirit V2.4</a>
</h3></div></div></div>
<a name="spirit.what_s_new.spirit_2_4.what_s_changed_in__emphasis_spirit_qi__emphasis__and__emphasis_spirit_karma__emphasis__from_v2_3__boost_v1_43_0__to_v2_4__boost_v1_44_0_"></a><h5>
-<a name="id843541"></a>
+<a name="id821020"></a>
<a class="link" href="spirit_2_4.html#spirit.what_s_new.spirit_2_4.what_s_changed_in__emphasis_spirit_qi__emphasis__and__emphasis_spirit_karma__emphasis__from_v2_3__boost_v1_43_0__to_v2_4__boost_v1_44_0_">What's
changed in <span class="emphasis"><em>Spirit.Qi</em></span> and <span class="emphasis"><em>Spirit.Karma</em></span>
from V2.3 (Boost V1.43.0) to V2.4 (Boost V1.44.0)</a>
</h5>
<a name="spirit.what_s_new.spirit_2_4.new_features"></a><h5>
-<a name="id843562"></a>
+<a name="id821042"></a>
<a class="link" href="spirit_2_4.html#spirit.what_s_new.spirit_2_4.new_features">New Features</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem">
- The customization point <a class="link" href="../advanced/customize/transform.html" title="Transform an Attribute to a Different Type (Qi and Karma)"><code class="computeroutput"><span class="identifier">transform_attribute</span></code></a> now takes
- an additional template parameter <code class="computeroutput"><span class="identifier">Domain</span></code>
- allowing to better specialize the customization point for either <code class="computeroutput"><span class="identifier">qi</span><span class="special">::</span><span class="identifier">domain</span></code> or <code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span><span class="identifier">domain</span></code>.
- </li></ul></div>
+ The customization point <a class="link" href="../advanced/customize/transform.html" title="Transform an Attribute to a Different Type (Qi and Karma)"><code class="computeroutput"><span class="identifier">transform_attribute</span></code></a> now takes
+ an additional template parameter <code class="computeroutput"><span class="identifier">Domain</span></code>
+ allowing to better specialize the customization point for either <code class="computeroutput"><span class="identifier">qi</span><span class="special">::</span><span class="identifier">domain</span></code> or <code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span><span class="identifier">domain</span></code>.
+ </li></ul></div>
<div class="important"><table border="0" summary="Important">
<tr>
<td rowspan="2" align="center" valign="top" width="25"><img alt="[Important]" src="../../images/important.png"></td>
@@ -55,104 +55,108 @@
</table></div>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- Semantic actions in <span class="emphasis"><em>Spirit.Qi</em></span> now implicitly invoke
- the function <code class="computeroutput"><span class="identifier">pre</span></code> of the
- customization point <a class="link" href="../advanced/customize/transform.html" title="Transform an Attribute to a Different Type (Qi and Karma)"><code class="computeroutput"><span class="identifier">transform_attribute</span></code></a> to convert
- the supplied attribute to the exposed attribute type, as needed. The functions
- <code class="computeroutput"><span class="identifier">post</span></code> and <code class="computeroutput"><span class="identifier">fail</span></code> of this customization point are
- not invoked by this component (as this would not make any sense).
- </li>
-<li class="listitem">
- Semantic actions in <span class="emphasis"><em>Spirit.Karma</em></span> now implicitly invoke
- the function <code class="computeroutput"><span class="identifier">pre</span></code> of the
- customization point <a class="link" href="../advanced/customize/transform.html" title="Transform an Attribute to a Different Type (Qi and Karma)"><code class="computeroutput"><span class="identifier">transform_attribute</span></code></a> to convert
- the supplied attribute to the consumend attribute type, as needed.
- </li>
-<li class="listitem">
- Added the <span class="emphasis"><em>Spirit.Karma</em></span><a class="link" href="../karma/reference/directive/omit.html" title="Consume Attribute (omit[] and skip[])"><code class="computeroutput"><span class="identifier">skip</span></code></a> directive which is semantically
- equivalent to the <span class="emphasis"><em>Spirit.Karma</em></span><a class="link" href="../karma/reference/directive/omit.html" title="Consume Attribute (omit[] and skip[])"><code class="computeroutput"><span class="identifier">omit</span></code></a> directive except that it
- will not execute the embedded generator.
- </li>
-<li class="listitem">
- Added debug support to <span class="emphasis"><em>Spirit.Karma</em></span> rules.
- </li>
-<li class="listitem">
- Added strict mode to <span class="emphasis"><em>Spirit.Karma</em></span>, leaving the current
- behavior (unchanged) as relaxed mode. Added <span class="emphasis"><em>Spirit.Karma</em></span>
- compile time directives <code class="computeroutput"><span class="identifier">strict</span><span class="special">[]</span></code> and <code class="computeroutput"><span class="identifier">relaxed</span><span class="special">[]</span></code> allowing to switch between the two.
- </li>
-<li class="listitem">
- Added <span class="emphasis"><em>Spirit.Karma</em></span><a class="link" href="../karma/reference/directive/duplicate.html" title="Duplicate Attribute (duplicate[])"><code class="computeroutput"><span class="identifier">duplicate</span></code></a> directive which duplicates
- the supplied attribute to all elements of an embedded generator sequence.
- </li>
+ Semantic actions in <span class="emphasis"><em>Spirit.Qi</em></span> now implicitly invoke
+ the function <code class="computeroutput"><span class="identifier">pre</span></code> of the
+ customization point <a class="link" href="../advanced/customize/transform.html" title="Transform an Attribute to a Different Type (Qi and Karma)"><code class="computeroutput"><span class="identifier">transform_attribute</span></code></a> to convert
+ the supplied attribute to the exposed attribute type, as needed. The
+ functions <code class="computeroutput"><span class="identifier">post</span></code> and <code class="computeroutput"><span class="identifier">fail</span></code> of this customization point are
+ not invoked by this component (as this would not make any sense).
+ </li>
+<li class="listitem">
+ Semantic actions in <span class="emphasis"><em>Spirit.Karma</em></span> now implicitly
+ invoke the function <code class="computeroutput"><span class="identifier">pre</span></code>
+ of the customization point <a class="link" href="../advanced/customize/transform.html" title="Transform an Attribute to a Different Type (Qi and Karma)"><code class="computeroutput"><span class="identifier">transform_attribute</span></code></a> to convert
+ the supplied attribute to the consumend attribute type, as needed.
+ </li>
+<li class="listitem">
+ Added the <span class="emphasis"><em>Spirit.Karma</em></span> <a class="link" href="../karma/reference/directive/omit.html" title="Consume Attribute (omit[] and skip[])"><code class="computeroutput"><span class="identifier">skip</span></code></a> directive which is semantically
+ equivalent to the <span class="emphasis"><em>Spirit.Karma</em></span> <a class="link" href="../karma/reference/directive/omit.html" title="Consume Attribute (omit[] and skip[])"><code class="computeroutput"><span class="identifier">omit</span></code></a> directive except that it
+ will not execute the embedded generator.
+ </li>
+<li class="listitem">
+ Added debug support to <span class="emphasis"><em>Spirit.Karma</em></span> rules.
+ </li>
+<li class="listitem">
+ Added strict mode to <span class="emphasis"><em>Spirit.Karma</em></span>, leaving the current
+ behavior (unchanged) as relaxed mode. Added <span class="emphasis"><em>Spirit.Karma</em></span>
+ compile time directives <code class="computeroutput"><span class="identifier">strict</span><span class="special">[]</span></code> and <code class="computeroutput"><span class="identifier">relaxed</span><span class="special">[]</span></code> allowing to switch between the two.
+ </li>
+<li class="listitem">
+ Added <span class="emphasis"><em>Spirit.Karma</em></span> <a class="link" href="../karma/reference/directive/duplicate.html" title="Duplicate Attribute (duplicate[])"><code class="computeroutput"><span class="identifier">duplicate</span></code></a> directive which duplicates
+ the supplied attribute to all elements of an embedded generator sequence.
+ </li>
</ul></div>
<a name="spirit.what_s_new.spirit_2_4.bug_fixes"></a><h5>
-<a name="id843818"></a>
+<a name="id821324"></a>
<a class="link" href="spirit_2_4.html#spirit.what_s_new.spirit_2_4.bug_fixes">Bug Fixes</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- Components in <span class="emphasis"><em>Spirit.Qi</em></span> and <span class="emphasis"><em>Spirit.Karma</em></span>
- now accept one element Fusion sequences as their attributes as long as
- the element in the Fusion sequence is compatible with the component's attribute
- type.
- </li>
-<li class="listitem">
- The character range parser and generator components can now additionally
- be written as <code class="computeroutput"><span class="identifier">char_</span><span class="special">(</span><span class="string">"a"</span><span class="special">,</span>
- <span class="string">"z"</span><span class="special">)</span></code>
- instead of <code class="computeroutput"><span class="identifier">char_</span><span class="special">(</span><span class="char">'a'</span><span class="special">,</span> <span class="char">'z'</span><span class="special">)</span></code> making it consistent with the syntax of
- the <code class="computeroutput"><span class="identifier">char_</span><span class="special">(</span><span class="char">'a'</span><span class="special">)</span></code> component
- (which can be written as <code class="computeroutput"><span class="identifier">char_</span><span class="special">(</span><span class="string">"a"</span><span class="special">)</span></code> as well). Please note that the mixed syntax
- forms, i.e. <code class="computeroutput"><span class="identifier">char_</span><span class="special">(</span><span class="char">'a'</span><span class="special">,</span> <span class="string">"z"</span><span class="special">)</span></code> and <code class="computeroutput"><span class="identifier">char_</span><span class="special">(</span><span class="string">"a"</span><span class="special">,</span> <span class="char">'z'</span><span class="special">)</span></code>,
- are not supported.
- </li>
-<li class="listitem">
- Fixed attribute handling in <span class="emphasis"><em>Spirit.Karma</em></span> sequences
- when all elements of that sequence consume either the same attribute type
- or containers of that attribute type and the passed in attribute is a container
- of that attribute type as well. In this case using a repetitive container
- was supported only when it was the last element of the sequence. Now it
- is possible to have a <a class="link" href="../karma/reference/directive/repeat.html" title="Repetition Directive (repeat[])"><code class="computeroutput"><span class="identifier">repeat</span></code></a><code class="computeroutput"><span class="special">(</span><span class="identifier">num</span><span class="special">)[</span><span class="identifier">a</span><span class="special">]</span></code> generator
- at any position (well, actually you can have any repetitive container at
- any position now, but this doesn't always make sense as it normally would
- eat up all supplied attribute values).
- </li>
-<li class="listitem">
- Fixed debug output for variants where a variant element is an STL sequence.
- </li>
-<li class="listitem">
- Fixed a problem in multi_pass, avoiding to loose a character at end of
- input when switching iterators.
- </li>
+ Components in <span class="emphasis"><em>Spirit.Qi</em></span> and <span class="emphasis"><em>Spirit.Karma</em></span>
+ now accept one element Fusion sequences as their attributes as long as
+ the element in the Fusion sequence is compatible with the component's
+ attribute type.
+ </li>
+<li class="listitem">
+ The character range parser and generator components can now additionally
+ be written as <code class="computeroutput"><span class="identifier">char_</span><span class="special">(</span><span class="string">"a"</span><span class="special">,</span>
+ <span class="string">"z"</span><span class="special">)</span></code>
+ instead of <code class="computeroutput"><span class="identifier">char_</span><span class="special">(</span><span class="char">'a'</span><span class="special">,</span> <span class="char">'z'</span><span class="special">)</span></code> making it consistent with the syntax
+ of the <code class="computeroutput"><span class="identifier">char_</span><span class="special">(</span><span class="char">'a'</span><span class="special">)</span></code> component
+ (which can be written as <code class="computeroutput"><span class="identifier">char_</span><span class="special">(</span><span class="string">"a"</span><span class="special">)</span></code> as well). Please note that the mixed
+ syntax forms, i.e. <code class="computeroutput"><span class="identifier">char_</span><span class="special">(</span><span class="char">'a'</span><span class="special">,</span>
+ <span class="string">"z"</span><span class="special">)</span></code>
+ and <code class="computeroutput"><span class="identifier">char_</span><span class="special">(</span><span class="string">"a"</span><span class="special">,</span>
+ <span class="char">'z'</span><span class="special">)</span></code>,
+ are not supported.
+ </li>
+<li class="listitem">
+ Fixed attribute handling in <span class="emphasis"><em>Spirit.Karma</em></span> sequences
+ when all elements of that sequence consume either the same attribute
+ type or containers of that attribute type and the passed in attribute
+ is a container of that attribute type as well. In this case using a repetitive
+ container was supported only when it was the last element of the sequence.
+ Now it is possible to have a <a class="link" href="../karma/reference/directive/repeat.html" title="Repetition Directive (repeat[])"><code class="computeroutput"><span class="identifier">repeat</span></code></a><code class="computeroutput"><span class="special">(</span><span class="identifier">num</span><span class="special">)[</span><span class="identifier">a</span><span class="special">]</span></code>
+ generator at any position (well, actually you can have any repetitive
+ container at any position now, but this doesn't always make sense as
+ it normally would eat up all supplied attribute values).
+ </li>
+<li class="listitem">
+ Fixed debug output for variants where a variant element is an STL sequence.
+ </li>
+<li class="listitem">
+ Fixed a problem in multi_pass, avoiding to loose a character at end of
+ input when switching iterators.
+ </li>
</ul></div>
<a name="spirit.what_s_new.spirit_2_4.what_s_changed_in__emphasis_spirit_lex__emphasis__from_v2_3__boost_v1_43_0__to_v2_4__boost_v1_44_0_"></a><h5>
-<a name="id844035"></a>
+<a name="id826476"></a>
<a class="link" href="spirit_2_4.html#spirit.what_s_new.spirit_2_4.what_s_changed_in__emphasis_spirit_lex__emphasis__from_v2_3__boost_v1_43_0__to_v2_4__boost_v1_44_0_">What's
changed in <span class="emphasis"><em>Spirit.Lex</em></span> from V2.3 (Boost V1.43.0) to V2.4
(Boost V1.44.0)</a>
</h5>
<a name="spirit.what_s_new.spirit_2_4.new_lexer_features"></a><h5>
-<a name="id844053"></a>
+<a name="id826494"></a>
<a class="link" href="spirit_2_4.html#spirit.what_s_new.spirit_2_4.new_lexer_features">New Lexer
Features</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem">
- The lexer is now well integrated with the debug output generated by Qi's
- simple_trace utility. Tokens are printed as: '<' matched sequence '>'.
- </li></ul></div>
+ The lexer is now well integrated with the debug output generated by Qi's
+ simple_trace utility. Tokens are printed as: '<' matched sequence
+ '>'.
+ </li></ul></div>
<a name="spirit.what_s_new.spirit_2_4.lexer_bug_fixes"></a><h5>
-<a name="id844074"></a>
+<a name="id826518"></a>
<a class="link" href="spirit_2_4.html#spirit.what_s_new.spirit_2_4.lexer_bug_fixes">Lexer Bug Fixes</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
- Fixed a problem with using lex::_val as a rvalue in lexer semantic expressions.
- </li>
+ Fixed a problem with using lex::_val as a rvalue in lexer semantic expressions.
+ </li>
<li class="listitem">
- Token values are now available for introspection (as an iterator_range)
- inside lexer semantic expressions as well.
- </li>
+ Token values are now available for introspection (as an iterator_range)
+ inside lexer semantic expressions as well.
+ </li>
</ul></div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
Modified: trunk/libs/spirit/doc/spirit2.qbk
==============================================================================
--- trunk/libs/spirit/doc/spirit2.qbk (original)
+++ trunk/libs/spirit/doc/spirit2.qbk 2010-07-26 10:23:55 EDT (Mon, 26 Jul 2010)
@@ -11,7 +11,7 @@
[version 2.4]
[authors [de Guzman, Joel], [Kaiser, Hartmut]]
[copyright 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 Joel de Guzman, Hartmut Kaiser]
- [purpose Parser and Generator Library]
+ [/ purpose Parser and Generator Library]
[license
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk