- 授权协议: LGPL
- 开发语言: ActionScript
- 操作系统: 跨平台
- 软件首页: https://github.com/babyfaction/ClsCreator
- 软件文档: https://github.com/babyfaction/ClsCreator
软件介绍
ClsCreator 是一个中文的as3代码生成库, 以非常oo, 迅捷, 自动的方式生成需要的代码, 忘掉容易出错, 可维护性又差的模板生成方式吧
hello world
var cls:Cls = new Cls("HelloWorld", new Pack(""));
cls.setSuperClass(new SuperCls(Sprite));
var v:Var = new Var("tea", String);
cls.addPropertys(v);
var m:Method = new Method("hi", Method.VOID, Property.PUBLIC);
m.addStatement(new Statement("trace(\"hello, world\")"));
cls.addPropertys(m);
trace(cls.toString());
--输出
package
{
import flash.display.Sprite;
public class HelloWorld extends Sprite
{
public var tea:String;
public function hi():void
{
trace("hello, world")
}
}
}
Web 2.0 Heroes
Bradley L. Jones / Wiley / 2008-04-14 / USD 24.99
Web 2.0 may be an elusive concept, but one thing is certain: using the Web as merely a means of retrieving and displaying information is history. Today?s Web is immediate, interactive, innovative. It ......一起来看看 《Web 2.0 Heroes》 这本书的介绍吧!
