Library
core
src
parser
std
rules
$articleGroup
Readme

Lawtext core referencesDocs


Lawtext core references / core/src/parser/std/rules/$articleGroup

core/src/parser/std/rules/$articleGroup

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:88 (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

el: ArticleGroup

indentTexts: string[]

Returns

Line[]

Defined in

core/src/parser/std/rules/$articleGroup.ts:23 (opens in a new tab)