Lawtext core references • Docs
Lawtext core references / core/src/parser/std/rules/$article
core/src/parser/std/rules/$article
References
default
Renames and re-exports $article
Variables
$article
const
$article:WithErrorRule
<Article
>
The parser rule for std.Article. 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/$article.ts:118 (opens in a new tab)
Functions
articleToLines()
articleToLines(
el
,indentTexts
):Line
[]
The renderer for std.Article. Please see the source code for the detailed syntax, and the test code (opens in a new tab) for examples.
Parameters
• el: Article
• indentTexts: string
[]
Returns
Line
[]
Defined in
core/src/parser/std/rules/$article.ts:25 (opens in a new tab)