loki.ir.tests.test_expr_visitors
Functions
Verify that expression finder visitors work as intended and remain functional if re-used |
|
|
Test that |
|
Test that |
|
Test symbol replacement with |
|
Test symbol replacement with symbol string mappping. |
- test_expression_finder_retrieval_function(frontend, tmp_path)
Verify that expression finder visitors work as intended and remain functional if re-used
- test_find_variables(frontend, tmp_path)
Test that
FindVariables
finds all symbol uses.
- test_find_literals(frontend)
Test that
FindLiterals
finds all literals andFindRealLiterals
all real/float literals.
- test_substitute_expressions(frontend)
Test symbol replacement with
Expression
symbols.
- test_substitute_string_expressions(frontend)
Test symbol replacement with symbol string mappping.