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

Public Member Functions

def __init__ (self, st.alop.BinaryOperators operator=None, *pargs, **kwargs)
 
def str_attr (self)
 
- Public Member Functions inherited from st.expr.Expr
def __init__ (self, *args, **kwargs)
 
def visit (self, init, func)
 
def mk_child (self, child)
 
def str_attr (self)
 
def get_attr (self, attr)
 
def __str__ (self)
 
def __add__ (self, other)
 
def __radd__ (self, other)
 
def __sub__ (self, other)
 
def __rsub__ (self, other)
 
def __mul__ (self, other)
 
def __rmul__ (self, other)
 
def __truediv__ (self, other)
 
def __rtruediv__ (self, other)
 
def __mod__ (self, other)
 
def __rmod__ (self, other)
 
def __and__ (self, other)
 
def __rand__ (self, other)
 
def __xor__ (self, other)
 
def __rxor__ (self, other)
 
def __or__ (self, other)
 
def __ror__ (self, other)
 
def __lshift__ (self, other)
 
def __rlshift__ (self, other)
 
def __rshift__ (self, other)
 
def __rrshift__ (self, other)
 
def __neg__ (self)
 
def __lt__ (self, other)
 
def __le__ (self, other)
 
def __eq__ (self, other)
 
def __ne__ (self, other)
 
def __gt__ (self, other)
 
def __ge__ (self, other)
 
def logical_and (self, other)
 
def logical_or (self, other)
 
def logical_not (self)
 
def __hash__ (self)
 
- Public Member Functions inherited from st.expr_meta.ExprMeta
def __new__ (cls, name, bases, namespace)
 

Public Attributes

 operator
 
- Public Attributes inherited from st.expr.Expr
 children
 
 attr
 
 parent
 

Static Public Attributes

Expr lhs
 
Expr rhs
 
- Static Public Attributes inherited from st.expr.Expr
Dict attr
 

Static Protected Attributes

list _children = ['lhs', 'rhs']
 
- Static Protected Attributes inherited from st.expr.Expr
list _children = []
 
None _arg_sig = None
 
dict _attr = dict()
 

Constructor & Destructor Documentation

◆ __init__()

def st.expr.BinOp.__init__ (   self,
st.alop.BinaryOperators   operator = None,
pargs,
**  kwargs 
)

Reimplemented from st.expr.Expr.

Here is the call graph for this function:

Member Function Documentation

◆ str_attr()

def st.expr.BinOp.str_attr (   self)
 Extra attributes that should be printed in str representation 

Reimplemented from st.expr.Expr.

Member Data Documentation

◆ _children

list st.expr.BinOp._children = ['lhs', 'rhs']
staticprotected

◆ lhs

Expr st.expr.BinOp.lhs
static

◆ operator

st.expr.BinOp.operator

◆ rhs

Expr st.expr.BinOp.rhs
static

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