|
|
@ -46,7 +46,7 @@ class PrinterSlithIR(AbstractPrinter): |
|
|
|
txt += f"\tModifier {modifier.canonical_name}\n" |
|
|
|
txt += f"\tModifier {modifier.canonical_name}\n" |
|
|
|
txt += _print_function(modifier) |
|
|
|
txt += _print_function(modifier) |
|
|
|
if compilation_unit.functions_top_level: |
|
|
|
if compilation_unit.functions_top_level: |
|
|
|
txt += "Top level functions" |
|
|
|
txt += "Top level functions\n" |
|
|
|
for function in compilation_unit.functions_top_level: |
|
|
|
for function in compilation_unit.functions_top_level: |
|
|
|
txt += f"\tFunction {function.canonical_name}\n" |
|
|
|
txt += f"\tFunction {function.canonical_name}\n" |
|
|
|
txt += _print_function(function) |
|
|
|
txt += _print_function(function) |
|
|
|