mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Address review comments
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
---
|
||||
category: breaking
|
||||
---
|
||||
* `import ruby` no longer brings the standard Ruby AST libarary into scope (it brings nothing into scope, so should no longer be used). Instead, import the AST library via `import codeql.ruby.AST`.
|
||||
* `import ruby` no longer brings the standard Ruby AST libarary into scope; it instead brings a module `Ast` into scope, which must be imported. Alternatively, it is also possible to import `codeql.ruby.AST`.
|
||||
@@ -1,9 +1,7 @@
|
||||
/**
|
||||
* Kept for backwards compatibility with e.g. quick-queries.
|
||||
*
|
||||
* Instead, import the relevant abstraction layer:
|
||||
* - `codeql.ruby.DataFlow` for data-flow queries.
|
||||
* - `codeql.ruby.CFG` for control-flow queries.
|
||||
* - `codeql.ruby.AST` for syntactic queries.
|
||||
* Provides classes for working with Ruby programs.
|
||||
*/
|
||||
|
||||
import codeql.ruby.AST as Ast
|
||||
import codeql.ruby.CFG as Cfg
|
||||
import codeql.ruby.DataFlow // already defines its own wrapper module
|
||||
|
||||
Reference in New Issue
Block a user