File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
python/ql/src/semmle/python/dataflow/new/internal Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,11 @@ class LocalSourceNode extends Node {
59
59
*/
60
60
AttrRead getAnAttributeRead ( string attrName ) { result = getAnAttributeReference ( attrName ) }
61
61
62
+ /**
63
+ * Gets a write of attribute `attrName` on this node.
64
+ */
65
+ AttrWrite getAnAttributeWrite ( string attrName ) { result = getAnAttributeReference ( attrName ) }
66
+
62
67
/**
63
68
* Gets a reference (read or write) of any attribute on this node.
64
69
*/
@@ -73,6 +78,11 @@ class LocalSourceNode extends Node {
73
78
*/
74
79
AttrRead getAnAttributeRead ( ) { result = getAnAttributeReference ( ) }
75
80
81
+ /**
82
+ * Gets a write of any attribute on this node.
83
+ */
84
+ AttrWrite getAnAttributeWrite ( ) { result = getAnAttributeReference ( ) }
85
+
76
86
/**
77
87
* Gets a call to this node.
78
88
*/
You can’t perform that action at this time.
0 commit comments