Lawtext core references / core/src/parser/std/rules/$preamble
Module: core/src/parser/std/rules/$preamble
Table of contents
References
Variables
Functions
References
default
Renames and re-exports $preamble
Variables
$preamble
• Const
$preamble: WithErrorRule
<Preamble
>
The parser rule for std.Preamble. 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/$preamble.ts:66 (opens in a new tab)
preambleControl
• Const
preambleControl: ":preamble:"
Defined in
core/src/parser/std/rules/$preamble.ts:12 (opens in a new tab)
Functions
preambleToLines
▸ preambleToLines(preamble
, indentTexts
): Line
[]
The renderer for std.Preamble. Please see the source code for the detailed syntax, and the test code (opens in a new tab) for examples.
Parameters
Name | Type |
---|---|
preamble | Preamble |
indentTexts | string [] |
Returns
Line
[]
Defined in
core/src/parser/std/rules/$preamble.ts:17 (opens in a new tab)