Peano
Loading...
Searching...
No Matches
exahype2.api.dslhype2.Printer.Printer Class Reference
Inheritance diagram for exahype2.api.dslhype2.Printer.Printer:
Collaboration diagram for exahype2.api.dslhype2.Printer.Printer:

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

Detailed Description

Definition at line 4 of file Printer.py.

Constructor & Destructor Documentation

◆ __init__()

exahype2.api.dslhype2.Printer.Printer.__init__ ( self,
int spaces_per_tab )

Definition at line 5 of file Printer.py.

Member Function Documentation

◆ get_indent()

exahype2.api.dslhype2.Printer.Printer.get_indent ( self,
int indent_level )

◆ print_array_allocation()

exahype2.api.dslhype2.Printer.Printer.print_array_allocation ( self,
ArrayAllocation array_allocation,
int indent_level = 0 )

Definition at line 32 of file Printer.py.

◆ print_array_deallocation()

exahype2.api.dslhype2.Printer.Printer.print_array_deallocation ( self,
ArrayDeallocation array_allocation,
int indent_level = 0 )

Definition at line 36 of file Printer.py.

◆ print_array_type()

exahype2.api.dslhype2.Printer.Printer.print_array_type ( self,
TArray array_type,
int indent_level = 0 )

Definition at line 146 of file Printer.py.

◆ print_assignment()

exahype2.api.dslhype2.Printer.Printer.print_assignment ( self,
Assignment assignment,
int indent_level = 0 )

Definition at line 60 of file Printer.py.

◆ print_comment()

exahype2.api.dslhype2.Printer.Printer.print_comment ( self,
Comment comment,
int indent_level = 0 )

Definition at line 88 of file Printer.py.

◆ print_construction()

exahype2.api.dslhype2.Printer.Printer.print_construction ( self,
Construction construction,
int indent_level = 0 )

Definition at line 56 of file Printer.py.

◆ print_data_block_assignment()

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.

◆ print_data_block_construction_from_element()

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.

◆ print_data_block_construction_from_external()

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.

◆ print_data_block_construction_from_function_call()

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.

◆ print_data_block_construction_from_operation()

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.

◆ print_data_block_unary_max()

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.

◆ print_element_binary_operation()

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.

◆ print_element_index()

exahype2.api.dslhype2.Printer.Printer.print_element_index ( self,
ElementIndex element_index,
int indent_level = 0 )

Definition at line 123 of file Printer.py.

◆ print_element_unary_operation()

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.

◆ print_float()

exahype2.api.dslhype2.Printer.Printer.print_float ( self,
Float float,
int indent_level = 0 )

Definition at line 107 of file Printer.py.

◆ print_float_type()

exahype2.api.dslhype2.Printer.Printer.print_float_type ( self,
TFloat float_type,
int indent_level = 0 )

Definition at line 138 of file Printer.py.

◆ print_for()

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().

Here is the caller graph for this function:

◆ print_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.

◆ print_function_declaration()

str exahype2.api.dslhype2.Printer.Printer.print_function_declaration ( self,
Function function,
int indent_level = 0 )

Definition at line 16 of file Printer.py.

◆ print_function_declaration_with_timer()

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.

◆ print_function_definition()

str exahype2.api.dslhype2.Printer.Printer.print_function_definition ( self,
Function function,
int indent_level = 0 )

Definition at line 20 of file Printer.py.

◆ print_function_definition_with_timer()

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.

◆ print_function_type()

exahype2.api.dslhype2.Printer.Printer.print_function_type ( self,
TFunction function_type,
int indent_level = 0 )

Definition at line 154 of file Printer.py.

◆ print_index()

exahype2.api.dslhype2.Printer.Printer.print_index ( self,
Index index,
int indent_level = 0 )

Definition at line 103 of file Printer.py.

◆ print_index_type()

exahype2.api.dslhype2.Printer.Printer.print_index_type ( self,
TIndex index_type,
int indent_level = 0 )

Definition at line 134 of file Printer.py.

◆ print_integer()

exahype2.api.dslhype2.Printer.Printer.print_integer ( self,
Integer integer,
int indent_level = 0 )

Definition at line 99 of file Printer.py.

◆ print_integer_type()

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.

◆ print_memory_allocation()

exahype2.api.dslhype2.Printer.Printer.print_memory_allocation ( self,
MemoryAllocation memory_allocation,
int indent_level = 0 )

Definition at line 40 of file Printer.py.

◆ print_memory_deallocation()

exahype2.api.dslhype2.Printer.Printer.print_memory_deallocation ( self,
MemoryDeallocation memory_deallocation,
int indent_level = 0 )

Definition at line 44 of file Printer.py.

◆ print_name()

exahype2.api.dslhype2.Printer.Printer.print_name ( self,
Name name,
int indent_level = 0 )

Definition at line 12 of file Printer.py.

◆ print_struct_type()

exahype2.api.dslhype2.Printer.Printer.print_struct_type ( self,
TStruct struct_type,
int indent_level = 0 )

Definition at line 150 of file Printer.py.

◆ print_subscript()

exahype2.api.dslhype2.Printer.Printer.print_subscript ( self,
Subscript subscript,
int indent_level = 0 )

Definition at line 111 of file Printer.py.

◆ print_variable()

exahype2.api.dslhype2.Printer.Printer.print_variable ( self,
Variable variable,
int indent_level = 0 )

Expression Prints.

Definition at line 95 of file Printer.py.

◆ print_vector_type()

exahype2.api.dslhype2.Printer.Printer.print_vector_type ( self,
TVector vector_type,
int indent_level = 0 )

Definition at line 142 of file Printer.py.

Field Documentation

◆ spaces_per_tab

exahype2.api.dslhype2.Printer.Printer.spaces_per_tab = spaces_per_tab

Definition at line 6 of file Printer.py.

Referenced by get_indent().


The documentation for this class was generated from the following file: