-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAstFromString_8h_source.html
More file actions
310 lines (308 loc) · 60.3 KB
/
Copy pathAstFromString_8h_source.html
File metadata and controls
310 lines (308 loc) · 60.3 KB
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
<!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" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>ROSE: AstFromString.h Source File</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="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="roseDoxygen.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 id="projectrow">
<td id="projectalign">
<div id="projectname">ROSE<span id="projectnumber"> 2.11.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "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:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$(document).ready(function() { init_codefold(0); });
/* @license-end */
</script>
<!-- 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">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_8509b06bafa958d2011203a730bf5778.html">frontend</a></li><li class="navelem"><a class="el" href="dir_d8cbe4daedd4c946d5ea1f8c5b6ae301.html">SageIII</a></li><li class="navelem"><a class="el" href="dir_50720f4084e80f650a071ba69f1a4313.html">astFromString</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle"><div class="title">AstFromString.h</div></div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="preprocessor">#ifndef __AST_FROM_STRING_H__</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="preprocessor">#define __AST_FROM_STRING_H__</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="preprocessor">#include <iostream></span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="preprocessor">#include <vector></span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span> </div>
<div class="foldopen" id="foldopen00017" data-start="{" data-end="}">
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html"> 17</a></span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceAstFromString.html">AstFromString</a></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span>{</div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> </div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span> <span class="comment">//--------------------------------------------------------------</span></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> </div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span><span class="preprocessor"> #define OFS_MAX_LEN 256</span></div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> </div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> ROSE_DLL_API <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_variable" href="namespaceAstFromString.html#a098fe28ea095acdcc1f6af0959a05685">c_char</a>; </div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> </div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> ROSE_DLL_API <span class="keyword">extern</span> <a class="code hl_class" href="classSgNode.html">SgNode</a>* <a class="code hl_variable" href="namespaceAstFromString.html#a1149181523ff77c2cd1f5e1689f7ea4c">c_sgnode</a>; </div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> </div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> ROSE_DLL_API <span class="keyword">extern</span> <a class="code hl_class" href="classSgNode.html">SgNode</a>* <a class="code hl_variable" href="namespaceAstFromString.html#a95f4d7938d3ddce6b3a81b7ff8f31399">c_parsed_node</a>; </div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> </div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> </div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> </div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> </div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#ada0d171a30f169d5620272c66d3d5c8c"> 48</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#ada0d171a30f169d5620272c66d3d5c8c">afs_is_digit</a>();</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> </div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#a72c0b5acd1cd30df98bb570357c845ea"> 51</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#a72c0b5acd1cd30df98bb570357c845ea">afs_is_identifier_char</a>();</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> </div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#a05677585e184ef8a881a8565a26ffb28"> 54</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#a05677585e184ef8a881a8565a26ffb28">afs_is_letter</a>();</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> </div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#a11b24b41cef8d03a45ca8a079c8b2350"> 57</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#a11b24b41cef8d03a45ca8a079c8b2350">afs_is_lower_letter</a>();</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> </div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#aad82524f84140c3e4d595a9e9fb5a132"> 60</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#aad82524f84140c3e4d595a9e9fb5a132">afs_is_upper_letter</a>();</div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> </div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> </div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> </div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#a8e29d0d0e7d11398fbc2dfdbe5e95a3c"> 72</a></span> ROSE_DLL_API <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#a8e29d0d0e7d11398fbc2dfdbe5e95a3c">afs_match_char</a>(<span class="keywordtype">char</span> c);</div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> </div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#a1e88c8fc182d4043da2c2f49f4e1f75f"> 86</a></span> ROSE_DLL_API <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#a1e88c8fc182d4043da2c2f49f4e1f75f">afs_match_substr</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* substr, <span class="keywordtype">bool</span> checkTrail = <span class="keyword">true</span>);</div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> </div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#a530782211ee5c81f32ce7db884a04467"> 89</a></span> ROSE_DLL_API <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#a530782211ee5c81f32ce7db884a04467">afs_skip_whitespace</a>();</div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span> </div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#a9e99b13fafd28cedbac3a0efeef9fcab"> 92</a></span> ROSE_DLL_API <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#a9e99b13fafd28cedbac3a0efeef9fcab">afs_match_identifier</a>();</div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> </div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#ab4058f8d7e211177e2e628605bc45d71"> 95</a></span> ROSE_DLL_API <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#ab4058f8d7e211177e2e628605bc45d71">afs_match_integer_const</a>(<span class="keywordtype">int</span> * result);</div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> </div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#ae3e904914c0f884224caffaac71aed92"> 98</a></span> ROSE_DLL_API <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#ae3e904914c0f884224caffaac71aed92">afs_match_double_const</a>(<span class="keywordtype">double</span> * result);</div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> </div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#a24c76f5e57e03bc6aba0a2b18916c4fd"> 101</a></span> ROSE_DLL_API <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#a24c76f5e57e03bc6aba0a2b18916c4fd">afs_match_translation_unit</a>();</div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span> </div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#a059846d56888bc0f8acbc0f8e8fa8df2"> 104</a></span> ROSE_DLL_API <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#a059846d56888bc0f8acbc0f8e8fa8df2">afs_match_external_declaration</a>();</div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> </div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#ae05f5bbc17d0013edda8a49c4d29fae0"> 107</a></span> ROSE_DLL_API <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#ae05f5bbc17d0013edda8a49c4d29fae0">afs_match_function_definition</a>();</div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span> </div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#ae491485f86289feb92b584f5b1497347"> 110</a></span> ROSE_DLL_API <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#ae491485f86289feb92b584f5b1497347">afs_match_declaration</a>();</div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span> </div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#a919be5304d03a13e7ee7226c4e5d6c28"> 113</a></span> ROSE_DLL_API <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#a919be5304d03a13e7ee7226c4e5d6c28">afs_match_declaration_specifiers</a>(<a class="code hl_class" href="classSgType.html">SgType</a>** tt);</div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span> </div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#a5b690bc1027eab8c220b8b3209dd4678"> 116</a></span> ROSE_DLL_API <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#a5b690bc1027eab8c220b8b3209dd4678">afs_match_init_declarator_list</a>();</div>
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span> </div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#aeb9caed7be42daf11a88f49feb914d59"> 119</a></span> ROSE_DLL_API <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#aeb9caed7be42daf11a88f49feb914d59">afs_match_init_declarator</a>(<a class="code hl_class" href="classSgType.html">SgType</a>* orig_type, <a class="code hl_class" href="classSgType.html">SgType</a>** mod_type, <a class="code hl_class" href="classSgName.html">SgName</a>** sname, <a class="code hl_class" href="classSgExpression.html">SgExpression</a>** initializer);</div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span> </div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#a5d44d5360a04314811c2a4b3f831388b"> 122</a></span> ROSE_DLL_API <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#a5d44d5360a04314811c2a4b3f831388b">afs_match_storage_class_specifier</a>();</div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span> </div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#a1e426325ec77fb5195998c00bfca6f70"> 127</a></span> ROSE_DLL_API <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#a1e426325ec77fb5195998c00bfca6f70">afs_match_type_specifier</a>(<span class="keywordtype">bool</span> checkTrail = <span class="keyword">true</span>);</div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span> </div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span> <span class="comment">// type_id in ANTLR grammar</span></div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span> <span class="comment">//struct_or_union_specifier</span></div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span> <span class="comment">//struct_or_union</span></div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span> <span class="comment">//struct_declaration_list</span></div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span> <span class="comment">//struct_declaration</span></div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#a7563b597c06ad0908c34ae886de57b37"> 135</a></span> ROSE_DLL_API <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#a7563b597c06ad0908c34ae886de57b37">afs_match_specifier_qualifier_list</a>(std::vector<SgNode*> &);</div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"> 136</span> <span class="comment">//struct_declarator_list</span></div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"> 137</span> <span class="comment">//struct_declarator</span></div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span> <span class="comment">// enum_specifier</span></div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span> <span class="comment">//enumerator_list</span></div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span> <span class="comment">// enumerator</span></div>
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#a7ed52a9b114253792dd46980a8b191c1"> 142</a></span> ROSE_DLL_API <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#a7ed52a9b114253792dd46980a8b191c1">afs_match_type_qualifier</a>();</div>
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"> 143</span> </div>
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#af2458e8de86ce3b18fb8126d28137e8f"> 145</a></span> ROSE_DLL_API <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#af2458e8de86ce3b18fb8126d28137e8f">afs_match_declarator</a>(<a class="code hl_class" href="classSgType.html">SgType</a>* orig_type, <a class="code hl_class" href="classSgType.html">SgType</a>** modified_type);</div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"> 146</span> </div>
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#aa35528a0f8e9476c33828f0919440650"> 148</a></span> ROSE_DLL_API <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#aa35528a0f8e9476c33828f0919440650">afs_match_direct_declarator</a>();</div>
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"> 149</span> <span class="comment">// declarator_suffix</span></div>
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span> </div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#a290ca141292626df0d2cdd8805a68a36"> 152</a></span> ROSE_DLL_API <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#a290ca141292626df0d2cdd8805a68a36">afs_match_pointer</a>(<a class="code hl_class" href="classSgType.html">SgType</a>* orig_type);</div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"> 153</span> </div>
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</span> <span class="comment">//parameter_type_list</span></div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"> 155</span> <span class="comment">// parameter_list</span></div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"> 156</span> <span class="comment">//parameter_declaration</span></div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"> 157</span> <span class="comment">// identifier_list</span></div>
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#a6b9412cdf7a4edac166c46e7ee517ca7"> 159</a></span> ROSE_DLL_API <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#a6b9412cdf7a4edac166c46e7ee517ca7">afs_match_type_name</a>(); </div>
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"> 160</span> <span class="comment">//abstract_declarator</span></div>
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"> 161</span> <span class="comment">//direct_abstract_declarator</span></div>
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"> 162</span> <span class="comment">//abstract_declarator_suffix</span></div>
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"> 163</span> <span class="comment">// initializer</span></div>
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#a6990d5812ceb12a2abdc67c23cd3a0fd"> 164</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#a6990d5812ceb12a2abdc67c23cd3a0fd">afs_match_initializer</a>(); </div>
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"> 165</span> <span class="comment">// initializer_list</span></div>
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"> 166</span> </div>
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"> 167</span> </div>
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"> 169</span> </div>
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"> 172</span> <span class="comment">//-----------------------------------------</span></div>
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#aa0ab2c6bcfccb09ecdb216122a961e42"> 174</a></span> ROSE_DLL_API <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#aa0ab2c6bcfccb09ecdb216122a961e42">afs_match_argument_expression_list</a>();</div>
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"> 175</span> </div>
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#ab5441785c1ce00c2db0432a4cb2b93a2"> 177</a></span> ROSE_DLL_API <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#ab5441785c1ce00c2db0432a4cb2b93a2">afs_match_additive_expression</a>();</div>
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno"> 178</span> </div>
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#a1f80c41c1d593e1ac6de44a30178ef83"> 180</a></span> ROSE_DLL_API <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#a1f80c41c1d593e1ac6de44a30178ef83">afs_match_multiplicative_expression</a>();</div>
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno"> 181</span> </div>
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#acb0592cf5777d93b61ee59f0ee436940"> 183</a></span> ROSE_DLL_API <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#acb0592cf5777d93b61ee59f0ee436940">afs_match_cast_expression</a>();</div>
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno"> 184</span> </div>
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#a3ede7a592e19d94278abf7e568d50a5a"> 186</a></span> ROSE_DLL_API <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#a3ede7a592e19d94278abf7e568d50a5a">afs_match_unary_expression</a>();</div>
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno"> 187</span> </div>
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#a109a26d3112677087df302c260733c89"> 189</a></span> ROSE_DLL_API <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#a109a26d3112677087df302c260733c89">afs_match_postfix_expression</a>();</div>
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno"> 190</span> </div>
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#a2ff8dbf260e19c1400cc3caedcb0cf7a"> 192</a></span> ROSE_DLL_API <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#a2ff8dbf260e19c1400cc3caedcb0cf7a">afs_match_primary_expression</a>();</div>
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno"> 193</span> </div>
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#a3afb3737f249d298c8190a05bbf4b3af"> 195</a></span> ROSE_DLL_API <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#a3afb3737f249d298c8190a05bbf4b3af">afs_match_constant</a>(); </div>
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno"> 196</span> </div>
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#a8e8dbbf161995515372163f5e7d09f9c"> 198</a></span> ROSE_DLL_API <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#a8e8dbbf161995515372163f5e7d09f9c">afs_match_expression</a>();</div>
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno"> 199</span> </div>
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#aa8d5c77b55ee801fc05105babc288af9"> 201</a></span> ROSE_DLL_API <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#aa8d5c77b55ee801fc05105babc288af9">afs_match_constant_expression</a>();</div>
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno"> 202</span> </div>
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#a3a429ac8628066d6ed3091c4f1582bee"> 204</a></span> ROSE_DLL_API <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#a3a429ac8628066d6ed3091c4f1582bee">afs_match_assignment_expression</a>();</div>
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno"> 205</span> </div>
<div class="line"><a id="l00207" name="l00207"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#ae5208cd6d0a46d28d22097b59d34f7ef"> 207</a></span> ROSE_DLL_API <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#ae5208cd6d0a46d28d22097b59d34f7ef">afs_match_lvalue</a>();</div>
<div class="line"><a id="l00208" name="l00208"></a><span class="lineno"> 208</span> <span class="comment">// assignment_operator, included in assignment_expression in this implementation</span></div>
<div class="line"><a id="l00210" name="l00210"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#a71bca9b9c5afc2803a80dddaa72f083a"> 210</a></span> ROSE_DLL_API <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#a71bca9b9c5afc2803a80dddaa72f083a">afs_match_conditional_expression</a>();</div>
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno"> 211</span> </div>
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#a40c6551a134bfb1839db3a3d1607b52b"> 213</a></span> ROSE_DLL_API <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#a40c6551a134bfb1839db3a3d1607b52b">afs_match_logical_or_expression</a>();</div>
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno"> 214</span> </div>
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#adea9b7b6a3129e95eaaf5b44768debd7"> 216</a></span> ROSE_DLL_API <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#adea9b7b6a3129e95eaaf5b44768debd7">afs_match_logical_and_expression</a>();</div>
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno"> 217</span> </div>
<div class="line"><a id="l00219" name="l00219"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#adffcd96393312fbc2a7663928737f4d4"> 219</a></span> ROSE_DLL_API <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#adffcd96393312fbc2a7663928737f4d4">afs_match_inclusive_or_expression</a>();</div>
<div class="line"><a id="l00220" name="l00220"></a><span class="lineno"> 220</span> </div>
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#aa965fb64b1521485ccafb9401aa9ab3e"> 222</a></span> ROSE_DLL_API <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#aa965fb64b1521485ccafb9401aa9ab3e">afs_match_exclusive_or_expression</a>();</div>
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno"> 223</span> </div>
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#a7336a0afad9d959c9e649c3d998c0112"> 225</a></span> ROSE_DLL_API <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#a7336a0afad9d959c9e649c3d998c0112">afs_match_and_expression</a>();</div>
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno"> 226</span> </div>
<div class="line"><a id="l00228" name="l00228"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#a888d0687dd4f40440820a63455110e18"> 228</a></span> ROSE_DLL_API <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#a888d0687dd4f40440820a63455110e18">afs_match_equality_expression</a>();</div>
<div class="line"><a id="l00229" name="l00229"></a><span class="lineno"> 229</span> </div>
<div class="line"><a id="l00231" name="l00231"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#a5e0b53c59c8e46bcc5633d4558b45f83"> 231</a></span> ROSE_DLL_API <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#a5e0b53c59c8e46bcc5633d4558b45f83">afs_match_relational_expression</a>();</div>
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno"> 232</span> </div>
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#a061220ba80565ba5377f024272909232"> 234</a></span> ROSE_DLL_API <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#a061220ba80565ba5377f024272909232">afs_match_shift_expression</a>();</div>
<div class="line"><a id="l00236" name="l00236"></a><span class="lineno"> 236</span> </div>
<div class="line"><a id="l00237" name="l00237"></a><span class="lineno"> 237</span> <span class="comment">//-----------------------------------------</span></div>
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno"> 239</span> </div>
<div class="line"><a id="l00243" name="l00243"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#ab864cb2da0859dbd31f1e116975f1411"> 243</a></span> ROSE_DLL_API <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#ab864cb2da0859dbd31f1e116975f1411">afs_match_statement</a>();</div>
<div class="line"><a id="l00244" name="l00244"></a><span class="lineno"> 244</span> </div>
<div class="line"><a id="l00246" name="l00246"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#ad04bef0efe21f0e45004f60b0b29f83b"> 246</a></span> ROSE_DLL_API <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#ad04bef0efe21f0e45004f60b0b29f83b">afs_match_labeled_statement</a>();</div>
<div class="line"><a id="l00248" name="l00248"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#a47eae32e1043797136d714129aa1a0a3"> 248</a></span> ROSE_DLL_API <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#a47eae32e1043797136d714129aa1a0a3">afs_match_compound_statement</a>();</div>
<div class="line"><a id="l00250" name="l00250"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#a640e7247b0d9113d9988553b34c0f77f"> 250</a></span> ROSE_DLL_API <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#a640e7247b0d9113d9988553b34c0f77f">afs_match_expression_statement</a>();</div>
<div class="line"><a id="l00252" name="l00252"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#a0c2b8bde944d1b51d75877ad06329c20"> 252</a></span> ROSE_DLL_API <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#a0c2b8bde944d1b51d75877ad06329c20">afs_match_selection_statement</a>();</div>
<div class="line"><a id="l00254" name="l00254"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#a4acee0f1a401275ee5f0918a5d14422b"> 254</a></span> ROSE_DLL_API <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#a4acee0f1a401275ee5f0918a5d14422b">afs_match_iteration_statement</a>();</div>
<div class="line"><a id="l00256" name="l00256"></a><span class="lineno"><a class="line" href="namespaceAstFromString.html#a5ab7db85258562842be279a7bfcbfae9"> 256</a></span> ROSE_DLL_API <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceAstFromString.html#a5ab7db85258562842be279a7bfcbfae9">afs_match_jump_statement</a>();</div>
<div class="line"><a id="l00257" name="l00257"></a><span class="lineno"> 257</span> </div>
<div class="line"><a id="l00259" name="l00259"></a><span class="lineno"> 259</span>}</div>
</div>
<div class="line"><a id="l00260" name="l00260"></a><span class="lineno"> 260</span> </div>
<div class="line"><a id="l00261" name="l00261"></a><span class="lineno"> 261</span><span class="preprocessor">#endif </span><span class="comment">/* __AST_FROM_STRING_H__ */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00262" name="l00262"></a><span class="lineno"> 262</span> </div>
<div class="ttc" id="aclassSgExpression_html"><div class="ttname"><a href="classSgExpression.html">SgExpression</a></div><div class="ttdoc">This class represents the notion of an expression. Expressions are derived from SgLocatedNodes,...</div><div class="ttdef"><b>Definition</b> <a href="Cxx__Grammar_8h_source.html#l486290">Cxx_Grammar.h:486291</a></div></div>
<div class="ttc" id="aclassSgName_html"><div class="ttname"><a href="classSgName.html">SgName</a></div><div class="ttdoc">This class represents strings within the IR nodes.</div><div class="ttdef"><b>Definition</b> <a href="Cxx__Grammar_8h_source.html#l20585">Cxx_Grammar.h:20586</a></div></div>
<div class="ttc" id="aclassSgNode_html"><div class="ttname"><a href="classSgNode.html">SgNode</a></div><div class="ttdoc">This class represents the base class for all IR nodes within Sage III.</div><div class="ttdef"><b>Definition</b> <a href="Cxx__Grammar_8h_source.html#l00119">Cxx_Grammar.h:120</a></div></div>
<div class="ttc" id="aclassSgType_html"><div class="ttname"><a href="classSgType.html">SgType</a></div><div class="ttdoc">This class represents the base class for all types.</div><div class="ttdef"><b>Definition</b> <a href="Cxx__Grammar_8h_source.html#l85170">Cxx_Grammar.h:85171</a></div></div>
<div class="ttc" id="anamespaceAstFromString_html"><div class="ttname"><a href="namespaceAstFromString.html">AstFromString</a></div><div class="ttdoc">Parser building blocks for creating simple recursive descent parsers generating AST from strings.</div><div class="ttdef"><b>Definition</b> <a href="AstFromString_8h_source.html#l00017">AstFromString.h:18</a></div></div>
<div class="ttc" id="anamespaceAstFromString_html_a05677585e184ef8a881a8565a26ffb28"><div class="ttname"><a href="namespaceAstFromString.html#a05677585e184ef8a881a8565a26ffb28">AstFromString::afs_is_letter</a></div><div class="ttdeci">bool afs_is_letter()</div><div class="ttdoc">Check if the current character is a letter. No side effect on the current position of the input strin...</div></div>
<div class="ttc" id="anamespaceAstFromString_html_a059846d56888bc0f8acbc0f8e8fa8df2"><div class="ttname"><a href="namespaceAstFromString.html#a059846d56888bc0f8acbc0f8e8fa8df2">AstFromString::afs_match_external_declaration</a></div><div class="ttdeci">ROSE_DLL_API bool afs_match_external_declaration()</div><div class="ttdoc">Match an external declaration. Not yet implemented.</div></div>
<div class="ttc" id="anamespaceAstFromString_html_a061220ba80565ba5377f024272909232"><div class="ttname"><a href="namespaceAstFromString.html#a061220ba80565ba5377f024272909232">AstFromString::afs_match_shift_expression</a></div><div class="ttdeci">ROSE_DLL_API bool afs_match_shift_expression()</div><div class="ttdoc">shift_expression : additive_expression (('<<'|'>>') additive_expression)*</div></div>
<div class="ttc" id="anamespaceAstFromString_html_a098fe28ea095acdcc1f6af0959a05685"><div class="ttname"><a href="namespaceAstFromString.html#a098fe28ea095acdcc1f6af0959a05685">AstFromString::c_char</a></div><div class="ttdeci">ROSE_DLL_API const char * c_char</div><div class="ttdoc">A namespace scope char* to avoid passing and returning a target c string for every and each function ...</div></div>
<div class="ttc" id="anamespaceAstFromString_html_a0c2b8bde944d1b51d75877ad06329c20"><div class="ttname"><a href="namespaceAstFromString.html#a0c2b8bde944d1b51d75877ad06329c20">AstFromString::afs_match_selection_statement</a></div><div class="ttdeci">ROSE_DLL_API bool afs_match_selection_statement()</div><div class="ttdoc">Match selection statement: IF '(' expression ')' statement | IF '(' expression ')' statement ELSE sta...</div></div>
<div class="ttc" id="anamespaceAstFromString_html_a109a26d3112677087df302c260733c89"><div class="ttname"><a href="namespaceAstFromString.html#a109a26d3112677087df302c260733c89">AstFromString::afs_match_postfix_expression</a></div><div class="ttdeci">ROSE_DLL_API bool afs_match_postfix_expression()</div><div class="ttdoc">postfix_expression : primary_expression ( '[' expression ']' | '(' ')' | '(' argument_expression_list...</div></div>
<div class="ttc" id="anamespaceAstFromString_html_a1149181523ff77c2cd1f5e1689f7ea4c"><div class="ttname"><a href="namespaceAstFromString.html#a1149181523ff77c2cd1f5e1689f7ea4c">AstFromString::c_sgnode</a></div><div class="ttdeci">ROSE_DLL_API SgNode * c_sgnode</div><div class="ttdoc">current anchor SgNode associated with parsing. It will serve as a start point to find enclosing scope...</div></div>
<div class="ttc" id="anamespaceAstFromString_html_a11b24b41cef8d03a45ca8a079c8b2350"><div class="ttname"><a href="namespaceAstFromString.html#a11b24b41cef8d03a45ca8a079c8b2350">AstFromString::afs_is_lower_letter</a></div><div class="ttdeci">bool afs_is_lower_letter()</div><div class="ttdoc">Check if the current character is a lower case letter.</div></div>
<div class="ttc" id="anamespaceAstFromString_html_a1e426325ec77fb5195998c00bfca6f70"><div class="ttname"><a href="namespaceAstFromString.html#a1e426325ec77fb5195998c00bfca6f70">AstFromString::afs_match_type_specifier</a></div><div class="ttdeci">ROSE_DLL_API bool afs_match_type_specifier(bool checkTrail=true)</div></div>
<div class="ttc" id="anamespaceAstFromString_html_a1e88c8fc182d4043da2c2f49f4e1f75f"><div class="ttname"><a href="namespaceAstFromString.html#a1e88c8fc182d4043da2c2f49f4e1f75f">AstFromString::afs_match_substr</a></div><div class="ttdeci">ROSE_DLL_API bool afs_match_substr(const char *substr, bool checkTrail=true)</div><div class="ttdoc">Match a sub string: a given sub c string from the input c string, again skip heading space/tabs if an...</div></div>
<div class="ttc" id="anamespaceAstFromString_html_a1f80c41c1d593e1ac6de44a30178ef83"><div class="ttname"><a href="namespaceAstFromString.html#a1f80c41c1d593e1ac6de44a30178ef83">AstFromString::afs_match_multiplicative_expression</a></div><div class="ttdeci">ROSE_DLL_API bool afs_match_multiplicative_expression()</div><div class="ttdoc">multiplicative_expression : (cast_expression) ('*' cast_expression | '/' cast_expression | '' cast_ex...</div></div>
<div class="ttc" id="anamespaceAstFromString_html_a24c76f5e57e03bc6aba0a2b18916c4fd"><div class="ttname"><a href="namespaceAstFromString.html#a24c76f5e57e03bc6aba0a2b18916c4fd">AstFromString::afs_match_translation_unit</a></div><div class="ttdeci">ROSE_DLL_API bool afs_match_translation_unit()</div><div class="ttdoc">Match a translation unit. Not yet implemented.</div></div>
<div class="ttc" id="anamespaceAstFromString_html_a290ca141292626df0d2cdd8805a68a36"><div class="ttname"><a href="namespaceAstFromString.html#a290ca141292626df0d2cdd8805a68a36">AstFromString::afs_match_pointer</a></div><div class="ttdeci">ROSE_DLL_API bool afs_match_pointer(SgType *orig_type)</div><div class="ttdoc">Pointer constructs like * type.</div></div>
<div class="ttc" id="anamespaceAstFromString_html_a2ff8dbf260e19c1400cc3caedcb0cf7a"><div class="ttname"><a href="namespaceAstFromString.html#a2ff8dbf260e19c1400cc3caedcb0cf7a">AstFromString::afs_match_primary_expression</a></div><div class="ttdeci">ROSE_DLL_API bool afs_match_primary_expression()</div><div class="ttdoc">primary_expression : IDENTIFIER | constant | '(' expression ')'</div></div>
<div class="ttc" id="anamespaceAstFromString_html_a3a429ac8628066d6ed3091c4f1582bee"><div class="ttname"><a href="namespaceAstFromString.html#a3a429ac8628066d6ed3091c4f1582bee">AstFromString::afs_match_assignment_expression</a></div><div class="ttdeci">ROSE_DLL_API bool afs_match_assignment_expression()</div><div class="ttdoc">assignment_expression : lvalue assignment_operator assignment_expression | conditional_expression</div></div>
<div class="ttc" id="anamespaceAstFromString_html_a3afb3737f249d298c8190a05bbf4b3af"><div class="ttname"><a href="namespaceAstFromString.html#a3afb3737f249d298c8190a05bbf4b3af">AstFromString::afs_match_constant</a></div><div class="ttdeci">ROSE_DLL_API bool afs_match_constant()</div><div class="ttdoc">Only integer constant is supported for now. Full grammar is constant : HEX_LITERAL | OCTAL_LITERAL | ...</div></div>
<div class="ttc" id="anamespaceAstFromString_html_a3ede7a592e19d94278abf7e568d50a5a"><div class="ttname"><a href="namespaceAstFromString.html#a3ede7a592e19d94278abf7e568d50a5a">AstFromString::afs_match_unary_expression</a></div><div class="ttdeci">ROSE_DLL_API bool afs_match_unary_expression()</div><div class="ttdoc">unary_expression : postfix_expression | INC_OP unary_expression | DEC_OP unary_expression | unary_ope...</div></div>
<div class="ttc" id="anamespaceAstFromString_html_a40c6551a134bfb1839db3a3d1607b52b"><div class="ttname"><a href="namespaceAstFromString.html#a40c6551a134bfb1839db3a3d1607b52b">AstFromString::afs_match_logical_or_expression</a></div><div class="ttdeci">ROSE_DLL_API bool afs_match_logical_or_expression()</div><div class="ttdoc">logical_or_expression : logical_and_expression ('||' logical_and_expression)*</div></div>
<div class="ttc" id="anamespaceAstFromString_html_a47eae32e1043797136d714129aa1a0a3"><div class="ttname"><a href="namespaceAstFromString.html#a47eae32e1043797136d714129aa1a0a3">AstFromString::afs_match_compound_statement</a></div><div class="ttdeci">ROSE_DLL_API bool afs_match_compound_statement()</div><div class="ttdoc">Not yet implemented. Match compound statement: '{' declaration* statement_list? '}'.</div></div>
<div class="ttc" id="anamespaceAstFromString_html_a4acee0f1a401275ee5f0918a5d14422b"><div class="ttname"><a href="namespaceAstFromString.html#a4acee0f1a401275ee5f0918a5d14422b">AstFromString::afs_match_iteration_statement</a></div><div class="ttdeci">ROSE_DLL_API bool afs_match_iteration_statement()</div><div class="ttdoc">Match an iteration statement: : 'while' '(' expression ')' statement | 'do' statement 'while' '(' exp...</div></div>
<div class="ttc" id="anamespaceAstFromString_html_a530782211ee5c81f32ce7db884a04467"><div class="ttname"><a href="namespaceAstFromString.html#a530782211ee5c81f32ce7db884a04467">AstFromString::afs_skip_whitespace</a></div><div class="ttdeci">ROSE_DLL_API bool afs_skip_whitespace()</div><div class="ttdoc">Match and skip whitespace.</div></div>
<div class="ttc" id="anamespaceAstFromString_html_a5ab7db85258562842be279a7bfcbfae9"><div class="ttname"><a href="namespaceAstFromString.html#a5ab7db85258562842be279a7bfcbfae9">AstFromString::afs_match_jump_statement</a></div><div class="ttdeci">ROSE_DLL_API bool afs_match_jump_statement()</div><div class="ttdoc">Match a jump statement : 'goto' IDENTIFIER ';' | 'continue' ';' | 'break' ';' | 'return' ';' | 'retur...</div></div>
<div class="ttc" id="anamespaceAstFromString_html_a5b690bc1027eab8c220b8b3209dd4678"><div class="ttname"><a href="namespaceAstFromString.html#a5b690bc1027eab8c220b8b3209dd4678">AstFromString::afs_match_init_declarator_list</a></div><div class="ttdeci">ROSE_DLL_API bool afs_match_init_declarator_list()</div><div class="ttdoc">Match an init declarator list. Not yet implemented.</div></div>
<div class="ttc" id="anamespaceAstFromString_html_a5d44d5360a04314811c2a4b3f831388b"><div class="ttname"><a href="namespaceAstFromString.html#a5d44d5360a04314811c2a4b3f831388b">AstFromString::afs_match_storage_class_specifier</a></div><div class="ttdeci">ROSE_DLL_API bool afs_match_storage_class_specifier()</div><div class="ttdoc">Match a storage class specifier. Not yet implemented.</div></div>
<div class="ttc" id="anamespaceAstFromString_html_a5e0b53c59c8e46bcc5633d4558b45f83"><div class="ttname"><a href="namespaceAstFromString.html#a5e0b53c59c8e46bcc5633d4558b45f83">AstFromString::afs_match_relational_expression</a></div><div class="ttdeci">ROSE_DLL_API bool afs_match_relational_expression()</div><div class="ttdoc">relational_expression : shift_expression (('<'|'>'|'<='|'>=') shift_expression)*</div></div>
<div class="ttc" id="anamespaceAstFromString_html_a640e7247b0d9113d9988553b34c0f77f"><div class="ttname"><a href="namespaceAstFromString.html#a640e7247b0d9113d9988553b34c0f77f">AstFromString::afs_match_expression_statement</a></div><div class="ttdeci">ROSE_DLL_API bool afs_match_expression_statement()</div><div class="ttdoc">Match expression statement: : ';' | expression ';'.</div></div>
<div class="ttc" id="anamespaceAstFromString_html_a6990d5812ceb12a2abdc67c23cd3a0fd"><div class="ttname"><a href="namespaceAstFromString.html#a6990d5812ceb12a2abdc67c23cd3a0fd">AstFromString::afs_match_initializer</a></div><div class="ttdeci">bool afs_match_initializer()</div><div class="ttdoc">match a char, advance one position if successful.</div></div>
<div class="ttc" id="anamespaceAstFromString_html_a6b9412cdf7a4edac166c46e7ee517ca7"><div class="ttname"><a href="namespaceAstFromString.html#a6b9412cdf7a4edac166c46e7ee517ca7">AstFromString::afs_match_type_name</a></div><div class="ttdeci">ROSE_DLL_API bool afs_match_type_name()</div><div class="ttdoc">Match a type name : specifier_qualifier_list abstract_declarator?</div></div>
<div class="ttc" id="anamespaceAstFromString_html_a71bca9b9c5afc2803a80dddaa72f083a"><div class="ttname"><a href="namespaceAstFromString.html#a71bca9b9c5afc2803a80dddaa72f083a">AstFromString::afs_match_conditional_expression</a></div><div class="ttdeci">ROSE_DLL_API bool afs_match_conditional_expression()</div><div class="ttdoc">conditional_expression : logical_or_expression ('?' expression ':' conditional_expression)?...</div></div>
<div class="ttc" id="anamespaceAstFromString_html_a72c0b5acd1cd30df98bb570357c845ea"><div class="ttname"><a href="namespaceAstFromString.html#a72c0b5acd1cd30df98bb570357c845ea">AstFromString::afs_is_identifier_char</a></div><div class="ttdeci">bool afs_is_identifier_char()</div><div class="ttdoc">Check if the current character is a legal identifier character, including letters,...</div></div>
<div class="ttc" id="anamespaceAstFromString_html_a7336a0afad9d959c9e649c3d998c0112"><div class="ttname"><a href="namespaceAstFromString.html#a7336a0afad9d959c9e649c3d998c0112">AstFromString::afs_match_and_expression</a></div><div class="ttdeci">ROSE_DLL_API bool afs_match_and_expression()</div><div class="ttdoc">and_expression : equality_expression ('&' equality_expression)*</div></div>
<div class="ttc" id="anamespaceAstFromString_html_a7563b597c06ad0908c34ae886de57b37"><div class="ttname"><a href="namespaceAstFromString.html#a7563b597c06ad0908c34ae886de57b37">AstFromString::afs_match_specifier_qualifier_list</a></div><div class="ttdeci">ROSE_DLL_API bool afs_match_specifier_qualifier_list(std::vector< SgNode * > &)</div><div class="ttdoc">Match a list of specifiers and qualifiers : : ( type_qualifier | type_specifier )+.</div></div>
<div class="ttc" id="anamespaceAstFromString_html_a7ed52a9b114253792dd46980a8b191c1"><div class="ttname"><a href="namespaceAstFromString.html#a7ed52a9b114253792dd46980a8b191c1">AstFromString::afs_match_type_qualifier</a></div><div class="ttdeci">ROSE_DLL_API bool afs_match_type_qualifier()</div><div class="ttdoc">Match a type qualifier : 'const' | 'volatile'.</div></div>
<div class="ttc" id="anamespaceAstFromString_html_a888d0687dd4f40440820a63455110e18"><div class="ttname"><a href="namespaceAstFromString.html#a888d0687dd4f40440820a63455110e18">AstFromString::afs_match_equality_expression</a></div><div class="ttdeci">ROSE_DLL_API bool afs_match_equality_expression()</div><div class="ttdoc">equality_expression : relational_expression (('=='|'!=') relational_expression)*</div></div>
<div class="ttc" id="anamespaceAstFromString_html_a8e29d0d0e7d11398fbc2dfdbe5e95a3c"><div class="ttname"><a href="namespaceAstFromString.html#a8e29d0d0e7d11398fbc2dfdbe5e95a3c">AstFromString::afs_match_char</a></div><div class="ttdeci">ROSE_DLL_API bool afs_match_char(char c)</div><div class="ttdoc">match a char, advance one position if successful.</div></div>
<div class="ttc" id="anamespaceAstFromString_html_a8e8dbbf161995515372163f5e7d09f9c"><div class="ttname"><a href="namespaceAstFromString.html#a8e8dbbf161995515372163f5e7d09f9c">AstFromString::afs_match_expression</a></div><div class="ttdeci">ROSE_DLL_API bool afs_match_expression()</div><div class="ttdoc">expression : assignment_expression (',' assignment_expression)*. Match one or more assignment_express...</div></div>
<div class="ttc" id="anamespaceAstFromString_html_a919be5304d03a13e7ee7226c4e5d6c28"><div class="ttname"><a href="namespaceAstFromString.html#a919be5304d03a13e7ee7226c4e5d6c28">AstFromString::afs_match_declaration_specifiers</a></div><div class="ttdeci">ROSE_DLL_API bool afs_match_declaration_specifiers(SgType **tt)</div><div class="ttdoc">Match declaration specifiers, store the matched type into *tt.</div></div>
<div class="ttc" id="anamespaceAstFromString_html_a95f4d7938d3ddce6b3a81b7ff8f31399"><div class="ttname"><a href="namespaceAstFromString.html#a95f4d7938d3ddce6b3a81b7ff8f31399">AstFromString::c_parsed_node</a></div><div class="ttdeci">ROSE_DLL_API SgNode * c_parsed_node</div><div class="ttdoc">Store the AST substree (expression, statement) generated from a helper function.</div></div>
<div class="ttc" id="anamespaceAstFromString_html_a9e99b13fafd28cedbac3a0efeef9fcab"><div class="ttname"><a href="namespaceAstFromString.html#a9e99b13fafd28cedbac3a0efeef9fcab">AstFromString::afs_match_identifier</a></div><div class="ttdeci">ROSE_DLL_API bool afs_match_identifier()</div><div class="ttdoc">Match identifier, move to the next character if successful. The identifier could be a name of a type,...</div></div>
<div class="ttc" id="anamespaceAstFromString_html_aa0ab2c6bcfccb09ecdb216122a961e42"><div class="ttname"><a href="namespaceAstFromString.html#aa0ab2c6bcfccb09ecdb216122a961e42">AstFromString::afs_match_argument_expression_list</a></div><div class="ttdeci">ROSE_DLL_API bool afs_match_argument_expression_list()</div><div class="ttdoc">Grammar: argument_expression_list : assignment_expression (',' assignment_expression)* one assignment...</div></div>
<div class="ttc" id="anamespaceAstFromString_html_aa35528a0f8e9476c33828f0919440650"><div class="ttname"><a href="namespaceAstFromString.html#aa35528a0f8e9476c33828f0919440650">AstFromString::afs_match_direct_declarator</a></div><div class="ttdeci">ROSE_DLL_API bool afs_match_direct_declarator()</div><div class="ttdoc">Match a direct declarator.</div></div>
<div class="ttc" id="anamespaceAstFromString_html_aa8d5c77b55ee801fc05105babc288af9"><div class="ttname"><a href="namespaceAstFromString.html#aa8d5c77b55ee801fc05105babc288af9">AstFromString::afs_match_constant_expression</a></div><div class="ttdeci">ROSE_DLL_API bool afs_match_constant_expression()</div><div class="ttdoc">constant_expression : conditional_expression</div></div>
<div class="ttc" id="anamespaceAstFromString_html_aa965fb64b1521485ccafb9401aa9ab3e"><div class="ttname"><a href="namespaceAstFromString.html#aa965fb64b1521485ccafb9401aa9ab3e">AstFromString::afs_match_exclusive_or_expression</a></div><div class="ttdeci">ROSE_DLL_API bool afs_match_exclusive_or_expression()</div><div class="ttdoc">exclusive_or_expression : and_expression ('^' and_expression)*</div></div>
<div class="ttc" id="anamespaceAstFromString_html_aad82524f84140c3e4d595a9e9fb5a132"><div class="ttname"><a href="namespaceAstFromString.html#aad82524f84140c3e4d595a9e9fb5a132">AstFromString::afs_is_upper_letter</a></div><div class="ttdeci">bool afs_is_upper_letter()</div><div class="ttdoc">Check if the current character is a upper case letter.</div></div>
<div class="ttc" id="anamespaceAstFromString_html_ab4058f8d7e211177e2e628605bc45d71"><div class="ttname"><a href="namespaceAstFromString.html#ab4058f8d7e211177e2e628605bc45d71">AstFromString::afs_match_integer_const</a></div><div class="ttdeci">ROSE_DLL_API bool afs_match_integer_const(int *result)</div><div class="ttdoc">Match an integer constant, store it into result.</div></div>
<div class="ttc" id="anamespaceAstFromString_html_ab5441785c1ce00c2db0432a4cb2b93a2"><div class="ttname"><a href="namespaceAstFromString.html#ab5441785c1ce00c2db0432a4cb2b93a2">AstFromString::afs_match_additive_expression</a></div><div class="ttdeci">ROSE_DLL_API bool afs_match_additive_expression()</div><div class="ttdoc">Grammar: additive_expression : (multiplicative_expression) ('+' multiplicative_expression | '-' multi...</div></div>
<div class="ttc" id="anamespaceAstFromString_html_ab864cb2da0859dbd31f1e116975f1411"><div class="ttname"><a href="namespaceAstFromString.html#ab864cb2da0859dbd31f1e116975f1411">AstFromString::afs_match_statement</a></div><div class="ttdeci">ROSE_DLL_API bool afs_match_statement()</div><div class="ttdoc">match any statement, not complete yet. Don't use it yet . : labeled_statement | compound_statement | ...</div></div>
<div class="ttc" id="anamespaceAstFromString_html_acb0592cf5777d93b61ee59f0ee436940"><div class="ttname"><a href="namespaceAstFromString.html#acb0592cf5777d93b61ee59f0ee436940">AstFromString::afs_match_cast_expression</a></div><div class="ttdeci">ROSE_DLL_API bool afs_match_cast_expression()</div><div class="ttdoc">cast_expression : '(' type_name ')' cast_expression | unary_expression</div></div>
<div class="ttc" id="anamespaceAstFromString_html_ad04bef0efe21f0e45004f60b0b29f83b"><div class="ttname"><a href="namespaceAstFromString.html#ad04bef0efe21f0e45004f60b0b29f83b">AstFromString::afs_match_labeled_statement</a></div><div class="ttdeci">ROSE_DLL_API bool afs_match_labeled_statement()</div><div class="ttdoc">Match labeled statement : IDENTIFIER ':' statement | 'case' constant_expression ':' statement | 'defa...</div></div>
<div class="ttc" id="anamespaceAstFromString_html_ada0d171a30f169d5620272c66d3d5c8c"><div class="ttname"><a href="namespaceAstFromString.html#ada0d171a30f169d5620272c66d3d5c8c">AstFromString::afs_is_digit</a></div><div class="ttdeci">bool afs_is_digit()</div><div class="ttdoc">Check if the current character is a digit. The current position of the input string remains unchanged...</div></div>
<div class="ttc" id="anamespaceAstFromString_html_adea9b7b6a3129e95eaaf5b44768debd7"><div class="ttname"><a href="namespaceAstFromString.html#adea9b7b6a3129e95eaaf5b44768debd7">AstFromString::afs_match_logical_and_expression</a></div><div class="ttdeci">ROSE_DLL_API bool afs_match_logical_and_expression()</div><div class="ttdoc">logical_and_expression : inclusive_or_expression ('&&' inclusive_or_expression)*</div></div>
<div class="ttc" id="anamespaceAstFromString_html_adffcd96393312fbc2a7663928737f4d4"><div class="ttname"><a href="namespaceAstFromString.html#adffcd96393312fbc2a7663928737f4d4">AstFromString::afs_match_inclusive_or_expression</a></div><div class="ttdeci">ROSE_DLL_API bool afs_match_inclusive_or_expression()</div><div class="ttdoc">inclusive_or_expression : exclusive_or_expression ('|' exclusive_or_expression)*</div></div>
<div class="ttc" id="anamespaceAstFromString_html_ae05f5bbc17d0013edda8a49c4d29fae0"><div class="ttname"><a href="namespaceAstFromString.html#ae05f5bbc17d0013edda8a49c4d29fae0">AstFromString::afs_match_function_definition</a></div><div class="ttdeci">ROSE_DLL_API bool afs_match_function_definition()</div><div class="ttdoc">Match a function definition. Not yet implemented.</div></div>
<div class="ttc" id="anamespaceAstFromString_html_ae3e904914c0f884224caffaac71aed92"><div class="ttname"><a href="namespaceAstFromString.html#ae3e904914c0f884224caffaac71aed92">AstFromString::afs_match_double_const</a></div><div class="ttdeci">ROSE_DLL_API bool afs_match_double_const(double *result)</div><div class="ttdoc">Match an double constant, store it into result.</div></div>
<div class="ttc" id="anamespaceAstFromString_html_ae491485f86289feb92b584f5b1497347"><div class="ttname"><a href="namespaceAstFromString.html#ae491485f86289feb92b584f5b1497347">AstFromString::afs_match_declaration</a></div><div class="ttdeci">ROSE_DLL_API bool afs_match_declaration()</div><div class="ttdoc">Match a declaration. Only the simplest int i=9; style declaration is supported for now.</div></div>
<div class="ttc" id="anamespaceAstFromString_html_ae5208cd6d0a46d28d22097b59d34f7ef"><div class="ttname"><a href="namespaceAstFromString.html#ae5208cd6d0a46d28d22097b59d34f7ef">AstFromString::afs_match_lvalue</a></div><div class="ttdeci">ROSE_DLL_API bool afs_match_lvalue()</div><div class="ttdoc">lvalue: unary_expression</div></div>
<div class="ttc" id="anamespaceAstFromString_html_aeb9caed7be42daf11a88f49feb914d59"><div class="ttname"><a href="namespaceAstFromString.html#aeb9caed7be42daf11a88f49feb914d59">AstFromString::afs_match_init_declarator</a></div><div class="ttdeci">ROSE_DLL_API bool afs_match_init_declarator(SgType *orig_type, SgType **mod_type, SgName **sname, SgExpression **initializer)</div><div class="ttdoc">Match init declarator. Store created mod_type, name, and initializer. Original type is needed as inpu...</div></div>
<div class="ttc" id="anamespaceAstFromString_html_af2458e8de86ce3b18fb8126d28137e8f"><div class="ttname"><a href="namespaceAstFromString.html#af2458e8de86ce3b18fb8126d28137e8f">AstFromString::afs_match_declarator</a></div><div class="ttdeci">ROSE_DLL_API bool afs_match_declarator(SgType *orig_type, SgType **modified_type)</div><div class="ttdoc">Match a declarator.</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Aug 3 2026 08:54:17 for ROSE by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>