For the complete documentation index, see llms.txt. This page is also available as Markdown.

Value.get_local_vars()

Returns a list of VarValue objects of current value whose corresponding object is a LocalVariable.

get_local_vars() -> APIList[VarValue]

The function returns all the local variables used (read/written) inside the Value.

Query Example

from glider import *


def query():
    instructions = (
        Instructions()
        .new_variable_instructions()
        .exec(1)
    )

    for instruction in instructions:
        print(instruction.get_dest().get_local_vars().expression)

    return instructions

Example Output

Last updated