2
0
Fork 0
mirror of https://github.com/ii64/sonic.git synced 2026-06-21 00:46:43 +08:00
sonic/ast
Yi Duan 8405d84e31
feat: optimaze ast.Node API as container of generic values (#150)
* opt: only skip one value when call Iterator.HasNext()

* feat: V_NONE supports Set() and Add()

* feat: add node type V_ANY

* feat: ast.Node implements `json.Unmarshaler`

* fmt: use space instead of tab for indent

* feat: node V_ANY cast to Bool()\Int64()\Float64()\String()\Number()\Map()\Array()Interface()

* feat: V_NULL supports Set() and Add()

Co-authored-by: duanyi.aster <duanyi.aster@bytedance.com>
2021-12-09 15:43:51 +08:00
..
asm.s chore: make it open-source 2021-05-28 23:58:58 +08:00
encode.go feat: optimaze ast.Node API as container of generic values (#150) 2021-12-09 15:43:51 +08:00
encode_test.go feat: optimaze ast.Node API as container of generic values (#150) 2021-12-09 15:43:51 +08:00
iterator.go feat: optimaze ast.Node API as container of generic values (#150) 2021-12-09 15:43:51 +08:00
iterator_test.go feat: optimaze ast.Node API as container of generic values (#150) 2021-12-09 15:43:51 +08:00
node.go feat: optimaze ast.Node API as container of generic values (#150) 2021-12-09 15:43:51 +08:00
node_test.go feat: optimaze ast.Node API as container of generic values (#150) 2021-12-09 15:43:51 +08:00
parser.go feat: optimaze ast.Node API as container of generic values (#150) 2021-12-09 15:43:51 +08:00
parser_test.go doc: update readme (#143) 2021-12-01 18:03:19 +08:00
search.go fix: parser.ExportError() exceeds slice boundary 2021-07-20 16:47:59 +08:00
search_test.go feat: optimaze ast.Node API as container of generic values (#150) 2021-12-09 15:43:51 +08:00
stubs.go feat(ast): Node supports MarshalJson() (#84) 2021-08-27 18:28:56 +08:00
testdata_test.go chore: make it open-source 2021-05-28 23:58:58 +08:00
utils.go feat: optimaze ast.Node API as container of generic values (#150) 2021-12-09 15:43:51 +08:00