Class: Tag
index.Tag
A tag is tied to anode or entry
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new Tag(name
): Tag
Parameters
Name | Type |
---|---|
name | string |
Returns
Defined in
Properties
leading
• leading: undefined
| string
Leading whitespace
Defined in
name
• Readonly
name: string
The tag itself
Defined in
representation
• representation: undefined
| string
String representation of the tag
Defined in
trailing
• trailing: undefined
| string
Trailing whitespace
Defined in
Methods
clone
▸ clone(): Tag
Create an identical copy of this tag