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

Value.get_vars()

Returns a list of all VarValue objects of current value.

get_vars() -> APIList[VarValue]

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

It returns VarValues for state, local and global variables and arguments, basically combining the calls to get_state_vars, get_local_vars, get_global_vars and get_arg_vars.

Example

from glider import *

def query():
    instructions = (
        Instructions()
        .exec(1,10)
    )
    for instruction in instructions:
        print(instruction.get_components().get_vars().expression)
    return instructions

Example Output

Last updated