-
Notifications
You must be signed in to change notification settings - Fork 3
/
classfly_1_1_basic_lexer.html
457 lines (433 loc) · 21.9 KB
/
classfly_1_1_basic_lexer.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libfly: fly::BasicLexer< CharType > Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">libfly
 <span id="projectnumber">6.2.2</span>
</div>
<div id="projectbrief">C++20 utility library for Linux, macOS, and Windows</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classfly_1_1_basic_lexer.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="classfly_1_1_basic_lexer-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">fly::BasicLexer< CharType > Class Template Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include <<a class="el" href="lexer_8hpp_source.html">lexer.hpp</a>></code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a3a520e8c231ccc4e22b47d99bdb10b9e"><td class="memTemplParams" colspan="2">template<std::size_t N> </td></tr>
<tr class="memitem:a3a520e8c231ccc4e22b47d99bdb10b9e"><td class="memTemplItemLeft" align="right" valign="top">constexpr </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classfly_1_1_basic_lexer.html#a3a520e8c231ccc4e22b47d99bdb10b9e">BasicLexer</a> (const CharType(&literals)[N]) noexcept</td></tr>
<tr class="separator:a3a520e8c231ccc4e22b47d99bdb10b9e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a57553f2c8dcc6680d37c623e80c14ea6"><td class="memItemLeft" align="right" valign="top">constexpr </td><td class="memItemRight" valign="bottom"><a class="el" href="classfly_1_1_basic_lexer.html#a57553f2c8dcc6680d37c623e80c14ea6">BasicLexer</a> (view_type <a class="el" href="classfly_1_1_basic_lexer.html#a07b543f70032dce2733e1b4999bbc2b7">view</a>) noexcept</td></tr>
<tr class="separator:a57553f2c8dcc6680d37c623e80c14ea6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a07b543f70032dce2733e1b4999bbc2b7"><td class="memItemLeft" align="right" valign="top">constexpr view_type </td><td class="memItemRight" valign="bottom"><a class="el" href="classfly_1_1_basic_lexer.html#a07b543f70032dce2733e1b4999bbc2b7">view</a> () const</td></tr>
<tr class="separator:a07b543f70032dce2733e1b4999bbc2b7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a98d5091acad97b782580695b5413ae62"><td class="memItemLeft" align="right" valign="top">constexpr std::size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classfly_1_1_basic_lexer.html#a98d5091acad97b782580695b5413ae62">position</a> () const</td></tr>
<tr class="separator:a98d5091acad97b782580695b5413ae62"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a72a24527c88408b1eae780f0ba58c0d0"><td class="memItemLeft" align="right" valign="top">constexpr void </td><td class="memItemRight" valign="bottom"><a class="el" href="classfly_1_1_basic_lexer.html#a72a24527c88408b1eae780f0ba58c0d0">set_position</a> (std::size_t <a class="el" href="classfly_1_1_basic_lexer.html#a98d5091acad97b782580695b5413ae62">position</a>)</td></tr>
<tr class="separator:a72a24527c88408b1eae780f0ba58c0d0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae9f06b2be9837ec09dd609d5c1504f98"><td class="memItemLeft" align="right" valign="top">constexpr std::optional< CharType > </td><td class="memItemRight" valign="bottom"><a class="el" href="classfly_1_1_basic_lexer.html#ae9f06b2be9837ec09dd609d5c1504f98">peek</a> (std::size_t offset=0)</td></tr>
<tr class="separator:ae9f06b2be9837ec09dd609d5c1504f98"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa95c7abacb973183adf3ebf7e93102a8"><td class="memItemLeft" align="right" valign="top">constexpr std::optional< CharType > </td><td class="memItemRight" valign="bottom"><a class="el" href="classfly_1_1_basic_lexer.html#aa95c7abacb973183adf3ebf7e93102a8">consume</a> ()</td></tr>
<tr class="separator:aa95c7abacb973183adf3ebf7e93102a8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aaaddafd75446f7dc001903679d68743e"><td class="memItemLeft" align="right" valign="top">constexpr bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classfly_1_1_basic_lexer.html#aaaddafd75446f7dc001903679d68743e">consume_if</a> (CharType ch)</td></tr>
<tr class="separator:aaaddafd75446f7dc001903679d68743e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4a74ac3dbb2ef3fd48078b80822b6650"><td class="memItemLeft" align="right" valign="top">constexpr std::optional< std::uintmax_t > </td><td class="memItemRight" valign="bottom"><a class="el" href="classfly_1_1_basic_lexer.html#a4a74ac3dbb2ef3fd48078b80822b6650">consume_number</a> ()</td></tr>
<tr class="separator:a4a74ac3dbb2ef3fd48078b80822b6650"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a89655e21a52aab1e4f33d91946b1a5aa"><td class="memItemLeft" align="right" valign="top">constexpr std::optional< std::uintmax_t > </td><td class="memItemRight" valign="bottom"><a class="el" href="classfly_1_1_basic_lexer.html#a89655e21a52aab1e4f33d91946b1a5aa">consume_hex_number</a> ()</td></tr>
<tr class="separator:a89655e21a52aab1e4f33d91946b1a5aa"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template<StandardCharacter CharType><br />
class fly::BasicLexer< CharType ></h3>
<p>Helper class to perform lexical analysis of a C-string literal. All methods are constant expressions, allowing for string analysis at compile time.</p>
<dl class="section author"><dt>Author</dt><dd>Timothy Flynn (<a href="#" onclick="location.href='mai'+'lto:'+'trf'+'ly'+'nn8'+'9@'+'pm.'+'me'; return false;">trfly<span style="display: none;">.nosp@m.</span>nn89<span style="display: none;">.nosp@m.</span>@pm.m<span style="display: none;">.nosp@m.</span>e</a>) </dd></dl>
<dl class="section version"><dt>Version</dt><dd>January 3, 2021 </dd></dl>
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a id="a3a520e8c231ccc4e22b47d99bdb10b9e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3a520e8c231ccc4e22b47d99bdb10b9e">◆ </a></span>BasicLexer() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<StandardCharacter CharType> </div>
<div class="memtemplate">
template<std::size_t N> </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">constexpr <a class="el" href="classfly_1_1_basic_lexer.html">fly::BasicLexer</a>< CharType >::<a class="el" href="classfly_1_1_basic_lexer.html">BasicLexer</a> </td>
<td>(</td>
<td class="paramtype">const CharType(&) </td>
<td class="paramname"><em>literals</em>[N]</td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span><span class="mlabel">constexpr</span><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructor. Stores a view into a C-string literal.</p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">N</td><td>The size of the C-string literal.</td></tr>
</table>
</dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">literals</td><td>Reference to a C-string literal of size N. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a57553f2c8dcc6680d37c623e80c14ea6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a57553f2c8dcc6680d37c623e80c14ea6">◆ </a></span>BasicLexer() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<StandardCharacter CharType> </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">constexpr <a class="el" href="classfly_1_1_basic_lexer.html">fly::BasicLexer</a>< CharType >::<a class="el" href="classfly_1_1_basic_lexer.html">BasicLexer</a> </td>
<td>(</td>
<td class="paramtype">view_type </td>
<td class="paramname"><em>view</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span><span class="mlabel">constexpr</span><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructor. Stores an existing view into a string.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">view</td><td>The existing view into the string. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="aa95c7abacb973183adf3ebf7e93102a8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa95c7abacb973183adf3ebf7e93102a8">◆ </a></span>consume()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<StandardCharacter CharType> </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">constexpr std::optional< CharType > <a class="el" href="classfly_1_1_basic_lexer.html">fly::BasicLexer</a>< CharType >::consume</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">constexpr</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>If a character is available at the current position in the C-string literal, return that character and advance the current position to the next character.</p>
<dl class="section return"><dt>Returns</dt><dd>If available, the current character. Otherwise, an uninitialized value. </dd></dl>
</div>
</div>
<a id="a89655e21a52aab1e4f33d91946b1a5aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a89655e21a52aab1e4f33d91946b1a5aa">◆ </a></span>consume_hex_number()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<StandardCharacter CharType> </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">constexpr std::optional< std::uintmax_t > <a class="el" href="classfly_1_1_basic_lexer.html">fly::BasicLexer</a>< CharType >::consume_hex_number</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">constexpr</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Beginning with the current position, retrieve characters from the C-string literal and advance the current position to the next character until a character is either not available or not a hexadecimal digit. Convert the retrieved characters to an unsigned number.</p>
<dl class="section return"><dt>Returns</dt><dd>If consumed, the parsed hexadecimal number. Otherwise, an uninitialized value. </dd></dl>
</div>
</div>
<a id="aaaddafd75446f7dc001903679d68743e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaaddafd75446f7dc001903679d68743e">◆ </a></span>consume_if()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<StandardCharacter CharType> </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">constexpr bool <a class="el" href="classfly_1_1_basic_lexer.html">fly::BasicLexer</a>< CharType >::consume_if </td>
<td>(</td>
<td class="paramtype">CharType </td>
<td class="paramname"><em>ch</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">constexpr</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>If a character is available at the current position in the C-string literal, and if that character is equivalent to the provided character, advance the current position to the next character.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">ch</td><td>The character to test with.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Whether the current character was available and matched the provided character. </dd></dl>
</div>
</div>
<a id="a4a74ac3dbb2ef3fd48078b80822b6650"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4a74ac3dbb2ef3fd48078b80822b6650">◆ </a></span>consume_number()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<StandardCharacter CharType> </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">constexpr std::optional< std::uintmax_t > <a class="el" href="classfly_1_1_basic_lexer.html">fly::BasicLexer</a>< CharType >::consume_number</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">constexpr</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Beginning with the current position, retrieve characters from the C-string literal and advance the current position to the next character until a character is either not available or not a decimal digit. Convert the retrieved characters to an unsigned number.</p>
<dl class="section return"><dt>Returns</dt><dd>If consumed, the parsed decimal number. Otherwise, an uninitialized value. </dd></dl>
</div>
</div>
<a id="ae9f06b2be9837ec09dd609d5c1504f98"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae9f06b2be9837ec09dd609d5c1504f98">◆ </a></span>peek()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<StandardCharacter CharType> </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">constexpr std::optional< CharType > <a class="el" href="classfly_1_1_basic_lexer.html">fly::BasicLexer</a>< CharType >::peek </td>
<td>(</td>
<td class="paramtype">std::size_t </td>
<td class="paramname"><em>offset</em> = <code>0</code></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">constexpr</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>If a character is available at the current position (or some offset from the current position) in the C-string literal, return that character.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">offset</td><td>The offset from the current position to peek.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>If available, the character at the provided offset. Otherwise, an uninitialized value. </dd></dl>
</div>
</div>
<a id="a98d5091acad97b782580695b5413ae62"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a98d5091acad97b782580695b5413ae62">◆ </a></span>position()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<StandardCharacter CharType> </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">constexpr std::size_t <a class="el" href="classfly_1_1_basic_lexer.html">fly::BasicLexer</a>< CharType >::position</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">constexpr</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>The lexer's current position into the C-string literal. </dd></dl>
</div>
</div>
<a id="a72a24527c88408b1eae780f0ba58c0d0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a72a24527c88408b1eae780f0ba58c0d0">◆ </a></span>set_position()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<StandardCharacter CharType> </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">constexpr void <a class="el" href="classfly_1_1_basic_lexer.html">fly::BasicLexer</a>< CharType >::set_position </td>
<td>(</td>
<td class="paramtype">std::size_t </td>
<td class="paramname"><em>position</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">constexpr</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the lexer's current position into the C-string literal.</p>
<p>The provided position is not checked for validity. If the position is past-the-end of the C-string literal, further operations will fail (i.e. |peek| and |consume| will return std::nullopt).</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">position</td><td>The lexer's new position. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a07b543f70032dce2733e1b4999bbc2b7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a07b543f70032dce2733e1b4999bbc2b7">◆ </a></span>view()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<StandardCharacter CharType> </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">constexpr auto <a class="el" href="classfly_1_1_basic_lexer.html">fly::BasicLexer</a>< CharType >::view</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">constexpr</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>A string view into the C-string literal. </dd></dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>fly/types/string/<a class="el" href="lexer_8hpp_source.html">lexer.hpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><b>fly</b></li><li class="navelem"><a class="el" href="classfly_1_1_basic_lexer.html">BasicLexer</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
</ul>
</div>
</body>
</html>