workspaced.api

Undocumented in source.

Public Imports

workspaced.backend
public import workspaced.backend;
workspaced.future
public import workspaced.future;

Members

Aliases

BroadcastCallback
alias BroadcastCallback = void delegate(WorkspaceD, WorkspaceD.Instance, JSONValue)
ComponentBindFailCallback
alias ComponentBindFailCallback = void delegate(WorkspaceD.Instance instance, ComponentFactory factory, Exception error)

Called when ComponentFactory.create is called and errored (when the .bind call on a component fails)

IdentifierListProvider
alias IdentifierListProvider = string[] delegate() nothrow
ImportPathProvider
alias ImportPathProvider = string[] delegate() nothrow

Classes

DefaultComponentFactory
class DefaultComponentFactory(T : ComponentWrapper)
Undocumented in source.

Enums

ignoredFunc
enum ignoredFunc

UDA; will never try to call this function from rpc

Functions

checkType
bool checkType(JSONValue value)
Undocumented in source. Be warned that the author may not have intended to support it.
checkVersion
bool checkVersion(string ver, int[3] target)
Undocumented in source. Be warned that the author may not have intended to support it.
checkVersion
bool checkVersion(int[3] ver, int[3] target)
Undocumented in source. Be warned that the author may not have intended to support it.
component
ComponentInfoParams component(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
extractPathSemver
string extractPathSemver(string s)

searches for a semver in the given string starting after a - character, returns everything until the end.

getConfigPath
bool getConfigPath(string file, string retPath)
Undocumented in source. Be warned that the author may not have intended to support it.
getVersionAndFixPath
string getVersionAndFixPath(string execPath)
Undocumented in source. Be warned that the author may not have intended to support it.
isRefOrOutParam
bool isRefOrOutParam()
Undocumented in source. Be warned that the author may not have intended to support it.
matchesOverload
bool matchesOverload(JSONValue[] args)
Undocumented in source. Be warned that the author may not have intended to support it.
orDubFetchFallback
string orDubFetchFallback(string v, string path)

returns the version that is given or the version extracted from dub path if path is a dub path

trace
void trace(Args )
Undocumented in source. Be warned that the author may not have intended to support it.
traceTaskLog
void traceTaskLog(string msg)
Undocumented in source. Be warned that the author may not have intended to support it.

Interfaces

ComponentFactory
interface ComponentFactory
Undocumented in source.
ComponentWrapper
interface ComponentWrapper
Undocumented in source.

Manifest constants

verRegex
enum verRegex;
Undocumented in source.

Mixin templates

DefaultComponentWrapper
mixintemplate DefaultComponentWrapper(bool withDtor = true)
Undocumented in source.

Static variables

traceTask
auto traceTask;
Undocumented in source.

Structs

CodeReplacement
struct CodeReplacement

Describes what to insert/replace/delete to do something

ComponentFactoryInstance
struct ComponentFactoryInstance
Undocumented in source.
ComponentInfo
struct ComponentInfo
Undocumented in source.
ComponentInfoParams
struct ComponentInfoParams

Component call

ComponentWrapperInstance
struct ComponentWrapperInstance
Undocumented in source.
FileChanges
struct FileChanges

Code replacements mapped to a file

Meta