application.plugin

Members

Enums

Kind
enum Kind

Kind of plugin, part of the primary installation or found in DEXTOOL_PLUGINS.

Functions

executePluginForShortHelp
ExecuteResult executePluginForShortHelp(Validated plugin)
Undocumented in source. Be warned that the author may not have intended to support it.
filterValidPlugins
auto filterValidPlugins(Validated[] fnames, string base_name)

Filter the filenames for those that fulfill the requirement for a plugin.

filterValidPluginsThisExecutable
auto filterValidPluginsThisExecutable(Validated[] fnames)

Filter the filenames for those that fulfill the requirement for a plugin.

scanForExecutables
Validated[] scanForExecutables()

Scan for files in the same directory as the executable.

toPlugins
Plugin[] toPlugins(T plugins)
Undocumented in source. Be warned that the author may not have intended to support it.
toShortHelp
string toShortHelp(Plugin[] plugins)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Plugin
struct Plugin

Holds information for a discovered plugin.

Validated
struct Validated

Validated plugin with kind separating primary and secondar plugins.

Meta

License

MPL-2

Authors

Joakim Brännström (joakim.brannstrom@gmx.com)

This Source Code Form is subject to the terms of the Mozilla Public License, v.2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

This module contains the functions that realize the plugin architecture.

All logger.XXX calls shall be dependent on the DebugLogging enum. This is because this module otherwise produces a lot of junk logging that is almost never relevant besides when making changes to this module.