• Simon Zünd's avatar
    [torque] Add NameExpression to get SourcePositions for identifiers · b95550e8
    Simon Zünd authored
    This CL introduces a new expression that can replace "std::string"
    fields in other expressions. The main goal is to get SourcePositions
    for identifiers to make them available in the language server.
    
    The CL introduces a separate symbol "name", that allows to
    incrementellay replace strings with name expression where needed. As
    an example, variable delcarations now use a NameExpression for the
    variable name.
    
    R=danno@chromium.org, tebbi@chromium.org
    
    Bug: v8:7793
    Change-Id: I5b88bbaeac597b8e9760d2e01880e5e599ebf802
    Reviewed-on: https://chromium-review.googlesource.com/c/1488752
    Commit-Queue: Simon Zünd <szuend@chromium.org>
    Reviewed-by: 's avatarTobias Tebbi <tebbi@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#59865}
    b95550e8
Name
Last commit
Last update
..
ls Loading commit data...
ast.h Loading commit data...
cfg.cc Loading commit data...
cfg.h Loading commit data...
contextual.h Loading commit data...
csa-generator.cc Loading commit data...
csa-generator.h Loading commit data...
declarable.cc Loading commit data...
declarable.h Loading commit data...
declaration-visitor.cc Loading commit data...
declaration-visitor.h Loading commit data...
declarations.cc Loading commit data...
declarations.h Loading commit data...
earley-parser.cc Loading commit data...
earley-parser.h Loading commit data...
file-visitor.cc Loading commit data...
file-visitor.h Loading commit data...
global-context.h Loading commit data...
implementation-visitor.cc Loading commit data...
implementation-visitor.h Loading commit data...
instructions.cc Loading commit data...
instructions.h Loading commit data...
parameter-difference.h Loading commit data...
source-positions.cc Loading commit data...
source-positions.h Loading commit data...
torque-compiler.cc Loading commit data...
torque-compiler.h Loading commit data...
torque-parser.cc Loading commit data...
torque-parser.h Loading commit data...
torque.cc Loading commit data...
type-oracle.cc Loading commit data...
type-oracle.h Loading commit data...
types.cc Loading commit data...
types.h Loading commit data...
utils.cc Loading commit data...
utils.h Loading commit data...