info ">
<div class="info-desc">
<p>Create a lexer buffer on the given input channel.
   <code class="code"><span class="constructor">Lexing</span>.from_channel&nbsp;inchan</code> returns a lexer buffer which reads
   from the input channel <code class="code">inchan</code>, at the current reading position.</p>
</div>
</div>

<pre><span id="VALfrom_string"><span class="keyword">val</span> from_string</span> : <code class="type">string -&gt; <a href="Lexing.html#TYPElexbuf">lexbuf</a></code></pre><div class="i