Skip to Content

Lawtext core references


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

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

Variables

$articleGroup

const $articleGroup: WithErrorRule<ArticleGroup>

Defined in: core/src/parser/std/rules/$articleGroup.ts:88 

The parser rule for article group (ArticleGroup) such as Chapter. Please see the source code for the detailed syntax, and the test code  for examples.

Functions

articleGroupToLines()

articleGroupToLines(el, indentTexts): Line[]

Defined in: core/src/parser/std/rules/$articleGroup.ts:23 

The renderer for article group (ArticleGroup) such as Chapter. Please see the source code for the detailed syntax, and the test code  for examples.

Parameters

el

ArticleGroup

indentTexts

string[]

Returns

Line[]

References

default

Renames and re-exports $articleGroup

© 2017-2026 yamachi