LocalVariables.with_type()
Returns the list of local variables having specified type.
with_type(var_type: str) →
APIList
[
LocalVariable
]
Query Example
from glider import *
def query():
functions = (
Functions()
.with_name("purchaseDataset")
.exec(1)
)
for func in functions:
local_vars = func.local_variables().with_type("address")
for local_var in local_vars:
print(local_var.source_code())
return functions
Example Output

Last updated