<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;}
#copied {background-color:#ccccff;}
tr.alt #copied {background-color:#bbbbf7;}
#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 {white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;white-space:pre-wrap;word-wrap:break-word;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="5">Commit in <b><tt>metaas/trunk/src/main/java/uk/co/badgersinfoil/metaas/dom</tt></b></td></tr>
<tr><td><tt><a href="#file1">ASClassType.java</a></tt> </td><td></td><td align="right" id="added">+3</td><td align="right" id="removed">-1</td><td nowrap="nowrap" align="center">405 -> 406</td></tr>
<tr class="alt"><td><tt><a href="#file2">ASCompilationUnit.java</a></tt> </td><td></td><td align="right" id="added">+3</td><td></td><td nowrap="nowrap" align="center">405 -> 406</td></tr>
<tr><td><tt><a href="#file3">ASDoWhileStatement.java</a></tt> </td><td></td><td align="right" id="added">+35</td><td align="right" id="removed">-1</td><td nowrap="nowrap" align="center">405 -> 406</td></tr>
<tr class="alt"><td><tt><a href="#file4">ASForEachInStatement.java</a></tt> </td><td></td><td align="right" id="added">+50</td><td align="right" id="removed">-1</td><td nowrap="nowrap" align="center">405 -> 406</td></tr>
<tr><td><tt><a href="#file5">ASForInStatement.java</a></tt> </td><td></td><td align="right" id="added">+50</td><td align="right" id="removed">-1</td><td nowrap="nowrap" align="center">405 -> 406</td></tr>
<tr class="alt"><td><tt><a href="#file6">ASForStatement.java</a></tt> </td><td></td><td align="right" id="added">+63</td><td align="right" id="removed">-1</td><td nowrap="nowrap" align="center">405 -> 406</td></tr>
<tr><td><tt><a href="#file7">ASIfStatement.java</a></tt> </td><td></td><td align="right" id="added">+12</td><td></td><td nowrap="nowrap" align="center">405 -> 406</td></tr>
<tr class="alt"><td><tt><a href="#file8">ASInterfaceType.java</a></tt> </td><td></td><td align="right" id="added">+2</td><td></td><td nowrap="nowrap" align="center">405 -> 406</td></tr>
<tr><td><tt><a href="#file9">ASPackage.java</a></tt> </td><td></td><td align="right" id="added">+6</td><td></td><td nowrap="nowrap" align="center">405 -> 406</td></tr>
<tr class="alt"><td><tt><a href="#file10">ASSwitchCase.java</a></tt> </td><td></td><td align="right" id="added">+20</td><td align="right" id="removed">-1</td><td nowrap="nowrap" align="center">405 -> 406</td></tr>
<tr><td><tt><a href="#file11">ASSwitchDefault.java</a></tt> </td><td></td><td align="right" id="added">+9</td><td align="right" id="removed">-2</td><td nowrap="nowrap" align="center">405 -> 406</td></tr>
<tr class="alt"><td><tt><a href="#file12">ASSwitchStatement.java</a></tt> </td><td></td><td align="right" id="added">+6</td><td align="right" id="removed">-8</td><td nowrap="nowrap" align="center">405 -> 406</td></tr>
<tr><td><tt><a href="#file13">ASWhileStatement.java</a></tt> </td><td></td><td align="right" id="added">+15</td><td></td><td nowrap="nowrap" align="center">405 -> 406</td></tr>
<tr><td></td><td></td><td align="right" id="added">+274</td><td align="right" id="removed">-16</td><td></td></tr>
</table>
<small id="info">13 modified files</small><br />
<pre class="comment">
more Javadoc
</pre>
<hr /><a name="file1" /><div class="file">
<span class="pathname">metaas/trunk/src/main/java/uk/co/badgersinfoil/metaas/dom</span><br />
<div class="fileheader"><big><b>ASClassType.java</b></big> <small id="info">405 -> 406</small></div>
<pre class="diff"><small id="info">--- trunk/src/main/java/uk/co/badgersinfoil/metaas/dom/ASClassType.java        2007-02-10 23:59:14 UTC (rev 405)
+++ trunk/src/main/java/uk/co/badgersinfoil/metaas/dom/ASClassType.java        2007-02-11 20:00:17 UTC (rev 406)
@@ -11,7 +11,9 @@
</small></pre><pre class="diff" id="context"> // TODO: add a createConstructor() ?
/**
</pre><pre class="diff" id="removed">- * A handle on the definition of an ActionScript class
</pre><pre class="diff" id="added">+ * A handle on the definition of an ActionScript class<span id="addedchars">.</span>
+ *
+ * @see uk.co.badgersinfoil.metaas.ActionScriptFactory#newClass(String)
</pre><pre class="diff" id="context"> */
public interface ASClassType extends ASType {
        /**
</pre></div>
<hr /><a name="file2" /><div class="file">
<span class="pathname">metaas/trunk/src/main/java/uk/co/badgersinfoil/metaas/dom</span><br />
<div class="fileheader"><big><b>ASCompilationUnit.java</b></big> <small id="info">405 -> 406</small></div>
<pre class="diff"><small id="info">--- trunk/src/main/java/uk/co/badgersinfoil/metaas/dom/ASCompilationUnit.java        2007-02-10 23:59:14 UTC (rev 405)
+++ trunk/src/main/java/uk/co/badgersinfoil/metaas/dom/ASCompilationUnit.java        2007-02-11 20:00:17 UTC (rev 406)
@@ -8,6 +8,9 @@
</small></pre><pre class="diff" id="context">
/**
* A 'compilation unit' represents an entire file of ActionScript code.
</pre><pre class="diff" id="added">+ *
+ * @see uk.co.badgersinfoil.metaas.ActionScriptProject#newClass(String)
+ * @see uk.co.badgersinfoil.metaas.ActionScriptProject#newInterface(String)
</pre><pre class="diff" id="context"> */
public interface ASCompilationUnit {
        /**
</pre></div>
<hr /><a name="file3" /><div class="file">
<span class="pathname">metaas/trunk/src/main/java/uk/co/badgersinfoil/metaas/dom</span><br />
<div class="fileheader"><big><b>ASDoWhileStatement.java</b></big> <small id="info">405 -> 406</small></div>
<pre class="diff"><small id="info">--- trunk/src/main/java/uk/co/badgersinfoil/metaas/dom/ASDoWhileStatement.java        2007-02-10 23:59:14 UTC (rev 405)
+++ trunk/src/main/java/uk/co/badgersinfoil/metaas/dom/ASDoWhileStatement.java        2007-02-11 20:00:17 UTC (rev 406)
@@ -1,7 +1,41 @@
</small></pre><pre class="diff" id="added">+/**
+ * ASDoWhileStatement.java
+ *
+ * Copyright (c) 2007 David Holroyd
+ */
+
</pre><pre class="diff" id="context"> package uk.co.badgersinfoil.metaas.dom;
</pre><pre class="diff" id="added">+
+/**
+ * Obtained from {@link StatementContainer#newDoWhile(String)}, represents
+ * a <code>do { } while (condition);</code> construct.
+ *
+ * <p>e.g. The following Java code,</p>
+ * <pre class="eg">ASDoWhileStatement doWhile = method.newDoWhile("test()");
+ *doWhile.addStmt("trace('still testing')");</pre>
+ * <p>Will result in AS which looks like this,</p>
+ * <pre class="eg">do {
+ *        trace('still testing');
+ *} while (test());</pre>
+ */
</pre><pre class="diff" id="context"> public interface ASDoWhileStatement extends Statement, StatementContainer {
</pre><pre class="diff" id="added">+        /**
+         * Returns a string representation of the loop termination condition
+         * expression.
+         *
+         * <p>e.g. given the loop,</p>
+         * <pre class="eg">do { nothing(); } while (test());</pre>
+         * <p>This method would return <code>"test()"</code>.</p>
+         */
</pre><pre class="diff" id="context">         public String getConditionString();
</pre><pre class="diff" id="added">+
+        /**
+         * Sets the loop termination condition for this do-while loop.
+         *
+         * @throws uk.co.badgersinfoil.metaas.SyntaxException if the given
+         * string is not a valid ActionScript expression.
+         */
</pre><pre class="diff" id="context">         public void setCondition(String string);
</pre><pre class="diff" id="removed">-}
</pre><pre class="diff" id="added">+}
</pre><pre class="diff"><small id="info">\ No newline at end of file
</small></pre></div>
<hr /><a name="file4" /><div class="file">
<span class="pathname">metaas/trunk/src/main/java/uk/co/badgersinfoil/metaas/dom</span><br />
<div class="fileheader"><big><b>ASForEachInStatement.java</b></big> <small id="info">405 -> 406</small></div>
<pre class="diff"><small id="info">--- trunk/src/main/java/uk/co/badgersinfoil/metaas/dom/ASForEachInStatement.java        2007-02-10 23:59:14 UTC (rev 405)
+++ trunk/src/main/java/uk/co/badgersinfoil/metaas/dom/ASForEachInStatement.java        2007-02-11 20:00:17 UTC (rev 406)
@@ -1,9 +1,58 @@
</small></pre><pre class="diff" id="added">+/**
+ * ASForEachInStatement.java
+ *
+ * Copyright (c) 2007 David Holroyd
+ */
+
</pre><pre class="diff" id="context"> package uk.co.badgersinfoil.metaas.dom;
</pre><pre class="diff" id="added">+/**
+ * Obtained from {@link StatementContainer#newForEachIn(String,String)},
+ * represents a <code>for each(v in a) { }</code> statement.
+ *
+ * <p>e.g. The Java code</p>
+ * <pre class="eg">ASForEachInStatement forEachIn = method.newForEachIn("var v", "arr");
+ *forEachIn.addStmt("trace(v)");</pre>
+ *
+ * <p>Will create ActionScript code like,</p>
+ * <pre class="eg">for each(var v in arr) {
+ *        trace(v);
+ *}</pre>
+ */
</pre><pre class="diff" id="context"> public interface ASForEachInStatement extends Statement, StatementContainer {
</pre><pre class="diff" id="added">+        /**
+         * Returns a string representation of the loop-variable declaration
+         * for this loop.
+         *
+         * e.g. given the loop <code>for each(v in a) { }</code>, this method
+         * will return the string <code>"v"</code>.
+         */
</pre><pre class="diff" id="context">         public String getVarString();
</pre><pre class="diff" id="added">+
+        /**
+         * Returns a string representation of the expression whose value will
+         * iterated over.
+         *
+         * e.g. given the loop <code>for each(v in a) { }</code>, this method
+         * will return the string <code>"a"</code>.
+         */
</pre><pre class="diff" id="context">         public String getIteratedString();
</pre><pre class="diff" id="added">+
+        /**
+         * Specifies the loop-variable declaration for this loop.
+         *
+         * @throws uk.co.badgersinfoil.metaas.SyntaxException if the given
+         * string is not a valid ActionScript expression.
+         */
</pre><pre class="diff" id="context">         public void setVar(String expr);
</pre><pre class="diff" id="added">+
+        /**
+         * Changes the expression whose value will be iterated over by this
+         * loop.
+         *
+         * @throws uk.co.badgersinfoil.metaas.SyntaxException if the given
+         * string is not a valid ActionScript expression.
+         */
</pre><pre class="diff" id="context">         public void setIterated(String expr);
</pre><pre class="diff" id="removed">-}
</pre><pre class="diff" id="added">+}
</pre><pre class="diff"><small id="info">\ No newline at end of file
</small></pre></div>
<hr /><a name="file5" /><div class="file">
<span class="pathname">metaas/trunk/src/main/java/uk/co/badgersinfoil/metaas/dom</span><br />
<div class="fileheader"><big><b>ASForInStatement.java</b></big> <small id="info">405 -> 406</small></div>
<pre class="diff"><small id="info">--- trunk/src/main/java/uk/co/badgersinfoil/metaas/dom/ASForInStatement.java        2007-02-10 23:59:14 UTC (rev 405)
+++ trunk/src/main/java/uk/co/badgersinfoil/metaas/dom/ASForInStatement.java        2007-02-11 20:00:17 UTC (rev 406)
@@ -1,9 +1,58 @@
</small></pre><pre class="diff" id="added">+/**
+ * ASForInStatement.java
+ *
+ * Copyright (c) 2007 David Holroyd
+ */
+
</pre><pre class="diff" id="context"> package uk.co.badgersinfoil.metaas.dom;
</pre><pre class="diff" id="added">+/**
+ * Obtained from {@link StatementContainer#newForIn(String,String)},
+ * represents a <code>for (v in a) { }</code> statement.
+ *
+ * <p>e.g. The Java code</p>
+ * <pre class="eg">ASForInStatement forIn = method.newForIn("var v", "arr");
+ *forEachIn.addStmt("trace(v)");</pre>
+ *
+ * <p>Will create ActionScript code like,</p>
+ * <pre class="eg">for (var v in arr) {
+ *        trace(v);
+ *}</pre>
+ */
</pre><pre class="diff" id="context"> public interface ASForInStatement extends Statement, StatementContainer {
</pre><pre class="diff" id="added">+        /**
+         * Returns a string representation of the loop-variable declaration
+         * for this loop.
+         *
+         * e.g. given the loop <code>for (v in a) { }</code>, this method
+         * will return the string <code>"v"</code>.
+         */
</pre><pre class="diff" id="context">         public String getVarString();
</pre><pre class="diff" id="added">+
+        /**
+         * Returns a string representation of the expression whose value will
+         * iterated over.
+         *
+         * e.g. given the loop <code>for (v in a) { }</code>, this method
+         * will return the string <code>"a"</code>.
+         */
</pre><pre class="diff" id="context">         public String getIteratedString();
</pre><pre class="diff" id="added">+
+        /**
+         * Specifies the loop-variable declaration for this loop.
+         *
+         * @throws uk.co.badgersinfoil.metaas.SyntaxException if the given
+         * string is not a valid ActionScript expression.
+         */
</pre><pre class="diff" id="context">         public void setVar(String expr);
</pre><pre class="diff" id="added">+
+        /**
+         * Changes the expression whose value will be iterated over by this
+         * loop.
+         *
+         * @throws uk.co.badgersinfoil.metaas.SyntaxException if the given
+         * string is not a valid ActionScript expression.
+         */
</pre><pre class="diff" id="context">         public void setIterated(String expr);
</pre><pre class="diff" id="removed">-}
</pre><pre class="diff" id="added">+}
</pre><pre class="diff"><small id="info">\ No newline at end of file
</small></pre></div>
<hr /><a name="file6" /><div class="file">
<span class="pathname">metaas/trunk/src/main/java/uk/co/badgersinfoil/metaas/dom</span><br />
<div class="fileheader"><big><b>ASForStatement.java</b></big> <small id="info">405 -> 406</small></div>
<pre class="diff"><small id="info">--- trunk/src/main/java/uk/co/badgersinfoil/metaas/dom/ASForStatement.java        2007-02-10 23:59:14 UTC (rev 405)
+++ trunk/src/main/java/uk/co/badgersinfoil/metaas/dom/ASForStatement.java        2007-02-11 20:00:17 UTC (rev 406)
@@ -1,11 +1,73 @@
</small></pre><pre class="diff" id="added">+/**
+ * ASForStatement.java
+ *
+ * Copyright (c) 2007 David Holroyd
+ */
+
</pre><pre class="diff" id="context"> package uk.co.badgersinfoil.metaas.dom;
</pre><pre class="diff" id="added">+/**
+ * Obtained from {@link StatementContainer#newFor(String,String,String)},
+ * represents a <code>for (; ; ) { }</code> statement.
+ *
+ * <p>e.g. The Java code</p>
+ * <pre class="eg">ASForStatement forStmt = method.newFor("var i=0", "i<10", "i++");
+ *forStmt.addStmt("trace(i)");</pre>
+ *
+ * <p>Will create ActionScript code like,</p>
+ * <pre class="eg">for (var i=0; i<10; i++) {
+ *        trace(i);
+ *}</pre>
+ */
</pre><pre class="diff" id="context"> public interface ASForStatement extends Statement, StatementContainer {
</pre><pre class="diff" id="added">+        /**
+         * Returns a string representation of the loop initialisation
+         * expression.
+         *
+         * e.g. given the loop <code>for (var i=0; i<10; i++)</code>, this
+         * method will return the string <code>"var i=0"</code>.
+         */
</pre><pre class="diff" id="context">         public String getInitString();
</pre><pre class="diff" id="added">+
+        /**
+         * Returns a string representation of the loop termination condition
+         * expression.
+         *
+         * e.g. given the loop <code>for (var i=0; i<10; i++)</code>, this
+         * method will return the string <code>"i<10"</code>.
+         */
</pre><pre class="diff" id="context">         public String getConditionString();
</pre><pre class="diff" id="added">+
+        /**
+         * Returns a string representation of the loop update expression.
+         *
+         * e.g. given the loop <code>for (var i=0; i<10; i++)</code>, this
+         * method will return the string <code>"i++"</code>.
+         */
</pre><pre class="diff" id="context">         public String getUpdateString();
</pre><pre class="diff" id="added">+
+        /**
+         * Changes the initialisation expression for this loop.
+         *
+         * @throws uk.co.badgersinfoil.metaas.SyntaxException if the given
+         * string is not a valid ActionScript expression.
+         */
</pre><pre class="diff" id="context">         public void setInit(String expr);
</pre><pre class="diff" id="added">+
+        /**
+         * Changes the termination condition expression for this loop.
+         *
+         * @throws uk.co.badgersinfoil.metaas.SyntaxException if the given
+         * string is not a valid ActionScript expression.
+         */
</pre><pre class="diff" id="context">         public void setCondition(String expr);
</pre><pre class="diff" id="added">+
+        /**
+         * Changes the update expression for this loop.
+         *
+         * @throws uk.co.badgersinfoil.metaas.SyntaxException if the given
+         * string is not a valid ActionScript expression.
+         */
</pre><pre class="diff" id="context">         public void setUpdate(String expr);
</pre><pre class="diff" id="removed">-}
</pre><pre class="diff" id="added">+}
</pre><pre class="diff"><small id="info">\ No newline at end of file
</small></pre></div>
<hr /><a name="file7" /><div class="file">
<span class="pathname">metaas/trunk/src/main/java/uk/co/badgersinfoil/metaas/dom</span><br />
<div class="fileheader"><big><b>ASIfStatement.java</b></big> <small id="info">405 -> 406</small></div>
<pre class="diff"><small id="info">--- trunk/src/main/java/uk/co/badgersinfoil/metaas/dom/ASIfStatement.java        2007-02-10 23:59:14 UTC (rev 405)
+++ trunk/src/main/java/uk/co/badgersinfoil/metaas/dom/ASIfStatement.java        2007-02-11 20:00:17 UTC (rev 406)
@@ -52,7 +52,19 @@
</small></pre><pre class="diff" id="context">
        public void setThen(ASBlock thenBlock);
