Library
core
modules
Core Src Parser Std Rules Article

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

NameType
elArticle
indentTextsstring[]

Returns

Line[]

Defined in

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