解析nginx配置文件nginx-java-parser.zip

上传者: 39841856 | 上传时间: 2021-07-14 13:40:48 | 文件大小: 74KB | 文件类型: ZIP
解析nginx配置文件,并将nginx配置文件格式化成对象,方便java程序管理nginx配置。解析配置文件并非使用正则匹配,而是使用语法分析树处理解决的。


标签:nginx

文件下载

资源详情

[{"title":"( 78 个子文件 74KB ) 解析nginx配置文件nginx-java-parser.zip","children":[{"title":"nginx-java-parser-master","children":[{"title":".gitignore <span style='color:#111;'> 329B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 2.14KB </span>","children":null,"spread":false},{"title":"pom.xml <span style='color:#111;'> 6.30KB </span>","children":null,"spread":false},{"title":"compile.javacc.cmd <span style='color:#111;'> 125B </span>","children":null,"spread":false},{"title":"compile.antlr.cmd <span style='color:#111;'> 316B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"test","children":[{"title":"resources","children":[{"title":"rewrite","children":[{"title":"c6.conf <span style='color:#111;'> 65B </span>","children":null,"spread":false},{"title":"c5.conf <span style='color:#111;'> 77B </span>","children":null,"spread":false},{"title":"c4.conf <span style='color:#111;'> 92B </span>","children":null,"spread":false},{"title":"c1.conf <span style='color:#111;'> 66B </span>","children":null,"spread":false},{"title":"c2.conf <span style='color:#111;'> 30B </span>","children":null,"spread":false},{"title":"c3.conf <span style='color:#111;'> 106B </span>","children":null,"spread":false}],"spread":true},{"title":"complex","children":[{"title":"c1.conf <span style='color:#111;'> 32B </span>","children":null,"spread":false},{"title":"semicolon.conf <span style='color:#111;'> 66B </span>","children":null,"spread":false},{"title":"nginx-hash-symbols.conf <span style='color:#111;'> 503B </span>","children":null,"spread":false},{"title":"c2.conf <span style='color:#111;'> 34B </span>","children":null,"spread":false},{"title":"map_regexps.conf <span style='color:#111;'> 395B </span>","children":null,"spread":false}],"spread":true},{"title":"nested","children":[{"title":"c5.conf <span style='color:#111;'> 69B </span>","children":null,"spread":false},{"title":"c4.conf <span style='color:#111;'> 119B </span>","children":null,"spread":false},{"title":"c1.conf <span style='color:#111;'> 209B </span>","children":null,"spread":false},{"title":"c2.conf <span style='color:#111;'> 192B </span>","children":null,"spread":false},{"title":"c3.conf <span style='color:#111;'> 193B </span>","children":null,"spread":false}],"spread":true},{"title":"i18n","children":[{"title":"c1.conf <span style='color:#111;'> 66B </span>","children":null,"spread":false}],"spread":true},{"title":"lua","children":[{"title":"c1.conf <span style='color:#111;'> 173B </span>","children":null,"spread":false}],"spread":true},{"title":"tricks","children":[{"title":"c1.conf <span style='color:#111;'> 60B </span>","children":null,"spread":false}],"spread":false},{"title":"common","children":[{"title":"c6.conf <span style='color:#111;'> 46B </span>","children":null,"spread":false},{"title":"c5.conf <span style='color:#111;'> 64B </span>","children":null,"spread":false},{"title":"c4.conf <span style='color:#111;'> 20B </span>","children":null,"spread":false},{"title":"c1.conf <span style='color:#111;'> 106B </span>","children":null,"spread":false},{"title":"c2.conf <span style='color:#111;'> 125B </span>","children":null,"spread":false},{"title":"c7.conf <span style='color:#111;'> 41B </span>","children":null,"spread":false},{"title":"c3.conf <span style='color:#111;'> 104B </span>","children":null,"spread":false}],"spread":false},{"title":"if","children":[{"title":"c6.conf <span style='color:#111;'> 145B </span>","children":null,"spread":false},{"title":"c5.conf <span style='color:#111;'> 117B </span>","children":null,"spread":false},{"title":"c4.conf <span style='color:#111;'> 119B </span>","children":null,"spread":false},{"title":"c1.conf <span style='color:#111;'> 51B </span>","children":null,"spread":false},{"title":"c2.conf <span style='color:#111;'> 48B </span>","children":null,"spread":false},{"title":"c3.conf <span style='color:#111;'> 48B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"github","children":[{"title":"odiszapc","children":[{"title":"nginxparser","children":[{"title":"ComplexTest.java <span style='color:#111;'> 3.18KB </span>","children":null,"spread":false},{"title":"TricksTest.java <span style='color:#111;'> 1.36KB </span>","children":null,"spread":false},{"title":"CommonTest.java <span style='color:#111;'> 3.26KB </span>","children":null,"spread":false},{"title":"DumperTest.java <span style='color:#111;'> 1.84KB </span>","children":null,"spread":false},{"title":"AlterConfigTest.java <span style='color:#111;'> 1.87KB </span>","children":null,"spread":false},{"title":"IfTest.java <span style='color:#111;'> 1.83KB </span>","children":null,"spread":false},{"title":"UnicodeTest.java <span style='color:#111;'> 889B </span>","children":null,"spread":false},{"title":"NestedTest.java <span style='color:#111;'> 4.64KB </span>","children":null,"spread":false},{"title":"TestUtils.java <span style='color:#111;'> 3.05KB </span>","children":null,"spread":false},{"title":"RegexpTest.java <span style='color:#111;'> 639B </span>","children":null,"spread":false},{"title":"LuaTest.java <span style='color:#111;'> 633B </span>","children":null,"spread":false},{"title":"RewriteTest.java <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"ParseTestBase.java <span style='color:#111;'> 536B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"resources","children":[{"title":"grammar","children":[{"title":"Nginx.g4 <span style='color:#111;'> 3.96KB </span>","children":null,"spread":false},{"title":"grammar.jj <span style='color:#111;'> 4.54KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"github","children":[{"title":"odiszapc","children":[{"title":"nginxparser","children":[{"title":"NgxDumper.java <span style='color:#111;'> 3.46KB </span>","children":null,"spread":false},{"title":"NgxAbstractEntry.java <span style='color:#111;'> 2.37KB </span>","children":null,"spread":false},{"title":"NgxEntryType.java <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false},{"title":"NgxBlock.java <span style='color:#111;'> 4.35KB </span>","children":null,"spread":false},{"title":"antlr","children":[{"title":"NginxVisitor.java <span style='color:#111;'> 2.62KB </span>","children":null,"spread":false},{"title":"NginxListener.java <span style='color:#111;'> 4.02KB </span>","children":null,"spread":false},{"title":"NginxLexer.java <span style='color:#111;'> 7.37KB </span>","children":null,"spread":false},{"title":"NginxListenerImpl.java <span style='color:#111;'> 531B </span>","children":null,"spread":false},{"title":"NginxParser.java <span style='color:#111;'> 39.83KB </span>","children":null,"spread":false},{"title":"NginxBaseListener.java <span style='color:#111;'> 4.65KB </span>","children":null,"spread":false},{"title":"NginxBaseVisitor.java <span style='color:#111;'> 3.27KB </span>","children":null,"spread":false},{"title":"Nginx.tokens <span style='color:#111;'> 324B </span>","children":null,"spread":false},{"title":"NginxLexer.tokens <span style='color:#111;'> 324B </span>","children":null,"spread":false}],"spread":false},{"title":"NgxParam.java <span style='color:#111;'> 933B </span>","children":null,"spread":false},{"title":"NgxToken.java <span style='color:#111;'> 974B </span>","children":null,"spread":false},{"title":"NgxEntry.java <span style='color:#111;'> 673B </span>","children":null,"spread":false},{"title":"NgxComment.java <span style='color:#111;'> 993B </span>","children":null,"spread":false},{"title":"NgxConfig.java <span style='color:#111;'> 3.30KB </span>","children":null,"spread":false},{"title":"NgxIfBlock.java <span style='color:#111;'> 826B </span>","children":null,"spread":false},{"title":"javacc","children":[{"title":"SimpleCharStream.java <span style='color:#111;'> 12.18KB </span>","children":null,"spread":false},{"title":"NginxConfigParserConstants.java <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false},{"title":"NginxConfigParserTokenManager.java <span style='color:#111;'> 14.70KB </span>","children":null,"spread":false},{"title":"NginxConfigParser.java <span style='color:#111;'> 17.75KB </span>","children":null,"spread":false},{"title":"ParseException.java <span style='color:#111;'> 6.64KB </span>","children":null,"spread":false},{"title":"TokenMgrError.java <span style='color:#111;'> 4.93KB </span>","children":null,"spread":false},{"title":"Token.java <span style='color:#111;'> 4.59KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

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