openmethods v1.1.1 (2018-05-06T14:10:12Z)
Dub
Repo
Method
openmethods
Undocumented in source.
struct
Method (
string
Mptr
R
string
id
FunctionAttribute
functionAttributes_
T
...
) {
alias
QualParams
=
T
;
alias
Params
=
CallParams
!
T
;
alias
ReturnType
=
R
;
alias
Word
=
Runtime
.
Word
;
enum
name
;
alias
functionAttributes
=
functionAttributes_
;
alias
This
=
Method
!(
Mptr
,
R
,
id
,
functionAttributes
,
T
)
;
alias
Spec
=
R
function
(
Params
)
;
alias
Spec
=
R
function
(
Params
)
;
static __gshared
Runtime
.
MethodInfo
info
;
static
R
notImplementedError
(T );
static
R
ambiguousCallError
(T );
static
Method
discriminator
(MethodTag , CallParams!T );
static if
(
Mptr == MptrInDeallocator
)
static
auto
getMptr
(T arg);
static if
(!(
Mptr == MptrInDeallocator
))
static if
(
Mptr == MptrViaHash
)
static
auto
getMptr
(T arg);
template
Indexer
(Q...)
;
enum
code
;
enum
discriminatorCode
;
enum
refAttribute
;
enum
string
nonRefAttributes
;
static
string
dispatcherCode
();
static
Spec
nextPtr
(
T
...)
;
}
Members
Aliases
Params
alias
Params
=
CallParams
!
T
Undocumented in source.
QualParams
alias
QualParams
=
T
Undocumented in source.
ReturnType
alias
ReturnType
=
R
Undocumented in source.
Spec
alias
Spec
=
R
function
(
Params
)
Undocumented in source.
Spec
alias
Spec
=
R
function
(
Params
)
Undocumented in source.
This
alias
This
=
Method
!(
Mptr
,
R
,
id
,
functionAttributes
,
T
)
Undocumented in source.
Word
alias
Word
=
Runtime
.
Word
Undocumented in source.
functionAttributes
alias
functionAttributes
=
functionAttributes_
Undocumented in source.
Manifest constants
code
enum
code
;
Undocumented in source.
discriminatorCode
enum
discriminatorCode
;
Undocumented in source.
name
enum
name
;
Undocumented in source.
refAttribute
enum
refAttribute
;
Undocumented in source.
Static functions
ambiguousCallError
R
ambiguousCallError
(T )
Undocumented in source. Be warned that the author may not have intended to support it.
discriminator
Method
discriminator
(MethodTag , CallParams!T )
Undocumented in source.
dispatcherCode
string
dispatcherCode
()
Undocumented in source. Be warned that the author may not have intended to support it.
getMptr
auto
getMptr
(T arg)
Undocumented in source. Be warned that the author may not have intended to support it.
getMptr
auto
getMptr
(T arg)
Undocumented in source. Be warned that the author may not have intended to support it.
notImplementedError
R
notImplementedError
(T )
Undocumented in source. Be warned that the author may not have intended to support it.
Static variables
info
Runtime
.
MethodInfo
info
;
Undocumented in source.
nextPtr
Spec
nextPtr
(
T
...)
;
Undocumented in source.
Templates
Indexer
template
Indexer
(Q...)
Undocumented in source.
Variables
nonRefAttributes
enum
string
nonRefAttributes
;
Undocumented in source.
Meta
Source
See Implementation
openmethods
aliases
MethodErrorHandler
VirtualType
classes
MethodError
enums
IsCovariant
IsVirtual
functions
_registerMethods
defaultMethodErrorHandler
needUpdateMethods
next
registerMethods
setMethodErrorHandler
updateMethods
mixin templates
_registerSpecs
declareMethod
defineMethod
registerClasses
structs
Method
MethodTag
Runtime
covariant
method
mptr
virtual
templates
VirtualArity
castArgs
getUDAs
variables
MptrInDeallocator
MptrViaHash
errorHandler
hasVirtualParameters