UniSet 2.45.1
Класс tests.test_ir.TestNestedExpressions

Открытые члены

 test_nested_binary_ops (self)
 test_field_access_on_array_element (self)
 test_type_coercion_in_binary_op (self)

Подробное описание

Tests for nested/composed expression trees.

Методы

◆ test_field_access_on_array_element()

tests.test_ir.TestNestedExpressions.test_field_access_on_array_element ( self)
data[i].value

◆ test_nested_binary_ops()

tests.test_ir.TestNestedExpressions.test_nested_binary_ops ( self)
(a + b) * c

◆ test_type_coercion_in_binary_op()

tests.test_ir.TestNestedExpressions.test_type_coercion_in_binary_op ( self)
BOOL flag used in arithmetic: (flag ? 1 : 0) + count