Lawtext core references / core/src/parser/std/rules/$preamble
core/src/parser/std/rules/$preamble
Variables
$preamble
const$preamble:WithErrorRule<Preamble>
Defined in: core/src/parser/std/rules/$preamble.ts:68 (opens in a new tab)
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.
preambleControl
constpreambleControl:":preamble:"=":preamble:"
Defined in: core/src/parser/std/rules/$preamble.ts:14 (opens in a new tab)
Functions
preambleToLines()
preambleToLines(
preamble,indentTexts):Line[]
Defined in: core/src/parser/std/rules/$preamble.ts:19 (opens in a new tab)
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
preamble
indentTexts
string[]
Returns
Line[]
References
default
Renames and re-exports $preamble