luau/Analysis/src
Lily Brown 510aed7d3f
Fix JsonEncoder for AstExprTable (#454)
JsonEncoder wasn't producing valid JSON for `AstExprTable`s. This PR fixes it. The new output looks like
```json
{
    "type": "AstStatBlock",
    "location": "0,0 - 6,4",
    "body": [
        {
            "type": "AstStatLocal",
            "location": "1,8 - 5,9",
            "vars": [
                {
                    "name": "x",
                    "location": "1,14 - 1,15"
                }
            ],
            "values": [
                {
                    "type": "AstExprTable",
                    "location": "3,12 - 5,9",
                    "items": [
                        {
                            "kind": "record",
                            "key": {
                                "type": "AstExprConstantString",
                                "location": "4,12 - 4,15",
                                "value": "foo"
                            },
                            "value": {
                                "type": "AstExprConstantNumber",
                                "location": "4,18 - 4,21",
                                "value": 123
                            }
                        }
                    ]
                }
            ]
        }
    ]
}
```
2022-04-08 11:26:47 -07:00
..
AstQuery.cpp Sync to upstream/release/502 (#134) 2021-11-04 19:34:35 -07:00
Autocomplete.cpp Sync to upstream/release/522 (#450) 2022-04-07 14:29:01 -07:00
BuiltinDefinitions.cpp Sync to upstream/release/521 (#443) 2022-03-31 14:01:51 -07:00
Clone.cpp Sync to upstream/release/522 (#450) 2022-04-07 14:29:01 -07:00
Config.cpp Sync to upstream/release/514 (#372) 2022-02-17 17:18:01 -08:00
EmbeddedBuiltinDefinitions.cpp Sync to upstream/release/519 (#422) 2022-03-17 17:46:04 -07:00
Error.cpp Sync to upstream/release/522 (#450) 2022-04-07 14:29:01 -07:00
Frontend.cpp Sync to upstream/release/522 (#450) 2022-04-07 14:29:01 -07:00
IostreamHelpers.cpp Sync to upstream/release/522 (#450) 2022-04-07 14:29:01 -07:00
JsonEncoder.cpp Fix JsonEncoder for AstExprTable (#454) 2022-04-08 11:26:47 -07:00
Linter.cpp Sync to upstream/release/520 (#427) 2022-03-24 15:04:14 -07:00
LValue.cpp Sync to upstream/release/513 (#340) 2022-02-04 08:45:57 -08:00
Module.cpp Sync to upstream/release/522 (#450) 2022-04-07 14:29:01 -07:00
Quantify.cpp Sync to upstream/release/514 (#372) 2022-02-17 17:18:01 -08:00
RequireTracer.cpp Sync to upstream/release/506 (#270) 2021-12-02 22:41:04 -08:00
Scope.cpp Sync to upstream/release/514 (#357) 2022-02-11 11:02:09 -08:00
Substitution.cpp Sync to upstream/release/514 (#372) 2022-02-17 17:18:01 -08:00
Symbol.cpp Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
ToDot.cpp Sync to upstream/release/506 (#270) 2021-12-02 22:41:04 -08:00
TopoSortStatements.cpp Sync to upstream/release/514 (#372) 2022-02-17 17:18:01 -08:00
ToString.cpp Sync to upstream/release/520 (#427) 2022-03-24 15:04:14 -07:00
Transpiler.cpp Sync to upstream/release/517 (#408) 2022-03-04 08:36:33 -08:00
TxnLog.cpp Sync to upstream/release/522 (#450) 2022-04-07 14:29:01 -07:00
TypeAttach.cpp Sync to upstream/release/514 (#372) 2022-02-17 17:18:01 -08:00
TypedAllocator.cpp Sync to upstream/release/514 (#372) 2022-02-17 17:18:01 -08:00
TypeInfer.cpp Sync to upstream/release/522 (#450) 2022-04-07 14:29:01 -07:00
TypePack.cpp Sync to upstream/release/520 (#427) 2022-03-24 15:04:14 -07:00
TypeUtils.cpp Sync to upstream/release/516 (#397) 2022-02-24 15:53:37 -08:00
TypeVar.cpp Sync to upstream/release/522 (#450) 2022-04-07 14:29:01 -07:00
Unifiable.cpp Sync to upstream/release/504 (#200) 2021-11-12 06:27:34 -08:00
Unifier.cpp Sync to upstream/release/520 (#427) 2022-03-24 15:04:14 -07:00