Library
core
src
node
cst
line
classes
Supplprovisionheadline

Lawtext core references


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

Class: SupplProvisionHeadLine

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

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

Extends

  • WithControlsLine<SPR>

Constructors

new SupplProvisionHeadLine()

new SupplProvisionHeadLine(options): SupplProvisionHeadLine

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

Parameters

options

SupplProvisionHeadLineOptions

Returns

SupplProvisionHeadLine

Overrides

WithControlsLine<LineType.SPR>.constructor

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

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

Inherited from

WithControlsLine.controls


extractText

extractText: string

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


indentTexts

indentTexts: string[]

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

Inherited from

WithControlsLine.indentTexts


lineEndText

lineEndText: string

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

Inherited from

WithControlsLine.lineEndText


openParen

openParen: string

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


range

range: null | [number, number]

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

Inherited from

WithControlsLine.range


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

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

Inherited from

WithControlsLine.type

Accessors

amendLawNumRange

Get Signature

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

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

Returns

null | [number, number]


closeParenRange

Get Signature

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

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

Returns

null | [number, number]


controlsEndPos

Get Signature

get controlsEndPos(): null | number

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

Returns

null | number

Inherited from

WithControlsLine.controlsEndPos


extractTextRange

Get Signature

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

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

Returns

null | [number, number]


indentsEndPos

Get Signature

get indentsEndPos(): null | number

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

Returns

null | number

Inherited from

WithControlsLine.indentsEndPos


openParenRange

Get Signature

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

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

Returns

null | [number, number]

Methods

controlsRangeTexts()

controlsRangeTexts(): [null | [number, number], string, string][]

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

Returns

[null | [number, number], string, string][]

Inherited from

WithControlsLine.controlsRangeTexts


indentRangeTexts()

indentRangeTexts(): [null | [number, number], string, string][]

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

Returns

[null | [number, number], string, string][]

Inherited from

WithControlsLine.indentRangeTexts


lineEndTextRange()

lineEndTextRange(): null | [number, number]

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

Returns

null | [number, number]

Inherited from

WithControlsLine.lineEndTextRange


rangeTexts()

rangeTexts(): [null | [number, number], string, string][]

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

Returns

[null | [number, number], string, string][]

Overrides

WithControlsLine.rangeTexts


text()

text(): string

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

Returns

string

Inherited from

WithControlsLine.text