File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed
javascript/ql/lib/semmle/javascript/dataflow Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -995,20 +995,6 @@ class ClassNode extends DataFlow::ValueNode, DataFlow::SourceNode {
995995 result = method .getBody ( ) .flow ( )
996996 )
997997 or
998- // ES6 class property or Function-style class methods via constructor
999- kind = MemberKind:: method ( ) and
1000- exists ( ThisNode receiver |
1001- receiver = this .getConstructor ( ) .getReceiver ( ) and
1002- result = receiver .getAPropertySource ( )
1003- )
1004- or
1005- // Function-style class methods via prototype
1006- kind = MemberKind:: method ( ) and
1007- exists ( DataFlow:: SourceNode proto |
1008- proto = this .getAPrototypeReference ( ) and
1009- result = proto .getAPropertySource ( )
1010- )
1011- or
1012998 // Function-style class accessors
1013999 astNode instanceof Function and
10141000 exists ( PropertyAccessor accessor |
You can’t perform that action at this time.
0 commit comments