Lines Matching defs:extension
36 /// This class represents an opaque dialect extension. It contains a set of
38 /// when the extension is applied, i.e. the extension is applied when all
46 /// Return the dialects that our required by this extension to be loaded
47 /// before applying. If empty then the extension is invoked for every loaded
51 /// Apply this extension to the given context and the required dialects.
55 /// Return a copy of this extension.
59 /// Initialize the extension with a set of required dialects.
60 /// If the list is empty, the extension is invoked for every loaded dialect
66 /// The names of the dialects affected by this extension.
70 /// This class represents a dialect extension anchored on the given set of
72 /// application function of this extension will be executed.
76 /// Applies this extension to the given context and set of required dialects.
79 /// Return a copy of this extension.
190 for (const auto &extension : extensions)
191 destination.extensions.try_emplace(extension.first,
192 extension.second->clone());
210 /// Add the given extension to the registry.
212 std::unique_ptr<DialectExtensionBase> extension) {
213 return extensions.try_emplace(extensionID, std::move(extension)).second;
223 /// Add an extension function that requires the given dialects.