loki.expression.mixins
Functions
|
Return a |
Classes
Mixin to enable comparing expressions to strings. |
- loki_make_stringifier(self, originating_stringifier=None)
Return a
LokiStringifyMapper
instance that can be used to generate a human-readable representation ofself
.This is used as common abstraction for the
make_stringifier()
method in Pymbolic expression nodes.
- class StrCompareMixin
Bases:
object
Mixin to enable comparing expressions to strings.
The purpose of the string comparison override is to reliably and flexibly identify expression symbols from equivalent strings.
- make_stringifier(originating_stringifier=None)
Return a
LokiStringifyMapper
instance that can be used to generate a human-readable representation ofself
.This is used as common abstraction for the
make_stringifier()
method in Pymbolic expression nodes.