Peano
Loading...
Searching...
No Matches
__init__.py
Go to the documentation of this file.
1
# This file is part of the ExaHyPE2 project. For conditions of distribution and
2
# use, please see the copyright notice at www.peano-framework.org
3
4
#from .Parser import Parser
5
from
.AbstractSyntaxTree
import
*
6
from
.Expressions
import
*
7
from
.Types
import
*
8
from
.Parser
import
Parser
9
from
.printers.CPPPrinter
import
CPPPrinter
10
from
.printers.OMPTargetPrinter
import
OMPTargetPrinter
11
from
.kernels
import
translate_dslhype_function, generate_namespace, generate_mlir_function_call_bridges
12
13
14
def
__getattr__
(name):
15
"""!
16
Lazy import of the MLIR printer, so xdsl is only required if it is used.
17
"""
18
if
name ==
"MLIRPrinter"
:
19
from
.printers.MLIRPrinter
import
MLIRPrinter
20
21
return
MLIRPrinter
22
raise
AttributeError(f
"module {__name__!r} has no attribute {name!r}"
)
exahype2.api.dslhype2.__getattr__
__getattr__(name)
Lazy import of the MLIR printer, so xdsl is only required if it is used.
Definition
__init__.py:14
src
exahype2
api
dslhype2
__init__.py
Generated on
for Peano by
1.15.0