Lawtext core references • Docs
Lawtext core references / core/src/node/cst/line / ArticleGroupHeadLine
Class: ArticleGroupHeadLine
A head line of an article group (e.g. "Chapter"). Please see the source code of $articleGroupHeadLine for the detailed syntax.
Extends
WithControlsLine
<ARG
>
Constructors
new ArticleGroupHeadLine()
new ArticleGroupHeadLine(
options
):ArticleGroupHeadLine
Parameters
• options: ArticleGroupHeadLineOptions
Returns
Overrides
WithControlsLine<LineType.ARG>.constructor
Defined in
core/src/node/cst/line.ts:209 (opens in a new tab)
Properties
controls
controls:
Controls
Inherited from
WithControlsLine.controls
Defined in
core/src/node/cst/line.ts:109 (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)
mainTag
mainTag:
"Part"
|"Chapter"
|"Section"
|"Subsection"
|"Division"
Defined in
core/src/node/cst/line.ts:207 (opens in a new tab)
range
range:
null
| [number
,number
]
Inherited from
WithControlsLine.range
Defined in
core/src/node/cst/line.ts:49 (opens in a new tab)
title
title:
SentenceChildEL
[]
Defined in
core/src/node/cst/line.ts:208 (opens in a new tab)
type
type:
ARG
Inherited from
WithControlsLine.type
Defined in
core/src/node/cst/line.ts:48 (opens in a new tab)
Accessors
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)
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)
titleRange
get
titleRange():null
| [number
,number
]
Returns
null
| [number
, number
]
Defined in
core/src/node/cst/line.ts:216 (opens in a new tab)
Methods
controlsRangeTexts()
controlsRangeTexts(): [
null
| [number
,number
],string
,string
][]
Returns
[null
| [number
, number
], string
, string
][]
Inherited from
WithControlsLine.controlsRangeTexts
Defined in
core/src/node/cst/line.ts:116 (opens in a new tab)
indentRangeTexts()
indentRangeTexts(): [
null
| [number
,number
],string
,string
][]
Returns
[null
| [number
, number
], string
, string
][]
Inherited from
WithControlsLine.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
WithControlsLine.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
WithControlsLine.rangeTexts
Defined in
core/src/node/cst/line.ts:224 (opens in a new tab)
text()
text():
string
Returns
string
Inherited from
WithControlsLine.text