Lawtext core references / core/src/parser/std/rules/$articleGroup
Module: core/src/parser/std/rules/$articleGroup
Table of contents
References
Variables
Functions
References
default
Renames and re-exports $articleGroup
Variables
$articleGroup
• Const
$articleGroup: WithErrorRule
<ArticleGroup
>
The parser rule for article group (ArticleGroup) such as Chapter. Please see the source code for the detailed syntax, and the test code (opens in a new tab) for examples.
Defined in
core/src/parser/std/rules/$articleGroup.ts:86 (opens in a new tab)
Functions
articleGroupToLines
▸ articleGroupToLines(el
, indentTexts
): Line
[]
The renderer for article group (ArticleGroup) such as Chapter. Please see the source code for the detailed syntax, and the test code (opens in a new tab) for examples.
Parameters
Name | Type |
---|---|
el | ArticleGroup |
indentTexts | string [] |
Returns
Line
[]
Defined in
core/src/parser/std/rules/$articleGroup.ts:21 (opens in a new tab)