1 | <html> |
---|
2 | <head> |
---|
3 | <title>Ogre::Compiler2Pass::LexemeTokenDef struct Reference - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
---|
4 | <link type="text/css" rel="stylesheet" href="style.css"> |
---|
5 | </head> |
---|
6 | |
---|
7 | <body> |
---|
8 | <!-- Generated by Doxygen 1.3.6 --> |
---|
9 | <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a> | <a class="qindex" href="pages.html">Related Pages</a></div> |
---|
10 | <h1>Ogre::Compiler2Pass::LexemeTokenDef Struct Reference</h1>structure used to build lexeme Type library |
---|
11 | <a href="#_details">More...</a> |
---|
12 | <p> |
---|
13 | <code>#include <<a class="el" href="OgreCompiler2Pass_8h-source.html">OgreCompiler2Pass.h</a>></code> |
---|
14 | <p> |
---|
15 | <a href="structOgre_1_1Compiler2Pass_1_1LexemeTokenDef-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> |
---|
16 | <tr><td></td></tr> |
---|
17 | <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> |
---|
18 | <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="structOgre_1_1Compiler2Pass_1_1LexemeTokenDef.html#Ogre_1_1Compiler2Pass_1_1LexemeTokenDefa0">LexemeTokenDef</a> (void)</td></tr> |
---|
19 | |
---|
20 | <tr><td class="mdescLeft"> </td><td class="mdescRight">text representation of token or valid characters for label parsing <a href="#Ogre_1_1Compiler2Pass_1_1LexemeTokenDefa0"></a><br><br></td></tr> |
---|
21 | <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="structOgre_1_1Compiler2Pass_1_1LexemeTokenDef.html#Ogre_1_1Compiler2Pass_1_1LexemeTokenDefa1">LexemeTokenDef</a> (const size_t <a class="el" href="structOgre_1_1Compiler2Pass_1_1LexemeTokenDef.html#Ogre_1_1Compiler2Pass_1_1LexemeTokenDefo0">ID</a>, const <a class="el" href="namespaceOgre.html#a471">String</a> &<a class="el" href="structOgre_1_1Compiler2Pass_1_1LexemeTokenDef.html#Ogre_1_1Compiler2Pass_1_1LexemeTokenDefo5">lexeme</a>, const bool <a class="el" href="structOgre_1_1Compiler2Pass_1_1LexemeTokenDef.html#Ogre_1_1Compiler2Pass_1_1LexemeTokenDefo1">hasAction</a>=false, const bool caseSensitive=false)</td></tr> |
---|
22 | |
---|
23 | <tr><td colspan=2><br><h2>Public Attributes</h2></td></tr> |
---|
24 | <tr><td class="memItemLeft" nowrap align=right valign=top>size_t </td><td class="memItemRight" valign=bottom><a class="el" href="structOgre_1_1Compiler2Pass_1_1LexemeTokenDef.html#Ogre_1_1Compiler2Pass_1_1LexemeTokenDefo0">ID</a></td></tr> |
---|
25 | |
---|
26 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="structOgre_1_1Compiler2Pass_1_1LexemeTokenDef.html#Ogre_1_1Compiler2Pass_1_1LexemeTokenDefo1">hasAction</a></td></tr> |
---|
27 | |
---|
28 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Token ID which is the index into the Lexeme Token Definition Container. <a href="#Ogre_1_1Compiler2Pass_1_1LexemeTokenDefo1"></a><br><br></td></tr> |
---|
29 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="structOgre_1_1Compiler2Pass_1_1LexemeTokenDef.html#Ogre_1_1Compiler2Pass_1_1LexemeTokenDefo2">isNonTerminal</a></td></tr> |
---|
30 | |
---|
31 | <tr><td class="mdescLeft"> </td><td class="mdescRight">has an action associated with it. only applicable to terminal tokens <a href="#Ogre_1_1Compiler2Pass_1_1LexemeTokenDefo2"></a><br><br></td></tr> |
---|
32 | <tr><td class="memItemLeft" nowrap align=right valign=top>size_t </td><td class="memItemRight" valign=bottom><a class="el" href="structOgre_1_1Compiler2Pass_1_1LexemeTokenDef.html#Ogre_1_1Compiler2Pass_1_1LexemeTokenDefo3">ruleID</a></td></tr> |
---|
33 | |
---|
34 | <tr><td class="mdescLeft"> </td><td class="mdescRight">if true then token is non-terminal <a href="#Ogre_1_1Compiler2Pass_1_1LexemeTokenDefo3"></a><br><br></td></tr> |
---|
35 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="structOgre_1_1Compiler2Pass_1_1LexemeTokenDef.html#Ogre_1_1Compiler2Pass_1_1LexemeTokenDefo4">isCaseSensitive</a></td></tr> |
---|
36 | |
---|
37 | <tr><td class="mdescLeft"> </td><td class="mdescRight">index into Rule database for non-terminal token rulepath and lexeme <a href="#Ogre_1_1Compiler2Pass_1_1LexemeTokenDefo4"></a><br><br></td></tr> |
---|
38 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a471">String</a> </td><td class="memItemRight" valign=bottom><a class="el" href="structOgre_1_1Compiler2Pass_1_1LexemeTokenDef.html#Ogre_1_1Compiler2Pass_1_1LexemeTokenDefo5">lexeme</a></td></tr> |
---|
39 | |
---|
40 | <tr><td class="mdescLeft"> </td><td class="mdescRight">if true use case sensitivity when comparing lexeme to source <a href="#Ogre_1_1Compiler2Pass_1_1LexemeTokenDefo5"></a><br><br></td></tr> |
---|
41 | </table> |
---|
42 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
43 | structure used to build lexeme Type library |
---|
44 | <p> |
---|
45 | |
---|
46 | <p> |
---|
47 | Definition at line <a class="el" href="OgreCompiler2Pass_8h-source.html#l00163">163</a> of file <a class="el" href="OgreCompiler2Pass_8h-source.html">OgreCompiler2Pass.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> |
---|
48 | <a class="anchor" name="Ogre_1_1Compiler2Pass_1_1LexemeTokenDefa0" doxytag="Ogre::Compiler2Pass::LexemeTokenDef::LexemeTokenDef" ></a><p> |
---|
49 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
50 | <tr> |
---|
51 | <td class="mdRow"> |
---|
52 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
53 | <tr> |
---|
54 | <td class="md" nowrap valign="top"> Ogre::Compiler2Pass::LexemeTokenDef::LexemeTokenDef </td> |
---|
55 | <td class="md" valign="top">( </td> |
---|
56 | <td class="md" nowrap valign="top">void </td> |
---|
57 | <td class="mdname1" valign="top" nowrap> </td> |
---|
58 | <td class="md" valign="top"> ) </td> |
---|
59 | <td class="md" nowrap></td> |
---|
60 | </tr> |
---|
61 | |
---|
62 | </table> |
---|
63 | </td> |
---|
64 | </tr> |
---|
65 | </table> |
---|
66 | <table cellspacing=5 cellpadding=0 border=0> |
---|
67 | <tr> |
---|
68 | <td> |
---|
69 | |
---|
70 | </td> |
---|
71 | <td> |
---|
72 | |
---|
73 | <p> |
---|
74 | text representation of token or valid characters for label parsing |
---|
75 | <p> |
---|
76 | |
---|
77 | <p> |
---|
78 | Definition at line <a class="el" href="OgreCompiler2Pass_8h-source.html#l00172">172</a> of file <a class="el" href="OgreCompiler2Pass_8h-source.html">OgreCompiler2Pass.h</a>. </td> |
---|
79 | </tr> |
---|
80 | </table> |
---|
81 | <a class="anchor" name="Ogre_1_1Compiler2Pass_1_1LexemeTokenDefa1" doxytag="Ogre::Compiler2Pass::LexemeTokenDef::LexemeTokenDef" ></a><p> |
---|
82 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
83 | <tr> |
---|
84 | <td class="mdRow"> |
---|
85 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
86 | <tr> |
---|
87 | <td class="md" nowrap valign="top"> Ogre::Compiler2Pass::LexemeTokenDef::LexemeTokenDef </td> |
---|
88 | <td class="md" valign="top">( </td> |
---|
89 | <td class="md" nowrap valign="top">const size_t </td> |
---|
90 | <td class="mdname" nowrap> <em>ID</em>, </td> |
---|
91 | </tr> |
---|
92 | <tr> |
---|
93 | <td class="md" nowrap align="right"></td> |
---|
94 | <td></td> |
---|
95 | <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a471">String</a> & </td> |
---|
96 | <td class="mdname" nowrap> <em>lexeme</em>, </td> |
---|
97 | </tr> |
---|
98 | <tr> |
---|
99 | <td class="md" nowrap align="right"></td> |
---|
100 | <td></td> |
---|
101 | <td class="md" nowrap>const bool </td> |
---|
102 | <td class="mdname" nowrap> <em>hasAction</em> = false, </td> |
---|
103 | </tr> |
---|
104 | <tr> |
---|
105 | <td class="md" nowrap align="right"></td> |
---|
106 | <td></td> |
---|
107 | <td class="md" nowrap>const bool </td> |
---|
108 | <td class="mdname" nowrap> <em>caseSensitive</em> = false</td> |
---|
109 | </tr> |
---|
110 | <tr> |
---|
111 | <td></td> |
---|
112 | <td class="md">) </td> |
---|
113 | <td class="md" colspan="2"></td> |
---|
114 | </tr> |
---|
115 | |
---|
116 | </table> |
---|
117 | </td> |
---|
118 | </tr> |
---|
119 | </table> |
---|
120 | <table cellspacing=5 cellpadding=0 border=0> |
---|
121 | <tr> |
---|
122 | <td> |
---|
123 | |
---|
124 | </td> |
---|
125 | <td> |
---|
126 | |
---|
127 | <p> |
---|
128 | |
---|
129 | <p> |
---|
130 | Definition at line <a class="el" href="OgreCompiler2Pass_8h-source.html#l00173">173</a> of file <a class="el" href="OgreCompiler2Pass_8h-source.html">OgreCompiler2Pass.h</a>. |
---|
131 | <p> |
---|
132 | References <a class="el" href="OgrePrerequisites_8h-source.html#l00156">Ogre::String</a>. </td> |
---|
133 | </tr> |
---|
134 | </table> |
---|
135 | <hr><h2>Member Data Documentation</h2> |
---|
136 | <a class="anchor" name="Ogre_1_1Compiler2Pass_1_1LexemeTokenDefo1" doxytag="Ogre::Compiler2Pass::LexemeTokenDef::hasAction" ></a><p> |
---|
137 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
138 | <tr> |
---|
139 | <td class="mdRow"> |
---|
140 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
141 | <tr> |
---|
142 | <td class="md" nowrap valign="top"> bool <a class="el" href="structOgre_1_1Compiler2Pass_1_1LexemeTokenDef.html#Ogre_1_1Compiler2Pass_1_1LexemeTokenDefo1">Ogre::Compiler2Pass::LexemeTokenDef::hasAction</a> |
---|
143 | </table> |
---|
144 | </td> |
---|
145 | </tr> |
---|
146 | </table> |
---|
147 | <table cellspacing=5 cellpadding=0 border=0> |
---|
148 | <tr> |
---|
149 | <td> |
---|
150 | |
---|
151 | </td> |
---|
152 | <td> |
---|
153 | |
---|
154 | <p> |
---|
155 | Token ID which is the index into the Lexeme Token Definition Container. |
---|
156 | <p> |
---|
157 | |
---|
158 | <p> |
---|
159 | Definition at line <a class="el" href="OgreCompiler2Pass_8h-source.html#l00166">166</a> of file <a class="el" href="OgreCompiler2Pass_8h-source.html">OgreCompiler2Pass.h</a>. </td> |
---|
160 | </tr> |
---|
161 | </table> |
---|
162 | <a class="anchor" name="Ogre_1_1Compiler2Pass_1_1LexemeTokenDefo0" doxytag="Ogre::Compiler2Pass::LexemeTokenDef::ID" ></a><p> |
---|
163 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
164 | <tr> |
---|
165 | <td class="mdRow"> |
---|
166 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
167 | <tr> |
---|
168 | <td class="md" nowrap valign="top"> size_t <a class="el" href="structOgre_1_1Compiler2Pass_1_1LexemeTokenDef.html#Ogre_1_1Compiler2Pass_1_1LexemeTokenDefo0">Ogre::Compiler2Pass::LexemeTokenDef::ID</a> |
---|
169 | </table> |
---|
170 | </td> |
---|
171 | </tr> |
---|
172 | </table> |
---|
173 | <table cellspacing=5 cellpadding=0 border=0> |
---|
174 | <tr> |
---|
175 | <td> |
---|
176 | |
---|
177 | </td> |
---|
178 | <td> |
---|
179 | |
---|
180 | <p> |
---|
181 | |
---|
182 | <p> |
---|
183 | Definition at line <a class="el" href="OgreCompiler2Pass_8h-source.html#l00165">165</a> of file <a class="el" href="OgreCompiler2Pass_8h-source.html">OgreCompiler2Pass.h</a>. </td> |
---|
184 | </tr> |
---|
185 | </table> |
---|
186 | <a class="anchor" name="Ogre_1_1Compiler2Pass_1_1LexemeTokenDefo4" doxytag="Ogre::Compiler2Pass::LexemeTokenDef::isCaseSensitive" ></a><p> |
---|
187 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
188 | <tr> |
---|
189 | <td class="mdRow"> |
---|
190 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
191 | <tr> |
---|
192 | <td class="md" nowrap valign="top"> bool <a class="el" href="structOgre_1_1Compiler2Pass_1_1LexemeTokenDef.html#Ogre_1_1Compiler2Pass_1_1LexemeTokenDefo4">Ogre::Compiler2Pass::LexemeTokenDef::isCaseSensitive</a> |
---|
193 | </table> |
---|
194 | </td> |
---|
195 | </tr> |
---|
196 | </table> |
---|
197 | <table cellspacing=5 cellpadding=0 border=0> |
---|
198 | <tr> |
---|
199 | <td> |
---|
200 | |
---|
201 | </td> |
---|
202 | <td> |
---|
203 | |
---|
204 | <p> |
---|
205 | index into Rule database for non-terminal token rulepath and lexeme |
---|
206 | <p> |
---|
207 | |
---|
208 | <p> |
---|
209 | Definition at line <a class="el" href="OgreCompiler2Pass_8h-source.html#l00169">169</a> of file <a class="el" href="OgreCompiler2Pass_8h-source.html">OgreCompiler2Pass.h</a>. </td> |
---|
210 | </tr> |
---|
211 | </table> |
---|
212 | <a class="anchor" name="Ogre_1_1Compiler2Pass_1_1LexemeTokenDefo2" doxytag="Ogre::Compiler2Pass::LexemeTokenDef::isNonTerminal" ></a><p> |
---|
213 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
214 | <tr> |
---|
215 | <td class="mdRow"> |
---|
216 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
217 | <tr> |
---|
218 | <td class="md" nowrap valign="top"> bool <a class="el" href="structOgre_1_1Compiler2Pass_1_1LexemeTokenDef.html#Ogre_1_1Compiler2Pass_1_1LexemeTokenDefo2">Ogre::Compiler2Pass::LexemeTokenDef::isNonTerminal</a> |
---|
219 | </table> |
---|
220 | </td> |
---|
221 | </tr> |
---|
222 | </table> |
---|
223 | <table cellspacing=5 cellpadding=0 border=0> |
---|
224 | <tr> |
---|
225 | <td> |
---|
226 | |
---|
227 | </td> |
---|
228 | <td> |
---|
229 | |
---|
230 | <p> |
---|
231 | has an action associated with it. only applicable to terminal tokens |
---|
232 | <p> |
---|
233 | |
---|
234 | <p> |
---|
235 | Definition at line <a class="el" href="OgreCompiler2Pass_8h-source.html#l00167">167</a> of file <a class="el" href="OgreCompiler2Pass_8h-source.html">OgreCompiler2Pass.h</a>. </td> |
---|
236 | </tr> |
---|
237 | </table> |
---|
238 | <a class="anchor" name="Ogre_1_1Compiler2Pass_1_1LexemeTokenDefo5" doxytag="Ogre::Compiler2Pass::LexemeTokenDef::lexeme" ></a><p> |
---|
239 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
240 | <tr> |
---|
241 | <td class="mdRow"> |
---|
242 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
243 | <tr> |
---|
244 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a471">String</a> <a class="el" href="structOgre_1_1Compiler2Pass_1_1LexemeTokenDef.html#Ogre_1_1Compiler2Pass_1_1LexemeTokenDefo5">Ogre::Compiler2Pass::LexemeTokenDef::lexeme</a> |
---|
245 | </table> |
---|
246 | </td> |
---|
247 | </tr> |
---|
248 | </table> |
---|
249 | <table cellspacing=5 cellpadding=0 border=0> |
---|
250 | <tr> |
---|
251 | <td> |
---|
252 | |
---|
253 | </td> |
---|
254 | <td> |
---|
255 | |
---|
256 | <p> |
---|
257 | if true use case sensitivity when comparing lexeme to source |
---|
258 | <p> |
---|
259 | |
---|
260 | <p> |
---|
261 | Definition at line <a class="el" href="OgreCompiler2Pass_8h-source.html#l00170">170</a> of file <a class="el" href="OgreCompiler2Pass_8h-source.html">OgreCompiler2Pass.h</a>. </td> |
---|
262 | </tr> |
---|
263 | </table> |
---|
264 | <a class="anchor" name="Ogre_1_1Compiler2Pass_1_1LexemeTokenDefo3" doxytag="Ogre::Compiler2Pass::LexemeTokenDef::ruleID" ></a><p> |
---|
265 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
266 | <tr> |
---|
267 | <td class="mdRow"> |
---|
268 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
269 | <tr> |
---|
270 | <td class="md" nowrap valign="top"> size_t <a class="el" href="structOgre_1_1Compiler2Pass_1_1LexemeTokenDef.html#Ogre_1_1Compiler2Pass_1_1LexemeTokenDefo3">Ogre::Compiler2Pass::LexemeTokenDef::ruleID</a> |
---|
271 | </table> |
---|
272 | </td> |
---|
273 | </tr> |
---|
274 | </table> |
---|
275 | <table cellspacing=5 cellpadding=0 border=0> |
---|
276 | <tr> |
---|
277 | <td> |
---|
278 | |
---|
279 | </td> |
---|
280 | <td> |
---|
281 | |
---|
282 | <p> |
---|
283 | if true then token is non-terminal |
---|
284 | <p> |
---|
285 | |
---|
286 | <p> |
---|
287 | Definition at line <a class="el" href="OgreCompiler2Pass_8h-source.html#l00168">168</a> of file <a class="el" href="OgreCompiler2Pass_8h-source.html">OgreCompiler2Pass.h</a>. </td> |
---|
288 | </tr> |
---|
289 | </table> |
---|
290 | <hr>The documentation for this struct was generated from the following file:<ul> |
---|
291 | <li><a class="el" href="OgreCompiler2Pass_8h-source.html">OgreCompiler2Pass.h</a></ul> |
---|
292 | <hr> |
---|
293 | <p> |
---|
294 | Copyright © 2000-2005 by The OGRE Team<br /> |
---|
295 | <!--Creative Commons License--><a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/"><img alt="Creative Commons License" border="0" src="http://creativecommons.org/images/public/somerights20.png"/></a><br/> |
---|
296 | This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/">Creative Commons Attribution-ShareAlike 2.5 License</a>.<br/> |
---|
297 | <!--/Creative Commons License--><!-- <rdf:RDF xmlns="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> |
---|
298 | <Work rdf:about=""> |
---|
299 | <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" /> |
---|
300 | <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" /> |
---|
301 | </Work> |
---|
302 | <License rdf:about="http://creativecommons.org/licenses/by-sa/2.5/"><permits rdf:resource="http://web.resource.org/cc/Reproduction"/><permits rdf:resource="http://web.resource.org/cc/Distribution"/><requires rdf:resource="http://web.resource.org/cc/Notice"/><requires rdf:resource="http://web.resource.org/cc/Attribution"/><permits rdf:resource="http://web.resource.org/cc/DerivativeWorks"/><requires rdf:resource="http://web.resource.org/cc/ShareAlike"/></License></rdf:RDF> --> |
---|
303 | |
---|
304 | Last modified Sun Mar 12 14:38:25 2006 |
---|
305 | </p> |
---|
306 | </body> |
---|
307 | </html> |
---|