qtil
advanced-security/qtil-python 0.0.3
Search

Member predicate API::Node::getSubscript

Gets a node representing a subscript of this node at (string) index key. This requires that the index can be statically determined.

For example, the subscripts of a and b below would be found using the index foo:

a["foo"]
x = "foo" if cond else "bar"
b[x]
Node getSubscript(string key)