Library
core
src
node
cst
line
classes
Articleline

Lawtext core referencesDocs


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

Class: ArticleLine

A first line of an article. Please see the source code of $articleLine for the detailed syntax.

Extends

  • IndentsLine<ART>

Constructors

new ArticleLine()

new ArticleLine(options): ArticleLine

Parameters

options: ArticleLineOptions

Returns

ArticleLine

Overrides

IndentsLine<LineType.ART>.constructor

Defined in

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

Properties

indentTexts

indentTexts: string[]

Inherited from

IndentsLine.indentTexts

Defined in

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


lineEndText

lineEndText: string

Inherited from

IndentsLine.lineEndText

Defined in

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


midSpace

midSpace: string

Defined in

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


range

range: null | [number, number]

Inherited from

IndentsLine.range

Defined in

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


sentencesArray

sentencesArray: SentencesArray

Defined in

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


title

title: string

Defined in

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


type

type: ART

Inherited from

IndentsLine.type

Defined in

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

Accessors

indentsEndPos

get indentsEndPos(): null | number

Returns

null | number

Inherited from

IndentsLine.indentsEndPos

Defined in

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


midSpaceRange

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

Returns

null | [number, number]

Defined in

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


sentencesArrayRange

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

Returns

null | [number, number]

Defined in

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


titleRange

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

Returns

null | [number, number]

Defined in

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

Methods

indentRangeTexts()

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

Returns

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

Inherited from

IndentsLine.indentRangeTexts

Defined in

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


lineEndTextRange()

lineEndTextRange(): null | [number, number]

Returns

null | [number, number]

Inherited from

IndentsLine.lineEndTextRange

Defined in

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


rangeTexts()

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

Returns

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

Overrides

IndentsLine.rangeTexts

Defined in

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


text()

text(): string

Returns

string

Inherited from

IndentsLine.text

Defined in

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