doc/AutoC.html in autoc-1.2 vs doc/AutoC.html in autoc-1.3

- old
+ new

@@ -78,11 +78,11 @@ <dt class="r1 last">Defined in:</dt> <dd class="r1 last">lib/autoc.rb<span class="defines">,<br /> - lib/autoc/type.rb,<br /> lib/autoc/code.rb,<br /> lib/autoc/collection.rb,<br /> lib/autoc/collection/list.rb,<br /> lib/autoc/collection/queue.rb,<br /> lib/autoc/collection/vector.rb,<br /> lib/autoc/collection/hash_set.rb,<br /> lib/autoc/collection/hash_map.rb</span> + lib/autoc/type.rb,<br /> lib/autoc/code.rb,<br /> lib/autoc/string.rb,<br /> lib/autoc/collection.rb,<br /> lib/autoc/collection/list.rb,<br /> lib/autoc/collection/queue.rb,<br /> lib/autoc/collection/vector.rb,<br /> lib/autoc/collection/hash_map.rb,<br /> lib/autoc/collection/hash_set.rb</span> </dd> </dl> <div class="clear"></div> @@ -98,10 +98,13 @@ </li> <li> <p><span class='object_link'><a href="AutoC/Collection.html" title="AutoC::Collection (class)">Collection</a></span> strongly-typed data structure generators similar to the C++ STL container classes.</p> </li> +<li> +<p><span class='object_link'><a href="AutoC/String.html" title="AutoC::String (class)">String</a></span> wrapper around the standard C string with string building capability.</p> +</li> </ol> </div> <div class="sect1"> <h2 id="_versioning_scheme">Versioning scheme</h2> <div class="sectionbody"> @@ -133,11 +136,11 @@ <strong class="modules">Modules:</strong> <span class='object_link'><a href="AutoC/Priority.html" title="AutoC::Priority (module)">Priority</a></span> - <strong class="classes">Classes:</strong> <span class='object_link'><a href="AutoC/Code.html" title="AutoC::Code (class)">Code</a></span>, <span class='object_link'><a href="AutoC/Collection.html" title="AutoC::Collection (class)">Collection</a></span>, <span class='object_link'><a href="AutoC/HashMap.html" title="AutoC::HashMap (class)">HashMap</a></span>, <span class='object_link'><a href="AutoC/HashSet.html" title="AutoC::HashSet (class)">HashSet</a></span>, <span class='object_link'><a href="AutoC/List.html" title="AutoC::List (class)">List</a></span>, <span class='object_link'><a href="AutoC/Module.html" title="AutoC::Module (class)">Module</a></span>, <span class='object_link'><a href="AutoC/Queue.html" title="AutoC::Queue (class)">Queue</a></span>, <span class='object_link'><a href="AutoC/Reference.html" title="AutoC::Reference (class)">Reference</a></span>, <span class='object_link'><a href="AutoC/Type.html" title="AutoC::Type (class)">Type</a></span>, <span class='object_link'><a href="AutoC/UserDefinedType.html" title="AutoC::UserDefinedType (class)">UserDefinedType</a></span>, <span class='object_link'><a href="AutoC/Vector.html" title="AutoC::Vector (class)">Vector</a></span> + <strong class="classes">Classes:</strong> <span class='object_link'><a href="AutoC/Code.html" title="AutoC::Code (class)">Code</a></span>, <span class='object_link'><a href="AutoC/Collection.html" title="AutoC::Collection (class)">Collection</a></span>, <span class='object_link'><a href="AutoC/HashMap.html" title="AutoC::HashMap (class)">HashMap</a></span>, <span class='object_link'><a href="AutoC/HashSet.html" title="AutoC::HashSet (class)">HashSet</a></span>, <span class='object_link'><a href="AutoC/List.html" title="AutoC::List (class)">List</a></span>, <span class='object_link'><a href="AutoC/Module.html" title="AutoC::Module (class)">Module</a></span>, <span class='object_link'><a href="AutoC/Queue.html" title="AutoC::Queue (class)">Queue</a></span>, <span class='object_link'><a href="AutoC/Reference.html" title="AutoC::Reference (class)">Reference</a></span>, <span class='object_link'><a href="AutoC/String.html" title="AutoC::String (class)">String</a></span>, <span class='object_link'><a href="AutoC/Type.html" title="AutoC::Type (class)">Type</a></span>, <span class='object_link'><a href="AutoC/UserDefinedType.html" title="AutoC::UserDefinedType (class)">UserDefinedType</a></span>, <span class='object_link'><a href="AutoC/Vector.html" title="AutoC::Vector (class)">Vector</a></span> </p> <h2>Constant Summary</h2> @@ -145,11 +148,11 @@ <dl class="constants"> <dt id="VERSION-constant" class="">VERSION = </dt> - <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>1.2</span><span class='tstring_end'>&quot;</span></span></pre></dd> + <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>1.3</span><span class='tstring_end'>&quot;</span></span></pre></dd> </dl> @@ -239,10 +242,23 @@ </div> </div> <div class="tags"> +<p class="tag_title">Raises:</p> +<ul class="raise"> + + <li> + + + <span class='type'>(<tt>NameError</tt>)</span> + + + + </li> + +</ul> </div><table class="source_code"> <tr> <td> <pre class="lines"> @@ -257,12 +273,12 @@ <td> <pre class="code"><span class="info file"># File 'lib/autoc/code.rb', line 22</span> <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_c_id'>c_id</span><span class='lparen'>(</span><span class='id identifier rubyid_obj'>obj</span><span class='rparen'>)</span> <span class='id identifier rubyid_obj'>obj</span> <span class='op'>=</span> <span class='id identifier rubyid_obj'>obj</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span> - <span class='comment'>#raise NameError.new(&quot;#{obj} is not a valid C identifier&quot;, obj) if (/^[_a-zA-Z]\w*$/ =~ obj).nil? -</span> <span class='id identifier rubyid_obj'>obj</span> + <span class='id identifier rubyid_raise'>raise</span> <span class='const'>NameError</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>&#39;</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_obj'>obj</span><span class='embexpr_end'>}</span><span class='tstring_content'>&#39; is not a valid C identifier</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_obj'>obj</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>^[_a-zA-Z]\w*$</span><span class='regexp_end'>/</span></span> <span class='op'>=~</span> <span class='id identifier rubyid_obj'>obj</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> + <span class='id identifier rubyid_obj'>obj</span> <span class='kw'>end</span></pre> </td> </tr> </table> </div> @@ -304,12 +320,12 @@ </div> </div> <div id="footer"> - Generated on Sat Nov 22 16:58:03 2014 by + Generated on Thu Mar 17 13:32:50 2016 by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a> - 0.8.7.6 (ruby-2.1.5). + 0.8.7.6 (ruby-2.2.4). </div> </body> </html> \ No newline at end of file