pg.mutfun.Var

Accessible via pg.mutfun.Var.

class Var(name)[source]

Bases: pg.mutfun.SymbolReference

Reference to a variable by name.

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