v8/test/cctest/torque
Simon Zünd 756fdf6e10 [torque-ls][cleanup] JsonValue accessors are now checked
Instead of accessing JsonValue struct fields directly, typed
accessors check that the tag matches with the type access.

Drive-by: The factory methods are now static methods on the JsonValue
type itself, making call-sites more readable.

R=tebbi@chromium.org

Bug: v8:8880
Change-Id: I49b37b3ba8eaf1153b8aa93ea08913077c923fdc
Reviewed-on: https://chromium-review.googlesource.com/c/1495559
Commit-Queue: Simon Zünd <szuend@chromium.org>
Reviewed-by: Tobias Tebbi <tebbi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#59968}
2019-03-01 12:32:27 +00:00
..
test-torque-ls-json.cc [torque-ls][cleanup] JsonValue accessors are now checked 2019-03-01 12:32:27 +00:00
test-torque-ls-message.cc [torque-ls] Add prototype language server implementation for Torque 2019-03-01 09:30:47 +00:00
test-torque.cc [torque] make overload resolution robust concerning branching contexts 2019-02-15 10:04:36 +00:00