Var
The class is used to represent a variable used in the instruction.
Var represents not just a variable in general but a specific "placement" of that variable in the code while the classes like LocalVariable or StateVariable etc. represent the variable itself.
Example:
Here, the bots
argument is used in different instructions, and each usage of the bots will be represented by a different Var, while the Argument object that can be retrieved using the get_object_of_var() function will represent the bots
in general as an argument.
Bases:
Value
, Point
Last updated