ASTParser.7z

上传者: steamPlayGame | 上传时间: 2022-04-25 18:04:02 | 文件大小: 5.6MB | 文件类型: 7Z
ASTParser
根据每个statement的类型来对源码进行相应的解析。Statement有很多子类,这里只给出其中的几类介绍(具体可以参考我上一篇文章:ASTParser介绍;最好直接去Eclipse documentation官网查看相关文档)。基本流程就是先判断statement是哪种类型的实例,做出相应的ClassCast,再调用相应的方法。

文件下载

资源详情

[{"title":"( 96 个子文件 5.6MB ) ASTParser.7z","children":[{"title":"ASTParser","children":[{"title":"pom.xml <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false},{"title":"target","children":[{"title":"test-classes","children":[{"title":"test","children":[{"title":"Orange.class <span style='color:#111;'> 253B </span>","children":null,"spread":false},{"title":"MyApp.class <span style='color:#111;'> 856B </span>","children":null,"spread":false},{"title":"Apple.class <span style='color:#111;'> 735B </span>","children":null,"spread":false}],"spread":true},{"title":".DS_Store <span style='color:#111;'> 6.00KB </span>","children":null,"spread":false},{"title":"file","children":[{"title":"Apple.class <span style='color:#111;'> 735B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"classes","children":[{"title":"META-INF","children":[{"title":"maven","children":[{"title":"sklse","children":[{"title":"ASTParser","children":[{"title":"pom.xml <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false},{"title":"pom.properties <span style='color:#111;'> 204B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"MANIFEST.MF <span style='color:#111;'> 107B </span>","children":null,"spread":false}],"spread":true},{"title":"test","children":[{"title":"ExceptionData.class <span style='color:#111;'> 3.61KB </span>","children":null,"spread":false},{"title":"ASTTester.class <span style='color:#111;'> 6.63KB </span>","children":null,"spread":false},{"title":"callGraphTest.class <span style='color:#111;'> 3.83KB </span>","children":null,"spread":false},{"title":"ASTMain.class <span style='color:#111;'> 5.88KB </span>","children":null,"spread":false}],"spread":true},{"title":"bean","children":[{"title":"CommentException.class <span style='color:#111;'> 778B </span>","children":null,"spread":false},{"title":"ExceptionBean.class <span style='color:#111;'> 3.77KB </span>","children":null,"spread":false}],"spread":true},{"title":"visitors","children":[{"title":"MethodInvocationVisitor.class <span style='color:#111;'> 7.50KB </span>","children":null,"spread":false},{"title":"MarkerAnnotationVisitor.class <span style='color:#111;'> 885B </span>","children":null,"spread":false},{"title":"MethodDeclarationVisitor.class <span style='color:#111;'> 13.10KB </span>","children":null,"spread":false}],"spread":true},{"title":"util","children":[{"title":"SQLUtil.class <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false},{"title":"StringUtil.class <span style='color:#111;'> 2.40KB </span>","children":null,"spread":false},{"title":"RootExceptionUtil.class <span style='color:#111;'> 38.74KB </span>","children":null,"spread":false},{"title":"FileHandlers.class <span style='color:#111;'> 1.81KB </span>","children":null,"spread":false},{"title":"WriteToFileUtil.class <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false},{"title":"WriteToExcelUtil.class <span style='color:#111;'> 2.32KB </span>","children":null,"spread":false},{"title":"Filterbyjava.class <span style='color:#111;'> 655B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":".git","children":[{"title":"index <span style='color:#111;'> 8.24KB </span>","children":null,"spread":false},{"title":"hooks","children":null,"spread":false},{"title":"config <span style='color:#111;'> 278B </span>","children":null,"spread":false},{"title":"refs","children":[{"title":"tags","children":null,"spread":false},{"title":"heads","children":[{"title":"master <span style='color:#111;'> 41B </span>","children":null,"spread":false}],"spread":true},{"title":"remotes","children":[{"title":"origin","children":[{"title":"master <span style='color:#111;'> 41B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"branches","children":null,"spread":false},{"title":"logs","children":[{"title":"refs","children":[{"title":"heads","children":[{"title":"master <span style='color:#111;'> 131B </span>","children":null,"spread":false}],"spread":true},{"title":"remotes","children":[{"title":"origin","children":[{"title":"master <span style='color:#111;'> 145B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"HEAD <span style='color:#111;'> 131B </span>","children":null,"spread":false}],"spread":true},{"title":"objects","children":[{"title":"info","children":null,"spread":false},{"title":"pack","children":[{"title":"pack-df04b105fa4854cc0fcd50f36661092f7eab412a.idx <span style='color:#111;'> 7.01KB </span>","children":null,"spread":false},{"title":"pack-df04b105fa4854cc0fcd50f36661092f7eab412a.pack <span style='color:#111;'> 3.82MB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"HEAD <span style='color:#111;'> 23B </span>","children":null,"spread":false},{"title":"FETCH_HEAD <span style='color:#111;'> 123B </span>","children":null,"spread":false}],"spread":true},{"title":"DataSet-test.txt <span style='color:#111;'> 2.54MB </span>","children":null,"spread":false},{"title":"Exception-1120.dot <span style='color:#111;'> 1.71MB </span>","children":null,"spread":false},{"title":".settings","children":[{"title":"org.eclipse.core.resources.prefs <span style='color:#111;'> 127B </span>","children":null,"spread":false},{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 238B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"test","children":[{"title":"java","children":[{"title":"test","children":[{"title":"Apple.java <span style='color:#111;'> 396B </span>","children":null,"spread":false},{"title":"Orange.java <span style='color:#111;'> 81B </span>","children":null,"spread":false},{"title":"MyApp.java <span style='color:#111;'> 417B </span>","children":null,"spread":false}],"spread":true},{"title":".DS_Store <span style='color:#111;'> 6.00KB </span>","children":null,"spread":false},{"title":"file","children":[{"title":"Apple.java <span style='color:#111;'> 328B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"resources","children":null,"spread":false},{"title":"java","children":[{"title":"test","children":[{"title":"ExceptionData.java <span style='color:#111;'> 2.65KB </span>","children":null,"spread":false},{"title":"callGraphTest.java <span style='color:#111;'> 4.38KB </span>","children":null,"spread":false},{"title":"ASTTester.java <span style='color:#111;'> 5.58KB </span>","children":null,"spread":false},{"title":"ASTMain.java <span style='color:#111;'> 5.44KB </span>","children":null,"spread":false}],"spread":true},{"title":"bean","children":[{"title":"CommentException.java <span style='color:#111;'> 508B </span>","children":null,"spread":false},{"title":"ExceptionBean.java <span style='color:#111;'> 3.41KB </span>","children":null,"spread":false}],"spread":true},{"title":"visitors","children":[{"title":"MethodDeclarationVisitor.java <span style='color:#111;'> 21.42KB </span>","children":null,"spread":false},{"title":"MethodInvocationVisitor.java <span style='color:#111;'> 9.70KB </span>","children":null,"spread":false},{"title":"MarkerAnnotationVisitor.java <span style='color:#111;'> 406B </span>","children":null,"spread":false}],"spread":false},{"title":"util","children":[{"title":"WriteToFileUtil.java <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"StringUtil.java <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false},{"title":"RootExceptionUtil.java <span style='color:#111;'> 77.04KB </span>","children":null,"spread":false},{"title":"WriteToExcelUtil.java <span style='color:#111;'> 2.49KB </span>","children":null,"spread":false},{"title":"FileHandlers.java <span style='color:#111;'> 1.63KB </span>","children":null,"spread":false},{"title":"SQLUtil.java <span style='color:#111;'> 568B </span>","children":null,"spread":false},{"title":"Filterbyjava.java <span style='color:#111;'> 385B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":".idea","children":[{"title":"externalDependencies.xml <span style='color:#111;'> 154B </span>","children":null,"spread":false},{"title":"uiDesigner.xml <span style='color:#111;'> 8.59KB </span>","children":null,"spread":false},{"title":"markdown-navigator","children":[{"title":"profiles_settings.xml <span style='color:#111;'> 104B </span>","children":null,"spread":false}],"spread":true},{"title":"misc.xml <span style='color:#111;'> 4.43KB </span>","children":null,"spread":false},{"title":"vcs.xml <span style='color:#111;'> 167B </span>","children":null,"spread":false},{"title":"modules.xml <span style='color:#111;'> 258B </span>","children":null,"spread":false},{"title":"compiler.xml <span style='color:#111;'> 630B </span>","children":null,"spread":false},{"title":"workspace.xml <span style='color:#111;'> 84.36KB </span>","children":null,"spread":false},{"title":"libraries","children":[{"title":"Maven__mysql_mysql_connector_java_5_1_40.xml <span style='color:#111;'> 562B </span>","children":null,"spread":false},{"title":"Maven__commons_io_commons_io_2_6.xml <span style='color:#111;'> 491B </span>","children":null,"spread":false},{"title":"Maven__org_eclipse_platform_org_eclipse_equinox_common_3_9_0.xml <span style='color:#111;'> 657B </span>","children":null,"spread":false},{"title":"Maven__org_eclipse_platform_org_eclipse_equinox_app_1_3_400.xml <span style='color:#111;'> 650B </span>","children":null,"spread":false},{"title":"Maven__org_eclipse_platform_org_eclipse_core_filesystem_1_7_0.xml <span style='color:#111;'> 664B </span>","children":null,"spread":false},{"title":"Maven__org_eclipse_platform_org_eclipse_core_jobs_3_9_3.xml <span style='color:#111;'> 622B </span>","children":null,"spread":false},{"title":"Maven__org_eclipse_platform_org_eclipse_text_3_6_100.xml <span style='color:#111;'> 601B </span>","children":null,"spread":false},{"title":"Maven__org_eclipse_platform_org_eclipse_core_runtime_3_13_0.xml <span style='color:#111;'> 650B </span>","children":null,"spread":false},{"title":"Maven__org_eclipse_platform_org_eclipse_core_commands_3_9_0.xml <span style='color:#111;'> 650B </span>","children":null,"spread":false},{"title":"Maven__org_eclipse_platform_org_eclipse_core_expressions_3_6_0.xml <span style='color:#111;'> 671B </span>","children":null,"spread":false},{"title":"Maven__org_eclipse_platform_org_eclipse_osgi_3_12_100.xml <span style='color:#111;'> 608B </span>","children":null,"spread":false},{"title":"Maven__org_eclipse_platform_org_eclipse_equinox_preferences_3_7_0.xml <span style='color:#111;'> 692B </span>","children":null,"spread":false},{"title":"Maven__org_eclipse_platform_org_eclipse_core_resources_3_12_0.xml <span style='color:#111;'> 664B </span>","children":null,"spread":false},{"title":"Maven__org_eclipse_platform_org_eclipse_equinox_registry_3_7_0.xml <span style='color:#111;'> 671B </span>","children":null,"spread":false},{"title":"Maven__log4j_log4j_1_2_14.xml <span style='color:#111;'> 457B </span>","children":null,"spread":false},{"title":"Maven__org_eclipse_jdt_org_eclipse_jdt_core_3_13_102.xml <span style='color:#111;'> 616B </span>","children":null,"spread":false},{"title":"Maven__net_sourceforge_jexcelapi_jxl_2_6_12.xml <span style='color:#111;'> 523B </span>","children":null,"spread":false},{"title":"Maven__org_eclipse_platform_org_eclipse_core_contenttype_3_6_0.xml <span style='color:#111;'> 671B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":".project <span style='color:#111;'> 538B </span>","children":null,"spread":false},{"title":"tomcatException-1121.xlsx <span style='color:#111;'> 13.50KB </span>","children":null,"spread":false},{"title":"Exception-1121.dot <span style='color:#111;'> 2.41MB </span>","children":null,"spread":false},{"title":"Exception-1120.pdf <span style='color:#111;'> 1.59MB </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"tomcatOrig-1121.txt <span style='color:#111;'> 16.57MB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 926B </span>","children":null,"spread":false},{"title":"Exception-1121.txt <span style='color:#111;'> 2.41MB </span>","children":null,"spread":false},{"title":"test2.txt <span style='color:#111;'> 3.09KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明