-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path__init__.py
More file actions
99 lines (95 loc) · 2.35 KB
/
Copy path__init__.py
File metadata and controls
99 lines (95 loc) · 2.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
"""Public code-generation API for lowering completed wrapper plans.
``CBindingGenerator`` and ``FortranBridgeGenerator`` turn a validated
``ModulePlan`` into typed backend nodes. The selected node records and scalar
registry re-exported here are the shared vocabulary for direct backend use and
printers. Policy completion, plan construction, source rendering, and build
integration remain in their owning stages.
"""
from __future__ import annotations
from .c.binding import CBindingGenerator
from .fortran.bridge import FortranBridgeGenerator
from .nodes import (
BackendScalarType,
CAllowThreadsBegin,
CAllowThreadsEnd,
CCase,
CDeclaration,
CExpressionStatement,
CFunction,
CFunctionPrototype,
CHeader,
CIf,
CInclude,
CMacroDefinition,
CMethodDefEntry,
CMethodDefTable,
CModule,
CModuleDef,
CModulePropertyEntry,
CModulePropertySupport,
CParameter,
CReturn,
CSwitch,
CodeExpression,
FortranAllocate,
FortranAssignment,
FortranCall,
FortranCase,
FortranDeclaration,
FortranDeallocate,
FortranFunction,
FortranIf,
FortranInterface,
FortranInterfaceProcedure,
FortranModule,
FortranParameter,
FortranPointerAssignment,
FortranSelectCase,
FortranUse,
)
from .primitive_scalar_types import PrimitiveScalarTypeRegistry
from .visitor import ClassVisitor, UnsupportedWrapperCodegenNodeError
__all__ = (
"BackendScalarType",
"CAllowThreadsBegin",
"CAllowThreadsEnd",
"CBindingGenerator",
"CCase",
"CDeclaration",
"CExpressionStatement",
"CFunction",
"CFunctionPrototype",
"CHeader",
"CIf",
"CInclude",
"CMacroDefinition",
"CMethodDefEntry",
"CMethodDefTable",
"CModule",
"CModuleDef",
"CModulePropertyEntry",
"CModulePropertySupport",
"CParameter",
"CReturn",
"CSwitch",
"ClassVisitor",
"CodeExpression",
"FortranAllocate",
"FortranAssignment",
"FortranBridgeGenerator",
"FortranCall",
"FortranCase",
"FortranDeallocate",
"FortranDeclaration",
"FortranFunction",
"FortranIf",
"FortranInterface",
"FortranInterfaceProcedure",
"FortranModule",
"FortranParameter",
"FortranPointerAssignment",
"FortranSelectCase",
"FortranUse",
"PrimitiveScalarTypeRegistry",
"UnsupportedWrapperCodegenNodeError",
)