Library
core
src
node
cst
line
classes
Articleline

Lawtext core references


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

Class: ArticleLine

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

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

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

Parameters

options

ArticleLineOptions

Returns

ArticleLine

Overrides

IndentsLine<LineType.ART>.constructor

Properties

indentTexts

indentTexts: string[]

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

Inherited from

IndentsLine.indentTexts


lineEndText

lineEndText: string

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

Inherited from

IndentsLine.lineEndText


midSpace

midSpace: string

Defined in: core/src/node/cst/line.ts:423 (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

IndentsLine.range


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

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

Inherited from

IndentsLine.type

Accessors

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

IndentsLine.indentsEndPos


midSpaceRange

Get Signature

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

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

Returns

null | [number, number]


sentencesArrayRange

Get Signature

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

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

Returns

null | [number, number]


titleRange

Get Signature

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

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

Returns

null | [number, number]

Methods

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

IndentsLine.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

IndentsLine.lineEndTextRange


rangeTexts()

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

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

Returns

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

Overrides

IndentsLine.rangeTexts


text()

text(): string

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

Returns

string

Inherited from

IndentsLine.text