ValueExpression.get_dest()
Returns the Value object representing the leftmost destination of the instruction
get_dest() -> Union[
Value
,
NoneObject
]
This function will return 'a
' in this case: 'a = b = c = 5
'
Query Example
from glider import *
def query():
instructions = (
Instructions()
.exec(1,1)
)
for instruction in instructions:
print(instruction.get_value().get_dest().expression)
return instructions
Output Example

Last updated