• Simon Zünd's avatar
    [torque-ls] Add boilerplate for DocumentSymbol requests and responses · 034defad
    Simon Zünd authored
    DocumentSymbol responses provide all symbols (macros, classes, etc.)
    in a given document. The LSP standard evolved over time and supports
    two different kind of responses here:
      - A simpler one, that is a plain list of all the symbols
      - A more detailed one, allowing a hierarchy of symbols. For example
        a class symbol has a list of field/method symbols attached. This
        is used by editors to build hierarchical outline views.
    
    For now, the simpler response is chosen as its also used for
    workspace wide symbol searches.
    
    This CL adds the necessary boilerplate so the actual implementation CL
    is easier to review.
    
    R=tebbi@chromium.org
    
    Bug: v8:8880
    Change-Id: I6c86fc839b1f4e0309f6403a5f9afd5c162c0e89
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1598757
    Auto-Submit: Simon Zünd <szuend@chromium.org>
    Commit-Queue: Tobias Tebbi <tebbi@chromium.org>
    Reviewed-by: 's avatarTobias Tebbi <tebbi@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#61294}
    034defad
Name
Last commit
Last update
benchmarks Loading commit data...
build_overrides Loading commit data...
custom_deps Loading commit data...
docs Loading commit data...
gni Loading commit data...
include Loading commit data...
infra Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
third_party Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.clang-tidy Loading commit data...
.editorconfig Loading commit data...
.git-blame-ignore-revs Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gn Loading commit data...
.vpython Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.fdlibm Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...
snapshot_toolchain.gni Loading commit data...