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:28
_fromNode
▸ _fromNode(node
): any
Parameters
Name | Type |
---|---|
node | BaseNode <Metadata > |
Returns
any
Defined in
packages/core/src/objects/base.ts:36
addObj
▸ addObj(obj
): void
Parameters
Name | Type |
---|---|
obj | any |
Returns
void
Defined in
packages/core/src/objects/base.ts:22
fromNode
▸ fromNode(node
): any
Parameters
Name | Type |
---|---|
node | BaseNode <Metadata > |
Returns
any
Defined in
packages/core/src/objects/base.ts:39
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:12
objNodeMapping
▸ objNodeMapping(): Record
<any
, any
>
Returns
Record
<any
, any
>
Defined in
packages/core/src/objects/base.ts:15
persist
▸ persist(persistDir
, objNodeMappingFilename
): void
Parameters
Name | Type |
---|---|
persistDir | string |
objNodeMappingFilename | string |
Returns
void
Defined in
packages/core/src/objects/base.ts:46
toNode
▸ toNode(obj
): TextNode
<Metadata
>
Parameters
Name | Type |
---|---|
obj | any |
Returns
Defined in
packages/core/src/objects/base.ts:16
toNodes
▸ toNodes(objs
): TextNode
<Metadata
>[]
Parameters
Name | Type |
---|---|
objs | any [] |
Returns
Defined in
packages/core/src/objects/base.ts:31