Class: Tag

A tag is tied to anode or entry

Constructors

new Tag()

new Tag(name): Tag

Parameters

name: string

Returns

Tag

Defined in

src/model/tag.js:41

Properties

leading

leading: undefined | string

Leading whitespace

Defined in

src/model/tag.js:29


name

readonly name: string

The tag itself

Defined in

src/model/tag.js:48


representation

representation: undefined | string

String representation of the tag

Defined in

src/model/tag.js:22


trailing

trailing: undefined | string

Trailing whitespace

Defined in

src/model/tag.js:36

Methods

clone()

clone(): Tag

Create an identical copy of this tag

Returns

Tag

Defined in

src/model/tag.js:63