mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
renamed "importmetaexpr" to "import_meta_expr"
This commit is contained in:
@@ -262,7 +262,7 @@ public class ExprKinds {
|
||||
@Override
|
||||
public Integer visit(MetaProperty nd, Void c) {
|
||||
if (nd.getMeta().getName().equals("new")) return 82; // @newtarget_expr
|
||||
if (nd.getMeta().getName().equals("import")) return 115; // @importmetaexpr
|
||||
if (nd.getMeta().getName().equals("import")) return 115; // @import_meta_expr
|
||||
return 93; // @function_sent_expr
|
||||
}
|
||||
|
||||
|
||||
@@ -2773,6 +2773,6 @@ class OptionalChainRoot extends ChainElem {
|
||||
* let url = import.meta.url;
|
||||
* ```
|
||||
*/
|
||||
class ImportMetaExpr extends @importmetaexpr, Expr {
|
||||
class ImportMetaExpr extends @import_meta_expr, Expr {
|
||||
override predicate isImpure() { none() }
|
||||
}
|
||||
|
||||
@@ -350,7 +350,7 @@ case @expr.kind of
|
||||
| 112 = @e4x_xml_static_qualident
|
||||
| 113 = @e4x_xml_dynamic_qualident
|
||||
| 114 = @e4x_xml_dotdotexpr
|
||||
| 115 = @importmetaexpr
|
||||
| 115 = @import_meta_expr
|
||||
| 116 = @assignlogandexpr
|
||||
| 117 = @assignlogorexpr
|
||||
| 118 = @assignnullishcoalescingexpr
|
||||
|
||||
@@ -526,7 +526,7 @@
|
||||
<v>1</v>
|
||||
</e>
|
||||
<e>
|
||||
<k>@importmetaexpr</k>
|
||||
<k>@import_meta_expr</k>
|
||||
<v>1</v>
|
||||
</e>
|
||||
<e>
|
||||
|
||||
Reference in New Issue
Block a user