Class: Variable
vendor/snippet/snippetParser.Variable
Hierarchy
↳
Variable
Constructors
constructor
• new Variable(name
)
Parameters
Name | Type |
---|---|
name | string |
Overrides
TransformableMarker.constructor
Defined in
vendor/snippet/snippetParser.ts:447
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
name
• name: string
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
snippet
• get
snippet(): undefined
| TextmateSnippet
Returns
undefined
| TextmateSnippet
Inherited from
TransformableMarker.snippet
Defined in
vendor/snippet/snippetParser.ts:170
Methods
appendChild
▸ appendChild(child
): Variable
Parameters
Name | Type |
---|---|
child | Marker |
Returns
Inherited from
TransformableMarker.appendChild
Defined in
vendor/snippet/snippetParser.ts:139
clone
▸ clone(): Variable
Returns
Overrides
Defined in
vendor/snippet/snippetParser.ts:475
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
resolve
▸ resolve(resolver
): boolean
Parameters
Name | Type |
---|---|
resolver | VariableResolver |
Returns
boolean
Defined in
vendor/snippet/snippetParser.ts:451
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:463