mirror of
https://github.com/github/codeql.git
synced 2025-12-24 12:46:34 +01:00
renamed "indexexpr" to "index_expr"
This commit is contained in:
@@ -1114,7 +1114,7 @@ class DotExpr extends @dot_expr, PropAccess {
|
||||
* arguments[i]
|
||||
* ```
|
||||
*/
|
||||
class IndexExpr extends @indexexpr, PropAccess {
|
||||
class IndexExpr extends @index_expr, PropAccess {
|
||||
/** Gets the expression specifying the name of the accessed property. */
|
||||
Expr getIndex() { result = getChildExpr(1) }
|
||||
|
||||
|
||||
@@ -251,7 +251,7 @@ case @expr.kind of
|
||||
| 12 = @new_expr
|
||||
| 13 = @call_expr
|
||||
| 14 = @dot_expr
|
||||
| 15 = @indexexpr
|
||||
| 15 = @index_expr
|
||||
| 16 = @negexpr
|
||||
| 17 = @plusexpr
|
||||
| 18 = @lognotexpr
|
||||
@@ -363,7 +363,7 @@ case @expr.kind of
|
||||
|
||||
@literal = @null_literal | @boolean_literal | @number_literal | @string_literal | @regexp_literal | @bigintliteral;
|
||||
|
||||
@propaccess = @dot_expr | @indexexpr;
|
||||
@propaccess = @dot_expr | @index_expr;
|
||||
|
||||
@invokeexpr = @new_expr | @call_expr;
|
||||
|
||||
|
||||
@@ -250,7 +250,7 @@
|
||||
<v>602582</v>
|
||||
</e>
|
||||
<e>
|
||||
<k>@indexexpr</k>
|
||||
<k>@index_expr</k>
|
||||
<v>105192</v>
|
||||
</e>
|
||||
<e>
|
||||
|
||||
Reference in New Issue
Block a user