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

Public Member Functions

 __init__ (self, AssignableExpression lhs, Expression rhs)
 print (self, printer, int indent_level=0)

Data Fields

 lhs = lhs
 rhs = rhs
 data_block = lhs.get_value()
 assignment = For(Index(0), self.data_block.iteration_range[-1][1] - self.data_block.iteration_range[-1][0])

Detailed Description

Definition at line 198 of file AbstractSyntaxTree.py.

Constructor & Destructor Documentation

◆ __init__()

exahype2.api.dslhype2.AbstractSyntaxTree.DataBlockAssignment.__init__ ( self,
AssignableExpression lhs,
Expression rhs )

Definition at line 199 of file AbstractSyntaxTree.py.

Member Function Documentation

◆ print()

exahype2.api.dslhype2.AbstractSyntaxTree.DataBlockAssignment.print ( self,
printer,
int indent_level = 0 )

Reimplemented from exahype2.api.dslhype2.AbstractSyntaxTree.Statement.

Definition at line 236 of file AbstractSyntaxTree.py.

Field Documentation

◆ assignment

exahype2.api.dslhype2.AbstractSyntaxTree.DataBlockAssignment.assignment = For(Index(0), self.data_block.iteration_range[-1][1] - self.data_block.iteration_range[-1][0])

Definition at line 219 of file AbstractSyntaxTree.py.

◆ data_block

exahype2.api.dslhype2.AbstractSyntaxTree.DataBlockAssignment.data_block = lhs.get_value()

Definition at line 209 of file AbstractSyntaxTree.py.

◆ lhs

◆ rhs


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