Open Table Of Contents

numba.symtab

class numba.symtab.Variable(type, is_constant=False, is_local=False, is_global=False, is_builtin=False, name=None, lvalue=None, constant_value=None, promotable_type=True, is_arg=False)

Variables placed on the stack. They allow an indirection so, that when used in an operation, the correct LLVM type can be inserted.

Attributes:
type: the Numba type (see numba.typesystem and minivect/minitypes) is_local/is_global/is_constant name: name of local or global lvalue: LLVM Value state: state passed from one stage to the next
ctypes_type

The ctypes type for the type of this variable.

ltype

The LLVM type for the type of this variable or LLVM Value.

perform_assignment(rhs_type)

Called when an assignment is made to this variable.