{"id":13745046,"url":"https://github.com/bytetalking/ClsCreator","last_synced_at":"2025-05-09T04:33:29.879Z","repository":{"id":14374073,"uuid":"17084091","full_name":"bytetalking/ClsCreator","owner":"bytetalking","description":"An ActionScript code generate lib","archived":false,"fork":false,"pushed_at":"2019-07-24T07:24:32.000Z","size":334,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-29T02:02:14.568Z","etag":null,"topics":["actionscript"],"latest_commit_sha":null,"homepage":null,"language":"AngelScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bytetalking.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-02-22T12:10:41.000Z","updated_at":"2019-07-24T07:24:34.000Z","dependencies_parsed_at":"2022-08-27T03:23:43.015Z","dependency_job_id":null,"html_url":"https://github.com/bytetalking/ClsCreator","commit_stats":null,"previous_names":["babyfaction/clscreator"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bytetalking%2FClsCreator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bytetalking%2FClsCreator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bytetalking%2FClsCreator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bytetalking%2FClsCreator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bytetalking","download_url":"https://codeload.github.com/bytetalking/ClsCreator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224819773,"owners_count":17375323,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["actionscript"],"created_at":"2024-08-03T05:01:21.163Z","updated_at":"2024-11-15T17:31:10.977Z","avatar_url":"https://github.com/bytetalking.png","language":"AngelScript","funding_links":[],"categories":["Unsorted"],"sub_categories":["Other API"],"readme":"ClsCreator\n==========\n\nAn ActionScript3 code generate lib，you can use as3 generate as3\n\n## hello world\n\n```js\nvar cls:Cls = new Cls(\"HelloWorld\", new Pack(\"\"));\ncls.setSuperClass(new SuperCls(Sprite));\n\nvar v:Var = new Var(\"tea\", String);\ncls.addPropertys(v);\n\nvar m:Method = new Method(\"hi\", Method.VOID, Property.PUBLIC);\nm.addStatement(new Statement(\"trace(\\\"hello, world\\\")\"));\ncls.addPropertys(m);\n\ntrace(cls.toString());\n```\n\n## output\n```js\npackage \n{\n\timport flash.display.Sprite;\n\tpublic class HelloWorld extends Sprite\n\t{\n\t\tpublic var tea:String;\n\t\tpublic function hi():void\n\t\t{\n\t\t\ttrace(\"hello, world\")\n\t\t}\n\t}\n}\n```\n## cases\n![image](https://github.com/bytetalking/ClsCreator/blob/master/cases/case1.jpg?raw=true)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbytetalking%2FClsCreator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbytetalking%2FClsCreator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbytetalking%2FClsCreator/lists"}