123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800 |
- <!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" xml:lang="en" lang="en">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>
- Class: Clangc::Type
-
- — Documentation by YARD 0.8.7.6
-
- </title>
- <link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
- <link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
- <script type="text/javascript" charset="utf-8">
- hasFrames = window.top.frames.main ? true : false;
- relpath = '../';
- framesUrl = "../frames.html#!Clangc/Type.html";
- </script>
- <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
- <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
- </head>
- <body>
- <div id="header">
- <div id="menu">
-
- <a href="../_index.html">Index (T)</a> »
- <span class='title'><span class='object_link'><a href="../Clangc.html" title="Clangc (module)">Clangc</a></span></span>
- »
- <span class="title">Type</span>
-
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
- </div>
- <div id="search">
-
- <a class="full_list_link" id="class_list_link"
- href="../class_list.html">
- Class List
- </a>
-
- <a class="full_list_link" id="method_list_link"
- href="../method_list.html">
- Method List
- </a>
-
- <a class="full_list_link" id="file_list_link"
- href="../file_list.html">
- File List
- </a>
-
- </div>
- <div class="clear"></div>
- </div>
- <iframe id="search_frame"></iframe>
- <div id="content"><h1>Class: Clangc::Type
-
-
-
- </h1>
- <dl class="box">
-
- <dt class="r1">Inherits:</dt>
- <dd class="r1">
- <span class="inheritName">Object</span>
-
- <ul class="fullTree">
- <li>Object</li>
-
- <li class="next">Clangc::Type</li>
-
- </ul>
- <a href="#" class="inheritanceTree">show all</a>
-
- </dd>
-
-
-
-
-
-
-
-
-
- <dt class="r2 last">Defined in:</dt>
- <dd class="r2 last">ext/clangc/clangc.c<span class="defines">,<br />
- lib/clangc.rb</span>
- </dd>
-
- </dl>
- <div class="clear"></div>
-
- <h2>
- Instance Method Summary
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
- </h2>
- <ul class="summary">
-
- <li class="public ">
- <span class="summary_signature">
-
- <a href="#arg_type-instance_method" title="#arg_type (instance method)">- (Object) <strong>arg_type</strong> </a>
-
-
- </span>
-
-
-
-
-
-
-
-
- <span class="summary_desc"><div class='inline'></div></span>
-
- </li>
-
- <li class="public ">
- <span class="summary_signature">
-
- <a href="#arg_types-instance_method" title="#arg_types (instance method)">- (Object) <strong>arg_types</strong> </a>
-
-
- </span>
-
-
-
-
-
-
-
-
- <span class="summary_desc"><div class='inline'>
- <p>:call-seq: Clangc::Type#arg_types -> Array.</p>
- </div></span>
-
- </li>
-
- <li class="public ">
- <span class="summary_signature">
-
- <a href="#array_element_type-instance_method" title="#array_element_type (instance method)">- (Object) <strong>array_element_type</strong> </a>
-
-
- </span>
-
-
-
-
-
-
-
-
- <span class="summary_desc"><div class='inline'></div></span>
-
- </li>
-
- <li class="public ">
- <span class="summary_signature">
-
- <a href="#array_size-instance_method" title="#array_size (instance method)">- (Object) <strong>array_size</strong> </a>
-
-
- </span>
-
-
-
-
-
-
-
-
- <span class="summary_desc"><div class='inline'></div></span>
-
- </li>
-
- <li class="public ">
- <span class="summary_signature">
-
- <a href="#calling_conv-instance_method" title="#calling_conv (instance method)">- (Object) <strong>calling_conv</strong> </a>
-
-
- </span>
-
-
-
-
-
-
-
-
- <span class="summary_desc"><div class='inline'></div></span>
-
- </li>
-
- <li class="public ">
- <span class="summary_signature">
-
- <a href="#canonical_type-instance_method" title="#canonical_type (instance method)">- (Object) <strong>canonical_type</strong> </a>
-
-
- </span>
-
-
-
-
-
-
-
-
- <span class="summary_desc"><div class='inline'></div></span>
-
- </li>
-
- <li class="public ">
- <span class="summary_signature">
-
- <a href="#element_type-instance_method" title="#element_type (instance method)">- (Object) <strong>element_type</strong> </a>
-
-
- </span>
-
-
-
-
-
-
-
-
- <span class="summary_desc"><div class='inline'></div></span>
-
- </li>
-
- <li class="public ">
- <span class="summary_signature">
-
- <a href="#is_const_qualified-instance_method" title="#is_const_qualified (instance method)">- (Object) <strong>is_const_qualified</strong> </a>
-
-
- </span>
-
-
-
-
-
-
-
-
- <span class="summary_desc"><div class='inline'></div></span>
-
- </li>
-
- <li class="public ">
- <span class="summary_signature">
-
- <a href="#is_equal-instance_method" title="#is_equal (instance method)">- (Object) <strong>is_equal</strong> </a>
-
-
- </span>
-
-
-
-
-
-
-
-
- <span class="summary_desc"><div class='inline'></div></span>
-
- </li>
-
- <li class="public ">
- <span class="summary_signature">
-
- <a href="#is_pod-instance_method" title="#is_pod (instance method)">- (Object) <strong>is_pod</strong> </a>
-
-
- </span>
-
-
-
-
-
-
-
-
- <span class="summary_desc"><div class='inline'></div></span>
-
- </li>
-
- <li class="public ">
- <span class="summary_signature">
-
- <a href="#is_restrict_qualified-instance_method" title="#is_restrict_qualified (instance method)">- (Object) <strong>is_restrict_qualified</strong> </a>
-
-
- </span>
-
-
-
-
-
-
-
-
- <span class="summary_desc"><div class='inline'></div></span>
-
- </li>
-
- <li class="public ">
- <span class="summary_signature">
-
- <a href="#is_volatile_qualified-instance_method" title="#is_volatile_qualified (instance method)">- (Object) <strong>is_volatile_qualified</strong> </a>
-
-
- </span>
-
-
-
-
-
-
-
-
- <span class="summary_desc"><div class='inline'></div></span>
-
- </li>
-
- <li class="public ">
- <span class="summary_signature">
-
- <a href="#kind-instance_method" title="#kind (instance method)">- (Object) <strong>kind</strong> </a>
-
-
- </span>
-
-
-
-
-
-
-
-
- <span class="summary_desc"><div class='inline'></div></span>
-
- </li>
-
- <li class="public ">
- <span class="summary_signature">
-
- <a href="#num_arg_types-instance_method" title="#num_arg_types (instance method)">- (Object) <strong>num_arg_types</strong> </a>
-
-
- </span>
-
-
-
-
-
-
-
-
- <span class="summary_desc"><div class='inline'></div></span>
-
- </li>
-
- <li class="public ">
- <span class="summary_signature">
-
- <a href="#num_elements-instance_method" title="#num_elements (instance method)">- (Object) <strong>num_elements</strong> </a>
-
-
- </span>
-
-
-
-
-
-
-
-
- <span class="summary_desc"><div class='inline'></div></span>
-
- </li>
-
- <li class="public ">
- <span class="summary_signature">
-
- <a href="#pointee_type-instance_method" title="#pointee_type (instance method)">- (Object) <strong>pointee_type</strong> </a>
-
-
- </span>
-
-
-
-
-
-
-
-
- <span class="summary_desc"><div class='inline'></div></span>
-
- </li>
-
- <li class="public ">
- <span class="summary_signature">
-
- <a href="#result_type-instance_method" title="#result_type (instance method)">- (Object) <strong>result_type</strong> </a>
-
-
- </span>
-
-
-
-
-
-
-
-
- <span class="summary_desc"><div class='inline'></div></span>
-
- </li>
-
- <li class="public ">
- <span class="summary_signature">
-
- <a href="#spelling-instance_method" title="#spelling (instance method)">- (Object) <strong>spelling</strong> </a>
-
-
- </span>
-
-
-
-
-
-
-
-
- <span class="summary_desc"><div class='inline'></div></span>
-
- </li>
-
- </ul>
-
- <div id="instance_method_details" class="method_details_list">
- <h2>Instance Method Details</h2>
-
- <div class="method_details first">
- <h3 class="signature first" id="arg_type-instance_method">
-
- - (<tt>Object</tt>) <strong>arg_type</strong>
-
-
-
- </h3>
- </div>
-
- <div class="method_details ">
- <h3 class="signature " id="arg_types-instance_method">
-
- - (<tt>Object</tt>) <strong>arg_types</strong>
-
-
-
- </h3><div class="docstring">
- <div class="discussion">
-
- <p>:call-seq: Clangc::Type#arg_types -> Array</p>
- <p>Return an array that contains all the types for the argument of the
- function that is related to the current type. If the current type is not a
- function, it returns an empty array.</p>
- </div>
- </div>
- <div class="tags">
-
- </div><table class="source_code">
- <tr>
- <td>
- <pre class="lines">
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
- 83
- 84</pre>
- </td>
- <td>
- <pre class="code"><span class="info file"># File 'lib/clangc.rb', line 75</span>
- <span class='kw'>def</span> <span class='id identifier rubyid_arg_types'>arg_types</span>
- <span class='id identifier rubyid_num'>num</span> <span class='op'>=</span> <span class='id identifier rubyid_num_arg_types'>num_arg_types</span>
- <span class='kw'>return</span> <span class='lbracket'>[</span><span class='rbracket'>]</span> <span class='kw'>if</span> <span class='id identifier rubyid_num'>num</span> <span class='op'>==</span> <span class='op'>-</span><span class='int'>1</span>
- <span class='id identifier rubyid_types'>types</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
- <span class='kw'>for</span> <span class='id identifier rubyid_i'>i</span> <span class='kw'>in</span> <span class='int'>0</span><span class='op'>..</span><span class='lparen'>(</span><span class='id identifier rubyid_num'>num</span> <span class='op'>-</span> <span class='int'>1</span><span class='rparen'>)</span> <span class='kw'>do</span>
- <span class='id identifier rubyid_types'>types</span> <span class='op'><<</span> <span class='id identifier rubyid_arg_type'>arg_type</span><span class='lparen'>(</span><span class='id identifier rubyid_i'>i</span><span class='rparen'>)</span>
- <span class='kw'>end</span>
- <span class='id identifier rubyid_types'>types</span>
- <span class='kw'>end</span></pre>
- </td>
- </tr>
- </table>
- </div>
-
- <div class="method_details ">
- <h3 class="signature " id="array_element_type-instance_method">
-
- - (<tt>Object</tt>) <strong>array_element_type</strong>
-
-
-
- </h3>
- </div>
-
- <div class="method_details ">
- <h3 class="signature " id="array_size-instance_method">
-
- - (<tt>Object</tt>) <strong>array_size</strong>
-
-
-
- </h3>
- </div>
-
- <div class="method_details ">
- <h3 class="signature " id="calling_conv-instance_method">
-
- - (<tt>Object</tt>) <strong>calling_conv</strong>
-
-
-
- </h3>
- </div>
-
- <div class="method_details ">
- <h3 class="signature " id="canonical_type-instance_method">
-
- - (<tt>Object</tt>) <strong>canonical_type</strong>
-
-
-
- </h3>
- </div>
-
- <div class="method_details ">
- <h3 class="signature " id="element_type-instance_method">
-
- - (<tt>Object</tt>) <strong>element_type</strong>
-
-
-
- </h3>
- </div>
-
- <div class="method_details ">
- <h3 class="signature " id="is_const_qualified-instance_method">
-
- - (<tt>Object</tt>) <strong>is_const_qualified</strong>
-
-
-
- </h3>
- </div>
-
- <div class="method_details ">
- <h3 class="signature " id="is_equal-instance_method">
-
- - (<tt>Object</tt>) <strong>is_equal</strong>
-
-
-
- </h3>
- </div>
-
- <div class="method_details ">
- <h3 class="signature " id="is_pod-instance_method">
-
- - (<tt>Object</tt>) <strong>is_pod</strong>
-
-
-
- </h3>
- </div>
-
- <div class="method_details ">
- <h3 class="signature " id="is_restrict_qualified-instance_method">
-
- - (<tt>Object</tt>) <strong>is_restrict_qualified</strong>
-
-
-
- </h3>
- </div>
-
- <div class="method_details ">
- <h3 class="signature " id="is_volatile_qualified-instance_method">
-
- - (<tt>Object</tt>) <strong>is_volatile_qualified</strong>
-
-
-
- </h3>
- </div>
-
- <div class="method_details ">
- <h3 class="signature " id="kind-instance_method">
-
- - (<tt>Object</tt>) <strong>kind</strong>
-
-
-
- </h3>
- </div>
-
- <div class="method_details ">
- <h3 class="signature " id="num_arg_types-instance_method">
-
- - (<tt>Object</tt>) <strong>num_arg_types</strong>
-
-
-
- </h3>
- </div>
-
- <div class="method_details ">
- <h3 class="signature " id="num_elements-instance_method">
-
- - (<tt>Object</tt>) <strong>num_elements</strong>
-
-
-
- </h3>
- </div>
-
- <div class="method_details ">
- <h3 class="signature " id="pointee_type-instance_method">
-
- - (<tt>Object</tt>) <strong>pointee_type</strong>
-
-
-
- </h3>
- </div>
-
- <div class="method_details ">
- <h3 class="signature " id="result_type-instance_method">
-
- - (<tt>Object</tt>) <strong>result_type</strong>
-
-
-
- </h3>
- </div>
-
- <div class="method_details ">
- <h3 class="signature " id="spelling-instance_method">
-
- - (<tt>Object</tt>) <strong>spelling</strong>
-
-
-
- </h3>
- </div>
-
- </div>
- </div>
- <div id="footer">
- Generated on Tue Nov 10 19:10:04 2015 by
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
- 0.8.7.6 (ruby-2.2.3).
- </div>
- </body>
- </html>
|