JavaCC语法分析器 基于Eclipse插件 能从文件读取源代码输出语法树

上传者: u011324498 | 上传时间: 2019-12-21 21:22:09 | 文件大小: 212KB | 文件类型: zip
在学编译原理,自己写的,基于我的另一个词法分析器资源的进一步实现,测试类为src/parser/Test.java,能输出源代码的语法树,希望对你有所帮助

文件下载

资源详情

[{"title":"( 33 个子文件 212KB ) JavaCC语法分析器 基于Eclipse插件 能从文件读取源代码输出语法树","children":[{"title":"语法分析器","children":[{"title":".project <span style='color:#111;'> 574B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"parser","children":[{"title":"ParserConstants.java <span style='color:#111;'> 5.17KB </span>","children":null,"spread":false},{"title":"ParseException.java <span style='color:#111;'> 6.20KB </span>","children":null,"spread":false},{"title":"Test.java <span style='color:#111;'> 749B </span>","children":null,"spread":false},{"title":"Node.java <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false},{"title":"ParserTreeConstants.java <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"SimpleNode.java <span style='color:#111;'> 2.23KB </span>","children":null,"spread":false},{"title":"SimpleCharStream.java <span style='color:#111;'> 12.37KB </span>","children":null,"spread":false},{"title":"JJTParserState.java <span style='color:#111;'> 3.27KB </span>","children":null,"spread":false},{"title":"Parser.java <span style='color:#111;'> 24.83KB </span>","children":null,"spread":false},{"title":"ParserTokenManager.java <span style='color:#111;'> 36.02KB </span>","children":null,"spread":false},{"title":"Parser.jjt <span style='color:#111;'> 4.30KB </span>","children":null,"spread":false},{"title":"Parser.jj <span style='color:#111;'> 15.27KB </span>","children":null,"spread":false},{"title":"TokenMgrError.java <span style='color:#111;'> 4.46KB </span>","children":null,"spread":false},{"title":"Token.java <span style='color:#111;'> 4.10KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 598B </span>","children":null,"spread":false},{"title":"sf.eclipse.javacc.prefs <span style='color:#111;'> 312B </span>","children":null,"spread":false}],"spread":true},{"title":".classpath <span style='color:#111;'> 301B </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"parser","children":[{"title":"TokenMgrError.class <span style='color:#111;'> 2.76KB </span>","children":null,"spread":false},{"title":"SimpleNode.class <span style='color:#111;'> 2.58KB </span>","children":null,"spread":false},{"title":"Token.class <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false},{"title":"ParserTokenManager.class <span style='color:#111;'> 16.69KB </span>","children":null,"spread":false},{"title":"SimpleCharStream.class <span style='color:#111;'> 7.98KB </span>","children":null,"spread":false},{"title":"ParserConstants.class <span style='color:#111;'> 4.13KB </span>","children":null,"spread":false},{"title":"ParseException.class <span style='color:#111;'> 3.55KB </span>","children":null,"spread":false},{"title":"Node.class <span style='color:#111;'> 339B </span>","children":null,"spread":false},{"title":"ParserTreeConstants.class <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false},{"title":"Test.class <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"Parser.class <span style='color:#111;'> 14.59KB </span>","children":null,"spread":false},{"title":"Parser.jjt <span style='color:#111;'> 4.30KB </span>","children":null,"spread":false},{"title":"Parser.jj <span style='color:#111;'> 15.27KB </span>","children":null,"spread":false},{"title":"JJTParserState.class <span style='color:#111;'> 2.59KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"main.c <span style='color:#111;'> 69B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • zifeiyu0531 :
    不错,学习到了
    2019-10-16

免责申明

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