Lint tool for actionscript?

后端 未结 6 1851
-上瘾入骨i
-上瘾入骨i 2021-01-07 23:29

Are there any lint tools available for actionscript? One source would be ideal, but anything is welcome.

My team is starting to adopt more a more rigorous style gui

6条回答
  •  死守一世寂寞
    2021-01-07 23:58

    Not quite Lint, though Adobe's Flex mxmlc compiler gives plenty of helpful strict warnings about messy ActionScript, such as undeclared variables, missing function return types, and extra commas in an object/hash.

    mxmlc resources:

    • http://livedocs.adobe.com/flex/3/html/help.html?content=compilers_15.html#153435
    • http://www.senocular.com/flash/tutorials/as3withmxmlc/

    Some related code analysis tools are Yasca (analysis tool for JavaScript, Java, PHP, etc.) and asDox (AS3 parser written in Python), which might be decent starts for writing your own.

提交回复
热议问题