Library
core
classes
Core Src Node Cst Line.supplprovisionheadline

Lawtext core references / core/src/node/cst/line / SupplProvisionHeadLine

Class: SupplProvisionHeadLine

core/src/node/cst/line.SupplProvisionHeadLine

A head line of a supplementary provision. Please see the source code of $supplProvisionHeadLine for the detailed syntax.

Hierarchy

  • WithControlsLine<SPR>

    SupplProvisionHeadLine

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

new SupplProvisionHeadLine(options): SupplProvisionHeadLine

Parameters

NameType
optionsSupplProvisionHeadLineOptions

Returns

SupplProvisionHeadLine

Overrides

WithControlsLine&lt;LineType.SPR&gt;.constructor

Defined in

core/src/node/cst/line.ts:310 (opens in a new tab)

Properties

amendLawNum

amendLawNum: string

Defined in

core/src/node/cst/line.ts:307 (opens in a new tab)


closeParen

closeParen: string

Defined in

core/src/node/cst/line.ts:308 (opens in a new tab)


controls

controls: Controls

Inherited from

WithControlsLine.controls

Defined in

core/src/node/cst/line.ts:109 (opens in a new tab)


extractText

extractText: string

Defined in

core/src/node/cst/line.ts:309 (opens in a new tab)


indentTexts

indentTexts: string[]

Inherited from

WithControlsLine.indentTexts

Defined in

core/src/node/cst/line.ts:73 (opens in a new tab)


lineEndText

lineEndText: string

Inherited from

WithControlsLine.lineEndText

Defined in

core/src/node/cst/line.ts:50 (opens in a new tab)


openParen

openParen: string

Defined in

core/src/node/cst/line.ts:306 (opens in a new tab)


range

range: null | [start: number, end: number]

Inherited from

WithControlsLine.range

Defined in

core/src/node/cst/line.ts:49 (opens in a new tab)


title

title: string

Defined in

core/src/node/cst/line.ts:304 (opens in a new tab)


titleRange

titleRange: null | [number, number]

Defined in

core/src/node/cst/line.ts:305 (opens in a new tab)


type

type: SPR

Inherited from

WithControlsLine.type

Defined in

core/src/node/cst/line.ts:48 (opens in a new tab)

Accessors

amendLawNumRange

get amendLawNumRange(): null | [number, number]

Returns

null | [number, number]

Defined in

core/src/node/cst/line.ts:326 (opens in a new tab)


closeParenRange

get closeParenRange(): null | [number, number]

Returns

null | [number, number]

Defined in

core/src/node/cst/line.ts:331 (opens in a new tab)


controlsEndPos

get controlsEndPos(): null | number

Returns

null | number

Inherited from

WithControlsLine.controlsEndPos

Defined in

core/src/node/cst/line.ts:124 (opens in a new tab)


extractTextRange

get extractTextRange(): null | [number, number]

Returns

null | [number, number]

Defined in

core/src/node/cst/line.ts:336 (opens in a new tab)


indentsEndPos

get indentsEndPos(): null | number

Returns

null | number

Inherited from

WithControlsLine.indentsEndPos

Defined in

core/src/node/cst/line.ts:93 (opens in a new tab)


openParenRange

get openParenRange(): null | [number, number]

Returns

null | [number, number]

Defined in

core/src/node/cst/line.ts:321 (opens in a new tab)

Methods

controlsRangeTexts

controlsRangeTexts(): [range: null | [start: number, end: number], text: string, description: string][]

Returns

[range: null | [start: number, end: number], text: string, description: string][]

Inherited from

WithControlsLine.controlsRangeTexts

Defined in

core/src/node/cst/line.ts:116 (opens in a new tab)


indentRangeTexts

indentRangeTexts(): [range: null | [start: number, end: number], text: string, description: string][]

Returns

[range: null | [start: number, end: number], text: string, description: string][]

Inherited from

WithControlsLine.indentRangeTexts

Defined in

core/src/node/cst/line.ts:80 (opens in a new tab)


lineEndTextRange

lineEndTextRange(): null | [start: number, end: number]

Returns

null | [start: number, end: number]

Inherited from

WithControlsLine.lineEndTextRange

Defined in

core/src/node/cst/line.ts:62 (opens in a new tab)


rangeTexts

rangeTexts(): [range: null | [start: number, end: number], text: string, description: string][]

Returns

[range: null | [start: number, end: number], text: string, description: string][]

Overrides

WithControlsLine.rangeTexts

Defined in

core/src/node/cst/line.ts:341 (opens in a new tab)


text

text(): string

Returns

string

Inherited from

WithControlsLine.text

Defined in

core/src/node/cst/line.ts:58 (opens in a new tab)