|
Peano
|


Public Member Functions | |
| __init__ (self, int spaces_per_tab) | |
| get_indent (self, int indent_level) | |
| print_name (self, Name name, int indent_level=0) | |
| str | print_function_declaration (self, Function function, int indent_level=0) |
| str | print_function_definition (self, Function function, int indent_level=0) |
| str | print_function_declaration_with_timer (self, Function function, int indent_level=0) |
| str | print_function_definition_with_timer (self, Function function, int indent_level=0) |
| print_array_allocation (self, ArrayAllocation array_allocation, int indent_level=0) | |
| print_array_deallocation (self, ArrayDeallocation array_allocation, int indent_level=0) | |
| print_memory_allocation (self, MemoryAllocation memory_allocation, int indent_level=0) | |
| print_memory_deallocation (self, MemoryDeallocation memory_deallocation, int indent_level=0) | |
| print_function_call (self, FunctionCall function_call, int indent_level=0) | |
| print_for (self, For for_loop, int indent_level=0) | |
| print_construction (self, Construction construction, int indent_level=0) | |
| print_assignment (self, Assignment assignment, int indent_level=0) | |
| print_data_block_construction_from_element (self, DataBlockConstructionFromElement data_block_construction_from_element, int indent_level=0) | |
| print_data_block_construction_from_external (self, DataBlockConstructionFromExternal data_block_construction_from_external, int indent_level=0) | |
| print_data_block_construction_from_function_call (self, DataBlockConstructionFromFunctionCall data_block_construction_from_function_call, int indent_level=0) | |
| print_data_block_construction_from_operation (self, DataBlockConstructionFromOperation data_block_construction_from_operation, int indent_level=0) | |
| print_data_block_assignment (self, DataBlockAssignment data_block_assignment, int indent_level=0) | |
| print_data_block_unary_max (self, DataBlockUnaryMax data_block_unary_max, int indent_level=0) | |
| print_comment (self, Comment comment, int indent_level=0) | |
| print_variable (self, Variable variable, int indent_level=0) | |
| Expression Prints. | |
| print_integer (self, Integer integer, int indent_level=0) | |
| print_index (self, Index index, int indent_level=0) | |
| print_float (self, Float float, int indent_level=0) | |
| print_subscript (self, Subscript subscript, int indent_level=0) | |
| print_element_binary_operation (self, ElementBinaryOperation element_binary_operation, int indent_level=0) | |
| print_element_unary_operation (self, ElementUnaryOperation element_unary_operation, int indent_level=0) | |
| print_element_index (self, ElementIndex element_index, int indent_level=0) | |
| print_integer_type (self, TInteger integer_type, int indent_level=0) | |
| Type Prints. | |
| print_index_type (self, TIndex index_type, int indent_level=0) | |
| print_float_type (self, TFloat float_type, int indent_level=0) | |
| print_vector_type (self, TVector vector_type, int indent_level=0) | |
| print_array_type (self, TArray array_type, int indent_level=0) | |
| print_struct_type (self, TStruct struct_type, int indent_level=0) | |
| print_function_type (self, TFunction function_type, int indent_level=0) | |
Data Fields | |
| spaces_per_tab = spaces_per_tab | |
Definition at line 4 of file Printer.py.
| exahype2.api.dslhype2.Printer.Printer.__init__ | ( | self, | |
| int | spaces_per_tab ) |
Definition at line 5 of file Printer.py.
| exahype2.api.dslhype2.Printer.Printer.get_indent | ( | self, | |
| int | indent_level ) |
Definition at line 8 of file Printer.py.
References exahype2.api.dslhype.SyntaxTree.Node.spaces_per_tab, and spaces_per_tab.
| exahype2.api.dslhype2.Printer.Printer.print_array_allocation | ( | self, | |
| ArrayAllocation | array_allocation, | ||
| int | indent_level = 0 ) |
Definition at line 32 of file Printer.py.
| exahype2.api.dslhype2.Printer.Printer.print_array_deallocation | ( | self, | |
| ArrayDeallocation | array_allocation, | ||
| int | indent_level = 0 ) |
Definition at line 36 of file Printer.py.
| exahype2.api.dslhype2.Printer.Printer.print_array_type | ( | self, | |
| TArray | array_type, | ||
| int | indent_level = 0 ) |
Definition at line 146 of file Printer.py.
| exahype2.api.dslhype2.Printer.Printer.print_assignment | ( | self, | |
| Assignment | assignment, | ||
| int | indent_level = 0 ) |
Definition at line 60 of file Printer.py.
| exahype2.api.dslhype2.Printer.Printer.print_comment | ( | self, | |
| Comment | comment, | ||
| int | indent_level = 0 ) |
Definition at line 88 of file Printer.py.
| exahype2.api.dslhype2.Printer.Printer.print_construction | ( | self, | |
| Construction | construction, | ||
| int | indent_level = 0 ) |
Definition at line 56 of file Printer.py.
| exahype2.api.dslhype2.Printer.Printer.print_data_block_assignment | ( | self, | |
| DataBlockAssignment | data_block_assignment, | ||
| int | indent_level = 0 ) |
Definition at line 80 of file Printer.py.
| exahype2.api.dslhype2.Printer.Printer.print_data_block_construction_from_element | ( | self, | |
| DataBlockConstructionFromElement | data_block_construction_from_element, | ||
| int | indent_level = 0 ) |
Definition at line 64 of file Printer.py.
| exahype2.api.dslhype2.Printer.Printer.print_data_block_construction_from_external | ( | self, | |
| DataBlockConstructionFromExternal | data_block_construction_from_external, | ||
| int | indent_level = 0 ) |
Definition at line 68 of file Printer.py.
| exahype2.api.dslhype2.Printer.Printer.print_data_block_construction_from_function_call | ( | self, | |
| DataBlockConstructionFromFunctionCall | data_block_construction_from_function_call, | ||
| int | indent_level = 0 ) |
Definition at line 72 of file Printer.py.
| exahype2.api.dslhype2.Printer.Printer.print_data_block_construction_from_operation | ( | self, | |
| DataBlockConstructionFromOperation | data_block_construction_from_operation, | ||
| int | indent_level = 0 ) |
Definition at line 76 of file Printer.py.
| exahype2.api.dslhype2.Printer.Printer.print_data_block_unary_max | ( | self, | |
| DataBlockUnaryMax | data_block_unary_max, | ||
| int | indent_level = 0 ) |
Definition at line 84 of file Printer.py.
| exahype2.api.dslhype2.Printer.Printer.print_element_binary_operation | ( | self, | |
| ElementBinaryOperation | element_binary_operation, | ||
| int | indent_level = 0 ) |
Definition at line 115 of file Printer.py.
| exahype2.api.dslhype2.Printer.Printer.print_element_index | ( | self, | |
| ElementIndex | element_index, | ||
| int | indent_level = 0 ) |
Definition at line 123 of file Printer.py.
| exahype2.api.dslhype2.Printer.Printer.print_element_unary_operation | ( | self, | |
| ElementUnaryOperation | element_unary_operation, | ||
| int | indent_level = 0 ) |
Definition at line 119 of file Printer.py.
| exahype2.api.dslhype2.Printer.Printer.print_float | ( | self, | |
| Float | float, | ||
| int | indent_level = 0 ) |
Definition at line 107 of file Printer.py.
| exahype2.api.dslhype2.Printer.Printer.print_float_type | ( | self, | |
| TFloat | float_type, | ||
| int | indent_level = 0 ) |
Definition at line 138 of file Printer.py.
| exahype2.api.dslhype2.Printer.Printer.print_for | ( | self, | |
| For | for_loop, | ||
| int | indent_level = 0 ) |
Definition at line 52 of file Printer.py.
Referenced by MLIRPrinter.MLIRPrinter.print_data_block_construction_from_function_call().

