pg.mutfun.Assign

Accessible via pg.mutfun.Assign.

class Assign(name, value)[source]

Bases: pg.mutfun.SymbolDefinition

Assignment instruction.

Methods:

evaluate(context)

Evaluates current instruction with variable dictionary.

python_repr([block_indent])

Returns a Python code representation of current instruction.

evaluate(context)[source]

Evaluates current instruction with variable dictionary.

Return type:

Any

python_repr(block_indent=0)[source]

Returns a Python code representation of current instruction.

Return type:

str