mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
renamed "exportassigndeclaration" to "export_assign_declaration"
This commit is contained in:
@@ -232,7 +232,7 @@ private class LiteralExternalModulePath extends PathExpr, ConstantString {
|
||||
}
|
||||
|
||||
/** A TypeScript "export-assign" declaration. */
|
||||
class ExportAssignDeclaration extends Stmt, @exportassigndeclaration {
|
||||
class ExportAssignDeclaration extends Stmt, @export_assign_declaration {
|
||||
/** Gets the expression exported by this declaration. */
|
||||
Expr getExpression() { result = getChildExpr(0) }
|
||||
}
|
||||
|
||||
@@ -182,7 +182,7 @@ case @stmt.kind of
|
||||
| 30 = @export_named_declaration
|
||||
| 31 = @namespace_declaration
|
||||
| 32 = @import_equals_declaration
|
||||
| 33 = @exportassigndeclaration
|
||||
| 33 = @export_assign_declaration
|
||||
| 34 = @interfacedeclaration
|
||||
| 35 = @typealiasdeclaration
|
||||
| 36 = @enumdeclaration
|
||||
|
||||
@@ -554,7 +554,7 @@
|
||||
<v>5</v>
|
||||
</e>
|
||||
<e>
|
||||
<k>@exportassigndeclaration</k>
|
||||
<k>@export_assign_declaration</k>
|
||||
<v>5</v>
|
||||
</e>
|
||||
<e>
|
||||
|
||||
Reference in New Issue
Block a user