Lawtext core references / core/src/node/cst/line / ArticleLine
Class: ArticleLine
core/src/node/cst/line.ArticleLine
A first line of an article. Please see the source code of $articleLine for the detailed syntax.
Hierarchy
-
IndentsLine
<ART
>↳
ArticleLine
Table of contents
Constructors
Properties
Accessors
Methods
Constructors
constructor
• new ArticleLine(options
): ArticleLine
Parameters
Name | Type |
---|---|
options | ArticleLineOptions |
Returns
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
| [start: number, end: 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(): [range: null | [start: number, end: number], text: string, description: string][]
Returns
[range: null | [start: number, end: number], text: string, description: string][]
Inherited from
IndentsLine.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
IndentsLine.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
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