</pre><pre class="diff" id="added">+        /**
+         * Returns a string representation of the condition-expression for
+         * this if-statement. e.g. for the expression
+         * <code>if (test()) { }</code>, this method will return the string
+         * <code>"test()"</code>.
+         */
</pre><pre class="diff" id="context">         public String getConditionString();
</pre><pre class="diff" id="added">+        /**
+         * Changes the condition-expression for this if-statement.
+         *
+         * @throws uk.co.badgersinfoil.metaas.SyntaxException if the given
+         * string is not a valid ActionScript expression.
+         */
</pre><pre class="diff" id="context">         public void setCondition(String string);
}
</pre><pre class="diff"><small id="info">\ No newline at end of file
</small></pre></div>
<hr /><a name="file8" /><div class="file">
<span class="pathname">metaas/trunk/src/main/java/uk/co/badgersinfoil/metaas/dom</span><br />
<div class="fileheader"><big><b>ASInterfaceType.java</b></big> <small id="info">405 -> 406</small></div>
<pre class="diff"><small id="info">--- trunk/src/main/java/uk/co/badgersinfoil/metaas/dom/ASInterfaceType.java        2007-02-10 23:59:14 UTC (rev 405)
+++ trunk/src/main/java/uk/co/badgersinfoil/metaas/dom/ASInterfaceType.java        2007-02-11 20:00:17 UTC (rev 406)
@@ -10,6 +10,8 @@
</small></pre><pre class="diff" id="context">
/**
* A handle on the definition of an ActionScript interface.
</pre><pre class="diff" id="added">+ *
+ * @see uk.co.badgersinfoil.metaas.ActionScriptFactory#newInterface(String)
</pre><pre class="diff" id="context"> */
public interface ASInterfaceType extends ASType {
</pre></div>
<hr /><a name="file9" /><div class="file">
<span class="pathname">metaas/trunk/src/main/java/uk/co/badgersinfoil/metaas/dom</span><br />
<div class="fileheader"><big><b>ASPackage.java</b></big> <small id="info">405 -> 406</small></div>
<pre class="diff"><small id="info">--- trunk/src/main/java/uk/co/badgersinfoil/metaas/dom/ASPackage.java        2007-02-10 23:59:14 UTC (rev 405)
+++ trunk/src/main/java/uk/co/badgersinfoil/metaas/dom/ASPackage.java        2007-02-11 20:00:17 UTC (rev 406)
@@ -11,6 +11,8 @@
</small></pre><pre class="diff" id="context">
/**
* A package-declaration block within an ActionScript compilation-unit.
</pre><pre class="diff" id="added">+ *
+ * @see ASCompilationUnit#getPackage()
</pre><pre class="diff" id="context"> */
public interface ASPackage {
</pre><pre class="diff"><small id="info">@@ -30,6 +32,10 @@
</small></pre><pre class="diff" id="context">          */
        public void setName(String name);
        
</pre><pre class="diff" id="added">+        /**
+         * Returns a reference to the first ASClassType or ASInterfaceType in
+         * this ActionScript package.
+         */
</pre><pre class="diff" id="context">         public ASType getType();
        /**
</pre></div>
<hr /><a name="file10" /><div class="file">
<span class="pathname">metaas/trunk/src/main/java/uk/co/badgersinfoil/metaas/dom</span><br />
<div class="fileheader"><big><b>ASSwitchCase.java</b></big> <small id="info">405 -> 406</small></div>
<pre class="diff"><small id="info">--- trunk/src/main/java/uk/co/badgersinfoil/metaas/dom/ASSwitchCase.java        2007-02-10 23:59:14 UTC (rev 405)
+++ trunk/src/main/java/uk/co/badgersinfoil/metaas/dom/ASSwitchCase.java        2007-02-11 20:00:17 UTC (rev 406)
@@ -1,13 +1,32 @@
</small></pre><pre class="diff" id="context"> /**
</pre><pre class="diff" id="removed">- * ASTASSwitchStatement.java
</pre><pre class="diff" id="added">+ * ASSwitchCase.java
</pre><pre class="diff" id="context"> *
* Copyright (c) 2007 David Holroyd
*/
package uk.co.badgersinfoil.metaas.dom;
</pre><pre class="diff" id="added">+/**
+ * Obtained from {@link ASSwitchStatement#newCase(String)}, ASSwitchCase
+ * represents a switch-statement case-label, and the list of statements
+ * immediately following it.
+ *
+ * @see ASSwitchStatement
+ */
</pre><pre class="diff" id="context"> public interface ASSwitchCase extends StatementContainer {
</pre><pre class="diff" id="added">+        /**
+         * Returns a string representation of the value expression for this
+         * label. e.g. given the label <code>case 42:</code>, this method
+         * would return the string <code>"42"</code>.
+         */
</pre><pre class="diff" id="context">         public String getLabelValueString();
</pre><pre class="diff" id="added">+
+        /**
+         * Changes the value expression for this case label.
+         *
+         * @throws uk.co.badgersinfoil.metaas.SyntaxException if the given
+         * string is not a valid ActionScript expression.
+         */
</pre><pre class="diff" id="context">         public void setLabelValue(String constant);
}
</pre><pre class="diff"><small id="info">\ No newline at end of file
</small></pre></div>
<hr /><a name="file11" /><div class="file">
<span class="pathname">metaas/trunk/src/main/java/uk/co/badgersinfoil/metaas/dom</span><br />
<div class="fileheader"><big><b>ASSwitchDefault.java</b></big> <small id="info">405 -> 406</small></div>
<pre class="diff"><small id="info">--- trunk/src/main/java/uk/co/badgersinfoil/metaas/dom/ASSwitchDefault.java        2007-02-10 23:59:14 UTC (rev 405)
+++ trunk/src/main/java/uk/co/badgersinfoil/metaas/dom/ASSwitchDefault.java        2007-02-11 20:00:17 UTC (rev 406)
@@ -1,11 +1,18 @@
</small></pre><pre class="diff" id="context"> /**
</pre><pre class="diff" id="removed">- * AS<span id="removedchars">T</span>SwitchDefault.java
</pre><pre class="diff" id="added">+ * ASSwitchDefault.java
</pre><pre class="diff" id="context"> *
* Copyright (c) 2007 David Holroyd
*/
package uk.co.badgersinfoil.metaas.dom;
</pre><pre class="diff" id="added">+/**
+ * Obtained from {@link ASSwitchStatement#newDefault()}, ASSwitchDefault
+ * represents a switch-statement <code>default:</code> label, and the list of
+ * statements immediately following it.
+ *
+ * @see ASSwitchStatement
+ */
</pre><pre class="diff" id="context"> public interface ASSwitchDefault extends StatementContainer {
</pre><pre class="diff" id="removed">-}
</pre><pre class="diff" id="added">+}
</pre><pre class="diff"><small id="info">\ No newline at end of file
</small></pre></div>
<hr /><a name="file12" /><div class="file">
<span class="pathname">metaas/trunk/src/main/java/uk/co/badgersinfoil/metaas/dom</span><br />
<div class="fileheader"><big><b>ASSwitchStatement.java</b></big> <small id="info">405 -> 406</small></div>
<pre class="diff"><small id="info">--- trunk/src/main/java/uk/co/badgersinfoil/metaas/dom/ASSwitchStatement.java        2007-02-10 23:59:14 UTC (rev 405)
+++ trunk/src/main/java/uk/co/badgersinfoil/metaas/dom/ASSwitchStatement.java        2007-02-11 20:00:17 UTC (rev 406)
@@ -12,7 +12,7 @@
</small></pre><pre class="diff" id="context"> * to the 'switch' statement.
*
* e.g.
</pre><pre class="diff" id="removed">- * <pre>
</pre><pre class="diff" id="added">+ * <pre class="eg">
</pre><pre class="diff" id="context"> * ASSwitchStatement switchStmt = method.newSwitch("c");
* switchStmt.newCase("'a'").addStmt("aay()");
* switchStmt.newCase("'b'").addStmt("bee()");
</pre><pre class="diff"><small id="info">@@ -20,7 +20,7 @@
</small></pre><pre class="diff" id="context"> * </pre>
*
* Will result in ActionScript something like,
</pre><pre class="diff" id="removed">- * <pre>
</pre><pre class="diff" id="added">+ * <pre class="eg">
</pre><pre class="diff" id="context"> * switch(c) {
*         case 'a':
*                 aay();
</pre><pre class="diff"><small id="info">@@ -37,16 +37,14 @@
</small></pre><pre class="diff" id="context"> public interface ASSwitchStatement extends Statement {
        /**
</pre><pre class="diff" id="removed">-         * Returns the statements to be executed in the given case for this
-         * switch statement. Do not call this method more than once with the
-         * same value, as this may result in incorrect code.
</pre><pre class="diff" id="added">+         * Creates a <code>case</code>-label in this switch-statement with the given value,
+         * to which other statements can be added.
</pre><pre class="diff" id="context">          */
        ASSwitchCase newCase(String string);
        /**
</pre><pre class="diff" id="removed">-         * Returns the statements to be executed in the default case for this
-         * switch statement. Do not call this method more than once, as this
-         * may result in incorrect code.
</pre><pre class="diff" id="added">+         * Creates a <code>default</code>-label in this switch-statement, to
+         * which other statements can be added.
</pre><pre class="diff" id="context">          */
        ASSwitchDefault newDefault();
}
</pre></div>
<hr /><a name="file13" /><div class="file">
<span class="pathname">metaas/trunk/src/main/java/uk/co/badgersinfoil/metaas/dom</span><br />
<div class="fileheader"><big><b>ASWhileStatement.java</b></big> <small id="info">405 -> 406</small></div>
<pre class="diff"><small id="info">--- trunk/src/main/java/uk/co/badgersinfoil/metaas/dom/ASWhileStatement.java        2007-02-10 23:59:14 UTC (rev 405)
+++ trunk/src/main/java/uk/co/badgersinfoil/metaas/dom/ASWhileStatement.java        2007-02-11 20:00:17 UTC (rev 406)
@@ -1,5 +1,20 @@
</small></pre><pre class="diff" id="added">+/**
+ * ASWhileStatement.java
+ *
+ * Copyright (c) 2007 David Holroyd
+ */
+
</pre><pre class="diff" id="context"> package uk.co.badgersinfoil.metaas.dom;
</pre><pre class="diff" id="added">+
+/**
+ * Obtained from {@link StatementContainer#newWhile(String)}, this represents
+ * a <code>while (test()) { }</code> construct.
+ *
+ * <p>e.g. The Java code,</p>
+ * <pre class="eg">ASWhileStatement whileStmt = method.newWhile("test()");
+ *whileStmt.addStmt("trace('hello')");</pre>
+ */
</pre><pre class="diff" id="context"> public interface ASWhileStatement extends Statement, StatementContainer {
        public String getConditionString();
</pre></div>
<center><small><a href="http://www.badgers-in-foil.co.uk/projects/cvsspam/" title="commit -> email">CVSspam</a> 0.2.12</small></center>
</body></html>