VarValue.is_depending_on_any_argument()
Returns whether the object depends on any of its function's arguments.
Query Example
from glider import *
def query():
instructions = (
Functions()
.with_name("insertAccountProfile")
.exec(1)
.instructions()
.exec()
)
for instruction in instructions:
components = instruction.get_components()
for component in components:
if isinstance(component, VarValue):
depend_on_argument = component.is_depending_on_any_argument()
if depend_on_argument:
print(component.expression)
print(instruction.source_code())
return instructions
Example Output

Last updated