• Simon Zünd's avatar
    [torque-ls] Support types in document-wide symbol requests · d6b51cba
    Simon Zünd authored
    This CL adds support for all kinds of Types to "textDocument/symbol"
    requests. While LSP has support for classes and structs, it does not
    have support for generic types. Only classes are marked as such,
    while all other types are marked as structs in terms of the LSP.
    
    Special care has to be taken with TypeAliases. Generic call sites
    introduce a new scope (similar to namespace scopes), where new
    TypeAliases are created for Generic type arguments. These TypeAliases
    then point to the specialized type inside this call-site specific
    scope. To omit the specialized TypeAliaes from the symbols list,
    they are marked using the "is_user_defined" flag.
    
    R=sigurds@chromium.org
    
    Bug: v8:8880
    Change-Id: I576d1c677a5255d54f7774aa053f431608a4cd0c
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1613240
    Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
    Reviewed-by: 's avatarSigurd Schneider <sigurds@chromium.org>
    Auto-Submit: Simon Zünd <szuend@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#61534}
    d6b51cba
Name
Last commit
Last update
..
globals.h Loading commit data...
json-parser.cc Loading commit data...
json-parser.h Loading commit data...
json.cc Loading commit data...
json.h Loading commit data...
message-handler.cc Loading commit data...
message-handler.h Loading commit data...
message-macros.h Loading commit data...
message-pipe.h Loading commit data...
message.h Loading commit data...
torque-language-server.cc Loading commit data...