registry
¶
Classes:
Functions:
RuntimeFeatureRegistry
¶
RuntimeFeatureRegistry()
Methods:
Source code in src/irx/runtime/registry.py
28 29 30 31 32 | |
get
¶
get(name: str) -> RuntimeFeature
Source code in src/irx/runtime/registry.py
47 48 49 50 51 52 53 54 55 56 57 58 59 | |
names
¶
Source code in src/irx/runtime/registry.py
61 62 63 64 65 66 67 | |
register
¶
register(feature: RuntimeFeature) -> None
Source code in src/irx/runtime/registry.py
34 35 36 37 38 39 40 41 42 43 44 45 | |
RuntimeFeatureState
¶
RuntimeFeatureState(
owner: "VisitorProtocol",
registry: RuntimeFeatureRegistry,
active_features: Iterable[str] | None = None,
)
Methods:
-
activate– -
active_feature_names– -
feature– -
is_active– -
linker_flags– -
native_artifacts– -
require_symbol–
Source code in src/irx/runtime/registry.py
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | |
activate
¶
activate(feature_name: str) -> None
Source code in src/irx/runtime/registry.py
116 117 118 119 120 121 122 123 124 | |
active_feature_names
¶
Source code in src/irx/runtime/registry.py
137 138 139 140 141 142 143 | |
feature
¶
feature(feature_name: str) -> RuntimeFeature
Source code in src/irx/runtime/registry.py
145 146 147 148 149 150 151 152 153 154 | |
is_active
¶
Source code in src/irx/runtime/registry.py
126 127 128 129 130 131 132 133 134 135 | |
linker_flags
¶
Source code in src/irx/runtime/registry.py
210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 | |
native_artifacts
¶
native_artifacts() -> tuple[NativeArtifact, ...]
Source code in src/irx/runtime/registry.py
190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 | |
require_symbol
¶
Source code in src/irx/runtime/registry.py
156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 | |
get_default_runtime_feature_registry
cached
¶
get_default_runtime_feature_registry() -> (
RuntimeFeatureRegistry
)
Source code in src/irx/runtime/registry.py
230 231 232 233 234 235 236 237 238 239 240 | |