<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">+9</td><td align="right" id="removed">-1</td><td nowrap="nowrap" align="center">305 -> 306</td></tr>
<tr class="alt"><td><tt><a href="#file2">api_model.rb</a></tt></td><td align="right" id="added">+18</td><td></td><td nowrap="nowrap" align="center">305 -> 306</td></tr>
<tr><td><tt>output/html/<a href="#file3">core_pages.rb</a></tt></td><td align="right" id="added">+6</td><td align="right" id="removed">-6</td><td nowrap="nowrap" align="center">305 -> 306</td></tr>
<tr class="alt"><td><tt> /<a href="#file4">html_framework.rb</a></tt></td><td align="right" id="added">+4</td><td align="right" id="removed">-4</td><td nowrap="nowrap" align="center">305 -> 306</td></tr>
<tr><td></td><td align="right" id="added">+37</td><td align="right" id="removed">-11</td><td></td></tr>
</table>
<small id="info">4 modified files</small><br />
<pre class="comment">
Stop some Token objects from the parser API leaking into the wider application
</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">305 -> 306</small></div>
<pre class="diff"><small id="info">--- trunk/as2api/api_loader.rb        2006-03-17 20:22:01 UTC (rev 305)
+++ trunk/as2api/api_loader.rb        2006-03-18 10:12:37 UTC (rev 306)
@@ -175,7 +175,15 @@
</small></pre><pre class="diff" id="context"> end
def access_modifier(modifier)
</pre><pre class="diff" id="removed">- @last_modifier = modifier
</pre><pre class="diff" id="added">+ vis = case modifier.visibility
+ when ActionScript::Parse::PublicToken
+        :public
+ when ActionScript::Parse::PrivateToken
+        :private
+ else
+        raise "unhandled visibility #{modifier.visibility.body.inspect}"
+ end
+ @last_modifier = ASAccess.new(vis, modifier.is_static)
</pre><pre class="diff" id="context"> end
def show_modifier
</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">305 -> 306</small></div>
<pre class="diff"><small id="info">--- trunk/as2api/api_model.rb        2006-03-17 20:22:01 UTC (rev 305)
+++ trunk/as2api/api_model.rb        2006-03-18 10:12:37 UTC (rev 306)
@@ -18,6 +18,24 @@
</small></pre><pre class="diff" id="context"> # to insulate the documentation-generating subsystem from those details
</pre><pre class="diff" id="added">+# Describes what level of access a type alloes to one of its members
+class ASAccess
+ def initialize(visibility, static)
+ @visibility = visibility
+ @static = static
+ end
+
+ attr_accessor :visibility
+
+ def static?; @static; end
+ def private?; @visibility==:private; end
+ attr_writer :static
+
+ def ==(o)
+ static? == o.static? && visibility == o.visibility
+ end
+end
+
</pre><pre class="diff" id="context"> # Superclass for ASClass and ASInterface, one instance of an ASType subclass
# is created per compilation unit successfully parsed
class ASType
</pre></div>
<hr /><a name="file3" /><div class="file">
<span class="pathname">trunk/as2api/output/html</span><br />
<div class="fileheader"><big><b>core_pages.rb</b></big> <small id="info">305 -> 306</small></div>
<pre class="diff"><small id="info">--- trunk/as2api/output/html/core_pages.rb        2006-03-17 20:22:01 UTC (rev 305)
+++ trunk/as2api/output/html/core_pages.rb        2006-03-18 10:12:37 UTC (rev 306)
@@ -504,11 +504,11 @@
</small></pre><pre class="diff" id="context">
def method_synopsis(method)
html_code("class"=>"method_synopsis") do
</pre><pre class="diff" id="removed">- if method.access.<span id="removedchars">is_static</span>
</pre><pre class="diff" id="added">+ if method.access.<span id="addedchars">static?</span>
</pre><pre class="diff" id="context">         pcdata("static ")
end
unless method.access.visibility.nil?
</pre><pre class="diff" id="removed">-        pcdata("#{method.access.visibility<span id="removedchars">.body</span>} ")
</pre><pre class="diff" id="added">+        pcdata("#{method.access.visibility} ")
</pre><pre class="diff" id="context"> end
pcdata("function ")
html_strong("class"=>"method_name") do
</pre><pre class="diff"><small id="info">@@ -542,11 +542,11 @@
</small></pre><pre class="diff" id="context"> end
def explicit_field_synopsis(field)
</pre><pre class="diff" id="removed">- if field.access.<span id="removedchars">is_static</span>
</pre><pre class="diff" id="added">+ if field.access.<span id="addedchars">static?</span>
</pre><pre class="diff" id="context"> pcdata("static ")
end
unless field.access.visibility.nil?
</pre><pre class="diff" id="removed">- pcdata("#{field.access.visibility<span id="removedchars">.body</span>} ")
</pre><pre class="diff" id="added">+ pcdata("#{field.access.visibility} ")
</pre><pre class="diff" id="context"> end
html_strong("class"=>"field_name") do
pcdata(field.name)
</pre><pre class="diff"><small id="info">@@ -558,11 +558,11 @@
</small></pre><pre class="diff" id="context"> end
def implicit_field_synopsis(field)
</pre><pre class="diff" id="removed">- if field.access.<span id="removedchars">is_static</span>
</pre><pre class="diff" id="added">+ if field.access.<span id="addedchars">static?</span>
</pre><pre class="diff" id="context"> pcdata("static ")
end
unless field.access.visibility.nil?
</pre><pre class="diff" id="removed">- pcdata("#{field.access.visibility<span id="removedchars">.body</span>} ")
</pre><pre class="diff" id="added">+ pcdata("#{field.access.visibility} ")
</pre><pre class="diff" id="context"> end
html_strong("class"=>"field_name") do
pcdata(field.name)
</pre></div>
<hr /><a name="file4" /><div class="file">
<span class="pathname">trunk/as2api/output/html</span><br />
<div class="fileheader"><big><b>html_framework.rb</b></big> <small id="info">305 -> 306</small></div>
<pre class="diff"><small id="info">--- trunk/as2api/output/html/html_framework.rb        2006-03-17 20:22:01 UTC (rev 305)
+++ trunk/as2api/output/html/html_framework.rb        2006-03-18 10:12:37 UTC (rev 306)
@@ -231,11 +231,11 @@
</small></pre><pre class="diff" id="context">
def signature_for_method(method)
sig = ""
</pre><pre class="diff" id="removed">- if method.access.<span id="removedchars">is_static</span>
</pre><pre class="diff" id="added">+ if method.access.<span id="addedchars">static?</span>
</pre><pre class="diff" id="context"> sig << "static "
end
unless method.access.visibility.nil?
</pre><pre class="diff" id="removed">- sig << "#{method.access.visibility<span id="removedchars">.body</span>} "
</pre><pre class="diff" id="added">+ sig << "#{method.access.visibility} "
</pre><pre class="diff" id="context"> end
sig << "function "
sig << method.name
</pre><pre class="diff"><small id="info">@@ -289,11 +289,11 @@
</small></pre><pre class="diff" id="context">
def signature_for_field(field)
sig = ""
</pre><pre class="diff" id="removed">- if field.access.<span id="removedchars">is_static</span>
</pre><pre class="diff" id="added">+ if field.access.<span id="addedchars">static?</span>
</pre><pre class="diff" id="context"> sig << "static "
end
unless field.access.visibility.nil?
</pre><pre class="diff" id="removed">- sig << "#{field.access.visibility<span id="removedchars">.body</span>} "
</pre><pre class="diff" id="added">+ sig << "#{field.access.visibility} "
</pre><pre class="diff" id="context"> end
sig << field.name
if field.field_type
</pre></div>
<center><small><a href="http://www.badgers-in-foil.co.uk/projects/cvsspam/" title="commit -> email">CVSspam</a> 0.2.11</small></center>
</body></html>