Class: Placeholder
vendor/snippet/snippetParser.Placeholder
Hierarchy
↳
Placeholder
Constructors
constructor
• new Placeholder(index
)
Parameters
Name | Type |
---|---|
index | number |
Overrides
TransformableMarker.constructor
Defined in
vendor/snippet/snippetParser.ts:240
Properties
_children
• Protected
_children: Marker
[] = []
Inherited from
Defined in
vendor/snippet/snippetParser.ts:137
_markerBrand
• Readonly
_markerBrand: any
Inherited from
TransformableMarker._markerBrand
Defined in
vendor/snippet/snippetParser.ts:134
index
• index: number
parent
• parent: Marker
Inherited from
Defined in
vendor/snippet/snippetParser.ts:136
transform
• Optional
transform: Transform
Inherited from
Defined in
vendor/snippet/snippetParser.ts:220
Accessors
children
• get
children(): Marker
[]
Returns
Marker
[]
Inherited from
TransformableMarker.children
Defined in
vendor/snippet/snippetParser.ts:166
choice
• get
choice(): undefined
| Choice
Returns
undefined
| Choice
Defined in
vendor/snippet/snippetParser.ts:248
isFinalTabstop
• get
isFinalTabstop(): boolean
Returns
boolean
Defined in
vendor/snippet/snippetParser.ts:244
snippet
• get
snippet(): undefined
| TextmateSnippet
Returns
undefined
| TextmateSnippet
Inherited from
TransformableMarker.snippet
Defined in
vendor/snippet/snippetParser.ts:170
Methods
appendChild
▸ appendChild(child
): Placeholder
Parameters
Name | Type |
---|---|
child | Marker |
Returns
Inherited from
TransformableMarker.appendChild
Defined in
vendor/snippet/snippetParser.ts:139
clone
▸ clone(): Placeholder
Returns
Overrides
Defined in
vendor/snippet/snippetParser.ts:270
len
▸ len(): number
Returns
number
Inherited from
Defined in
vendor/snippet/snippetParser.ts:189
replace
▸ replace(child
, others
): void
Parameters
Name | Type |
---|---|
child | Marker |
others | Marker [] |
Returns
void
Inherited from
Defined in
vendor/snippet/snippetParser.ts:151
toString
▸ toString(): string
Returns
string
Inherited from
Defined in
vendor/snippet/snippetParser.ts:183
toTextmateString
▸ toTextmateString(): string
Returns
string
Overrides
TransformableMarker.toTextmateString
Defined in
vendor/snippet/snippetParser.ts:254
compareByIndex
▸ Static
compareByIndex(a
, b
): number
Parameters
Name | Type |
---|---|
a | Placeholder |
b | Placeholder |
Returns
number
Defined in
vendor/snippet/snippetParser.ts:224