<html>
<head>
<style><!--
  body {background-color:#ffffff;}
  .file {border:1px solid #eeeeee;margin-top:1em;margin-bottom:1em;}
  .pathname {font-family:monospace; float:right;}
  .fileheader {margin-bottom:.5em;}
  .diff {margin:0;}
  .tasklist {padding:4px;border:1px dashed #000000;margin-top:1em;}
  .tasklist ul {margin-top:0;margin-bottom:0;}
  tr.alt {background-color:#eeeeee}
  #added {background-color:#ddffdd;}
  #addedchars {background-color:#99ff99;font-weight:bolder;}
  tr.alt #added {background-color:#ccf7cc;}
  #removed {background-color:#ffdddd;}
  #removedchars {background-color:#ff9999;font-weight:bolder;}
  tr.alt #removed {background-color:#f7cccc;}
  #info {color:#888888;}
  #context {background-color:#eeeeee;}
  td {padding-left:.3em;padding-right:.3em;}
  tr.head {border-bottom-width:1px;border-bottom-style:solid;}
  tr.head td {padding:0;padding-top:.2em;}
  .task {background-color:#ffff00;}
  .comment {padding:4px;border:1px dashed #000000;background-color:#ffffdd}
  .error {color:red;}
  hr {border-width:0px;height:2px;background:black;}
--></style>
</head>
<body>
<table cellspacing="0" cellpadding="0" border="0" rules="cols">
<tr class="head"><td colspan="4">Commit in <b><tt>trunk/as2api</tt></b><span id="info"> on MAIN</span></td></tr>
<tr><td><tt><a href="#file1">api_loader.rb</a></tt></td><td align="right" id="added">+6</td><td align="right" id="removed">-2</td><td nowrap="nowrap" align="center">297 -&gt; 298</td></tr>
<tr class="alt"><td><tt><a href="#file2">api_model.rb</a></tt></td><td align="right" id="added">+8</td><td align="right" id="removed">-8</td><td nowrap="nowrap" align="center">297 -&gt; 298</td></tr>
<tr><td></td><td align="right" id="added">+14</td><td align="right" id="removed">-10</td><td></td></tr>
</table>
<small id="info">2 modified files</small><br />
<pre class="comment">
Stop api_model.rb code from having to deal with tokens from the lexer
</pre>
<hr /><a name="file1" /><div class="file">
<span class="pathname">trunk/as2api</span><br />
<div class="fileheader"><big><b>api_loader.rb</b></big> <small id="info">297 -&gt; 298</small></div>
<pre class="diff"><small id="info">--- trunk/as2api/api_loader.rb        2006-03-12 14:20:19 UTC (rev 297)
+++ trunk/as2api/api_loader.rb        2006-03-12 15:14:51 UTC (rev 298)
@@ -134,7 +134,9 @@
</small></pre><pre class="diff" id="context">   end
 
   def start_class(dynamic, name, super_name, interfaces)
</pre><pre class="diff" id="removed">-    @defined_type = ASClass.new(name)
</pre><pre class="diff" id="added">+    pkg_name = name[0, name.length-1].join(".")
+    cls_name = name.last.body
+    @defined_type = ASClass.new(pkg_name, cls_name)
</pre><pre class="diff" id="context">     @type_namespace = TypeLocalNamespace.new(@defined_type)
     if @doc_comment
       @defined_type.comment = parse_comment(@type_comment_config, @doc_comment)
</pre><pre class="diff"><small id="info">@@ -158,7 +160,9 @@
</small></pre><pre class="diff" id="context">   end
 
   def start_interface(name, super_name)
</pre><pre class="diff" id="removed">-    @defined_type = ASInterface.new(name)
</pre><pre class="diff" id="added">+    pkg_name = name[0, name.length-1].join(".")
+    int_name = name.last.body
+    @defined_type = ASInterface.new(pkg_name, int_name)
</pre><pre class="diff" id="context">     @type_namespace = TypeLocalNamespace.new(@defined_type)
     if @doc_comment
       @defined_type.comment = parse_comment(@type_comment_config, @doc_comment)
</pre></div>
<hr /><a name="file2" /><div class="file">
<span class="pathname">trunk/as2api</span><br />
<div class="fileheader"><big><b>api_model.rb</b></big> <small id="info">297 -&gt; 298</small></div>
<pre class="diff"><small id="info">--- trunk/as2api/api_model.rb        2006-03-12 14:20:19 UTC (rev 297)
+++ trunk/as2api/api_model.rb        2006-03-12 15:14:51 UTC (rev 298)
@@ -23,9 +23,9 @@
</small></pre><pre class="diff" id="context"> class ASType
   # give this ASType the given name (an array of IdentifierToken values
   # found by the parser)
</pre><pre class="diff" id="removed">-  def initialize(name)
-    @package_name = name[0, name.length-1].join(".")
-    @name = name.last.body
</pre><pre class="diff" id="added">+  def initialize(package_name, type_name)
+    @package_name = package_name  # name[0, name.length-1].join(".")
+    @name = type_name  #name.last.body
</pre><pre class="diff" id="context">     @source_utf8 = false
     @methods = []
     @constructor = nil
</pre><pre class="diff"><small id="info">@@ -101,7 +101,7 @@
</small></pre><pre class="diff" id="context"> 
   # The whole type name, including package-prefix
   def qualified_name
</pre><pre class="diff" id="removed">-    if @package_name == ""
</pre><pre class="diff" id="added">+    if @package_name.nil? || @package_name == ""
</pre><pre class="diff" id="context">       @name
     else
       "#{@package_name}.#{@name}"
</pre><pre class="diff"><small id="info">@@ -161,11 +161,11 @@
</small></pre><pre class="diff" id="context"> # Classes are types that (just for the perposes of API docs) have fields, and
 # implement interfaces
 class ASClass &lt; ASType
</pre><pre class="diff" id="removed">-  def initialize(name)
</pre><pre class="diff" id="added">+  def initialize(package_name, class_name)
</pre><pre class="diff" id="context">     @dynamic = false
     @interfaces = []
     @fields = []
</pre><pre class="diff" id="removed">-    super(name)
</pre><pre class="diff" id="added">+    super(package_name, class_name)
</pre><pre class="diff" id="context">   end
 
   attr_accessor :dynamic
</pre><pre class="diff"><small id="info">@@ -234,8 +234,8 @@
</small></pre><pre class="diff" id="context"> # ASInterface doesn't add anything to the superclass, it just affirms that
 # the API only supported by ASClass will not be available here
 class ASInterface &lt; ASType
</pre><pre class="diff" id="removed">-  def initialize(name)
-    super(name)
</pre><pre class="diff" id="added">+  def initialize(package_name, interface_name)
+    super(package_name, interface_name)
</pre><pre class="diff" id="context">   end
 
   def implements_interfaces?
</pre></div>
<center><small><a href="http://www.badgers-in-foil.co.uk/projects/cvsspam/" title="commit -&gt; email">CVSspam</a> 0.2.11</small></center>
</body></html>