Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > f6ec3de51c94922f2240c0767594dcf5 > files > 3291

antlr3-C-docs-3.2-14.fc15.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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"/>
<title>ANTLR3C: ANTLR3_LEX_STATE_struct Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.3 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">ANTLR3C&#160;<span id="projectnumber">3.1.2</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="classes.html"><span>Data&#160;Structure&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('struct_a_n_t_l_r3___l_e_x___s_t_a_t_e__struct.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<h1>ANTLR3_LEX_STATE_struct Struct Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="ANTLR3_LEX_STATE_struct" -->
<p>Structure for track lex input states as part of <a class="el" href="antlr3commontreenodestream_8c.html#a0ddd24ffd4326d1375a3314e6a5040a1" title="Mark the state of the input stream so that we can come back to it after a syntactic predicate and so ...">mark()</a> and rewind() of lexer.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;antlr3input.h&gt;</code></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="antlr3defs_8h.html#a6faef5c4687f8eb633d2aefea93973ca">ANTLR3_INT32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_a_n_t_l_r3___l_e_x___s_t_a_t_e__struct.html#a73739086ab0955aa12c5e9d1242df682">charPositionInLine</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The offset within the current line of the current character.  <a href="#a73739086ab0955aa12c5e9d1242df682"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_a_n_t_l_r3___l_e_x___s_t_a_t_e__struct.html#a02f3890c40ac5408967b59943261c90c">currentLine</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Pointer into the input buffer where the current line started.  <a href="#a02f3890c40ac5408967b59943261c90c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="antlr3defs_8h.html#ac41f744abd0fd25144b9eb9d11b1dfd1">ANTLR3_UINT32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_a_n_t_l_r3___l_e_x___s_t_a_t_e__struct.html#a00999851e4d46ac4cd60e3be5c0bac13">line</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The line number we are traversing in the input file.  <a href="#a00999851e4d46ac4cd60e3be5c0bac13"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_a_n_t_l_r3___l_e_x___s_t_a_t_e__struct.html#ac1a199a9d03827b5a0f4903c471a8823">nextChar</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Pointer to the next character to be consumed from the input data This is cast to point at the encoding of the original file that was read by the functions installed as pointer in this input stream context instance at file/string/whatever load time.  <a href="#ac1a199a9d03827b5a0f4903c471a8823"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Structure for track lex input states as part of <a class="el" href="antlr3commontreenodestream_8c.html#a0ddd24ffd4326d1375a3314e6a5040a1" title="Mark the state of the input stream so that we can come back to it after a syntactic predicate and so ...">mark()</a> and rewind() of lexer. </p>
</div><hr/><h2>Field Documentation</h2>
<a class="anchor" id="a73739086ab0955aa12c5e9d1242df682"></a><!-- doxytag: member="ANTLR3_LEX_STATE_struct::charPositionInLine" ref="a73739086ab0955aa12c5e9d1242df682" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="antlr3defs_8h.html#a6faef5c4687f8eb633d2aefea93973ca">ANTLR3_INT32</a> <a class="el" href="struct_a_n_t_l_r3___l_e_x___s_t_a_t_e__struct.html#a73739086ab0955aa12c5e9d1242df682">ANTLR3_LEX_STATE_struct::charPositionInLine</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The offset within the current line of the current character. </p>

<p>Referenced by <a class="el" href="antlr3inputstream_8c.html#aaa06c4ab344d09c0dc34bb7a72a71c90">antlr3AsciiMark()</a>, and <a class="el" href="antlr3inputstream_8c.html#a66ed7e1476c1a41d910643ccd36590dd">antlr3AsciiRewind()</a>.</p>

</div>
</div>
<a class="anchor" id="a02f3890c40ac5408967b59943261c90c"></a><!-- doxytag: member="ANTLR3_LEX_STATE_struct::currentLine" ref="a02f3890c40ac5408967b59943261c90c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* <a class="el" href="struct_a_n_t_l_r3___l_e_x___s_t_a_t_e__struct.html#a02f3890c40ac5408967b59943261c90c">ANTLR3_LEX_STATE_struct::currentLine</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Pointer into the input buffer where the current line started. </p>

<p>Referenced by <a class="el" href="antlr3inputstream_8c.html#aaa06c4ab344d09c0dc34bb7a72a71c90">antlr3AsciiMark()</a>, and <a class="el" href="antlr3inputstream_8c.html#a66ed7e1476c1a41d910643ccd36590dd">antlr3AsciiRewind()</a>.</p>

</div>
</div>
<a class="anchor" id="a00999851e4d46ac4cd60e3be5c0bac13"></a><!-- doxytag: member="ANTLR3_LEX_STATE_struct::line" ref="a00999851e4d46ac4cd60e3be5c0bac13" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="antlr3defs_8h.html#ac41f744abd0fd25144b9eb9d11b1dfd1">ANTLR3_UINT32</a> <a class="el" href="struct_a_n_t_l_r3___l_e_x___s_t_a_t_e__struct.html#a00999851e4d46ac4cd60e3be5c0bac13">ANTLR3_LEX_STATE_struct::line</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The line number we are traversing in the input file. </p>
<p>This gets incremented by a newline() call in the lexer grammer actions. </p>

<p>Referenced by <a class="el" href="antlr3inputstream_8c.html#aaa06c4ab344d09c0dc34bb7a72a71c90">antlr3AsciiMark()</a>, and <a class="el" href="antlr3inputstream_8c.html#a66ed7e1476c1a41d910643ccd36590dd">antlr3AsciiRewind()</a>.</p>

</div>
</div>
<a class="anchor" id="ac1a199a9d03827b5a0f4903c471a8823"></a><!-- doxytag: member="ANTLR3_LEX_STATE_struct::nextChar" ref="ac1a199a9d03827b5a0f4903c471a8823" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* <a class="el" href="struct_a_n_t_l_r3___l_e_x___s_t_a_t_e__struct.html#ac1a199a9d03827b5a0f4903c471a8823">ANTLR3_LEX_STATE_struct::nextChar</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Pointer to the next character to be consumed from the input data This is cast to point at the encoding of the original file that was read by the functions installed as pointer in this input stream context instance at file/string/whatever load time. </p>

<p>Referenced by <a class="el" href="antlr3inputstream_8c.html#aaa06c4ab344d09c0dc34bb7a72a71c90">antlr3AsciiMark()</a>, and <a class="el" href="antlr3inputstream_8c.html#a66ed7e1476c1a41d910643ccd36590dd">antlr3AsciiRewind()</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>include/<a class="el" href="antlr3input_8h.html">antlr3input.h</a></li>
</ul>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="struct_a_n_t_l_r3___l_e_x___s_t_a_t_e__struct.html">ANTLR3_LEX_STATE_struct</a>      </li>
      <li class="footer">Generated on Tue Feb 8 2011 for ANTLR3C by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
    </ul>
  </div>

</body>
</html>