• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<html>
2<head>
3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4<title>Common Notation</title>
5<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css">
6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7<link rel="home" href="../../../index.html" title="Spirit 2.5.8">
8<link rel="up" href="../quick_reference.html" title="Quick Reference">
9<link rel="prev" href="../quick_reference.html" title="Quick Reference">
10<link rel="next" href="lexers.html" title="Primitive Lexer Components">
11</head>
12<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13<table cellpadding="2" width="100%"><tr>
14<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td>
15<td align="center"><a href="../../../../../../../index.html">Home</a></td>
16<td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td>
17<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
18<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
19<td align="center"><a href="../../../../../../../more/index.htm">More</a></td>
20</tr></table>
21<hr>
22<div class="spirit-nav">
23<a accesskey="p" href="../quick_reference.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../quick_reference.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="lexers.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
24</div>
25<div class="section">
26<div class="titlepage"><div><div><h4 class="title">
27<a name="spirit.lex.quick_reference.common_notation"></a><a class="link" href="common_notation.html" title="Common Notation">Common
28        Notation</a>
29</h4></div></div></div>
30<div class="variablelist">
31<p class="title"><b>Notation</b></p>
32<dl class="variablelist">
33<dt><span class="term"><code class="computeroutput"><span class="identifier">L</span></code></span></dt>
34<dd><p>
35                Lexer type
36              </p></dd>
37<dt><span class="term"><code class="computeroutput"><span class="identifier">l</span><span class="special">,</span>
38            <span class="identifier">a</span><span class="special">,</span>
39            <span class="identifier">b</span><span class="special">,</span>
40            <span class="identifier">c</span><span class="special">,</span>
41            <span class="identifier">d</span></code></span></dt>
42<dd><p>
43                Lexer objects
44              </p></dd>
45<dt><span class="term"><code class="computeroutput"><span class="identifier">Iterator</span></code></span></dt>
46<dd><p>
47                The type of an iterator referring to the underlying input sequence
48              </p></dd>
49<dt><span class="term"><code class="computeroutput"><span class="identifier">IdType</span></code></span></dt>
50<dd><p>
51                The token id type
52              </p></dd>
53<dt><span class="term"><code class="computeroutput"><span class="identifier">Context</span></code></span></dt>
54<dd><p>
55                The lexer components <code class="computeroutput"><span class="identifier">Context</span></code>
56                type
57              </p></dd>
58<dt><span class="term"><code class="computeroutput"><span class="identifier">ch</span></code></span></dt>
59<dd><p>
60                Character-class specific character (See Character Class Types)
61              </p></dd>
62<dt><span class="term"><code class="computeroutput"><span class="identifier">Ch</span></code></span></dt>
63<dd><p>
64                Character-class specific character type (See Character Class Types)
65              </p></dd>
66<dt><span class="term"><code class="computeroutput"><span class="identifier">str</span></code></span></dt>
67<dd><p>
68                Character-class specific string (See Character Class Types)
69              </p></dd>
70<dt><span class="term"><code class="computeroutput"><span class="identifier">Str</span></code></span></dt>
71<dd><p>
72                Character-class specific string type (See Character Class Types)
73              </p></dd>
74<dt><span class="term"><code class="computeroutput"><span class="identifier">Attrib</span></code></span></dt>
75<dd><p>
76                An attribute type
77              </p></dd>
78<dt><span class="term"><code class="computeroutput"><span class="identifier">fa</span></code></span></dt>
79<dd><p>
80                A semantic action function with a signature: <code class="computeroutput"><span class="keyword">void</span>
81                <span class="identifier">f</span><span class="special">(</span><span class="identifier">Iterator</span><span class="special">&amp;,</span>
82                <span class="identifier">Iterator</span><span class="special">&amp;,</span>
83                <span class="identifier">pass_flag</span><span class="special">&amp;,</span>
84                <span class="identifier">Idtype</span><span class="special">&amp;,</span>
85                <span class="identifier">Context</span><span class="special">&amp;)</span></code>.
86              </p></dd>
87</dl>
88</div>
89</div>
90<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
91<td align="left"></td>
92<td align="right"><div class="copyright-footer">Copyright © 2001-2011 Joel de Guzman, Hartmut Kaiser<p>
93        Distributed under the Boost Software License, Version 1.0. (See accompanying
94        file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
95      </p>
96</div></td>
97</tr></table>
98<hr>
99<div class="spirit-nav">
100<a accesskey="p" href="../quick_reference.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../quick_reference.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="lexers.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
101</div>
102</body>
103</html>
104