commands/targets#

Interfaces#

AnchorTarget#

Defined in: commands/targets.ts:107

An alignment anchor of a named MatchStamp of a block’s manifest.

Extends#

Properties#

address#

readonly address: Address

Defined in: commands/targets.ts:109

anchor#

readonly anchor: object

Defined in: workspace/address.ts:319

Inherited from#

AnchorFound.anchor

block#

readonly block: Block

Defined in: commands/targets.ts:110

index#

readonly index: number

Defined in: workspace/address.ts:260

Its index in the manifest’s graphical.matchstamps.

Inherited from#

AnchorFound.index

kind#

readonly kind: "anchor"

Defined in: commands/targets.ts:108

matchstamp#

readonly matchstamp: object

Defined in: workspace/address.ts:261

Inherited from#

AnchorFound.matchstamp

position#

readonly position: number

Defined in: workspace/address.ts:318

Its index in the MatchStamp’s alignment_anchors.

Inherited from#

AnchorFound.position


BlockTarget#

Defined in: commands/targets.ts:37

A block, placing one manifest on the canvas.

Properties#

address#

readonly address: Address

Defined in: commands/targets.ts:39

block#

readonly block: Block

Defined in: commands/targets.ts:40

kind#

readonly kind: "block"

Defined in: commands/targets.ts:38


ElisionTarget#

Defined in: commands/targets.ts:93

A stored elision of a block’s manifest, with the timeline it lies on.

Extends#

Properties#

address#

readonly address: Address

Defined in: commands/targets.ts:95

at#

readonly at: Located

Defined in: workspace/address.ts:251

The timeline it lies on, a virtual timeline located as its axis (locateVirtual).

Inherited from#

ElisionFound.at

block#

readonly block: Block

Defined in: commands/targets.ts:96

elision#

readonly elision: object

Defined in: workspace/address.ts:254

Inherited from#

ElisionFound.elision

index#

readonly index: number

Defined in: workspace/address.ts:253

Its index in the manifest’s graphical.elisions.

Inherited from#

ElisionFound.index

kind#

readonly kind: "elision"

Defined in: commands/targets.ts:94


EntryTarget#

Defined in: commands/targets.ts:70

A map, region or flow-control element of a block’s manifest.

Properties#

address#

readonly address: Address

Defined in: commands/targets.ts:72

at#

readonly at: Located

Defined in: commands/targets.ts:75

The timeline listing the entry.

block#

readonly block: Block

Defined in: commands/targets.ts:73

index#

readonly index: number

Defined in: commands/targets.ts:77

Its index in that timeline’s list of its kind.

kind#

readonly kind: keyof EntryTypes

Defined in: commands/targets.ts:71


FlowMapTarget#

Defined in: commands/targets.ts:114

A FlowMap of a block’s manifest.

Extends#

Properties#

address#

readonly address: Address

Defined in: commands/targets.ts:116

block#

readonly block: Block

Defined in: commands/targets.ts:117

flowMap#

readonly flowMap: object

Defined in: workspace/address.ts:268

Inherited from#

FlowMapFound.flowMap

index#

readonly index: number

Defined in: workspace/address.ts:267

Its index in the manifest’s flow_maps.

Inherited from#

FlowMapFound.index

kind#

readonly kind: "flow_map"

Defined in: commands/targets.ts:115


GroupTarget#

Defined in: commands/targets.ts:44

A group of a block’s manifest.

Properties#

address#

readonly address: Address

Defined in: commands/targets.ts:46

block#

readonly block: Block

Defined in: commands/targets.ts:47

group#

readonly group: object

Defined in: commands/targets.ts:48

kind#

readonly kind: "group"

Defined in: commands/targets.ts:45


MatchStampTarget#

Defined in: commands/targets.ts:100

A named MatchStamp of a block’s manifest.

Extends#

Properties#

address#

readonly address: Address

Defined in: commands/targets.ts:102

block#

readonly block: Block

Defined in: commands/targets.ts:103

index#

readonly index: number

Defined in: workspace/address.ts:260

Its index in the manifest’s graphical.matchstamps.

Inherited from#

MatchStampFound.index

kind#

readonly kind: "matchstamp"

Defined in: commands/targets.ts:101

matchstamp#

readonly matchstamp: object

Defined in: workspace/address.ts:261

Inherited from#

MatchStampFound.matchstamp


MeasureMapTarget#

Defined in: commands/targets.ts:60

A measure map of a block’s manifest.

Properties#

address#

readonly address: Address

