Class: FormatString
vendor/snippet/snippetParser.FormatString
Hierarchy
↳
FormatString
Constructors
constructor
• new FormatString(index
, shorthandName?
, ifValue?
, elseValue?
)
Parameters
Name | Type |
---|---|
index | number |
shorthandName? | string |
ifValue? | string |
elseValue? | string |
Overrides
Defined in
vendor/snippet/snippetParser.ts:365
Properties
_children
• Protected
_children: Marker
[] = []
Inherited from
Defined in
vendor/snippet/snippetParser.ts:137
_markerBrand
• Readonly
_markerBrand: any
Inherited from
Defined in
vendor/snippet/snippetParser.ts:134
elseValue
• Optional
Readonly
elseValue: string
ifValue
• Optional
Readonly
ifValue: string
index
• Readonly
index: number
parent
• parent: Marker
Inherited from
Defined in
vendor/snippet/snippetParser.ts:136
shorthandName
• Optional
Readonly
shorthandName: string
Accessors
children
• get
children(): Marker
[]
Returns
Marker
[]
Inherited from
Marker.children
Defined in
vendor/snippet/snippetParser.ts:166
snippet
• get
snippet(): undefined
| TextmateSnippet
Returns
undefined
| TextmateSnippet
Inherited from
Marker.snippet
Defined in
vendor/snippet/snippetParser.ts:170
Methods
_toCamelCase
▸ Private
_toCamelCase(value
): string
Parameters
Name | Type |
---|---|
value | string |
Returns
string
Defined in
vendor/snippet/snippetParser.ts:406
_toPascalCase
▸ Private
_toPascalCase(value
): string
Parameters
Name | Type |
---|---|
value | string |
Returns
string
Defined in
vendor/snippet/snippetParser.ts:394
appendChild
▸ appendChild(child
): FormatString
Parameters
Name | Type |
---|---|
child | Marker |
Returns
Inherited from
Defined in
vendor/snippet/snippetParser.ts:139
clone
▸ clone(): FormatString
Returns
Overrides
Defined in
vendor/snippet/snippetParser.ts:439
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(value?
): string
Parameters
Name | Type |
---|---|
value? | string |
Returns
string
Defined in
vendor/snippet/snippetParser.ts:374
toString
▸ toString(): string
Returns
string
Inherited from
Defined in
vendor/snippet/snippetParser.ts:183
toTextmateString
▸ toTextmateString(): string
Returns
string
Overrides
Defined in
vendor/snippet/snippetParser.ts:422