Lawtext core references / core/src/parser/std/rules/$article
Module: core/src/parser/std/rules/$article
Table of contents
References
Variables
Functions
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:115 (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
Name | Type |
---|---|
el | Article |
indentTexts | string [] |
Returns
Line
[]
Defined in
core/src/parser/std/rules/$article.ts:22 (opens in a new tab)