Skip to content

Commit 9b2b400

Browse files
committed
remove import changes
1 parent 4d9d748 commit 9b2b400

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

docs/codeql/codeql-language-guides/basic-query-for-cpp-code.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ After the initial ``import`` statement, this simple query comprises three parts
5252
+---------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------+
5353
| Query part | Purpose | Details |
5454
+===============================================================+===================================================================================================================+========================================================================================================================+
55-
| ``import c-cpp`` | Imports the standard CodeQL libraries for C/C++. | Every query begins with one or more ``import`` statements. |
55+
| ``import cpp`` | Imports the standard CodeQL libraries for C/C++. | Every query begins with one or more ``import`` statements. |
5656
+---------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------+
5757
| ``from IfStmt ifstmt, BlockStmt block`` | Defines the variables for the query. | We use: |
5858
| | Declarations are of the form: | |

docs/codeql/codeql-language-guides/basic-query-for-java-code.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ After the initial ``import`` statement, this simple query comprises three parts
7070
+--------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------+
7171
| Query part | Purpose | Details |
7272
+==================================================================================================+===================================================================================================================+===================================================================================================+
73-
| ``import java-kotlin`` | Imports the standard CodeQL libraries for Java and Kotlin. | Every query begins with one or more ``import`` statements. |
73+
| ``import java`` | Imports the standard CodeQL libraries for Java and Kotlin. | Every query begins with one or more ``import`` statements. |
7474
+--------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------+
7575
| ``from MethodAccess ma`` | Defines the variables for the query. | We use: |
7676
| | Declarations are of the form: | |

docs/codeql/codeql-language-guides/basic-query-for-javascript-code.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ After the initial ``import`` statement, this simple query comprises three parts
5050
+---------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------+
5151
| Query part | Purpose | Details |
5252
+===============================================================+===================================================================================================================+========================================================================================================================+
53-
| ``import javascript-typescript`` | Imports the standard CodeQL libraries for JavaScript and TypeScript. | Every query begins with one or more ``import`` statements. |
53+
| ``import javascript`` | Imports the standard CodeQL libraries for JavaScript and TypeScript. | Every query begins with one or more ``import`` statements. |
5454
+---------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------+
5555
| ``from Expr e`` | Defines the variables for the query. | ``e`` is declared as a variable that ranges over expressions. |
5656
| | Declarations are of the form: | |

docs/codeql/reusables/extractors.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
* - Language
66
- Identifier
77
* - C/C++
8-
- ``c-cpp``
8+
- ``cpp``
99
* - C#
1010
- ``csharp``
1111
* - Go
1212
- ``go``
1313
* - Java/Kotlin
14-
- ``java-kotlin``
14+
- ``java``
1515
* - JavaScript/TypeScript
16-
- ``javascript-typescript``
16+
- ``javascript``
1717
* - Python
1818
- ``python``
1919
* - Ruby

0 commit comments

Comments
 (0)