Get rid of debugging code

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6064 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Tom Conkling
2010-05-01 02:37:31 +00:00
parent f4bc4a2680
commit f2f88f5e3c
@@ -42,8 +42,6 @@ import com.samskivert.util.StringUtil;
import com.threerings.util.ActionScript;
import static com.threerings.NaryaLog.log;
/**
* Primitively parses an ActionScriptSource file, allows the addition and replacement of class
* members and handles writing out the file again.
@@ -1056,17 +1054,6 @@ public class ActionScriptSource
return true;
}
public static void main (String[] args)
{
test("public function asdf () :void");
test("public function get asdf () :void");
}
protected static void test (String test)
{
log.info("test", "string", test, "matches", ASFUNCTION.matcher(test).matches());
}
/** Denotes various phases of class file parsing. */
protected static enum Mode { PREAMBLE, IMPORTS, CLASSCOMMENT, CLASSDECL,
CLASSBODY, METHODBODY, POSTCLASS, POSTPKG }