Skip to content

Documentation


Documentation / @blazetrails/activesupport / MethodSet

Class: MethodSet ​

Defined in: packages/activesupport/lib/code-generator.ts:9

Constructors ​

Constructor ​

new MethodSet(namespace): MethodSet

Defined in: packages/activesupport/lib/code-generator.ts:17

Parameters ​

ParameterType
namespacestring

Returns ​

MethodSet

Properties ​

METHOD_CACHES ​

static METHOD_CACHES: Map<string, Record<string, unknown>>

Defined in: packages/activesupport/lib/code-generator.ts:10

Methods ​

apply() ​

apply(owner, _path, _line): void

Defined in: packages/activesupport/lib/code-generator.ts:50

Parameters ​

ParameterType
ownerOwner
_pathstring
_linenumber

Returns ​

void


defineCachedMethod() ​

defineCachedMethod(canonicalName, __namedParameters, block): string

Defined in: packages/activesupport/lib/code-generator.ts:26

Parameters ​

ParameterType
canonicalNamestring
__namedParameters{ as?: string; }
__namedParameters.as?string
block(sources) => void

Returns ​

string