Brick Library 0.1
Performance-portable stencil datalayout & codegen
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
st.codegen.backend.base.CodeBlock Class Reference
Inheritance diagram for st.codegen.backend.base.CodeBlock:
[legend]
Collaboration diagram for st.codegen.backend.base.CodeBlock:
[legend]

Public Member Functions

def __init__ (self)
 
def to_str (self, io.TextIOBase ret, int n_ind)
 
def __str__ (self)
 
def append (self, code)
 
def to_str (self, io.TextIOBase ret, int n_ind)
 

Public Attributes

 lines
 

Static Public Attributes

List lines [Code]
 
str indent = " "
 

Constructor & Destructor Documentation

◆ __init__()

def st.codegen.backend.base.CodeBlock.__init__ (   self)

Member Function Documentation

◆ __str__()

def st.codegen.backend.base.CodeBlock.__str__ (   self)
Here is the call graph for this function:

◆ append()

def st.codegen.backend.base.CodeBlock.append (   self,
  code 
)
Here is the call graph for this function:

◆ to_str()

def st.codegen.backend.base.CodeBlock.to_str (   self,
io.TextIOBase  ret,
int  n_ind 
)

Reimplemented from st.codegen.backend.base.Code.

Member Data Documentation

◆ indent

str st.codegen.backend.base.CodeBlock.indent = " "
static

◆ lines [1/2]

List st.codegen.backend.base.CodeBlock.lines [Code]
static

◆ lines [2/2]

st.codegen.backend.base.CodeBlock.lines

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