Skip to main content

Class: FormatString

vendor/snippet/snippetParser.FormatString

Hierarchy

Constructors

constructor

new FormatString(index, shorthandName?, ifValue?, elseValue?)

Parameters

NameType
indexnumber
shorthandName?string
ifValue?string
elseValue?string

Overrides

Marker.constructor

Defined in

vendor/snippet/snippetParser.ts:365

Properties

_children

Protected _children: Marker[] = []

Inherited from

Marker._children

Defined in

vendor/snippet/snippetParser.ts:137


_markerBrand

Readonly _markerBrand: any

Inherited from

Marker._markerBrand

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

Marker.parent

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

NameType
valuestring

Returns

string

Defined in

vendor/snippet/snippetParser.ts:406


_toPascalCase

Private _toPascalCase(value): string

Parameters

NameType
valuestring

Returns

string

Defined in

vendor/snippet/snippetParser.ts:394


appendChild

appendChild(child): FormatString

Parameters

NameType
childMarker

Returns

FormatString

Inherited from

Marker.appendChild

Defined in

vendor/snippet/snippetParser.ts:139


clone

clone(): FormatString

Returns

FormatString

Overrides

Marker.clone

Defined in

vendor/snippet/snippetParser.ts:439


len

len(): number

Returns

number

Inherited from

Marker.len

Defined in

vendor/snippet/snippetParser.ts:189


replace

replace(child, others): void

Parameters

NameType
childMarker
othersMarker[]

Returns

void

Inherited from

Marker.replace

Defined in

vendor/snippet/snippetParser.ts:151


resolve

resolve(value?): string

Parameters

NameType
value?string

Returns

string

Defined in

vendor/snippet/snippetParser.ts:374


toString

toString(): string

Returns

string

Inherited from

Marker.toString

Defined in

vendor/snippet/snippetParser.ts:183


toTextmateString

toTextmateString(): string

Returns

string

Overrides

Marker.toTextmateString

Defined in

vendor/snippet/snippetParser.ts:422