热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

AddConfigDocumentAPI

Thisworkcameoutofthediscussioninhttps://github.com/typesafehub/config/issues/272

This work came out of the discussion in https://github.com/typesafehub/config/issues/272.

~~These commits add a new grouping of classes,

1
ConfigNode

, to the library, which are used to form an AST. This AST contains all the tokens from which it was parsed, so the original text can be reproduced from them.~~

~~I'm opening this up for review now as the implementation is complete, so I think that portion is ready for review. The testing code is rough right now, largely because of the difficulty involved with crafting instances of

1
ConfigNodeComplexValue

by hand, so I'm still working on improving that, although any feedback on that front is welcome.~~

This PR adds the ConfigDocument API in its entirety, including its backend representation with ConfigNodes, the ConfigDocument Parser, and the ConfigDocument Interface.

该提问来源于开源项目:lightbend/config

Merged, thanks very much!





   



推荐阅读
author-avatar
张麦刚_738
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有