Functions | |
def | cast_python_object_to_aggregate (obj, aggregate) |
def | check_type (instance, expected_type) |
Variables | |
bool | DEBUG = False |
bool | RAISE_EXCEPTION_IF_TYPE_DOES_NOT_MATCH = True |
def SCL.TypeChecker.cast_python_object_to_aggregate | ( | obj, | |
aggregate | |||
) |
This function casts a python object to an aggregate type. For instance: [1.,2.,3.]-> ARRAY(1,3,REAL)
def SCL.TypeChecker.check_type | ( | instance, | |
expected_type | |||
) |
This function checks whether an object is an instance of a given class returns False or True
bool SCL.TypeChecker.DEBUG = False |
bool SCL.TypeChecker.RAISE_EXCEPTION_IF_TYPE_DOES_NOT_MATCH = True |