Defined in: commands/targets.ts:62

block#

readonly block: Block

Defined in: commands/targets.ts:63

index#

readonly index: number

Defined in: commands/targets.ts:66

Its index in the manifest’s measure_maps.

kind#

readonly kind: "measure_map"

Defined in: commands/targets.ts:61

map#

readonly map: object

Defined in: commands/targets.ts:64


TargetOfKind#

Defined in: commands/targets.ts:148

The target of each kind, the type each kind’s table of setters reads.

Properties#

anchor#

readonly anchor: AnchorTarget

Defined in: commands/targets.ts:161

block#

readonly block: BlockTarget

Defined in: commands/targets.ts:150

child#

readonly child: TimelineTarget

Defined in: commands/targets.ts:154

elision#

readonly elision: ElisionTarget

Defined in: commands/targets.ts:159

flow_control#

readonly flow_control: EntryTarget

Defined in: commands/targets.ts:157

flow_map#

readonly flow_map: FlowMapTarget

Defined in: commands/targets.ts:162

group#

readonly group: GroupTarget

Defined in: commands/targets.ts:151

map#

readonly map: EntryTarget

Defined in: commands/targets.ts:155

matchstamp#

readonly matchstamp: MatchStampTarget

Defined in: commands/targets.ts:160

measure_map#

readonly measure_map: MeasureMapTarget

Defined in: commands/targets.ts:152

region#

readonly region: EntryTarget

Defined in: commands/targets.ts:156

root#

readonly root: TimelineTarget

Defined in: commands/targets.ts:153

timestamp#

readonly timestamp: TimestampTarget

Defined in: commands/targets.ts:158

virtual_timeline#

readonly virtual_timeline: VirtualTarget

Defined in: commands/targets.ts:163

workspace#

readonly workspace: WorkspaceTarget

Defined in: commands/targets.ts:149


TimelineTarget#

Defined in: commands/targets.ts:52

A timeline of a block’s manifest: a root, or a child with its parent.

Properties#

address#

readonly address: Address

Defined in: commands/targets.ts:54

at#

readonly at: Located

Defined in: commands/targets.ts:56

block#

readonly block: Block

Defined in: commands/targets.ts:55

kind#

readonly kind: "child" | "root"

Defined in: commands/targets.ts:53


TimestampTarget#

Defined in: commands/targets.ts:81

A named timestamp of a block’s manifest.

Properties#

address#

readonly address: Address

Defined in: commands/targets.ts:83

at#

readonly at: Located

Defined in: commands/targets.ts:86

The timeline it lies on.

block#

readonly block: Block

Defined in: commands/targets.ts:84

index#

readonly index: number

Defined in: commands/targets.ts:88

Its index in the manifest’s graphical.timestamps.

kind#

readonly kind: "timestamp"

Defined in: commands/targets.ts:82

timestamp#

readonly timestamp: object

Defined in: commands/targets.ts:89


VirtualTarget#

Defined in: commands/targets.ts:121

A virtual timeline of a block’s manifest.

Properties#

address#

readonly address: Address

Defined in: commands/targets.ts:123

block#

readonly block: Block

Defined in: commands/targets.ts:124

index#

readonly index: number

Defined in: commands/targets.ts:126

Its index in the manifest’s virtual_timelines.

kind#

readonly kind: "virtual_timeline"

Defined in: commands/targets.ts:122

virtual#

readonly virtual: object

Defined in: commands/targets.ts:127


WorkspaceTarget#

Defined in: commands/targets.ts:31

The workspace, holding its name, its default rules and the blocks.

Properties#

address#

readonly address: Address

Defined in: commands/targets.ts:33

kind#

readonly kind: "workspace"

Defined in: commands/targets.ts:32

Type Aliases#

Target#

Defined in: commands/targets.ts:131

What an address resolves to, discriminated by its kind.


TargetKind#

TargetKind = Target["kind"]

Defined in: commands/targets.ts:145

The kind of a target.

Functions#

rootOf()#

rootOf(at): object

Defined in: commands/targets.ts:232

The root timeline of the tree a located timeline lies in.

Parameters#

at#

Located

Returns#

object


targetOf()#

targetOf(view, address): Problem | Target

Defined in: commands/targets.ts:172

The target an address names in view: unknown_target for a title, cards, a band and a part, a derived elision included (it is a part of its timeline and has no stored object to change), a virtual timeline’s cards and bands among them.

Parameters#

view#

View

address#

Address

Returns#

Problem | Target