Class: BaseObjectNodeMapping
Hierarchy
-
BaseObjectNodeMapping
Constructors
constructor
• new BaseObjectNodeMapping(): BaseObjectNodeMapping
Returns
Methods
_addObj
▸ _addObj(obj
): void
Parameters
Name | Type |
---|---|
obj | any |
Returns
void
Defined in
packages/core/src/objects/base.ts:30
_fromNode
▸ _fromNode(node
): any
Parameters
Name | Type |
---|---|
node | BaseNode <Metadata > |
Returns
any
Defined in
packages/core/src/objects/base.ts:38
addObj
▸ addObj(obj
): void
Parameters
Name | Type |
---|---|
obj | any |
Returns
void
Defined in
packages/core/src/objects/base.ts:24
fromNode
▸ fromNode(node
): any
Parameters
Name | Type |
---|---|
node | BaseNode <Metadata > |
Returns
any
Defined in
packages/core/src/objects/base.ts:41
fromObjects
▸ fromObjects<OT
>(objs
, ...args
): BaseObjectNodeMapping
Type parameters
Name |
---|
OT |
Parameters
Name | Type |
---|---|
objs | OT [] |
...args | any [] |
Returns
Defined in
packages/core/src/objects/base.ts:14
objNodeMapping
▸ objNodeMapping(): Record
<any
, any
>
Returns
Record
<any
, any
>
Defined in
packages/core/src/objects/base.ts:17
persist
▸ persist(persistDir
, objNodeMappingFilename
): void
Parameters
Name | Type |
---|---|
persistDir | string |
objNodeMappingFilename | string |
Returns
void
Defined in
packages/core/src/objects/base.ts:48
toNode
▸ toNode(obj
): TextNode
<Metadata
>