Go to file
Simon Zünd 7626fe352c [torque] "OneOf" parser rule returns Identifier* instead of std::string
To obtain SourcePositions for unary and binary operators, this CL
changes the "OneOf" parser rule to produce an Identifier*. Forwarding
this new identifier as callee for a CallExpression enables
"goto Definition" support for operators in the Language Server.

Side note: VSCode won't highlight operators with an underlined font
when hovering with Ctrl pressed. "goto Definition" will work
nonetheless using default F12 or Ctrl-Click.

R=tebbi@chromium.org

Bug: v8:7793
Change-Id: Iada06009e324a3de8c453ec058427049e921a70d
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1598690
Auto-Submit: Simon Zünd <szuend@chromium.org>
Reviewed-by: Tobias Tebbi <tebbi@chromium.org>
Commit-Queue: Tobias Tebbi <tebbi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#61263}
2019-05-07 08:38:02 +00:00
benchmarks
build_overrides
custom_deps
docs
gni
include [api] Deprecate one {SetFlagsFromString} variant 2019-05-06 14:23:28 +00:00
infra
samples
src [torque] "OneOf" parser rule returns Identifier* instead of std::string 2019-05-07 08:38:02 +00:00
test [turbofan] Move source positions generation out of inlining 2019-05-07 08:05:57 +00:00
testing
third_party [DevTools] Roll inspector_protocol for v8. 2019-05-06 20:25:48 +00:00
tools [test] Increase timeout for full debug and predictable 2019-05-07 08:36:41 +00:00
.clang-format
.clang-tidy
.editorconfig
.git-blame-ignore-revs
.gitattributes
.gitignore
.gn
.vpython
.ycm_extra_conf.py
AUTHORS [arm64][turbofan] FP simplification 2019-05-06 08:25:22 +00:00
BUILD.gn [test] Increase timeout for full debug and predictable 2019-05-07 08:36:41 +00:00
ChangeLog
CODE_OF_CONDUCT.md
codereview.settings
DEPS Update wasm-spec. 2019-05-07 04:42:16 +00:00
LICENSE
LICENSE.fdlibm
LICENSE.strongtalk
LICENSE.v8
LICENSE.valgrind
OWNERS
PRESUBMIT.py
README.md
snapshot_toolchain.gni
WATCHLISTS

V8 JavaScript Engine

V8 is Google's open source JavaScript engine.

V8 implements ECMAScript as specified in ECMA-262.

V8 is written in C++ and is used in Google Chrome, the open source browser from Google.

V8 can run standalone, or can be embedded into any C++ application.

V8 Project page: https://v8.dev/docs

Getting the Code

Checkout depot tools, and run

    fetch v8

This will checkout V8 into the directory v8 and fetch all of its dependencies. To stay up to date, run

    git pull origin
    gclient sync

For fetching all branches, add the following into your remote configuration in .git/config:

    fetch = +refs/branch-heads/*:refs/remotes/branch-heads/*
    fetch = +refs/tags/*:refs/tags/*

Contributing

Please follow the instructions mentioned at v8.dev/docs/contribute.