4 Star 8 Fork 1

Gitee 极速下载/CodeQL

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/github/codeql
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

This crate takes care of generating ast.py in the schema and translate/generate.rs in the extractor.

It uses:

  • rust.ungram from ra_ap_syntax
  • a couple of slightly modified sources from rust-analyzer that are not published.

Both are fetched by bazel while building. In order to have proper IDE support and being able to run cargo tooling in this crate, you can run

bazel run //rust/ast-generator:inject-sources

which will create the missing sources. Be aware that bazel will still use the source taken directly from rust-analyzer, not the one in your working copy. Those should not need to be update often though.

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/mirrors/CodeQL.git
git@gitee.com:mirrors/CodeQL.git
mirrors
CodeQL
CodeQL
main

搜索帮助