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 {
5959 */
6060 AttrRead getAnAttributeRead ( string attrName ) { result = getAnAttributeReference ( attrName ) }
6161
62+ /**
63+ * Gets a write of attribute `attrName` on this node.
64+ */
65+ AttrWrite getAnAttributeWrite ( string attrName ) { result = getAnAttributeReference ( attrName ) }
66+
6267 /**
6368 * Gets a reference (read or write) of any attribute on this node.
6469 */
@@ -73,6 +78,11 @@ class LocalSourceNode extends Node {
7378 */
7479 AttrRead getAnAttributeRead ( ) { result = getAnAttributeReference ( ) }
7580
81+ /**
82+ * Gets a write of any attribute on this node.
83+ */
84+ AttrWrite getAnAttributeWrite ( ) { result = getAnAttributeReference ( ) }
85+
7686 /**
7787 * Gets a call to this node.
7888 */
You can’t perform that action at this time.
0 commit comments