| exahype2.api.dslhype2.Printer.Printer.print_function_call | ( | self, | |
| FunctionCall | function_call, | ||
| int | indent_level = 0 ) |
Definition at line 48 of file Printer.py.
| str exahype2.api.dslhype2.Printer.Printer.print_function_declaration | ( | self, | |
| Function | function, | ||
| int | indent_level = 0 ) |
Definition at line 16 of file Printer.py.
| str exahype2.api.dslhype2.Printer.Printer.print_function_declaration_with_timer | ( | self, | |
| Function | function, | ||
| int | indent_level = 0 ) |
Definition at line 24 of file Printer.py.
| str exahype2.api.dslhype2.Printer.Printer.print_function_definition | ( | self, | |
| Function | function, | ||
| int | indent_level = 0 ) |
Definition at line 20 of file Printer.py.
| str exahype2.api.dslhype2.Printer.Printer.print_function_definition_with_timer | ( | self, | |
| Function | function, | ||
| int | indent_level = 0 ) |
Definition at line 28 of file Printer.py.
| exahype2.api.dslhype2.Printer.Printer.print_function_type | ( | self, | |
| TFunction | function_type, | ||
| int | indent_level = 0 ) |
Definition at line 154 of file Printer.py.
| exahype2.api.dslhype2.Printer.Printer.print_index | ( | self, | |
| Index | index, | ||
| int | indent_level = 0 ) |
Definition at line 103 of file Printer.py.
| exahype2.api.dslhype2.Printer.Printer.print_index_type | ( | self, | |
| TIndex | index_type, | ||
| int | indent_level = 0 ) |
Definition at line 134 of file Printer.py.
| exahype2.api.dslhype2.Printer.Printer.print_integer | ( | self, | |
| Integer | integer, | ||
| int | indent_level = 0 ) |
Definition at line 99 of file Printer.py.
| exahype2.api.dslhype2.Printer.Printer.print_integer_type | ( | self, | |
| TInteger | integer_type, | ||
| int | indent_level = 0 ) |
Type Prints.
Definition at line 130 of file Printer.py.
| exahype2.api.dslhype2.Printer.Printer.print_memory_allocation | ( | self, | |
| MemoryAllocation | memory_allocation, | ||
| int | indent_level = 0 ) |
Definition at line 40 of file Printer.py.
| exahype2.api.dslhype2.Printer.Printer.print_memory_deallocation | ( | self, | |
| MemoryDeallocation | memory_deallocation, | ||
| int | indent_level = 0 ) |
Definition at line 44 of file Printer.py.
| exahype2.api.dslhype2.Printer.Printer.print_name | ( | self, | |
| Name | name, | ||
| int | indent_level = 0 ) |
Definition at line 12 of file Printer.py.
| exahype2.api.dslhype2.Printer.Printer.print_struct_type | ( | self, | |
| TStruct | struct_type, | ||
| int | indent_level = 0 ) |
Definition at line 150 of file Printer.py.
| exahype2.api.dslhype2.Printer.Printer.print_subscript | ( | self, | |
| Subscript | subscript, | ||
| int | indent_level = 0 ) |
Definition at line 111 of file Printer.py.
| exahype2.api.dslhype2.Printer.Printer.print_variable | ( | self, | |
| Variable | variable, | ||
| int | indent_level = 0 ) |
Expression Prints.
Definition at line 95 of file Printer.py.
| exahype2.api.dslhype2.Printer.Printer.print_vector_type | ( | self, | |
| TVector | vector_type, | ||
| int | indent_level = 0 ) |
Definition at line 142 of file Printer.py.
| exahype2.api.dslhype2.Printer.Printer.spaces_per_tab = spaces_per_tab |
Definition at line 6 of file Printer.py.
Referenced by get_indent().